aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rpm2tar: have error messages say "error"HEADv2021.03.16masterMike Frysinger2021-03-161-1/+1
| | | | | | This makes it clear that we're aborting & exiting non-zero. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpm2tar: add support for zstd filesErik Zscheile2021-03-161-0/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpm2targz: avoid double deletion of workdirMike Frysinger2010-08-221-1/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add support for xz compressed rpmsv9.0.0.4gMike Frysinger2009-11-061-15/+18
| | | | | | | | | Newer RPM distros are moving to XZ compression, so supporting that would probably be a good thing. URL: http://bugs.gentoo.org/292057 Reported-by: Rafał Mużyło <galtgendo@o2.pl> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpm2targz: make coding/testing easierMike Frysinger2009-11-061-7/+13
| | | | | | | Add some err/warn helper functions, and use the local rpmoffset when testing the local script. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpmunpack: new shortcut for quicker unpackingMike Frysinger2009-11-061-6/+14
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fix .tar.lzma suffix for rpm2tarlzma and set -S by default for rpm2tar* ↵v9.0.0.2gMike Frysinger2008-08-291-1/+4
| | | | | | rather than rpm2t* Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add a -S/--strip-path optionMike Frysinger2008-08-191-7/+11
| | | | | | | | | | | | | | | | Often times it's nice to create a "raw" tarball which does not include the package name in its paths. Compare old method: $ rpm2targz pkg-ver.rpm $ tar tf pkg-ver.tar.gz ./pkg-ver/<files> With new method: $ rpm2targz -S pkg-ver.rpm $ tar tf pkg-ver.tar.gz ./<files> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rewrite and cleanupMike Frysinger2008-05-311-100/+150
| | | | | | | | | | This rewrites the rpm2targz script so that it is easier to extend with custom invocation names (rpm2targz/rpm2tgz/rpm2tar/etc...), with a variety of directory creation tools (mktemp/mcookie/whatever), and with command line options. It also cleans up after itself and includes a lot of error checking. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpm2targz: fixup bashisms that leaked inDiego Pettenò2008-05-311-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpm2targz: use more portable codeEmanuele Giaquinta2008-05-311-3/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rpm2targz: make tempfile handling secureNed Ludd2008-05-311-19/+23
|
* add support for rpms with bzip2 compressionphceac2008-05-311-3/+29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* import rpm2targz-9.0 unmodifiedv9.0Mike Frysinger2008-05-311-0/+97
Signed-off-by: Mike Frysinger <vapier@gentoo.org>