pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmcd Fix build with "CHECK_PERMS=yes":



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31fbbddc662e
branches:  trunk
changeset: 522705:31fbbddc662e
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Dec 18 11:15:19 2006 +0000

description:
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.

diffstat:

 audio/xmcd/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 9d41d6099958 -r 31fbbddc662e audio/xmcd/Makefile
--- a/audio/xmcd/Makefile       Mon Dec 18 10:13:38 2006 +0000
+++ b/audio/xmcd/Makefile       Mon Dec 18 11:15:19 2006 +0000
@@ -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_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 @@
 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}
 



Home | Main Index | Thread Index | Old Index