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

⌈⌋ ⎇ branch:  cross package maker


Check-in [e2a8cc2df1]

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

Overview
Comment:- Add monkeypatches for File.write under Ruby 1.8.7 (will remove monkeypatches once the next version of the 'backports' gem is released) Fixes #175, fixes #176.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e2a8cc2df1e00313584ae1883910b0334a8e999d
User & Date: jls@semicomplete.com 2012-03-19 21:32:36
Context
2012-03-19
21:33
- Fix Dir.mktmpdir invocations to work in both ruby 1.8 and 1.9 (Fixes #175, fixes #176) check-in: 62482b08f8 user: jls@semicomplete.com tags: trunk
21:32
- Add monkeypatches for File.write under Ruby 1.8.7 (will remove monkeypatches once the next version of the 'backports' gem is released) Fixes #175, fixes #176. check-in: e2a8cc2df1 user: jls@semicomplete.com tags: trunk
21:32
Fix Find.find() calls for 1.8.7 (fixes #175, fixes #176) check-in: 5d9ec5ae9d user: jls@semicomplete.com tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/fpm/package/deb.rb.

1
2
3
4
5


6
7
8
9
10
11
12
require "erb"
require "fpm/namespace"
require "fpm/package"
require "fpm/errors"
require "fpm/util"


require "fileutils"

# Support for debian packages (.deb files)
#
# This class supports both input and output of packages.
class FPM::Package::Deb < FPM::Package
  # Map of what scripts are named.





>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "erb"
require "fpm/namespace"
require "fpm/package"
require "fpm/errors"
require "fpm/util"
require "backports"
require "fpm/monkeypatches" # until backports > 2.3.0
require "fileutils"

# Support for debian packages (.deb files)
#
# This class supports both input and output of packages.
class FPM::Package::Deb < FPM::Package
  # Map of what scripts are named.

Changes to lib/fpm/package/rpm.rb.

1
2
3
4

5
6
7
8
9
10
11
require "fpm/package"
require "backports"
require "fileutils"
require "find"

require "arr-pm/file" # gem 'arr-pm'

# RPM Package type.
#
# Build RPMs without having to waste hours reading Maximum-RPM.
# Well, in case you want to read it, here: http://www.rpm.org/max-rpm/
#




>







1
2
3
4
5
6
7
8
9
10
11
12
require "fpm/package"
require "backports"
require "fileutils"
require "find"
require "fpm/monkeypatches" # until backports > 2.3.0
require "arr-pm/file" # gem 'arr-pm'

# RPM Package type.
#
# Build RPMs without having to waste hours reading Maximum-RPM.
# Well, in case you want to read it, here: http://www.rpm.org/max-rpm/
#