diff options
author | tron <tron@pkgsrc.org> | 2006-12-18 11:15:19 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-12-18 11:15:19 +0000 |
commit | 5b77dbd76b5300830d2e59fb5a40dd74e20e153d (patch) | |
tree | 4c9a360a492c451349bc8ae6cf929199ab25d9a5 | |
parent | f18d8b4dddf902821ae1131d5f5d8955a69a58f7 (diff) | |
download | pkgsrc-5b77dbd76b5300830d2e59fb5a40dd74e20e153d.tar.gz |
Fix build with "CHECK_PERMS=yes":
1.) Ignore directory "lib/X11/xmcd/discog" because it's supposed to be
group writable.
2.) Don't install binaries as setuid-root and writable.
-rw-r--r-- | audio/xmcd/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile index c087ae851e3..daa96d9a831 100644 --- a/audio/xmcd/Makefile +++ b/audio/xmcd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2006/12/15 20:32:53 joerg Exp $ +# $NetBSD: Makefile,v 1.64 2006/12/18 11:15:19 tron Exp $ DISTNAME= xmcd-3.0.2 PKGREVISION= 9 @@ -21,6 +21,8 @@ MAKE_ENV+= BATCH_LIBDIR=${PREFIX}/lib/X11 MAKE_ENV+= BATCH_MANDIR=${PREFIX}/man/man1 MAKE_ENV+= SHELL=${SH:Q} +CHECK_PERMS_SKIP+= lib/X11/xmcd/discog/* + INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* NetBSD-1.6[A-S]*-* .include "../../mk/bsd.prefs.mk" @@ -34,7 +36,7 @@ ARCHBIN= ${PREFIX}/lib/X11/xmcd/bin-${ARCH}-${MACHINE_ARCH} XMCDDIR= ${PREFIX}/lib/X11/xmcd PLIST_SUBST+= ARCH=${ARCH:Q} -_SETUID_ROOT= ${ROOT_USER} ${ROOT_GROUP} 4711 +_SETUID_ROOT= ${ROOT_USER} ${ROOT_GROUP} 4511 SPECIAL_PERMS= ${ARCHBIN}/cda ${_SETUID_ROOT} SPECIAL_PERMS+= ${ARCHBIN}/xmcd ${_SETUID_ROOT} |