diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-12-14 12:27:31 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-12-14 12:27:31 +0000 |
commit | 45c2f35e3c8b76aa457039fde22415dc344187d9 (patch) | |
tree | 0054677a8af9e715e85cd6169515c5526b1ff838 /archivers/rpm2cpio | |
parent | - Fix install. (diff) |
Add RPM v4 support.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=95777
Diffstat (limited to 'archivers/rpm2cpio')
-rw-r--r-- | archivers/rpm2cpio/Makefile | 2 | ||||
-rw-r--r-- | archivers/rpm2cpio/files/rpm2cpio | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archivers/rpm2cpio/Makefile b/archivers/rpm2cpio/Makefile index 05dba1e701aa..8067fcbaa9cf 100644 --- a/archivers/rpm2cpio/Makefile +++ b/archivers/rpm2cpio/Makefile @@ -7,7 +7,7 @@ PORTNAME= rpm2cpio PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= # none DISTFILES= # none diff --git a/archivers/rpm2cpio/files/rpm2cpio b/archivers/rpm2cpio/files/rpm2cpio index 11adc24502ec..7a415f789b5e 100644 --- a/archivers/rpm2cpio/files/rpm2cpio +++ b/archivers/rpm2cpio/files/rpm2cpio @@ -62,7 +62,7 @@ read $f, $rpm, 96 ; ($magic, $major, $minor) = unpack("NCC", $rpm); die "Not an RPM\n" if $magic != 0xedabeedb; -die "Not a version 3 RPM\n" if $major != 3; +die "Not a version 3 or 4 RPM\n" if $major != 3 && $major != 4; $filter=""; |