Joseph Anthony Pasquale Holsten
2ea5ecf65f
package/dir: remove spurious pry ( #1293 )
...
Fixes #1259
2017-06-14 21:46:44 -07:00
Bob Bell
b13f2f0a05
Translate Perl version dependencies like 5.008001 proper versions like 5.8.1 ( #1342 )
2017-06-14 21:41:03 -07:00
liger1978
17cdacb782
Fixes #1343 Ensure self.version is converted to string ( #1344 )
2017-06-06 12:53:17 -07:00
Bob Bell
32d526fb14
Use capabilities in Perl dependencies ( #1340 )
2017-06-05 14:25:25 -07:00
Bob Bell
5148814866
Do not remove the leading "v" from version dependencies, since that is how the version of those dependencies themselves are being provided ( #1339 )
2017-06-05 14:24:12 -07:00
Bob Bell
b930bcc874
Update to v1 of MetaCPAN API ( #1341 )
2017-06-05 13:06:24 -07:00
Bob Bell
f393ca6382
Be consistent in letting newer Perl module versions meet the requirements, if not otherwise specified ( #1338 )
2017-06-05 11:44:13 -07:00
Paulo Sousa
37cc459dd8
pleaserun: add extra options to pleaserun ( #1311 )
2017-06-02 16:31:05 -07:00
memory
359e4847cb
Add --virtualenv-find-links flag ( #1318 )
...
"pip install" in addition to the --index-url and --extra-index-url
flags, offers the `--find-links` flag, which tells pip to parse
an html index document looking for wheel/egg/source files without
expecting the "simple" pypi layout or to look in a local directory
for package files.
2017-05-26 08:30:45 -07:00
Bob Vincent
c364b2a41e
Fix zipfile target. ( #1314 )
...
* Fix zipfile target.
* Remove "-y" option which is unsupported on Windows.
2017-04-24 10:35:57 -07:00
vbakayev
6dca7cabf0
fix wrong init.d shim naming ( #1325 )
2017-04-20 09:22:33 -07:00
Jordan Sissel
859f602f56
Merge pull request #1262 from nicobrevin/fix-virtualenv-prefix-behaviour
...
Fix virtualenv prefix behaviour (#1248 )
2017-04-04 22:43:15 -07:00
Jordan Sissel
1752f4fcb2
Version bump
2017-02-05 01:46:58 -08:00
Nick Griffiths
d72ea6c625
Fix for #1248 - fix prefix behaviour
2016-12-30 19:57:15 +13:00
Jordan Sissel
7f483848f9
Release 1.8.0
2016-12-28 01:50:47 -08:00
Jordan Sissel
af305e7a87
Merge pull request #1218 from nzjrs/master
...
make virtualenv packages truly standalone
2016-12-07 15:51:49 -08:00
Jordan Sissel
b560b0fcce
Merge pull request #1241 from liger1978/fix_cpan_version_query
...
Fixes #1236 Fixed version number for metacpan search
2016-11-29 17:25:07 -08:00
Jordan Sissel
16401efae9
Version bump to 1.7.0
2016-11-28 15:45:54 -08:00
Richard Grainger
93dacaf0fb
Fixes #1236 Fixed version number for metacpan search
2016-11-28 08:42:29 +00:00
Jordan Sissel
888b5860a9
Merge pull request #1235 from cfstras/master
...
pleaserun: support chdir parameter
2016-11-27 20:13:28 -08:00
Jordan Sissel
9d9df389a0
Merge pull request #1213 from shalq/bz2-support
...
deb data file should support bz2 format
2016-11-27 19:59:58 -08:00
Jordan Sissel
98af0f6787
Merge pull request #1226 from Daniel15/patch-1
...
Fix comment in apk.rb
2016-11-27 19:49:59 -08:00
Claus Strasburger
b999baf1b9
pleaserun: support chdir parameter
...
Added support for --pleaserun-chdir to specify the working directory of a
created service.
2016-11-25 14:13:00 +01:00
Jose Diaz-Gonzalez
098c9b2de5
Use StringIO from ruby stdlib
...
Closes #1148
2016-11-22 14:00:22 -07:00
Daniel Lo Nigro
0764bbdcd7
Fix comment in apk.rb
...
This file is for Alpine packages, not Debian packages! :D
2016-11-13 15:38:14 -08:00
John Stowers
ca8aeb951d
virtualenv: add option create with --system-site-packages
...
this allows virtualenv packages to see the system package
directory
2016-10-23 14:37:16 +02:00
John Stowers
e72209b59c
virtualenv: add option to also install the package in the virtualenv
...
one common use-case for a virtualenv requirements.txt source
is to distribute ones software and the dependencies in one
debian file. unfortunately the current implementation doesn't
get one all the way to that goal. Starting with a local checkout
of a python package (containing one's own software, setup.py and
requirements.txt) fpm can create a package that contains the
software dependencies, but not the software itself.
this commit adds an option to also run the package setup.py
after populating the virtualenv, thus giving a means to
package one's own application *and* the dependencies in
one step
2016-10-23 13:28:41 +02:00
Richard Grainger
c7839af1f9
Fixes #1206 Improved download URL query for CPAN modules
2016-10-17 21:04:49 +01:00
Long Quan Sha
afca45910e
deb data file should support bz2 format
2016-10-17 06:29:17 +00:00
Jordan Sissel
e9a6f63e2e
Merge pull request #1203 from liger1978/fix_merge
...
Ensured result is not nil. Fixes #1202 .
2016-10-15 19:33:10 -07:00
Jordan Sissel
9af51d7364
Merge pull request #1210 from nicobrevin/bugfix-virtualenv-various
...
Bugfix virtualenv various
2016-10-15 19:24:17 -07:00
Nick Griffiths
4cdab37074
Fix failing virtualenv test
2016-10-15 16:42:19 +13:00
Nick Griffiths
fc648021e4
Cope with longer tmp dirs - shebangs must be < 128 chars
2016-10-15 16:11:17 +13:00
Richard Grainger
33216ad7d7
Ensured result is not nil. Fixes #1202 .
2016-10-09 22:36:11 +01:00
Matt Sharpe
2e8583e42e
Use global architecture switch for FreeBSD ABI
2016-09-28 17:36:28 +10:00
Jordan Sissel
cda8262bab
Version bump
2016-09-15 10:35:27 -07:00
Jordan Sissel
40aa7cf5ca
Move fpm version query behavior to `run` method.
...
A bug pointed out by #1162 showed that `fpm --version` would fail when
a .fpm file was loaded.
Moving the short `fpm --version` handling to the `run` method lets us do
this check before we load FPMOPTS env or .fpm files.
Updated the tests to only try calling with a lone `-v` or `--version`
flag to verify this works with and without a .fpm file.
Fixes #1162 and #1125 . Original work by @drwl!
2016-09-11 23:48:39 -07:00
Andrew Lee
a6f25b9fda
Fix --version when .fpm file exists
2016-09-11 23:48:17 -07:00
Matt Sharpe
0e9e8f0a43
Add long flag options for chdir, input, and output
...
The flags for chdir, input, and output aren't immediately intuitive
as to what they're short for. This commit adds long versions and a
spec stub for chdir. Resolves #1187 .
2016-09-02 17:19:12 +10:00
Jordan Sissel
5b5d7efb31
Fix blank summary bug. When using the description field for the summary, instead of picking the first line, we now pick the first non-empty line. Fixes #1186 .
2016-08-27 21:41:00 -07:00
Richard Grainger
5981a29f76
Fix #1179 Remove .packlist files and empty parent directories from CPAN packages
2016-08-23 23:47:20 +01:00
Richard Grainger
b6ee8799ce
Fix #1114 by looking for new-style keys in CPAN metadata
2016-08-19 15:49:43 +01:00
Jordan Sissel
64897df7c7
Merge pull request #1154 from Romain-Geissler-1A/fix-pacman-dependency-regex
...
Fix pacman dependency regex.
2016-08-08 13:30:51 -07:00
Lloyd Pick
6de809631a
add missing apk require
2016-08-04 20:20:08 +01:00
Jordan Sissel
40ec0c3576
Merge pull request #1139 from luto/bugfix/1124
...
fix --workdir not having an effect on the build and staging dirs, fixes #1124
2016-07-25 16:14:44 -07:00
Andreas Zuber
be71a16a40
gem: make sure only the shebang on the very first line of the script gets replaced
2016-07-22 09:16:48 +02:00
Andreas Zuber
8add9bcdd6
gem: make it posssible to set the shebang
...
This makes it possible to create packages from gems for ruby versions
which are not currently installed on the machine you build the package on.
2016-07-22 09:02:39 +02:00
Romain Geissler
1cef669d07
Fix pacman dependency regex.
2016-07-05 21:34:50 +02:00
Jordan Sissel
398eeafde9
Version bump
2016-06-30 14:51:35 -07:00
luto
3338aa8f4b
remove trailing slash from --prefix option in rpm-packages, fixes #819
2016-06-23 02:18:01 +02:00
luto
454754064f
fix --workdir not having an effect on the build and staging dirs, fixes #1124
2016-06-22 01:50:44 +02:00
Jordan Sissel
7a7d057109
Make `requirements.txt` detected automatically
...
This removes the --requirements boolean flag in favor of a check that
will automatically assume 'requirements.txt' if the given input argument
is a path with basename (last part of the path) of "requirements.txt".
2016-06-18 13:53:38 -07:00
Nick Griffiths
66e59e79e8
Support building a virtualenv from local requirements.txt
2016-06-18 13:37:24 -07:00
Jordan Sissel
e0ec0f3235
Merge pull request #1113 from slact/archlinux_groups_fix
...
'group' field may be absent in a pacman package, which prevented a valid build
2016-06-20 12:28:23 -07:00
Jordan Sissel
fb6d450de7
Version bump
2016-06-05 02:57:43 -07:00
Ketan Padegaonkar
e979375e0a
Lazily require xz at the last possible moment to avoid dependency on liblzma.so.5
...
Fixes #1090
2016-06-10 22:18:15 +05:30
Jordan Sissel
a6f01b795f
Merge pull request #1121 from mkopta/master
...
example of usage for --rpm-attr
2016-05-31 08:46:58 -07:00
Lucien Stuker
e334c1a004
last_comment is depricated replaced with last_description
2016-05-31 09:12:39 +02:00
Martin Kopta
20d3a6b0cd
example of usage for --rpm-attr
2016-05-30 09:43:51 +02:00
Jordan Sissel
6505860c53
version bump
2016-05-23 14:22:24 -07:00
Jordan Sissel
1365df219c
Merge pull request #1119 from jordansissel/feature/pleaserun
...
New source: pleaserun
2016-05-25 20:10:24 -07:00
Jose Diaz-Gonzalez
a24cabb475
Drop duplicate .conf suffix
...
Closes #861
2016-05-17 02:29:27 -04:00
Jordan Sissel
3c7f176a48
If no description is given, set the description to the pleaserun_name. Without this, the default is 'no description given' which is not a helpful default
2016-05-16 05:22:18 -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
918afbad44
Write scripts to tar and dir package outputs
...
The scripts will be written to the top-level `.scripts/` directory
2016-05-14 22:11:45 -07:00
Jordan Sissel
eac9049a06
Generate Upstart 0.6.5 as well
2016-05-14 22:01:22 -07:00
Jordan Sissel
2e90fe3363
Make copying not rely on rsync. Also tell the user if no platform was detected.
...
Also move files to be /platform/version/... instead of
/platform-version/...
2016-05-14 17:36:24 -07:00
Jordan Sissel
5dc70815a1
WIP continues.
2016-05-14 04:01:26 -07:00
Jordan Sissel
6881690bfc
Work-in-progress adding a pleaserun source for fpm.
...
Long term, we'll probably have a "smart" post-install that will choose
the correct service (systemd, etc) to install based on the platform
doing the installation, not the platform creating the package :)
Adds dependencies on pleaserun and upgrades clamp to suit.
Example using the defaults in pleaserun:
# Create a package called 'example-service' that installs a service named 'example'
% bin/fpm -s pleaserun -t rpm -n example-service --pleaserun-name example =logger hello world
No platform selected. Autodetecting... {:platform=>"systemd", :version=>"default", :level=>:warn}
Writing file {:destination=>"/tmp/package-pleaserun-staging20160513-12576-1ozurnf/lib/systemd/system/example.service"}
Writing install actions. You will want to run this script to properly activate your service on the target host {:path=>"/tmp/package-pleaserun-staging20160513-12576-1ozurnf/install_actions.sh"}
Created package {:path=>"example-service-1.0-1.x86_64.rpm"}
# ^^ The above service will execute "logger hello world"
# What's in our rpm?
% rpm -qlp example-service-1.0-1.x86_64.rpm
/lib/systemd/system/example.service
# What about any post-install steps?
% rpm -qp example-service-1.0-1.x86_64.rpm --scripts
postinstall scriptlet (using /bin/sh):
systemctl --system daemon-reload
# Install it.
% sudo rpm -ivh example-service-1.0-1.x86_64.rpm
# Start it.
% sudo systemctl start example
# Check the logs!
% sudo tail -n1 /var/log/messages
May 13 03:32:55 localhost root: hello world
Example choosing 'sysv' as the platform:
% bin/fpm -s pleaserun -t rpm -n example-service --pleaserun-platform sysv --pleaserun-name example =logger hello world
Writing file
{:destination=>"/tmp/package-pleaserun-staging20160513-13675-xae6xd/etc/init.d/example"}
Writing file
{:destination=>"/tmp/package-pleaserun-staging20160513-13675-xae6xd/etc/default/example"}
Created package {:path=>"example-service-1.0-1.x86_64.rpm"}
% rpm -qlp example-service-1.0-1.x86_64.rpm
/etc/default/example
/etc/init.d/example
2016-05-13 20:10:11 -07:00
Leo P
4600b78bfd
Merge remote-tracking branch 'jordansissel/master' into archlinux_groups_fix
2016-05-13 14:15:27 -04:00
Jordan Sissel
f9a482857b
Merge pull request #1110 from liger1978/master
...
Fix fpm to work with recent versions of pip (with helpful comment)
2016-05-11 11:07:35 -07:00
liger1978
2cdbfee25e
Add TODO comment for older versions of pip
2016-05-11 17:39:19 +01:00
Jordan Sissel
21d58db858
Merge pull request #1100 from ketan/improve-help
...
Clarify that --replaces is the same as rpm "Obsoletes"
2016-05-11 08:56:58 -07:00
Jordan Sissel
fd8167c4fd
Merge pull request #1108 from ptomulik/fix/rubygems-1608
...
workaround rubygems issue #1608 and remove dependency of corefines
2016-05-11 08:36:05 -07:00
Jordan Sissel
a889eeb052
Merge pull request #1102 from PagerDuty/rake-task-should-not-exit-on-success
...
Rake task should not exit if successful
2016-05-11 08:33:55 -07:00
liger1978
77e0cf7a76
Fix fpm to work with recent versions of pip
...
`--no-install` option has been removed from recent versions of pip. Instead `pip download` should be used.
2016-05-11 15:17:55 +01:00
Paweł Tomulik
74a2ede8c4
workaround rubygems issue #1608 and remove dependency of corefines
2016-05-10 18:24:05 +02:00
Evan Gilman
7aa3109b55
iQEcBAABAgAGBQJXKBeWAAoJEO+bTIvB7eHnx7oIAI5LcyyNqJ7wQBz/7pOzX3wt
...
r/tZjUvfFQyPo32u2OazeNrIGhKmi8Gk8CLrvJj9XOB7ulKXs/gi4mptwR4+kX9h
eo53lTrOP4IRuBzEm71l+AzPrg55G5ACJULg61KXJI7PK/93bDj0SDOO/h/SLCKL
wrrpZkyA1nw5t7n0j7Dbp6jw9kaTZcLxiyGc0UPdug6F6FlNF0YT5fc4sKmZz3/x
rreaL0wEyjUlEXBe+yxjSYpybusx8huQ8TkvDCsTzgNzKFH9a0zoCc2ERXhU2UIn
6W6w/0W+dBz1nmwC3TExBGpMFTyx2rzmFGQjsUsanXD/5IxLzYc7fqsrQ4nuvv8=
=iw78
-----END PGP SIGNATURE-----
Rake task should not exit if successful
Exiting after fpm success means that further rake tasks fail to execute,
and Rake simply exits. Instead, only abort if the fpm exits non-zero
2016-05-02 20:12:09 -07:00
Evan Gilman
8dfc92344b
iQEcBAABAgAGBQJXJ5HHAAoJEO+bTIvB7eHnLL8IAMRftLeeEC3en+TtR0jZaaU6
...
ig0GxqsSuCj6tSzaXEaL6D0kDqqfilydBKDJ5R/eycf1Vd6U1l1ttR7Gsuhl5KSm
SID7LuRO+DkfNXayH7LApq+++kx8d4ucuL5trcWISdtbOLc71Ppvf4Rv2X61xQpv
A1TbJGks2yiUfDrm7XLJtIOClRAbE18K2VdJ/f891P5rwPdLcfAfJgbb9lxqcJHo
vsoYxIef+hIsgczQr+WnAQQVRCpSNy6LAox706uk8BBjeGLpkardZnhlGiUnQ/t1
UWOzWm3prHO2O7nhCcQDjfBQj/d3m9XtR0Knv5fnyEUJrAYgpDUbTeGQ0R5iIoo=
=WpBr
-----END PGP SIGNATURE-----
Add fpm namespace require for rake task
The rake task class needs to require the fpm namespace in order
to be included elsewhere.
2016-05-02 10:42:40 -07:00
Ketan Padegaonkar
7f01468e56
Clarify that --replaces is the same as rpm "Obsoletes"
2016-04-28 10:42:01 +05:30
Jordan Sissel
15497b2064
Merge pull request #1091 from ptomulik/fix/python_spec
...
add FPM::Util.execmd and fix python_spec.rb
2016-04-27 21:41:44 -07:00
Jordan Sissel
627513d8f8
Merge pull request #1056 from hejeke/20151229
...
File class do not have a world_readable function
2016-04-27 21:27:33 -07:00
Jordan Sissel
83cf669772
Merge pull request #1097 from sergeyromanov/patch-1
...
Fix #782
2016-04-27 21:27:00 -07:00
Jordan Sissel
5bf6d8b0f0
Merge pull request #1054 from Knetic/apk
...
Alpine Package Keeper (apk) format support
2016-04-27 21:24:41 -07:00
sergeyromanov
0b8fd2915d
Fix #782
...
Removed reference to an undefined `package` variable.
2016-04-26 00:16:07 +04:00
Mildred Ki'Lya
a65d73e208
Fix gem error
...
Without --no-user-install, the gem command fails with:
ERROR: User --install-dir or --user-install but not both
2016-04-22 10:35:29 +02:00
Paweł Tomulik
dc7e73237d
add FPM::Util.execmd and fix python_spec.rb
2016-04-19 05:59:13 +02:00
Paweł Tomulik
3d01940682
further minor corrections to #to_s methods
2016-04-19 05:39:35 +02:00
Paweł Tomulik
cde662ef75
minor corrections to FPM::Package#to_s_* methods and to freebsd/pkg_data
2016-04-16 07:37:45 +02:00
Paweł Tomulik
455e60f159
fixes for FPM::Package#to_s and relatives
2016-04-15 13:30:37 +02:00
Jordan Sissel
b811762b51
version bump to 1.5.0
2016-04-12 21:31:03 -07:00
Jordan Sissel
3ff453fde1
Merge pull request #1035 from trel/patch-1
...
grammar
2016-04-12 20:50:05 -07:00
Jordan Sissel
4dcb4b279d
Merge pull request #1049 from itchio/triggers-644
...
deb: explicitly chmod triggers to 0644 for lintian
2016-04-12 20:47:49 -07:00
Jordan Sissel
315d241b65
Merge pull request #1053 from josephfrazier/remove-rpm-epoch-warning
...
Don't warn when RPM Epoch isn't set
2016-04-12 20:39:08 -07:00
Jordan Sissel
d3fcbdcf8a
Merge pull request #1084 from svmaris/master
...
Fix for --help output
2016-04-12 20:38:52 -07:00
Paweł Tomulik
9216dd79ef
change FPM::Util.tar_cmd -> tar_cmd
2016-04-11 10:47:30 +02:00
Paweł Tomulik
47698fcc6c
fix pacman to use FPM::Util.tar_cmd
2016-04-08 12:07:39 +02:00
Paweł Tomulik
89cb138486
use corefines for backward compatiblity with ruby 1.9.3
2016-04-07 21:57:02 +02:00
Paweł Tomulik
9dcd9f1379
fix to make deb lintian test passing
2016-04-07 17:33:36 +02:00
Stephan van Maris
0a3989190b
Fix for --help output
2016-04-01 16:43:35 +02:00
Justin Kolberg
dd1e9591fb
use Gem::Package::TarWriter instead of minitar
2016-03-01 15:24:19 -08:00
Justin Kolberg
ea15bb7cbb
pre/post hooks for freebsd/pkgng
2016-03-01 15:24:18 -08:00
Justin Kolberg
8c53c3b627
use sha256 to calculate checksum for freebsd/pkgng files
2016-03-01 15:24:18 -08:00
Justin Kolberg
ed08854f27
use stdlib for writing to tarballs with freebsd/pkgng
2016-03-01 15:24:18 -08:00
Pete Fritchman
c7fc1088db
include iteration in package version & file name
2016-03-01 15:23:44 -08:00
Pete Fritchman
bc2c2a62c6
make sure to properly encode file names in the files hash
2016-03-01 15:23:44 -08:00
Pete Fritchman
4a1b7ec7b7
rename files to checksums, use staging_path function, exclude directories, symlink checksum as a -
2016-03-01 15:23:44 -08:00
Pete Fritchman
cd531449ea
initial support for building freebsd/pkgng packages
2016-03-01 15:23:44 -08:00
Rhys !
6b52cfbd71
deb: Create directories as 0755 as per Debian policy
...
This removes some lintian non-standard-dir-perm warnings and moves output
deb packages slightly closer to Debian policy compliance.
2016-01-26 17:54:31 +11:00
Donald
b199f7af05
Update virtualenv.rb
2015-12-29 22:16:31 +08:00
George Lester
87ce028644
Implemented control script commands, removed dummy template scripts
2015-12-28 17:56:54 -08:00
George Lester
a8eabbea51
Implemented dependency-specifying support
2015-12-28 17:21:50 -08:00
George Lester
3021f8f80e
Removed unused constants, and cleaned up namespace errors with 'Dir'
2015-12-28 17:12:54 -08:00
George Lester
569d2f0a2a
Moved constants to top, and properly used fpm-provided arch/url/description
2015-12-28 17:12:53 -08:00
George Lester
7dd839d48f
Removed more magic constants, and added warning about using --allow-untrusted
2015-12-28 17:12:53 -08:00
George Lester
d959063421
Uncommented major/minor tar version clearing, and removed legacy checksum linkname stuff
2015-12-28 17:12:53 -08:00
George Lester
10b7c78510
First actually-working version
2015-12-28 17:12:53 -08:00
George Lester
3d06701d9d
Added a few more header fields, 'apk add' still wont accept.
2015-12-28 17:12:53 -08:00
George Lester
1a11e8a257
Rewrote magic number and usernames in proper places
2015-12-28 17:12:53 -08:00
George Lester
6ff0fb8c51
Cleaned up header cutting logic, ensured that permission bits are removed from control tar
2015-12-28 17:12:53 -08:00
George Lester
0d7b7cfd06
Trimmed trailing slash on record names
2015-12-28 17:12:53 -08:00
George Lester
29a9c6e42b
Added checksum spacing to match existing apk implementation
2015-12-28 17:12:53 -08:00
George Lester
ae32312818
Added magic pax string, and trimmed trailing slash, from tar record names
2015-12-28 17:12:53 -08:00
George Lester
0058587409
Cleaned up some logic, and ensured that only two nul records are ever written to the resultant tar.
2015-12-28 17:12:53 -08:00
George Lester
49f2c79c3a
First working apk package that installs with no errors
2015-12-28 17:12:53 -08:00
George Lester
d151d4721f
Removed debug line from last commit
2015-12-28 17:12:53 -08:00
George Lester
594f2c0b48
Fixed hanging nul-records on data tar. Ensured both tars are -individually- zipped before concatenation.
2015-12-28 17:12:53 -08:00
George Lester
6196d9f8b2
Ensured that extension headers are only added to file contents, not directories or nul records
2015-12-28 17:12:53 -08:00
George Lester
6d7c02caca
Revised the method by which chunks are rounded to the nearest 512
2015-12-28 17:12:53 -08:00
George Lester
081450a505
Fixed extension hash line length
2015-12-28 17:12:53 -08:00
George Lester
43edc59b5a
Fixed a menagerie of errors around extension header, and ensured that output concatted tar is also gzipped
2015-12-28 17:12:53 -08:00
George Lester
35914b6995
Fixed accidental literal '\0' instead of null terminators
2015-12-28 17:12:52 -08:00
George Lester
5396b7ce9b
Ensured hashed extension data is padded to nearest 512 byte chunk.
2015-12-28 17:12:52 -08:00
George Lester
1c57a54bfc
Implemented sha1 hashing and extension records (should work, but apk refuses it)
2015-12-28 17:12:52 -08:00
George Lester
339712b558
Implemented checksum rewriting
2015-12-28 17:12:52 -08:00
George Lester
4bb933e76a
Removed debug lines from previous commit
2015-12-28 17:12:52 -08:00
George Lester
366d11030a
Implemented tar cutting and concatenation
2015-12-28 17:12:52 -08:00
George Lester
3059abe6bf
APK control tar implementation
2015-12-28 17:12:52 -08:00
George Lester
dec6c122d6
Starting to add apk support, based on deb
2015-12-28 17:12:52 -08:00
Joseph Frazier
604246f649
Don't warn when RPM Epoch isn't set
...
See https://github.com/jordansissel/fpm/issues/381#issuecomment-162644413
2015-12-23 22:33:02 -05:00
Amos Wenger
64c6416708
deb: explicitly chmod triggers to 0644 for lintian
2015-12-15 15:30:03 +01:00
nervo
1707e72e8e
Typo
...
"...will be labeled asconfiguration files..." -> "...will be labeled as configuration files..."
2015-12-13 21:59:04 +01:00
Stefan Engel
5212683a1c
Fix parsing of --description
2015-12-11 12:23:06 +01:00
nervo
087a4b3944
Follow debian systemd packaging guide #2
...
Oh god, sorry, i did'nt see that systemd unit files are handled two times !
(See: https://github.com/jordansissel/fpm/pull/1040 )
If i don't replace this path too, unit files are presents 2 times in the debian package, first in /lib/systemd, second in /etc/systemd
Btw, i suspect another bug, that's a strange behaviour, don't you think ?
2015-12-08 22:44:53 +01:00
nervo
4970b92415
Follow debian systemd packaging guide
...
According to debian systemd packaging guide (https://wiki.debian.org/Teams/pkg-systemd/Packaging#systemd_unit_files_naming_and_installation ), distributed systemd unit files must be located in "/lib/systemd/system", and not "/etc/systemd/system"
2015-12-08 16:22:58 +01:00
Leo P
701c971855
skip auto deps for arch linux package source if no_auto_depends is present
2015-12-03 00:32:17 -05:00
Leo P
3ffb82becc
'group' field may be absent in a pacman package, which prevented a valid build
2015-12-01 15:38:11 -05:00
Jordan Sissel
f050c00461
Replace with(obj) { ... } with obj.tap { ... }
...
Object#tap is a stdlib feature of ruby, and the behavior of my 'with'
block was basically the same, so let's remove one more thing to
maintain.
2015-11-28 13:35:31 -08:00
Jordan Sissel
7d041d600b
Remove older style 'with'. I'll use Object#tap in the future.
2015-11-28 13:28:41 -08:00
Jordan Sissel
aef4d2aef9
Fix failing test
2015-11-28 13:20:05 -08:00