Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ branch:  cross package maker


Check-in [7523b79e0b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:7523b79e0bbe2ad33c75c9d16e50942475535273
Date: 2014-12-22 20:10:08
User: mario
Comment:Release xpm branch as v1.3.3.3; rename binary and gem.
Tags And Properties
  • bgcolor=#ecebfd inherited from [4e43f73a18]
  • branch=trunk inherited from [5980cef12a]
  • sym-trunk inherited from [5980cef12a]
  • sym-v1.3.3.3
Context
2014-12-23
12:00
[1d587e58c4] Safeguards against empty composer.json [packages], merge [packages-dev] in; and completely absent entry for input directory. Fix dependency conversion, prepare for complex CSV specifiers. (user: mario, tags: trunk)
2014-12-22
20:10
[7523b79e0b] Release xpm branch as v1.3.3.3; rename binary and gem. (user: mario, tags: trunk, v1.3.3.3)
12:52
[10750bb341] Fix cross-device moving of final package. (user: mario, tags: trunk)
Changes

Changes to CHANGELIST.















1
2
3
4
5
6
7














1.3.3 (December 11, 2014)
  - The fpm project now uses Contributor Covenant. You can read more about this on
    the website: http://contributor-covenant.org/
  - npm: Fix bug causing all `-s npm` attempts to fail due to a missing method.
    This bug was introduced in 1.3.0. (#800, #806; Jordan Sissel)
  - rpm: fix bug in rpm input causing a crash if the input rpm did not have any triggers
    (#801, #802; Ted Elwartowski)
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
1.3.3.3 (December 22, 2014)
  - Added IPK / Listaller packaging target plugin.
  - Added Windows (EXE) installer generation.
  - Added PHP composer as source plugin.
  - Added source-based file packaging support (-t src plugin).
  - Added PHP phar archive generation plugin.
  - Introduction of multi-target building with -t rpm,deb,ipk.
  - Added -u update filters for simple packaging tasks (existing plugins: man,
    desktop, appdata, fixperms, strip, composer, deps).
  - Added --deb-sign option.
  - Changed zip plugin to omit /tmp/package* path.
  - Now supports .pax and .cpio through the tar plugin.
  - First release of the `xpm` branch. Gemspec adapted.

1.3.3 (December 11, 2014)
  - The fpm project now uses Contributor Covenant. You can read more about this on
    the website: http://contributor-covenant.org/
  - npm: Fix bug causing all `-s npm` attempts to fail due to a missing method.
    This bug was introduced in 1.3.0. (#800, #806; Jordan Sissel)
  - rpm: fix bug in rpm input causing a crash if the input rpm did not have any triggers
    (#801, #802; Ted Elwartowski)

Deleted bin/fpm.

1
2
3
4
5
6
7
8
#!/usr/bin/env ruby

require "rubygems"
$: << File.join(File.dirname(__FILE__), "..", "lib")
require "fpm"
require "fpm/command"

exit(FPM::Command.run || 0)
<
<
<
<
<
<
<
<
















Added bin/xpm.

















>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
#!/usr/bin/env ruby

require "rubygems"
$: << File.join(File.dirname(__FILE__), "..", "lib")
require "fpm"
require "fpm/command"

exit(FPM::Command.run || 0)

Deleted fpm.gemspec.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
require File.join(File.dirname(__FILE__), "lib/fpm/version")
Gem::Specification.new do |spec|
  files = []
  dirs = %w{lib bin templates}
  dirs.each do |dir|
    files += Dir["#{dir}/**/*"]
  end

  files << "LICENSE"
  files << "CONTRIBUTORS"
  files << "CHANGELIST"

  spec.name = "fpm"
  spec.version = FPM::VERSION
  spec.summary = "fpm - package building and mangling"
  spec.description = "Convert directories, rpms, python eggs, rubygems, and " \
    "more to rpms, debs, solaris packages and more. Win at package " \
    "management without wasting pointless hours debugging bad rpm specs!"
  spec.license = "MIT-like"

  # For parsing JSON (required for some Python support, etc)
  # http://flori.github.com/json/doc/index.html
  spec.add_dependency("json", ">= 1.7.7") # license: Ruby License
  
  # For logging
  # https://github.com/jordansissel/ruby-cabin
  spec.add_dependency("cabin", ">= 0.6.0") # license: Apache 2 

  # For backports to older rubies
  # https://github.com/marcandre/backports
  spec.add_dependency("backports", ">= 2.6.2") # license: MIT

  # For reading and writing rpms
  spec.add_dependency("arr-pm", "~> 0.0.9") # license: Apache 2

  # For command-line flag support
  # https://github.com/mdub/clamp/blob/master/README.markdown
  spec.add_dependency("clamp", "~> 0.6") # license: MIT

  # For starting external processes across various ruby interpreters
  spec.add_dependency("childprocess") # license: ???

  # For calling functions in dynamic libraries
  spec.add_dependency("ffi") # license: GPL3/LGPL3

  spec.add_development_dependency("rspec", "~> 3.0.0") # license: MIT (according to wikipedia)
  spec.add_development_dependency("insist", "~> 0.0.5") # license: ???
  spec.add_development_dependency("pry")
  spec.add_development_dependency("stud")

  spec.files = files
  spec.require_paths << "lib"
  spec.bindir = "bin"
  spec.executables << "fpm"

  spec.author = "Jordan Sissel"
  spec.email = "jls@semicomplete.com"
  spec.homepage = "https://github.com/jordansissel/fpm"
end

<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
























































































































Changes to lib/fpm/version.rb.

1
2
3
module FPM
  VERSION = "1.3.3.2"
end

|

1
2
3
module FPM
  VERSION = "1.3.3.3"
end

Added xpm.gemspec.



















































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
require File.join(File.dirname(__FILE__), "lib/fpm/version")
Gem::Specification.new do |spec|
  files = []
  files += Dir["{bin,lib,templates}/**/*"]

  files << "LICENSE"
  files << "CONTRIBUTORS"
  files << "CHANGELIST"

  spec.name = "xpm"
  spec.version = FPM::VERSION
  spec.summary = "fpm - package building and mangling"
  spec.description = "Convert directories, rpms, python eggs, rubygems, and " \
    "more to rpms, debs, solaris packages and more. Win at package " \
    "management without wasting pointless hours debugging bad rpm specs!"
  spec.license = "MIT-like"

  # For parsing JSON (required for some Python support, etc)
  # http://flori.github.com/json/doc/index.html
  spec.add_dependency("json", ">= 1.7.7") # license: Ruby License
  
  # For logging
  # https://github.com/jordansissel/ruby-cabin
  spec.add_dependency("cabin", ">= 0.6.0") # license: Apache 2 

  # For backports to older rubies
  # https://github.com/marcandre/backports
  spec.add_dependency("backports", ">= 2.6.2") # license: MIT

  # For reading and writing rpms
  spec.add_dependency("arr-pm", "~> 0.0.9") # license: Apache 2

  # For command-line flag support
  # https://github.com/mdub/clamp/blob/master/README.markdown
  spec.add_dependency("clamp", "~> 0.6") # license: MIT

  # For starting external processes across various ruby interpreters
  spec.add_dependency("childprocess") # license: ???

  # For calling functions in dynamic libraries
  spec.add_dependency("ffi") # license: GPL3/LGPL3

  spec.add_development_dependency("rspec", "~> 3.0.0") # license: MIT (according to wikipedia)
  spec.add_development_dependency("insist", "~> 0.0.5") # license: ???
  spec.add_development_dependency("pry")
  spec.add_development_dependency("stud")

  spec.files = files
  spec.require_paths << "lib"
  spec.bindir = "bin"
  spec.executables << "xpm"

  spec.author = "Mario Salzer"
  spec.email = "mario#include-once:org"
  spec.homepage = "http://fossil.include-once.org/xpm/"
end