fpm 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELIST +7 -1
- data/lib/fpm/package/freebsd.rb +4 -1
- data/lib/fpm/package/rpm.rb +1 -1
- data/lib/fpm/rake_task.rb +1 -1
- data/lib/fpm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07da7989aad6ad5467e603091a7e4bf32b7b3c0d
|
4
|
+
data.tar.gz: d57ee3c926610bdb7632e1d47c71dc58b2cec565
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0050e0c4bdf76b205c9c76284349916f85e82f4679690bd5d2be77124624f0c5435c29aae1cc761afe36b9f75bace5724941fdb58d6af8adb536272c383bc7e7
|
7
|
+
data.tar.gz: fd3dc776f652d02a5b5f2451bf57c08b1995ef51455bc38c4ef0f3207eb93cb04c5df06bceab33f9a2542dcd23ddebc74590ab20b1547a52a3cd2c3e33b92f8f
|
data/CHANGELIST
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
+
1.6.1 (June 10, 2016)
|
2
|
+
- freebsd: Only load xz support if we are doing a freebsd output. (#1132,
|
3
|
+
#1090, Ketan Padegaonkar)
|
4
|
+
|
1
5
|
1.6.0 (May 25, 2016)
|
2
6
|
- New source: pleaserun. This lets you create packages that will install a
|
3
7
|
system service. An after-install script is used in the package to determine
|
4
|
-
which service platform to target (systemd, upstart, etc).
|
8
|
+
which service platform to target (systemd, upstart, etc). Originated from
|
9
|
+
Aaron Mildenstein's work on solving this problem for Logstash. (#1119,
|
10
|
+
#1112)
|
5
11
|
- New target: Alpine Linux "apk" packages. (#1054, George Lester)
|
6
12
|
- deb: don't append `.conf` to an upstart file if the file name already ends
|
7
13
|
in `.conf`. (#1115, josegonzalez)
|
data/lib/fpm/package/freebsd.rb
CHANGED
@@ -3,7 +3,6 @@ require "fpm/package"
|
|
3
3
|
require "fpm/util"
|
4
4
|
require "digest"
|
5
5
|
require "fileutils"
|
6
|
-
require "xz"
|
7
6
|
|
8
7
|
class FPM::Package::FreeBSD < FPM::Package
|
9
8
|
SCRIPT_MAP = {
|
@@ -30,6 +29,10 @@ class FPM::Package::FreeBSD < FPM::Package
|
|
30
29
|
:default => "fpm/<name>"
|
31
30
|
|
32
31
|
def output(output_path)
|
32
|
+
# See https://github.com/jordansissel/fpm/issues/1090
|
33
|
+
# require xz later, because this triggers a load of liblzma.so.5 that is
|
34
|
+
# unavailable on older CentOS/RH distros.
|
35
|
+
require "xz"
|
33
36
|
output_check(output_path)
|
34
37
|
|
35
38
|
# Build the packaging metadata files.
|
data/lib/fpm/package/rpm.rb
CHANGED
@@ -101,7 +101,7 @@ class FPM::Package::RPM < FPM::Package
|
|
101
101
|
option "--autoprov", :flag, "Enable RPM's AutoProv option"
|
102
102
|
|
103
103
|
option "--attr", "ATTRFILE",
|
104
|
-
"Set the attribute for a file (%attr).",
|
104
|
+
"Set the attribute for a file (%attr), e.g. --rpm-attr 750,user1,group1:/some/file",
|
105
105
|
:multivalued => true, :attribute_name => :attrs
|
106
106
|
|
107
107
|
option "--init", "FILEPATH", "Add FILEPATH as an init script",
|
data/lib/fpm/rake_task.rb
CHANGED
@@ -14,7 +14,7 @@ class FPM::RakeTask < Rake::TaskLib
|
|
14
14
|
(@source.empty? || @target.empty? || options.name.empty?) &&
|
15
15
|
abort("Must specify package name, source and output")
|
16
16
|
|
17
|
-
desc "Package #{@name}" unless ::Rake.application.
|
17
|
+
desc "Package #{@name}" unless ::Rake.application.last_description
|
18
18
|
|
19
19
|
task(options.name) do |_, task_args|
|
20
20
|
block.call(*[options, task_args].first(block.arity)) if block_given?
|
data/lib/fpm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05
|
11
|
+
date: 2016-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|