Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to create Debian/Ubuntu packages? #29

Closed
jaddison opened this issue Apr 3, 2014 · 19 comments
Closed

Possible to create Debian/Ubuntu packages? #29

jaddison opened this issue Apr 3, 2014 · 19 comments

Comments

@jaddison
Copy link

jaddison commented Apr 3, 2014

I'm not sure how to go about it, but this seems like a really useful addition to standard package repositories. RedHat, etc. too.

Here's some info on Ubuntu/Debian: https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages

@ggtakec
Copy link
Member

ggtakec commented Apr 4, 2014

Hi, jaddison

Yes, we want to support debian package, but we need to solve about license for OpenSSL.
(see: https://code.google.com/p/s3fs/issues/detail?id=109)
But I will retry to work for this in a month....
Please wait for it.

@ggtakec
Copy link
Member

ggtakec commented May 6, 2014

I added new branch "cryptlibs" for this and googlecode(issue 109) issue.
It supports another crypt libraries for building s3fs, so you can make s3fs binary without openssl codes.
So I will talk about this branch for debian package in GoogleCode issue 109(https://code.google.com/p/s3fs/issues/detail?id=109).
And I'll report to here the result about that discussion, please wait for a while.
Regards,

@ggtakec
Copy link
Member

ggtakec commented Jun 1, 2014

I merged "cryptlibs" branch to master branch.
Then we can build s3fs with NSS or GnuTLS library instead of OpenSSL.
I hope this change makes us build debian package without OpenSSL license.

@jollyroger
Copy link
Contributor

@ggtakec , thank you for your hard work!

I'm andriysenkovych from conversation on googlecode. I've done proper packaging for s3fs here: https://github.com/jollyroger/s3fs-fuse/tree/debian. I'm going to ask my sponsor to upload the package to Debian archive once I'll get some points clear.

Copyright

Currently file debian/copyright in my branch is mostly stub. I've found some old copyright file and converted to what it is now. Please check the copyright information and send me your thoughts if anything's wrong.

Version

In order to make s3fs acceptable by Debian, i have linked it against GnuTLS, but these changes do not belong to any released version. As you could see, I used a fake tag name v1.78-pre as a workaround for building packages. Could you please make some minor release so I could base my work on this tagged version?

Binary packages

I've uploaded a bunch of binary packages for i386/amd64 as well as source package for different Debian/Ubuntu flavours here (linked against gnutls): http://deinformer.alwaysdata.net/s3fs-fuse/ . Feel free to try them. I have signed those with my GPG key to be sure they're ok (fingerprint: DD25 AD8B 15D0 124B 2F31 BF52 C65D D54C A08F 82C0)

@ggtakec
Copy link
Member

ggtakec commented Aug 14, 2014

Hi, jollyroger
Thanks for your help.
If you can, I'm sorry please wait a while....because I want to organize some Issue(about SSEC).

@jollyroger
Copy link
Contributor

@ggtakec, hi. My pleasure. I can wait for as long as you need. Meanwhile it would be helpful to clarify copyright notes I mentioned in the previous comment.

@geekpete
Copy link

geekpete commented Sep 5, 2014

Would be great to start with NSS/GnuTLS packages first then deal with openssl later.

Is there an opensource build service (like travis-ci) that might be able to then autogenerate these debian files for each major release and current master or nightlies?

Once the packages are auto building, then we just need somewhere to post the binaries to host a package repository.

Then people would just need to add the repo and apt-get install the finished packages and dependencies would drag down other requires packages and libraries.

A much better end user experience for getting up and running quickly with minimal effort/hassle.

@jollyroger
Copy link
Contributor

@geekpete, they are not generated and they will require check and modification from time to time. But this is what is called maintainership. In most cases Debian-related files won't change between releases (except debian/changelog).

I've shared preview packages on the internet (see my previous message). I keep Debian-related changes in a separate branch (mentioned above as well). I'm going to add packages to Debian archive so people would just need to apt-get install. This also means I'm willing to support packages distributed by Debian. I'm just waiting for @ggtakec to give me a green light after new version is released to upload packages to Debian.

As for automatic builds: there's a tool called git-buildpackage that simplifies maintaining such project repository with separate Debian branch. There's a workflow that can be automated to prouce continiously built packages as well as maintaining a repo. This is already on my list.

@ggtakec
Copy link
Member

ggtakec commented Sep 7, 2014

Hi, jollyroger

I’m sorry for replying delay.

Today, I updated master branch about supporting SSE-C and fixed configure.ac, and cleanup codes.
And made new tag “Pre-v1.78” for your request.

I answer your comment following:

  • Copyright
    It seems like no problem for me.
  • Version
    I made new tag which included codes for compiling s3fs with gnutls.
  • Binary packages
    It seems like good.

Please check those and if you have a question or a request, please let me know.
Thanks in advance for your help.

@jollyroger
Copy link
Contributor

@ggtakec, thank you.

I'm sorry for misunderstanding. I used version v1.78-pre since I'm not in a position to publish/tag new release for s3fs-fuse. I expected that I'll wait for an actual 1.78 release and package it for Debian.

For now I'll package it for Debian but will wait for the real 1.78 release from you.

Also, I've seen copyright notes were added to some files. Thank you.

@ggtakec
Copy link
Member

ggtakec commented Sep 9, 2014

Hi, jollyroger

Thanks for your comment.
I will work to update v1.78, please wait for a while.

Regards,

@jollyroger
Copy link
Contributor

Ok, thank you!

@ggtakec
Copy link
Member

ggtakec commented Sep 15, 2014

Hi, jollyroger

I uploaded new release(made tag) v1.78.
Please check it, and if you find something wrong thing, please let me know.

Thanks in advance for your great help.

@michalmedvecky
Copy link

Quick hack for building from source to debian package:

mkdir /tmp/installdir
make install DESTDIR=/tmp/installdir
apt-get install ruby ruby-dev
gem install fpm
fpm -s dir -t deb -n s3fs-fuse -v MYOWNVERSIONNUMBER -C /tmp/installdir -p s3fs-fuse_VERSION_ARCH.deb

Replace MYOWNVERSIONNUMBER with the version number you love. Do not touch VERSION and ARCH as they are FPM params.

@jollyroger
Copy link
Contributor

Hi, @ggtakec . Glad to tell you a sponsor to upload the package into Debian archive was found (at last!). It seems the last tagged release was 1.79, but there was some important bufixing afterwards. May I ask you to make another tagged release so we could start with it?

Thank you.

@jollyroger
Copy link
Contributor

Hi @ggtakec and everyone. I've created a snapshot tag in my own repo and thanks to Mattia Rizzolo and our sponsor Gianfranco Costamagna we were able to push the package into Debian's NEW queue(https://ftp-master.debian.org/new/s3fs-fuse_1.79+git90-g8f11507-1.html) . Awaiting for the package to appear in the Debian archive.

We'll upload all subsequent releases based on tag information in this repository so please do create the tag whent it's necessary and we'll do our job.

Thank you everyone for your work and for your interest in Debian!

@ggtakec
Copy link
Member

ggtakec commented Oct 13, 2015

@jollyroger
I appreciate your kindness and Mattia Rizzolo, Gianfranco Costamagna.
I'm glad s3fs-fuse is distributed as a debian package.

Now I'm modifying s3fs-fuse for fixing a issue.
After the change has been completed, I will to make a new tag.

I couldn't have done it without you.
Thank you very much!!!

@jollyroger
Copy link
Contributor

Today s3fs was accepted into Debian Archive. Yay! From now on it will be available for all Debian users. Waiting for the new release from you 👍

Meanwhile we moved to Debian git hosting to work on packaging ( https://anonscm.debian.org/cgit/collab-maint/s3fs-fuse.git) Feel free to contact if any action is required from our side.

Thank you!

@ggtakec
Copy link
Member

ggtakec commented Nov 8, 2015

I'm so excited about accepting debian archive!
Your help was much appreciated.
We could not have done it without you.

I'll work so as to be useful tool s3fs in the future.

Thank you very much for your great help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants