diff options
-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=""; |