1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-23 03:04:34 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
Kyle Fazzari
8f6f285271 Introduce support for snap packages (#1490)
[Snaps][1] are self-contained squashfs images. Add basic support for
using them as inputs and outputs.

Typically Snapcraft is used to create snaps, but #1149 indicated a
desire to not use Snapcraft, so the snap is created natively, using
mksquashfs at the end to actually create the squashfs image. This may
not work for all use-cases (e.g. when the source doesn't already have
its dependencies bundled).

[1]: https://snapcraft.io/

Resolve #1181

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-10-16 15:59:17 -07:00
Lloyd Pick
6de809631a add missing apk require 2016-08-04 20:20:08 +01:00
Pete Fritchman
cd531449ea initial support for building freebsd/pkgng packages 2016-03-01 15:23:44 -08:00
Jonathan Craig
9bfa890fa1 Add support for Solaris 11 style IPS packages using *.p5p format 2015-04-10 17:45:18 -04:00
bakins
2e591b183f Add pkgin 2013-10-04 14:13:11 -04:00
Tray Torrance
ba3b6085d6 Add missing class files to fpm.rb
This allows a user to work with any FPM-compatible package types simply
by requiring 'fpm'.
2013-06-04 12:24:57 -07:00
Tray
f71f0db6e2 Require fpm/tar in fpm.rb
Without this, API work around tar-based sources will require an extra "require 'fpm'"
2013-04-04 15:12:36 -07:00
Timothy Sutton
82bb43aa99 Initial OS X package support, #317.
Basic support for OS X flat packages (.pkg)

- input/output
- output supports scripts, postinstall actions (using --info option),
  ownership option and bundle-id-prefix option
- requires pkgbuild (therefore OS X 10.7+ only), pkgutil for input
- no tests yet

ignore .DS_Store

ignore .pkg

identifier gets its own method

first few osxpkg spec tests

osxpkg: extract name and version from PackageInfo on input

osxpkg: rename option bundle-id-prefix to identifier-prefix

- 'bundle-id' is ambiguous, given the various 'bundle'-related logic possible with OS X packages

osxpkg: fix old 'osx_' attribute prefix to 'osxpkg' in osxpkg.erb

New option: --osxpkg-dont-obsolete, to add files to 'dont-obsolete' element in PackageInfo.

osxpkg: Define public/private methods.

osxpkg_spec: Tests for basic attributes through input/output
2013-01-07 12:28:03 -05:00
Jordan Sissel
b78bd520f2 - get a bare minimum deb output working 2012-03-02 02:13:01 -08:00
Jordan Sissel
1a35c60a88 remove old requires 2012-03-01 23:35:33 -08:00
Jordan Sissel
43b84c2f80 - purge pre-refactor stuff
- move python package to  new api
2012-02-29 22:26:03 -08:00
Jordan Sissel
6eccfbce31 - Improve package API stuff (add 'converted_from' etc)
- Gem to RPM conversions work. Even multiple-composition of gem+gem+gem
  -> rpm works
2012-02-29 17:14:45 -08:00
Jordan Sissel
86a88dbaf5 - disable unused pre-refactor requires 2012-02-24 01:20:45 -08:00
Andrew Gaffney
c0a33870ab Add PEAR support 2012-02-03 12:38:37 -08:00
Jordan Sissel
7bed50ebb8 - start working on https://github.com/jordansissel/fpm/issues/51 2011-06-18 22:11:03 -07:00
Jordan Sissel
4a2dc3931e - Start working on a solaris package type.
- md5sums aren't needed by most packages, disable it by default.
  In the future, should move the md5sums generator to the .deb package
  target and keep it away from other stuff.
2011-06-15 06:20:36 +00:00
Jordan Sissel
15d69551e8 - add 'tar' source support. 2011-05-19 20:23:01 -07:00
Jordan Sissel
aeb3d4c7e8 - Add python packaging support.
* Uses 'easy_install' to download packages from pypi.
  * You can also give the path to a setup.py to use if you already have
    the project locally.
  * Automatically chooses 'native' or 'all' arch depending on whether
    the python project has C extensions
2011-05-16 18:18:04 -07:00
Jordan Sissel
17e4d266c2 - Namespace targets and sources.
- Allow case-insensitive target/source names.
2011-01-06 18:39:58 -08:00
Jordan Sissel
90190bfa07 - Fix require since path change 2011-01-05 22:53:31 -08:00
Jeanine Adkisson
eb985c0d79 actually require the new code 2011-01-05 18:34:42 -08:00
Jordan Sissel
5b942f2710 - Fix gem-ification bits (now installs+runs)
- Factor out 'deb' package assembly into a library
2011-01-03 18:22:09 -08:00