-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add FreeBSD support #1073
Add FreeBSD support #1073
Conversation
…ries, symlink checksum as a -
I don't have any freebsd boxes, but this seems OK to me. I'm content to let the community play with it sooner than later. <3 |
@amdprophet you want this merged now? or do you need more feedback? |
@jordansissel merge away :) On Wed, Mar 2, 2016, 7:13 AM Jordan Sissel notifications@github.com wrote:
|
Thanks so much for this! @jordansissel is it possible to tag a release of fpm soon? This would be a good reason to add fpm itself to FreeBSD ports tree, and get cracking on using this. |
@dch That's on my todo list, however, I am reluctant to release a new version of fpm with tests failing, and some tests are currently failing :\ Maybe I can do a release with a caveat that some tests are failing and hope for the best? |
OK that makes sense. How about I look at porting this using a git sha reference, that will be enough to start with. |
This PR uses refinements which are not available on Ruby 1.9.x or older. Before fpm gets a new release, this probably needs to get fixed, maybe. |
I will try doing a release that requires Ruby 2.0.0 (available for 3 years now) and see how people react. |
Convenient timing! I just cloned the fpm repo and ran into an issue (on Ubuntu 14.04, the last LTS release) with this.
This is after a Anyway, this isn't really an fpm issue, it's an Ubuntu one, and I'm fully supportive in general of using language features that have been around for 3+ years. Just consider this one reaction to a release that will require ruby 2.0.0. :-) |
@shaddi hah, nice timing ;) I'll open a separate ticket for tracking Ruby 1.9 issues. |
Awesome, thanks! |
@shaddi I'm stuck with this issue too. Did you solve it on Ubuntu 14 lts? |
Nope, I just rolled back to before this was merged. Our org is probably going to move to 16.04LTS going forward, so hopefully this is not an issue there. |
Based on PR #870.
This PR backports symlink capabilities from TarWriter which eliminates the need to rely on the minitar gem. I'm not sure if there's a better place for the backported code to exist but this code appears to be functional.
This PR also implements checksums using SHA256 instead of SHA1 (as per the pkg spec) and now supports pre/post install/rm scripts.