Alexander Weidinger
127b29194a
Add --deb-after-purge FILE
2017-07-20 16:41:15 -07:00
Dan Kegel
14c4819e41
Implement reproducible gem -> deb conversion ( #1360 )
...
* Add option --source-date-epoch-default and implement for deb output.
This is the first step towards supporting bit-for-bit identical
output files given identical inputs.
Alas, Apple's ar is not too good at reading gnu ar archives,
so always use ar_cmd to find ar.
* deb: remove lines duplicated in a tragic merge conflict
Probably introduced by 62d0060178 and not removed by 500f0c052f
* Add options --source-date-epoch-from-changelog and --gem-stagingdir to support bit-for-bit reproducible gem -> deb conversion
In those cases where we can get the release date out of the changelog,
use it; otherwise fall back to the value given by SOURCE_DATE_EPOCH aka --source-date-epoch-default.
--gem-stagingdir is a bit of a kludge, only needed because no
compiler supports https://reproducible-builds.org/specs/build-path-prefix-map/ yet.
Could have been global option, but not sure any other package handler
invokes compilers? Could hoist it up later.
Also:
- Defer initializing staging_path so subclasses can sneak in new value
- gem: remove build files
* gem: handle a few more gem changelog variants
* gem: also remove mkmf.log; lets ffi, kgio, raindrops, and ruby-ldap build reproducibly.
* deb: don't expect diffoscope to be installed in /usr/bin. Lets it be found on mac.
* gem: document new options
2017-07-20 12:33:14 -07:00
luto
3338aa8f4b
remove trailing slash from --prefix option in rpm-packages, fixes #819
2016-06-23 02:18:01 +02:00
TomyLobo
7e91faf92d
Skip certain control file entries if their lists are empty.
...
For #1126
2016-06-18 04:38:28 -07:00
Michal Mach
18a4ab964d
Fix for ignoring --rpm-tag option on command line
2016-06-15 18:40:52 +00:00
Jordan Sissel
76c41ea5f7
Check for /lib and /usr/lib. Debian uses /lib, everyone else seems to use /usr/lib.
2016-05-16 05:22:41 -07:00
Jordan Sissel
37ccaa007b
Add comment
2016-05-15 04:23:03 -07:00
Jordan Sissel
0a2badb1c8
Refactor. Also now we attempt cleanup upon package removal.
...
The `install.sh` will generate a cleanup.sh script that is executed when
the package is removed.
2016-05-15 04:09:19 -07:00
Jordan Sissel
7a07301141
Disable freebsd for now, until rcng support is added to pleaserun.
2016-05-14 22:26:16 -07:00
Jordan Sissel
82cecf3037
Some small fixes
...
* Only try install actions if they exist
* Add special case for Upstart 0.6.5 (CentOS 6)
2016-05-14 22:00:41 -07:00
Jordan Sissel
e1336aafda
Make copying not rely on rsync. Also tell the user if no platform was detected.
2016-05-14 17:35:02 -07:00
Jordan Sissel
5dc70815a1
WIP continues.
2016-05-14 04:01:26 -07:00
Paweł Tomulik
eca336bc13
fix sh.erb to prevent empty function set_post_install_vars
2016-04-07 23:09:46 +02:00
Jens Peter Schroer
500f0c052f
fixing merge conflicts
2015-11-17 17:17:47 +01:00
Jens Peter Schroer
62d0060178
let fpm generate the systemd start / stop commands as well
2015-11-17 17:07:26 +01:00
Jordan Sissel
28d9bf5e45
Merge branch 'feature/arch-support' of https://github.com/djhaskin987/fpm into djhaskin987-feature/arch-support
2015-11-07 12:40:23 -08:00
Jordan Sissel
93382dcdb3
Merge pull request #687 from vStone/feature/rpm-custom-requires
...
rpm: Add a option to insert raw Require statements
2015-11-07 12:01:22 -08:00
Daniel Haskin
197e8dbe60
Fix the bug brought up by @ServiusHack
2015-09-16 20:52:04 -06:00
Daniel Haskin
2303eef05c
Merge branch 'jsl/master' into feature/arch-support
2015-09-16 19:58:19 -06:00
Ed Healy
21c42f40ea
Correct detection of existing .old file in releases directory in shell template.
...
Conflicts:
templates/sh.erb
2015-09-14 10:03:35 -04:00
Ed Healy
4689a59055
add -h to detect current folder symlink in shell template.
2015-09-14 10:02:54 -04:00
Ed Healy
533311dfb5
export slug metadata as env vars for use in post install scripts for shell template.
2015-09-14 10:02:30 -04:00
Jens Peter Schroer
f92427dc8a
adding flag to trigger systemd service restart after upgrade
2015-09-08 14:10:23 +02:00
Matt Sharpe
0247b382a4
#903 add --rpm-summary flag and tests
2015-08-10 22:56:24 +10:00
Joseph Frazier
3164452148
Don't crash on empty description when building RPM
...
Closes #825 , #973
2015-08-06 22:58:38 -07:00
Jens Peter Schroer
c0021cbb74
let fpm generate the systemd start / stop commands as well
2015-07-10 17:34:12 +02:00
Jordan Sissel
ae9de095dc
Merge pull request #692 from adamonduty/rpm_dist
...
Support RPM dist tag
2015-06-30 10:39:14 -07:00
Daniel Haskin
bc37e60568
Merge branch 'master' into feature/arch-support
2015-05-09 11:50:56 -06:00
Daniel Haskin
94eb39cc1f
Fix ALL the pacman specs
2015-05-09 11:17:57 -06:00
Daniel Haskin
ff5b5b8fb2
Fix more pacman tests
2015-05-08 19:59:38 -06:00
Jordan Sissel
3bfb7dd64e
Merge pull request #828 from gerbercj/feature/sh_metadata
...
Add package metadata to slug file format
2015-05-07 13:17:31 -07:00
Jordan Sissel
23fac4f4dd
Merge pull request #913 from djhaskin987/feature/sh-before-install-script
...
Feature: sh before-install script
2015-05-07 12:29:52 -07:00
Daniel Haskin
9e2874766b
Whitespace
2015-05-06 22:39:10 -06:00
Daniel Haskin
69ef42b31f
Add before-install script to sh package type
2015-05-06 20:06:42 -06:00
Daniel Haskin
e1aba7898c
Fix bugs for pacman support
2015-05-04 23:14:41 -06:00
Daniel Haskin
6136ae409d
Add preliminary unit tests for pacman
2015-05-02 21:52:49 -06:00
Daniel Haskin
e2661eb8b4
Fix pacman bugs
2015-05-02 18:28:49 -06:00
Daniel Haskin
5182e84db7
Code complete for pacman
2015-05-02 16:18:23 -06:00
Daniel Haskin
45c9d09edf
Add to pre- and post- removal scripts to make them safer
2015-05-02 11:50:41 -06:00
Daniel Haskin
be35f9532f
Merge master into feature/arch-support
2015-04-29 22:56:17 -06:00
Jordan Sissel
a3653a71dd
Merge pull request #892 from jbcraig/feature/ips
...
Add support for Solaris 11 style IPS packages using *.p5p format
2015-04-14 08:47:39 -07:00
Jordan Sissel
162a2e2a71
rpm v5 changes the name of the file digest macro
...
This sets both macros (rpm v4.9, rpm v5.4) now just in case.
This fixes test failures on OSX when setting --rpm-digest sha1
2015-04-14 00:05:49 -07:00
Jonathan Craig
9bfa890fa1
Add support for Solaris 11 style IPS packages using *.p5p format
2015-04-10 17:45:18 -04:00
Daniel Haskin
19bf369d4f
Fix for *debian* packages for #875
2015-04-09 23:17:54 -06:00
Daniel Haskin
845c5997c9
Merge branch 'master' of github.com:jordansissel/fpm into feature/875
2015-04-09 23:01:23 -06:00
Daniel Haskin
bd6902de2b
#875 Fix cases where upgrade or install scripts are specified, but not both
2015-04-09 23:00:25 -06:00
Jordan Sissel
bbea1e8d41
Merge pull request #822 from dlanderson/patch-1
...
Second %pre should be %post
2015-04-09 21:35:12 -07:00
Daniel Haskin
3224bc6ec8
Merge branch 'patch-1' of github.com:dlanderson/fpm into feature/875
2015-04-09 22:32:35 -06:00
Daniel Haskin
a2fa9c7afd
Add improved abort-install and abort-remove
2015-04-08 21:56:44 -06:00
Daniel Haskin
8541c53d6a
Skeleton for adding pacman support
2015-03-21 11:16:12 -06:00