summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2007-03-05 02:38:33 +0000
committerdbj <dbj@pkgsrc.org>2007-03-05 02:38:33 +0000
commit3c10e087f432fd0ca5bf5aa69c89829f63df8824 (patch)
treeb8884208746566c0cb252f63438b9f7cb0ae608c /sysutils
parent1879dec905587773240ceedc0373926b749a1b02 (diff)
downloadpkgsrc-3c10e087f432fd0ca5bf5aa69c89829f63df8824.tar.gz
add support for macos i386, ppc64 and universal binaries
bump PKGREVISION
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/checkperms/Makefile4
-rw-r--r--sysutils/checkperms/distinfo3
-rw-r--r--sysutils/checkperms/patches/patch-aa24
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.