diff options
author | dbj <dbj> | 2007-03-05 02:38:33 +0000 |
---|---|---|
committer | dbj <dbj> | 2007-03-05 02:38:33 +0000 |
commit | 2da11493ca0c5d6e642e769448a136a8dd31185e (patch) | |
tree | b8884208746566c0cb252f63438b9f7cb0ae608c /sysutils/checkperms | |
parent | 71b1b0ce3e41daebc161ba399f111d6173d49849 (diff) | |
download | pkgsrc-2da11493ca0c5d6e642e769448a136a8dd31185e.tar.gz |
add support for macos i386, ppc64 and universal binaries
bump PKGREVISION
Diffstat (limited to 'sysutils/checkperms')
-rw-r--r-- | sysutils/checkperms/Makefile | 4 | ||||
-rw-r--r-- | sysutils/checkperms/distinfo | 3 | ||||
-rw-r--r-- | sysutils/checkperms/patches/patch-aa | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/sysutils/checkperms/Makefile b/sysutils/checkperms/Makefile index ee414a3cedd..aa0e929c794 100644 --- a/sysutils/checkperms/Makefile +++ b/sysutils/checkperms/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2007/01/10 07:42:00 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2007/03/05 02:38:33 dbj Exp $ # DISTNAME= checkperms-1.4 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.schlechte-software.de/checkperms/ diff --git a/sysutils/checkperms/distinfo b/sysutils/checkperms/distinfo index 9620b143832..5311d2c84bb 100644 --- a/sysutils/checkperms/distinfo +++ b/sysutils/checkperms/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2006/11/02 19:31:11 rillig Exp $ +$NetBSD: distinfo,v 1.4 2007/03/05 02:38:33 dbj Exp $ SHA1 (checkperms-1.4.tar.gz) = 83474273c42596587f6a2ededac79ca21bee7251 RMD160 (checkperms-1.4.tar.gz) = a243a27c177faa6fb33659151ee3cad8dda240cb Size (checkperms-1.4.tar.gz) = 5070 bytes +SHA1 (patch-aa) = 8bec800e4e8f05bd764ff2f59ea865744ddc2bf6 diff --git a/sysutils/checkperms/patches/patch-aa b/sysutils/checkperms/patches/patch-aa new file mode 100644 index 00000000000..7aabd829fef --- /dev/null +++ b/sysutils/checkperms/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1 2007/03/05 02:38:33 dbj Exp $ + +--- checkperms.c.orig 2006-11-02 10:39:38.000000000 -0800 ++++ checkperms.c 2007-03-04 18:30:31.000000000 -0800 +@@ -211,9 +211,18 @@ should_clear_x_bit(const char *fname, mo + if (memcmp(buf, "<big", 4) == 0) + return 0; + +- /* Mac OS X binaries */ ++ /* ppc Mac OS X binaries */ + if (buf[0] == 0xfe && buf[1] == 0xed && buf[2] == 0xfa && buf[3] == 0xce) + return 0; ++ /* ppc64 Mac OS X binaries */ ++ if (buf[0] == 0xfe && buf[1] == 0xed && buf[2] == 0xfa && buf[3] == 0xcf) ++ return 0; ++ /* i386 Mac OS X binaries */ ++ if (buf[0] == 0xce && buf[1] == 0xfa && buf[2] == 0xed && buf[3] == 0xfe) ++ return 0; ++ /* Universal Mac OS X binaries */ ++ if (buf[0] == 0xca && buf[1] == 0xfe && buf[2] == 0xba && buf[3] == 0xbe) ++ return 0; + + /* As a special case, libtool libraries may have the executable bit, + * although they probably don't need it. |