aboutsummaryrefslogtreecommitdiff
path: root/archivers/rpm2cpio
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-12-14 12:27:31 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-12-14 12:27:31 +0000
commit45c2f35e3c8b76aa457039fde22415dc344187d9 (patch)
tree0054677a8af9e715e85cd6169515c5526b1ff838 /archivers/rpm2cpio
parent268f388aef3ff201bf7aef5e6a50f3ab6d353fa8 (diff)
downloadports-45c2f35e3c8b76aa457039fde22415dc344187d9.tar.gz
ports-45c2f35e3c8b76aa457039fde22415dc344187d9.zip
Notes
Diffstat (limited to 'archivers/rpm2cpio')
-rw-r--r--archivers/rpm2cpio/Makefile2
-rw-r--r--archivers/rpm2cpio/files/rpm2cpio2
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="";