pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/kdebase3 kde Makefiles get the permissions for kch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0883ccf7451c
branches:  trunk
changeset: 475185:0883ccf7451c
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue May 11 13:09:17 2004 +0000

description:
kde Makefiles get the permissions for kcheckpass correct so don't need
to fix up here.
Also ksysguardd should not be setuid root, however on NetBSD (at least)
it needs to be setgid kmem (should be fixed to not need this).
Bump PKGREVISION.

diffstat:

 x11/kdebase3/Makefile |  13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diffs (29 lines):

diff -r e4666e25cdd6 -r 0883ccf7451c x11/kdebase3/Makefile
--- a/x11/kdebase3/Makefile     Tue May 11 12:30:15 2004 +0000
+++ b/x11/kdebase3/Makefile     Tue May 11 13:09:17 2004 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.49 2004/05/03 20:57:14 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2004/05/11 13:09:17 markd Exp $
 
 DISTNAME=      kdebase-${_KDE_VERSION}
+PKGREVISION=   1
 CATEGORIES=    x11
 COMMENT=       Base modules for the KDE 3 integrated X11 desktop
 
@@ -96,13 +97,9 @@
 
 ICONDIR=               share/kde/icons
 
-# Several programs need to be setuid-root, but due to the way that KDE3
-# finds executables, the files must have their read bit set so that
-# KStandardDir::findResource() will find them.
-#
-_KDE_SETUID_ROOT=      ${ROOT_USER} ${ROOT_GROUP} 4755
-SPECIAL_PERMS+=        ${PREFIX}/bin/kcheckpass        ${_KDE_SETUID_ROOT}
-SPECIAL_PERMS+=        ${PREFIX}/bin/ksysguardd        ${_KDE_SETUID_ROOT}
+.if ${OPSYS} == "NetBSD"
+SPECIAL_PERMS+=        ${PREFIX}/bin/ksysguardd        ${ROOT_USER} kmem 2755
+.endif
 
 pre-configure:
        cd ${WRKSRC};                                                   \



Home | Main Index | Thread Index | Old Index