diff options
author | netchild <netchild@FreeBSD.org> | 2003-12-14 20:27:31 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2003-12-14 20:27:31 +0800 |
commit | 46e06bb611f427f43514f2b43ed54e42a1cdf822 (patch) | |
tree | 97890d4d1c2ef54e78c162a1ec6e68ffabf399f7 | |
parent | f2f242f015caac198552de759a718c68a604cf51 (diff) | |
download | freebsd-ports-gnome-46e06bb611f427f43514f2b43ed54e42a1cdf822.tar.gz freebsd-ports-gnome-46e06bb611f427f43514f2b43ed54e42a1cdf822.tar.zst freebsd-ports-gnome-46e06bb611f427f43514f2b43ed54e42a1cdf822.zip |
Add RPM v4 support.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Approved by: maintainer
-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=""; |