fpm-aeppert 1.6.2 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.rst +617 -0
- data/CONTRIBUTORS +1 -0
- data/LICENSE +1 -1
- data/bin/fpm +0 -1
- data/lib/fpm.rb +1 -0
- data/lib/fpm/command.rb +26 -12
- data/lib/fpm/package.rb +24 -4
- data/lib/fpm/package/apk.rb +6 -6
- data/lib/fpm/package/cpan.rb +57 -29
- data/lib/fpm/package/deb.rb +177 -40
- data/lib/fpm/package/dir.rb +12 -17
- data/lib/fpm/package/empty.rb +1 -1
- data/lib/fpm/package/freebsd.rb +25 -14
- data/lib/fpm/package/gem.rb +148 -13
- data/lib/fpm/package/pacman.rb +1 -1
- data/lib/fpm/package/pleaserun.rb +13 -1
- data/lib/fpm/package/pyfpm/get_metadata.py +5 -0
- data/lib/fpm/package/python.rb +13 -2
- data/lib/fpm/package/rpm.rb +43 -7
- data/lib/fpm/package/sh.rb +1 -1
- data/lib/fpm/package/snap.rb +130 -0
- data/lib/fpm/package/tar.rb +2 -10
- data/lib/fpm/package/virtualenv.rb +53 -12
- data/lib/fpm/package/zip.rb +6 -22
- data/lib/fpm/util.rb +88 -18
- data/lib/fpm/util/tar_writer.rb +2 -0
- data/lib/fpm/version.rb +1 -1
- data/templates/deb.erb +1 -1
- data/templates/deb/changelog.erb +1 -1
- data/templates/deb/deb.changes.erb +30 -0
- data/templates/deb/postinst_upgrade.sh.erb +24 -8
- data/templates/deb/postrm_upgrade.sh.erb +12 -5
- data/templates/deb/prerm_upgrade.sh.erb +7 -4
- data/templates/rpm.erb +12 -9
- metadata +84 -76
- data/CHANGELIST +0 -661
data/CHANGELIST
DELETED
@@ -1,661 +0,0 @@
|
|
1
|
-
1.6.2 (July 1, 2016)
|
2
|
-
- Reduce `json` dependency version to avoid requiring Ruby 2.0 (#1146, #1147;
|
3
|
-
patch by Matt Hoffman)
|
4
|
-
- pacman: skip automatic dependnecies if --no-auto-depends is given (Leo P)
|
5
|
-
- rpm: Fix bug where --rpm-tag was accidentally ignored (#1134, Michal Mach)
|
6
|
-
- deb: Omit certain fields from control file if (Breaks, Depends, Recommends,
|
7
|
-
etc) if there are no values to put in that field. (#1113, TomyLobo)
|
8
|
-
- rpm: remove trailing slash from Prefix for rpm packages (#819, luto)
|
9
|
-
- virtualenv: Now supports being given a requirements.txt as the input. (Nick
|
10
|
-
Griffiths)
|
11
|
-
|
12
|
-
1.6.1 (June 10, 2016)
|
13
|
-
- freebsd: Only load xz support if we are doing a freebsd output. (#1132,
|
14
|
-
#1090, Ketan Padegaonkar)
|
15
|
-
|
16
|
-
1.6.0 (May 25, 2016)
|
17
|
-
- New source: pleaserun. This lets you create packages that will install a
|
18
|
-
system service. An after-install script is used in the package to determine
|
19
|
-
which service platform to target (systemd, upstart, etc). Originated from
|
20
|
-
Aaron Mildenstein's work on solving this problem for Logstash. (#1119,
|
21
|
-
#1112)
|
22
|
-
- New target: Alpine Linux "apk" packages. (#1054, George Lester)
|
23
|
-
- deb: don't append `.conf` to an upstart file if the file name already ends
|
24
|
-
in `.conf`. (#1115, josegonzalez)
|
25
|
-
- freebsd: fix bug where --package flag was ignored. (#1093, Paweł Tomulik)
|
26
|
-
- Improvements to the fpm rake tasks (#1101, Evan Gilman)
|
27
|
-
|
28
|
-
1.5.0 (April 12, 2016)
|
29
|
-
- Arch package support is now available via -s pacman and -t pacman.
|
30
|
-
(#916; wonderful community effort making this happen!)
|
31
|
-
- FreeBSD packages can now be built `-t freebsd`
|
32
|
-
(#1073; huge community effort making this happen!)
|
33
|
-
- You can now set fpm flags and arguments with the FPMOPTS environment
|
34
|
-
variable (#977, mildred)
|
35
|
-
- Using --exclude-file no longer causes a crash. Yay! (#982, wyaeld)
|
36
|
-
- A new rake task is available for folks who want to invoke fpm from rake
|
37
|
-
(#756, pstengel)
|
38
|
-
- On FreeBSD, when tarring, gtar is now used. (#1008, liv3d)
|
39
|
-
- virtualenv: Add --virtualenv-pypi-extra-url flag to specify additional PyPI
|
40
|
-
locations to use when searching for packages (#1012, Paul Krohn)
|
41
|
-
- deb: Init scripts, etc/default, and upstart files are automatically added
|
42
|
-
as config files in a debian package. Disable this behavior with
|
43
|
-
---deb-auto-config-files
|
44
|
-
- deb: Small changes to make lintian complain less about our resulting debs.
|
45
|
-
- deb: New flag --deb-systemd lets you specify a systemd service file to include
|
46
|
-
in your package. (#952, Jens Peter Schroer)
|
47
|
-
- cpan: Add --[no-]cpan-cpanm-force flag to pass --force to cpanm.
|
48
|
-
- rpm: File names with both spaces and symbols should now be packageable.
|
49
|
-
(#946, iwonbigbro)
|
50
|
-
- cpan: Now queries MetaCPAN for package info if we can't find any in the
|
51
|
-
cpan archive we just downloaded. (#849, BaxterStockman)
|
52
|
-
- rpm: You can now specify custom rpm tags at the command line. Be careful,
|
53
|
-
as no validation is done on this before sending to rpmbuild. (#687, vStone)
|
54
|
-
- cpan: Install if the package name given is a local file (#986, mdom)
|
55
|
-
- sh: Metadata now available as env vars for post-install scripts (#1006, Ed Healy)
|
56
|
-
- rpm: No more warning if you don't set an epoch. (#1053, Joseph Frazier)
|
57
|
-
|
58
|
-
|
59
|
-
1.4.0 (July 26, 2015)
|
60
|
-
- Solaris 11 IPS packages 'p5p' now supported `-t p5p`. (Jonathan Craig)
|
61
|
-
- Python Virtualenv is now supported `-t virtualenv` (#930, Simone
|
62
|
-
Margaritelli and Daniel Haskin)
|
63
|
-
- deb: Files in /etc are now by default marked as config files. (#877,
|
64
|
-
Vincent Bernat)
|
65
|
-
- `fpm --help` output now includes a list of supported package types (#896,
|
66
|
-
Daniel Haskin)
|
67
|
-
- cpan: --[no-]cpan-sandbox-non-core flag to make non-core module sandboxing
|
68
|
-
optional during packaging (#752, Matt Sharpe)
|
69
|
-
- rpm: Add --rpm-dist flag for specifically setting the target distribution
|
70
|
-
of an rpm. (Adam Lamar)
|
71
|
-
- rpm: Fix a crash if --before-upgrade or --after-upgrade were used. (#822,
|
72
|
-
Dave Anderson)
|
73
|
-
- deb: Ensure maintainer scripts have shebang lines (#836, Wesley Spikes)
|
74
|
-
- deb: Fix bug in maintainer scripts where sometimes we would write an empty
|
75
|
-
shell function. Empty functions aren't valid in shell. (Wesley Spikes)
|
76
|
-
- Fix symlink copying bug (#863, Pete Fritchman)
|
77
|
-
- python: Default to https for pypi queries (Timothy Sutton)
|
78
|
-
- New flag --exclude-file for providing a file containing line-delimited
|
79
|
-
exclusions (Jamie Lawrence)
|
80
|
-
- python: new flag --python-disable-dependency to disable specific python
|
81
|
-
dependencies (Ward Vandewege)
|
82
|
-
- python: ensure we avoid wheel packages for now until fpm better supports them.
|
83
|
-
(#885, Matt Callaway)
|
84
|
-
- deb: Add support for installation states "abort-remove" and "abort-install"
|
85
|
-
(#887, Daniel Haskin)
|
86
|
-
- If PATH isn't set, and we need it, tell the user (#886, Ranjib Dey)
|
87
|
-
- cpan: --[no-]cpan-test now works correctly (#853, Matt Schreiber)
|
88
|
-
- deb-to-rpm: some improved support for config file knowledge passing from
|
89
|
-
deb to rpm packages (Daniel Haskin)
|
90
|
-
|
91
|
-
1.3.3 (December 11, 2014)
|
92
|
-
- The fpm project now uses Contributor Covenant. You can read more about this on
|
93
|
-
the website: http://contributor-covenant.org/
|
94
|
-
- npm: Fix bug causing all `-s npm` attempts to fail due to a missing method.
|
95
|
-
This bug was introduced in 1.3.0. (#800, #806; Jordan Sissel)
|
96
|
-
- rpm: fix bug in rpm input causing a crash if the input rpm did not have any triggers
|
97
|
-
(#801, #802; Ted Elwartowski)
|
98
|
-
|
99
|
-
1.3.2 (November 4, 2014)
|
100
|
-
- deb: conversion from another deb will automatically use any changelog found in
|
101
|
-
the source deb (Jordan Sissel)
|
102
|
-
|
103
|
-
1.3.1 (November 4, 2014)
|
104
|
-
- deb: fix md5sums generation such that `dpkg -V` now works (#799, Matteo Panella)
|
105
|
-
- rpm: Use maximum compression when choosing xz (#797, Ashish Kulkarni)
|
106
|
-
|
107
|
-
1.3.0 (October 25, 2014)
|
108
|
-
- Fixed a bunch of Ruby 1.8.7-related bugs. (Jordan Sissel)
|
109
|
-
- cpan: Fix bug in author handling (#744, Leon Weidauer)
|
110
|
-
- cpan: Better removal of perllocal.pod (#763, #443, #510, Mathias Lafeldt)
|
111
|
-
- rpm: Use lstat calls instead of stat, so we don't follow symlinks (#765, Shrijeet Paliwal)
|
112
|
-
- rpm and deb: Now supports script actions on upgrades. This adds two new flags:
|
113
|
-
--before-upgrade and --after-upgrade. (#772, #661; Daniel Haskin)
|
114
|
-
- rpm: Package triggers are now supported. New flags: --rpm-trigger-before-install,
|
115
|
-
--rpm-trigger-after-install, --rpm-trigger-before-uninstall,
|
116
|
-
--rpm-trigger-after-target-uninstall. (#626, Maxime Caumartin)
|
117
|
-
- rpm: Add --rpm-init flag; similar to --deb-init. (Josh Dolitsky)
|
118
|
-
- sh: Skip installation if already installed for the given version. If forced,
|
119
|
-
the old installation is renamed. (#776, Chris Gerber)
|
120
|
-
- deb: Allow Vendor field to be omitted now by specifying `--vendor ""` (#778, Nate Brown)
|
121
|
-
- general: Add --log=level flag for setting log level. Levels are error, warn, info, debug. (Jordan SIssel)
|
122
|
-
- cpan: Check for Build.PL first before Makefile.PL (#787, Daniel Jay Haskin)
|
123
|
-
- dir: Don't follow symlinks when copying files (#658, Jordan Sissel)
|
124
|
-
- deb: Automatically provide a 'changes' file in debs because lintian
|
125
|
-
complains if they are missing. (#784, Jordan Sissel)
|
126
|
-
- deb: Fix and warn for package names that have spaces (#779, Grantlyk)
|
127
|
-
- npm: Automatically set the prefix to `npm prefix -g` (#758, Brady Wetherington and Jordan Sissel)
|
128
|
-
|
129
|
-
1.2.0 (July 25, 2014)
|
130
|
-
- rpm: Add --rpm-verifyscript for adding a custom rpm verify script to
|
131
|
-
your package. (Remi Hakim)
|
132
|
-
- Allow the -p flag to target a directory for writing the output package
|
133
|
-
(#656, Jordan Sissel)
|
134
|
-
- Add --debug-workspace which skips any workspace cleanup to let users debug things
|
135
|
-
if they break. (#720, #734; Jordan Sissel)
|
136
|
-
- rpm: Add --rpm-attr for controlling attribute settings per file. This setting
|
137
|
-
will likely be removed in the future once rpmbuild is no longer needed.
|
138
|
-
(#719)
|
139
|
-
- deb: Add --deb-meta-file to add arbitrary files to the control dir (#599, Dan Brown)
|
140
|
-
- deb: Add --deb-interest and --deb-activate for adding package triggers (#595, Dan Brown)
|
141
|
-
- cpan: Fix small bug in handling empty metadata fields (#712, Mathias Lafeldt)
|
142
|
-
- rpm: Fix bug when specifying both --architecture and --rpm-os (#707, #716; Alan Ivey)
|
143
|
-
- gem: Fix bug where --gem-version-bins is given but package has no bins (#688, Jan Vansteenkiste)
|
144
|
-
- deb: Set permissions correct on the package's internals. Makes lintian happier. (Jan Vansteenkiste)
|
145
|
-
- rpm: rpmbuild's _tmppath now respects --workdir (#714, Jordan Sissel)
|
146
|
-
- gem/rpm: Add --rpm-verbatim-gem-dependencies to use old-style (fpm 0.4.x)
|
147
|
-
rpm gem dependencies (#724, Jordan Sissel)
|
148
|
-
- gem/rpm: Fix bug for gem pessimistic constraints when converting to rpm (Tom Duckering)
|
149
|
-
- python: Fix small bug with pip invocations (#727, Dane Knecht)
|
150
|
-
|
151
|
-
1.1.0 (April 23, 2014)
|
152
|
-
- New package type: zip, for converting to and from zip files (Jordan Sissel)
|
153
|
-
- New package type: sh, a self-extracting package installation shell archive. (#651, Chris Gerber)
|
154
|
-
- 'fpm --version' will now emit the version of fpm.
|
155
|
-
- rpm: supports packaging fifo files (Adam Stephens)
|
156
|
-
- deb: Add --deb-use-file-permissions (Adam Stephens)
|
157
|
-
- cpan: Improve how fpm tries to find cpan artifacts for download (#614, Tim Nicholas)
|
158
|
-
- gem: Add --gem-disable-dependency for removing one or more specific rubygem
|
159
|
-
dependencies from the automatically-generated list (#598, Derek Olsen)
|
160
|
-
- python: Add --python-scripts-executable for setting a custom interpreter to
|
161
|
-
use for the hashbang line at the top of may python package scripts.
|
162
|
-
(#628, Vladimir Rutsky)
|
163
|
-
- Allow absolute paths with --directories even when --prefix is used (Vladimir Rutsky)
|
164
|
-
- dir: Now correctly identifies hardlinked files and creates a package correctly
|
165
|
-
with that knowledge (#365, #623, #659; Vladimir Rutsky)
|
166
|
-
- rpm: Add --rpm-auto-add-exclude-directories for excluding directories
|
167
|
-
from the --rpm-auto-add-directories behavior (#640, Vladimir Rutsky)
|
168
|
-
- general: --config-files now accepts directories and will recursively mark any
|
169
|
-
files within as config files inside the package (#642, Vladimir Rutsky)
|
170
|
-
- general: If you specify a --config-files path that doesn't exist, you will
|
171
|
-
now get an error. (#654, Alan Franzoni)
|
172
|
-
- python: Support --python-pypi when using --python-pip (#652, David Lindquist)
|
173
|
-
- deb: Tests now try to make packages ensure we don't upset lintian (#648, Sam Crang)
|
174
|
-
- rpm: Fix architecture targeting (#676, Rob Kinyon)
|
175
|
-
- rpm: Allow --rpm-user and --rpm-group to override the user/group even if
|
176
|
-
--rpm-use-file-permissions is enabled. (#679, Jordan Sissel)
|
177
|
-
- gem: Add --gem-version-bins for appending the gem version to the file name
|
178
|
-
of executable scripts a rubygem may install. (Jan Vansteenkiste)
|
179
|
-
- python: Attempt to provide better error messages for known issues in python
|
180
|
-
environments (#664, Jordan Sissel)
|
181
|
-
|
182
|
-
1.0.2 (January 10, 2013)
|
183
|
-
- rpm: No longer converts - to _ in dependency strings (#603, Bulat
|
184
|
-
Shakirzyanov)
|
185
|
-
- Handle Darwin/OSX tar invocations (now tries 'gnutar' and 'gtar'). (Jordan
|
186
|
-
Sissel)
|
187
|
-
- Process $HOME/.fpm, and $PWD/.fpm in the correct order and allow CLI flags
|
188
|
-
to override fpm config file settings. (#615, Jordan Sissel)
|
189
|
-
- Don't leave empty gem bin paths in packages that don't need them (#612,
|
190
|
-
Jordan Sissel)
|
191
|
-
- deb: Make --deb-compression=gz work correctly (#616, #617; Evan Krall,
|
192
|
-
Jason Yan)
|
193
|
-
|
194
|
-
1.0.1 (December 7, 2013)
|
195
|
-
- deb: Correctly handle --config-files given with a leading / (Jordan Sissel)
|
196
|
-
|
197
|
-
1.0.0 (December 5, 2013)
|
198
|
-
- Config file of flags is now supported. Searches for $HOME/.fpm and
|
199
|
-
$PWD/.fpm. If both exist, $HOME is loaded first so $PWD can override.
|
200
|
-
(Pranay Kanwar)
|
201
|
-
- pkgin: Basic support for SmartOS/pkgsrc's pkgin format. (#567, Brian Akins)
|
202
|
-
- cpan: catch more cases of perllocal.pod and delete them
|
203
|
-
(#510, Jordan Sissel)
|
204
|
-
- cpan: Correctly support module version selection (#518, Matt Sharpe)
|
205
|
-
- cpan: include builddeps in PERL5LIB when running cpan tests
|
206
|
-
(#500, Matt Sharpe)
|
207
|
-
- cpan: Avoid old system perl modules when doing module builds
|
208
|
-
(#442, #513; Matt Sharpe)
|
209
|
-
- python: safer gathering of python module dependencies.
|
210
|
-
- python: better handling of unicode strings in python package metadata
|
211
|
-
(#575, Bruno Renié)
|
212
|
-
- cpan: Support 'http_proxy' env var. (#491, Patrick Cable)
|
213
|
-
- deb: --deb-user and --deb-group both default to 'root' now
|
214
|
-
(#504, Pranay Kanwar)
|
215
|
-
- deb: convert '>' to '>>' in deb version constraints
|
216
|
-
(#503, #439, Pranay Kanwar)
|
217
|
-
- deb: Warn if epoch is set. Just so you know what's going on, since
|
218
|
-
the default filename doesn't include the epoch. (#502, Pranay Kanwar)
|
219
|
-
- deb,rpm: --config-files is now recursive if you give it a directory.
|
220
|
-
This seems to be the most expected behavior by users.
|
221
|
-
(#171, #506; Pranay Kanwar)
|
222
|
-
- dir: Respect -C when using path mapping (#498, #507; Pranay Kanwar)
|
223
|
-
- rpm: Add --rpm-ignore-iteration-in-dependencies to let you to depend
|
224
|
-
on any release (aka iteration) of the same version of a package.
|
225
|
-
(#364, #508; Pranay Kanwar)
|
226
|
-
- dir: Handle copying of special files when possible
|
227
|
-
(#347, #511, #539, #561; Pranay Kanwar)
|
228
|
-
- rpm: Don't mistake symlinks as actual directories (#521, Nathan Huff)
|
229
|
-
- npm: Choose an alternate npm registry with --npm-registry (#445, #524;
|
230
|
-
Matt Sharpe)
|
231
|
-
- cpan: Choose an alternate cpan server with --cpan-mirror. Additionally, you
|
232
|
-
can use --cpan-mirror-only to only use this mirror for metadata queries.
|
233
|
-
(#524, Matt Sharpe)
|
234
|
-
- deb: Fix broken --deb-changelog flag (#543, #544; Tray Torrance)
|
235
|
-
- deb: When --deb-upstart is given, automatically create an upstart-sysv
|
236
|
-
symlink /etc/init.d/<name> to /lib/init/upstart-job (#545, Igor Galić)
|
237
|
-
- rpm: Fix bug when generating spec file listings on files with strange
|
238
|
-
characters in the names. (#547, Chris Chandler)
|
239
|
-
- dir: Fix bug where the new directory mapping feature would cause you not
|
240
|
-
to be able to select files with '=' in the name for packaging.
|
241
|
-
(#556, #554; Pranay Kanwar)
|
242
|
-
- python: Fix some unicode string issues in package metadata
|
243
|
-
(#575, Bruno Renié)
|
244
|
-
- gem-rpm: Now respects the --gem-package-name-prefix when generating the
|
245
|
-
'rubygem(name)' provides statement (#585, Stepan Stipl)
|
246
|
-
- deb: Downcase and replace underscores with dashes in 'provides' list.
|
247
|
-
(#591, Eric Connell)
|
248
|
-
- deb: Fix a lintian complaint about md5sums permissions (#593, Sam Crang)
|
249
|
-
- cpan: Modules with 'MYMETA' files are now supported (#573, Michael Donlon)
|
250
|
-
|
251
|
-
0.4.42 (July 23, 2013)
|
252
|
-
- dir: make source=destination mappings behave the same way 'rsync -a' does
|
253
|
-
with respect to source and destination paths.
|
254
|
-
|
255
|
-
0.4.41 (July 17, 2013)
|
256
|
-
- cpan: handle cases where modules don't specify a license
|
257
|
-
- deb: support multiple init scripts (#487, patch by Kristian Glass)
|
258
|
-
|
259
|
-
0.4.40 (July 12, 2013)
|
260
|
-
- dir: supports mapping one path to another.
|
261
|
-
You set mappings by using 'source=destination' syntax. For example:
|
262
|
-
% fpm -s dir -t deb -n example /home/jls/.zshrc=/etc/skel/
|
263
|
-
The key above is the '=' symbol. The result of the above will be a package
|
264
|
-
containing only /etc/skel/.zshrc
|
265
|
-
For more, see https://github.com/jordansissel/fpm/wiki/Source:-dir#mapping
|
266
|
-
- python: the default scripts location is now chosen by python itself. The
|
267
|
-
previous default was "/usr/bin" and was not a good default. (#480)
|
268
|
-
- rpm: config files should have attributes (#484, patch by adamcstephens)
|
269
|
-
- python: correctly log the python setup.py exit code (#481, patch by Derek
|
270
|
-
Ludwig)
|
271
|
-
|
272
|
-
0.4.39 (June 27, 2013)
|
273
|
-
- cpan: support more complex dependency specifications (reported by Mabi
|
274
|
-
Knittel)
|
275
|
-
|
276
|
-
0.4.38 (June 24, 2013)
|
277
|
-
- cpan: fpm's cpan code now works under ruby 1.8.7
|
278
|
-
- python: fix a bug in dependency handling (#461, Pranay Kanwar)
|
279
|
-
- pear: Added --pear-data-dir flag (#465, Zsolt Takács)
|
280
|
-
- cpan: fix a bug with some clean up on certain 64bit systems
|
281
|
-
- gem: improve detection of the gem bin install path (#476, Tray Torrance)
|
282
|
-
- rpm: fix bug when calling using --rpm-use-file-permissions
|
283
|
-
(#464, Rich Horwood)
|
284
|
-
|
285
|
-
0.4.37 (May 30, 2013)
|
286
|
-
- deb: fix creation failures on OS X (#450, patch by Anthony Scalisi and
|
287
|
-
Matthew M. Boedicker)
|
288
|
-
- deb: you can now set --deb-build-depends. This is generally for extremely
|
289
|
-
rare use cases. (#451, patch by torrancew)
|
290
|
-
- perl: add --cpan-perl-lib-path for a custom perl library installation path
|
291
|
-
(#447, patch by Brett Gailey)
|
292
|
-
|
293
|
-
0.4.36 (May 15, 2013)
|
294
|
-
- pear: only do channel-discover if necessary (#438, patch by Hatt)
|
295
|
-
- cpan: now supports cpan modules that use Module::Build
|
296
|
-
- cpan: --no-cpan-test now skips tests for build/configure dependencies
|
297
|
-
- rpm: Add --rpm-defattrfile and --rpm-defattrdir flags (#428, patch
|
298
|
-
by phrawzty)
|
299
|
-
|
300
|
-
0.4.35 -- was not announced
|
301
|
-
|
302
|
-
0.4.34 (May 7, 2013)
|
303
|
-
- Now supports CPAN - Perl mongers rejoice! For example:
|
304
|
-
'fpm -s cpan -t deb DBI'
|
305
|
-
- deb: fixed some additional complaints by lintian (#420, patch by Pranay
|
306
|
-
Kanwar)
|
307
|
-
- rpm: add flags --rpm-autoreqprov, --rpm-autoreq, and --rpm-autoprov
|
308
|
-
to tell rpm to enable that feature in the rpm spec. (#416, patch by Adam
|
309
|
-
Stephens)
|
310
|
-
|
311
|
-
0.4.33 (April 9, 2013)
|
312
|
-
- Now supports npm, the node package manager. For example:
|
313
|
-
'fpm -s npm -t deb express'
|
314
|
-
|
315
|
-
0.4.32 (April 9, 2013)
|
316
|
-
- COMPATIBILITY WARNING: rpm: The default epoch is now nothing because this
|
317
|
-
aligns more closely with typical rpm packages in the real world. This
|
318
|
-
decision was reached in #381. If you need the previous behavior, you
|
319
|
-
must now specify '--epoch 1' (#388, patch by Pranay Kanwar)
|
320
|
-
- python: new flag --python-obey-requirements-txt which makes a
|
321
|
-
requirements.txt file from the python package used for the package
|
322
|
-
dependencies instead of the usual setup.py dependencies. The default
|
323
|
-
behavior without this flag is to respect setup.py. (#384)
|
324
|
-
- deb: new flag --deb-shlibs to specify the content of the 'shlibs' file
|
325
|
-
in the debian package (#405, patch by Aman Gupta)
|
326
|
-
- deb: fixed a few lintian errors (empty conffiles, md5sums on symlinks, etc)
|
327
|
-
- Add '-f' / '--force' flag to force overwriting an existing package output
|
328
|
-
path (#385, Timothy Sutton)
|
329
|
-
- New flag: --no-auto-depends flag to skip any automatic dependencies
|
330
|
-
that would normally be added by gem, python, deb, and rpms input packages.
|
331
|
-
(#386, #374; patch by Pranay Kanwar)
|
332
|
-
- gem: Use 'gem' command to download gems and read gem package information.
|
333
|
-
(#389, #394, #378, #233; patches by Pranay Kanwar and Chris Roberts)
|
334
|
-
- rpm: dashes are now replaced with underscores in rpm version strings
|
335
|
-
(#395, #393, #399; patches by Jeff Terrace and Richard Guest)
|
336
|
-
- python: Only use the first line of a license; some python packages (like
|
337
|
-
'requests') embed their full license copy into the license field. For
|
338
|
-
the sake of sanity and function with most packaging systems, fpm only
|
339
|
-
uses the first line of that license.
|
340
|
-
- rpm: Add new 'none' option to --rpm-compression to disable compression
|
341
|
-
entirely. (#398, patch by Richard Guest)
|
342
|
-
- deb: Make dependencies using the '!=' operator represented as "Breaks"
|
343
|
-
in the deb package (previously used "Conflicts"). (#400)
|
344
|
-
- deb: Add md5sums to the debian packages which improves correctness
|
345
|
-
of the package. (#403, #401; patch by Pranay Kanwar)
|
346
|
-
- rpm: Convert all '!=' dependency operators to 'Conflicts'. Previously,
|
347
|
-
this only applied to packages converting from python to rpm.
|
348
|
-
(#404, #396; patch by Pranay Kanwar)
|
349
|
-
|
350
|
-
0.4.31 (March 21, 2013)
|
351
|
-
- rpm: new flag --rpm-use-file-permissions which try to create an rpm
|
352
|
-
that has file ownership/modes that exactly mirror how they are on
|
353
|
-
the filesystem at package time. (#377, patch by Paul Rhodes)
|
354
|
-
- general: remove empty directories only when they match the exclude
|
355
|
-
pattern (#323, patch by Pranay Kanwar)
|
356
|
-
|
357
|
-
0.4.30 (March 21, 2013)
|
358
|
-
- Solaris: --solaris-user and --solaris-group flags to specify
|
359
|
-
the owner of files in a package. (#342, patch by Derek Olsen)
|
360
|
-
- rpm: (bug fix) epoch of 0 is permitted now (#343, patch by Ben Hughes)
|
361
|
-
- pear: add flags --pear-bin-dir --pear-php-bin --pear-php-dir (#358, patch
|
362
|
-
by Zsolt Takács)
|
363
|
-
- New 'source' type: empty. Allows you to create packages without any files
|
364
|
-
in them (sometimes called 'meta packages'). Useful when you want to have
|
365
|
-
one package be simply dependencies or when you want to spoof a package
|
366
|
-
you don't want installed, etc. (#359, 349; patch by Pranay Kanwar)
|
367
|
-
- solaris: Add --solaris-user and --solaris-group flags (#342, Patch by Derek
|
368
|
-
Olsen)
|
369
|
-
- gem: new flag --env-shebang; default true (disable with --no-env-shebang).
|
370
|
-
Lets you disable #! (shebang) mangling done by gem installation. (#363,
|
371
|
-
patch by Grier Johnson)
|
372
|
-
- deb: fix bug on changelog handling (#376, patch by mbakke)
|
373
|
-
- rpm: fix --rpm-rpmbuild-define (#383, patch by Eric Merritt)
|
374
|
-
|
375
|
-
0.4.29 (January 22, 2013)
|
376
|
-
- Copy links literally, not what they point at (#337, patch by Dane Knecht)
|
377
|
-
|
378
|
-
0.4.28 (January 21, 2013)
|
379
|
-
- Fix a dependency on the 'cabin' gem. (#344, reported by Jay Buffington)
|
380
|
-
|
381
|
-
0.4.27 (January 16, 2013)
|
382
|
-
- Make all fpm output go through the logger (#329; patch by jaybuff)
|
383
|
-
- New package type: osxpkg, for building packages installable on OS X. (#332,
|
384
|
-
patch by Timothy Sutton)
|
385
|
-
- Fix crash bug when converting rpms to something else (#316, #325; patch by
|
386
|
-
rtucker-mozilla)
|
387
|
-
- deb: Add --deb-field for setting a custom field in the control file.
|
388
|
-
For more information on this setting, see section 5.7 "User-defined fields"
|
389
|
-
of the debian policy manual:
|
390
|
-
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.7
|
391
|
-
- deb: Add --deb-recommends and --deb-suggests (#285, #310; patch by Pranay
|
392
|
-
Kanwar)
|
393
|
-
- python to rpm: convert "!=" dependency operators in python to "Conflicts"
|
394
|
-
in rpm. (#263, #312; patch by Pranay Kanwar)
|
395
|
-
- python: fix bug - ignore blank lines in requirements.txt (#312, patch by
|
396
|
-
Pranay Kanwar)
|
397
|
-
|
398
|
-
0.4.26 (December 27, 2012)
|
399
|
-
- rpm: add --rpm-sign flag to sign packages using the 'rpmbuild --sign' flag.
|
400
|
-
(#311, Patch by Pranay Kanwar)
|
401
|
-
- rpm: fix flag ordering when calling rpmbuild (#309, #315, patch by Trotter
|
402
|
-
Cashion)
|
403
|
-
- deb: re-enable "Predepends" support (#319, #320, patch by Pranay Kanwar)
|
404
|
-
- rpm: fix default 'rpm os' value (#321, 314, 309)
|
405
|
-
|
406
|
-
0.4.25 (December 7, 2012)
|
407
|
-
- Added --deb-changelog and --rpm-changelog support flags. Both take a path to
|
408
|
-
a changelog file. Both must be valid changelog formats for their respective
|
409
|
-
package types. (#300, patch by Pranay Kanwar)
|
410
|
-
- deb: Multiple "provides" are now supported. (#301, patch by Pranay Kanwar)
|
411
|
-
- rpm: Added --rpm-os flag to set the OS target for the rpm. This lets you build
|
412
|
-
rpms for linux on OS X and other platforms (with --rpm-os linux). (#309)
|
413
|
-
- rpm: Avoid platform-dependent commands in the %install phase (#309, fixes
|
414
|
-
'cp -d' on OSX)
|
415
|
-
- python: ignore comments in requirements.txt (#304, patch by Pranay Kanwar)
|
416
|
-
- Fixed warning 'already initialized constant' (#274)
|
417
|
-
|
418
|
-
0.4.24 (November 30, 2012)
|
419
|
-
- Don't include an empty url in rpm spec (#296, #276; patch by Pranay Kanwar)
|
420
|
-
- Don't require extra parameters if you use --inputs (#278, #297; Patch by
|
421
|
-
Pranay Kanwar)
|
422
|
-
- python: supports requirements.txt now for dependency information.
|
423
|
-
- python: supports pip now. Use '--python-pip path/to/pip' to have fpm use
|
424
|
-
it instead of easy_install.
|
425
|
-
- solaris: package building works again (#216, #299, patch by Pierre-Yves
|
426
|
-
Ritschard)
|
427
|
-
|
428
|
-
0.4.23 (November 26, 2012)
|
429
|
-
- The --directories flag is now recursive when the output package is rpm.
|
430
|
-
This makes all directories under a given path as owned by the package
|
431
|
-
so they'll be removed when the package is uninstalled (#245, #293, #294,
|
432
|
-
patch by Justin Ellison)
|
433
|
-
- Add fpm version info to '--help' output (#281)
|
434
|
-
- gem to rpm: Use 'rubygem(gemname)' for dependencies (#284, patch by
|
435
|
-
Jan Vansteenkiste)
|
436
|
-
- Fix a bug in gem version mangling (#292, #291; patch by Pranay Kanwar)
|
437
|
-
- Fix compatibility with Python 2.5 (#279, patch by Denis Bilenko)
|
438
|
-
|
439
|
-
0.4.22 (November 15, 2012)
|
440
|
-
- Add --no-depends flag for creating packages with no dependencies listed
|
441
|
-
(#289, patch by Brett Gailey)
|
442
|
-
- Fix a bug where blank lines were present in a debian control file.
|
443
|
-
(#288, patch by Andrew Bunday)
|
444
|
-
|
445
|
-
0.4.21 (November 8, 2012)
|
446
|
-
- gem: remove restriction on expected gem names (#287)
|
447
|
-
- add --directory flag; lets you mark a directory as being owned by a
|
448
|
-
package. (#260, #245, patch by ajf8)
|
449
|
-
- deb: don't include a version in the Provides field (#280)
|
450
|
-
- gem: if the version is '1.1' make it imply '1.1.0' (#269, patch by
|
451
|
-
Radim Marek)
|
452
|
-
|
453
|
-
0.4.20 (October 5, 2012)
|
454
|
-
- python: only specify --install-{scripts,lib,data} flags to setup.py if
|
455
|
-
they were given on the command line to fpm. Fixes #273.
|
456
|
-
|
457
|
-
0.4.19 (September 26, 2012)
|
458
|
-
- Escape '%' characters in file names (#266, #222. Patch by John Wittkoski)
|
459
|
-
|
460
|
-
0.4.18 (September 25, 2012)
|
461
|
-
- Fix regression in rpm building where the epoch in was missing in the rpm,
|
462
|
-
but prior fpm versions defaulted it to 1. This caused rpms built with newer
|
463
|
-
fpms to appear "older" than older rpms. Tests added to ensure this regression
|
464
|
-
is caught prior to future releases! (Reported by eliklein)
|
465
|
-
|
466
|
-
0.4.17 (September 12, 2012)
|
467
|
-
- Remove accidental JSON warning when using '-s python'
|
468
|
-
|
469
|
-
0.4.16 (September 6, 2012)
|
470
|
-
- Fix compatibility with Ruby 1.8.7 (broken in 0.4.15)
|
471
|
-
|
472
|
-
0.4.15 (September 6, 2012)
|
473
|
-
- pear: support custom channels with --pear-channel <channel> (#207)
|
474
|
-
Example: fpm -s pear -t deb --pear-channel pear.drush.org drush
|
475
|
-
- permit literal '\n' in --description, fpm will replace with a newline
|
476
|
-
character. Example: fpm --description "line one\nline two" (#251)
|
477
|
-
- improve error messaging when trying to output a package to a directory that
|
478
|
-
doesn't exist (#244)
|
479
|
-
- deb: convert '>' and '<' dependency operators to the correct '>>' and '<<'
|
480
|
-
debian version operators (#250, patch by Thomas Meson).
|
481
|
-
- deb: add --deb-priority flag (#232) for setting the debian 'priority'
|
482
|
-
value for your package.
|
483
|
-
- add --template-value. Used to expose arbitrary values to script templates.
|
484
|
-
If you do --template-value hello=world, in your template you can do
|
485
|
-
<%= hello %> to get 'world' to show up in your maintainer scripts.
|
486
|
-
- python: add --python-install-data flag to set the --install-data option to
|
487
|
-
setup.py (#255, patch by Thomas Meson)
|
488
|
-
- Reject bad dependency flags (ones containing commas) and offer alternative.
|
489
|
-
(#257)
|
490
|
-
- Try to copy a file if hardlinking fails with permission problems (#253,
|
491
|
-
patch by Jacek Lach)
|
492
|
-
- Make --exclude, if a directory, include itself and any children, recursive.
|
493
|
-
(#248)
|
494
|
-
|
495
|
-
0.4.14 (August 24, 2012)
|
496
|
-
- rpm: Replace newlines with space in any license setting. (#252)
|
497
|
-
|
498
|
-
0.4.13 (August 14, 2012)
|
499
|
-
- Make --exclude accept path prefixes as well. If you have a files in
|
500
|
-
'usr/share/man' in your package, you can now exclude all of a subdir
|
501
|
-
by doing '--exclude usr/share/man'
|
502
|
-
|
503
|
-
0.4.12 (August 10, 2012)
|
504
|
-
- Fix a major bug introduced in 0.4.11 that caused all deb packages to
|
505
|
-
contain empty maintainer scripts if not otherwise specified, which made
|
506
|
-
apt/dpkg quite unhappy
|
507
|
-
|
508
|
-
0.4.11 (August 7, 2012)
|
509
|
-
- Fix some symlink handling to prevent links from being followed during
|
510
|
-
cleanup (#228, patch by sbuss)
|
511
|
-
- rpm: 'vendor' in rpm spec is now omitted if empty or nil. This fixes a bug
|
512
|
-
where rpmbuild fails due to empty 'Vendor' tag if you convert rpm to rpm.
|
513
|
-
- internal: remove empty directories marked by --exclude (#205, patch by
|
514
|
-
jimbrowne)
|
515
|
-
- dir: don't try to set utime on symlinks (#234, #240, patch by ctgswallow)
|
516
|
-
- rpm: relocatable rpms now supported when using the '--prefix' flag.
|
517
|
-
Example: fpm -s dir -t rpm --prefix /usr/local -n example /etc/motd
|
518
|
-
(patch by jkoppe)
|
519
|
-
- deb: --deb-compression flag: Support different compression methods.
|
520
|
-
Default continues to be gzip.
|
521
|
-
- new flag: --template-scripts. This lets you write script templates for
|
522
|
-
--after-install, etc. Templates are ERB, so you can do things like
|
523
|
-
'<%= name %>' to get the package name in the script, etc.
|
524
|
-
- warn on command invocations that appear to have stray flags to try and
|
525
|
-
help users who have complex command lines that are failling.
|
526
|
-
|
527
|
-
0.4.10 (May 25, 2012)
|
528
|
-
- Fix python package support for python3 (#212, patch by Slezhuk Evgeniy)
|
529
|
-
- Preserve file metadata (time, owner, etc) when copying with the dir
|
530
|
-
package. (#217, patch by Marshall T. Vandegrift)
|
531
|
-
- Missing executables will now error more readably in fpm.
|
532
|
-
- Fix gem and python 'version' selection (#215, #204)
|
533
|
-
- Dependencies using '!=' will now map to 'Conflicts' in deb packages. (#221,
|
534
|
-
patch by Sven Fischer)
|
535
|
-
- Allow setting default user/group for files in rpm packages (#208, patch by
|
536
|
-
Jason Rogers). Note: This adds --user and --group flags to effect this.
|
537
|
-
These flags may go away in the future, but if they do, they will be
|
538
|
-
- In python packages set 'install-data' correctly. (#223, patch by Jamie
|
539
|
-
Scheinblum)
|
540
|
-
|
541
|
-
0.4.9 (April 25, 2012)
|
542
|
-
- Fix --prefix support when building gems (#213, patch by Jan Vansteenkiste)
|
543
|
-
|
544
|
-
0.4.8 (April 25, 2012)
|
545
|
-
- RPM: use 'noreplace' option for config files (#194, patch by Steve Lum)
|
546
|
-
- Python: Fix bug around exact dependency versions (#206, patch by Lars van
|
547
|
-
de Kerkhof)
|
548
|
-
- Gem->RPM: Make 'provides' "rubygem(thegemname)" instead of "rubygem-thegemname"
|
549
|
-
- Fix oddity where Ruby would complain about constant redefinition (#198,
|
550
|
-
patch by Marcus Vinicius Ferreira)
|
551
|
-
|
552
|
-
0.4.7 skipped.
|
553
|
-
|
554
|
-
0.4.6 (April 10, 2012)
|
555
|
-
- Work around more problems in RPM with respect to file listing (#202)
|
556
|
-
|
557
|
-
0.4.5 (April 3, 2012)
|
558
|
-
- Fix gem->rpm conversion where the '~>' rubygem version operator (#193,
|
559
|
-
patch by antoncohen)
|
560
|
-
- Escape filenames RPM install process (permits files with spaces, dollar signs, etc)
|
561
|
-
(#196, reported by pspiertz)
|
562
|
-
|
563
|
-
0.4.4 (March 30, 2012)
|
564
|
-
- Fix a bug in gem bin_dir handling (Calen Pennington)
|
565
|
-
- The --config-files flag should work again (Brian Akins)
|
566
|
-
- Fix syntax error when using --deb-pre-depends (Andrew Bennett)
|
567
|
-
- Make --exclude work again (#185, #186) (Calen Pennington)
|
568
|
-
- Fix file listing so that rpm packages don't declare ownership on / and
|
569
|
-
/usr, etc.
|
570
|
-
- make --deb-custom-control to work again (Tor Arne Vestbø)
|
571
|
-
- Add --rpm-digest flag to allow selection of the rpm 'file name' digest
|
572
|
-
algorithm. Default is 'md5' since it works on the most rpm systems.
|
573
|
-
- Reimplement old behavior assuming "." as the input when using '-s dir' and
|
574
|
-
also setting -C (#187)
|
575
|
-
- Set BuildRoot on rpm to work around an rpmbuild bug(?) on CentOS 5 (#191)
|
576
|
-
- Add --rpm-compression flag to allow selection of the rpm payload
|
577
|
-
compression. Default is 'gzip' since it works on the most rpm systems
|
578
|
-
- Specs now pass on ubuntu/32bit systems (found by travis-ci.org's test runner)
|
579
|
-
- Improve default values of iteration and epoch (#190)
|
580
|
-
- Make FPM::Package#files list only 'leaf' nodes (files, empty directories,
|
581
|
-
symlinks, etc).
|
582
|
-
|
583
|
-
0.4.3 (March 21, 2012)
|
584
|
-
- Fix bug in python packaging when invoked with a relative path to a setup.py
|
585
|
-
(Reported by Thomas Meson, https://github.com/jordansissel/fpm/pull/180)
|
586
|
-
|
587
|
-
0.4.2 (March 21, 2012)
|
588
|
-
- Set default temporary directory to /tmp
|
589
|
-
(https://github.com/jordansissel/fpm/issues/174)
|
590
|
-
- Improve symlink handling (patch by Aleix Conchillo Flaqué, pull/177))
|
591
|
-
- Python package support changes (thanks to input by Luke Macken):
|
592
|
-
* New flag: --python-install-bin. Sets the location for python package
|
593
|
-
scripts (default: /usr/bin)
|
594
|
-
* New flag: --python-install-lib. Sets the location for the python
|
595
|
-
package to install libs to, default varies by system. Usually something
|
596
|
-
like /usr/lib/python2.7/site-packages.
|
597
|
-
* Fix up --prefix support
|
598
|
-
* Improve staged package installation
|
599
|
-
|
600
|
-
0.4.1 (March 19, 2012)
|
601
|
-
- Fix fpm so it works in ruby 1.8 again.
|
602
|
-
Tests run, and passing:
|
603
|
-
rvm 1.8.7,1.9.2,1.9.3 do bundle exec rspec
|
604
|
-
|
605
|
-
0.4.0 (March 18, 2012)
|
606
|
-
- Complete rewrite of pretty much everything.
|
607
|
-
* Otherwise, the 'fpm' command functionality should be the same
|
608
|
-
* Please let me know if something broke!
|
609
|
-
- Now has an API (see examples/api directory)
|
610
|
-
- Also has a proper test suite
|
611
|
-
- Updated the rpm spec generator to disable all the ways I've found rpmbuild
|
612
|
-
to molest packages. This means that fpm-generated rpms will no longer
|
613
|
-
strip libraries, move files around, randomly mutate jar files, etc.
|
614
|
-
- Add --license and --vendor settings (via Pieter Loubser)
|
615
|
-
- python support: try to name python packages sanely. Some pypi packages
|
616
|
-
are literally called 'python-foo' so make sure we generate packages named
|
617
|
-
'python-foo' and not 'python-python-foo' (via Thomas Meson)
|
618
|
-
- rpm support: Add --rpm-rpmbuild-define for passing a --define flag to rpmbuild
|
619
|
-
(via Naresh V)
|
620
|
-
- PHP pear source support (fpm -s pear ...) (via Andrew Gaffney)
|
621
|
-
|
622
|
-
0.3.10 (Oct 10, 2011)
|
623
|
-
- Allow taking a list of files/inputs on stdin with '-' or with the --inputs
|
624
|
-
flag. (Matt Patterson)
|
625
|
-
- (python) pass -U to easy_install (Khalid Goudeaux)
|
626
|
-
- (debian) quote paths in md5sum calls (Matt Patterson)
|
627
|
-
- (debian) quiet stderr from dpkg --print-architecture
|
628
|
-
|
629
|
-
0.3.9 (Sep 8, 2011)
|
630
|
-
- Fix bug in 'dir' source that breaks full paths
|
631
|
-
- Added a bunch of tests (yaay)
|
632
|
-
|
633
|
-
0.3.8 and earlier: I have not kept this file up to date very well... Sorry :(
|
634
|
-
|
635
|
-
0.2.29 (May 20, 2011)
|
636
|
-
- Add 'tar' source support. Useful for binary releases to repackage as rpms
|
637
|
-
and debs. Example:
|
638
|
-
fpm -s tar -t rpm -n firefox -v 4.0.1 \
|
639
|
-
--prefix /opt/firefox/4.0.1 firefox-4.0.1.tar.bz2
|
640
|
-
|
641
|
-
0.2.28 (May 18, 2011)
|
642
|
-
- Use --replaces as "Obsoletes" in rpms.
|
643
|
-
|
644
|
-
0.2.27 (May 18, 2011)
|
645
|
-
- If present, DEBEMAIL and DEBFULLNAME environment variables will be used as
|
646
|
-
the default maintainer. Previously the default was simply <$user@$hostname>
|
647
|
-
https://github.com/jordansissel/fpm/issues/37
|
648
|
-
- Add '--replaces' flag for specifying packages replaced by the one you are
|
649
|
-
building. This only functions in .deb packages now until I find a suitable
|
650
|
-
synonym in RPM.
|
651
|
-
- Add --python-bin and --python-easyinstall flags. This lets you choose specific
|
652
|
-
python and easy_install tools to use when building. Default is simply
|
653
|
-
'python' and 'easy_install' respectively.
|
654
|
-
- Add support for ~/.fpmrc - The format of this file is the same as the flags.
|
655
|
-
One flag per line. https://github.com/jordansissel/fpm/issues/38
|
656
|
-
Example:
|
657
|
-
--python-bin=/usr/bin/python2.7
|
658
|
-
--python-easyinstall=/usr/bin/easy_install2.7
|
659
|
-
|
660
|
-
0.2.26 and earlier
|
661
|
-
No changelist tracked. My bad, yo.
|