pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc * Change some instances of ROOT_USER and ROOT_GROUP to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0eacbb7bf894
branches: trunk
changeset: 530071:0eacbb7bf894
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jun 15 18:15:06 2007 +0000
description:
* Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
in SPECIAL_PERMS usage.
* Consistently use 4555 for setuid and 2555 for setgid programs.
diffstat:
comms/minicom/Makefile | 4 ++--
editors/emacs/Makefile.common | 4 ++--
mail/cucipop/Makefile | 4 ++--
mail/maildrop/Makefile | 4 ++--
mail/qmail/Makefile | 4 ++--
mail/sqwebmail/Makefile | 4 ++--
mail/sympa/Makefile | 14 +++++++-------
net/uucp/Makefile | 16 ++++++++--------
net/wmnet/Makefile | 4 ++--
print/cups/Makefile | 4 ++--
sysutils/gkrellm-server/Makefile | 4 ++--
sysutils/gkrellm/Makefile | 4 ++--
sysutils/torsmo/Makefile | 4 ++--
x11/kdebase3/Makefile | 4 ++--
14 files changed, 39 insertions(+), 39 deletions(-)
diffs (276 lines):
diff -r ac9a228a742c -r 0eacbb7bf894 comms/minicom/Makefile
--- a/comms/minicom/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/comms/minicom/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2007/02/22 19:26:14 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2007/06/15 18:15:06 jlam Exp $
DISTNAME= minicom-2.1
PKGREVISION= 2
@@ -25,7 +25,7 @@
PKG_GROUPS= dialer
PKG_USERS= uucp:dialer
-SPECIAL_PERMS= ${PREFIX}/bin/minicom uucp dialer 4755
+SPECIAL_PERMS= ${PREFIX}/bin/minicom uucp dialer 4555
OWN_DIRS_PERMS= ${PKG_SYSCONFDIR} uucp dialer 0755
CONF_FILES_PERMS= ${EGDIR}/minicom.users ${PKG_SYSCONFDIR}/minicom.users \
uucp dialer 0644
diff -r ac9a228a742c -r 0eacbb7bf894 editors/emacs/Makefile.common
--- a/editors/emacs/Makefile.common Fri Jun 15 18:13:41 2007 +0000
+++ b/editors/emacs/Makefile.common Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2007/06/15 01:39:32 markd Exp $
+# $NetBSD: Makefile.common,v 1.16 2007/06/15 18:15:15 jlam Exp $
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
MAINTAINER= markd%NetBSD.org@localhost
@@ -38,7 +38,7 @@
MAKE_DIRS_PERMS+= ${VARBASE}/games/emacs ${GAMEOWN:Q} ${GAMEGRP} ${GAMEDIRMODE:Q}
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/snake-scores ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEDATAMODE:Q}
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/tetris-scores ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEDATAMODE:Q}
-SPECIAL_PERMS+= ${PREFIX}/libexec/emacs/22.1/i386--netbsdelf/update-game-score ${GAMEOWN:Q} ${GAMEGRP:Q} 4711
+SPECIAL_PERMS+= ${PREFIX}/libexec/emacs/22.1/i386--netbsdelf/update-game-score ${GAMEOWN:Q} ${GAMEGRP:Q} 4555
.include "../../mk/bsd.prefs.mk"
diff -r ac9a228a742c -r 0eacbb7bf894 mail/cucipop/Makefile
--- a/mail/cucipop/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/mail/cucipop/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/01/07 09:13:57 rillig Exp $
+# $NetBSD: Makefile,v 1.28 2007/06/15 18:15:17 jlam Exp $
#
DISTNAME= cucipop-1.31
@@ -20,7 +20,7 @@
MAKE_ENV+= ROOT_GROUP=${ROOT_GROUP:Q}
REQD_DIRS+= ${PREFIX}/share/cucipop/bulletins
-SPECIAL_PERMS+= ${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2755
+SPECIAL_PERMS+= ${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2555
PKG_OPTIONS_VAR= PKG_OPTIONS.cucipop
PKG_SUPPORTED_OPTIONS= db inet6
diff -r ac9a228a742c -r 0eacbb7bf894 mail/maildrop/Makefile
--- a/mail/maildrop/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/mail/maildrop/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2007/02/22 19:26:41 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2007/06/15 18:15:18 jlam Exp $
DISTNAME= maildrop-2.0.2
CATEGORIES= security
@@ -45,7 +45,7 @@
REQD_DIRS= ${DOCDIR}
SPECIAL_PERMS= bin/lockmail ${REAL_ROOT_USER} ${COURIER_GROUP} 755
-SPECIAL_PERMS+= bin/maildrop ${REAL_ROOT_USER} ${COURIER_GROUP} 4755
+SPECIAL_PERMS+= bin/maildrop ${REAL_ROOT_USER} ${COURIER_GROUP} 4555
.include "../../devel/sysexits/buildlink3.mk"
diff -r ac9a228a742c -r 0eacbb7bf894 mail/qmail/Makefile
--- a/mail/qmail/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/mail/qmail/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2007/04/12 03:42:21 schmonz Exp $
+# $NetBSD: Makefile,v 1.55 2007/06/15 18:15:19 jlam Exp $
#
DISTNAME= netqmail-1.05
@@ -99,7 +99,7 @@
.endfor
PKG_HOME.alias= ${QMAILDIR}/alias
-SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue qmailq qmail 4711
+SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue qmailq qmail 4555
# extract the qmail tarball that was inside the netqmail distfile
post-extract:
diff -r ac9a228a742c -r 0eacbb7bf894 mail/sqwebmail/Makefile
--- a/mail/sqwebmail/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/mail/sqwebmail/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2007/06/07 07:50:57 schmonz Exp $
+# $NetBSD: Makefile,v 1.52 2007/06/15 18:15:19 jlam Exp $
DISTNAME= sqwebmail-5.1.2
PKGREVISION= 1
@@ -99,7 +99,7 @@
${COURIER_SCRIPT_PERMS}
.endfor
SPECIAL_PERMS= ${LIBEXECDIR}/sqwebpasswd \
- ${COURIER_USER} ${COURIER_GROUP} 2755
+ ${COURIER_USER} ${COURIER_GROUP} 2555
RCD_SCRIPTS= sqwebmail
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 sbin
diff -r ac9a228a742c -r 0eacbb7bf894 mail/sympa/Makefile
--- a/mail/sympa/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/mail/sympa/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/04/20 18:52:34 bouyer Exp $
+# $NetBSD: Makefile,v 1.28 2007/06/15 18:15:19 jlam Exp $
#
DISTNAME= sympa-5.2.4
@@ -112,14 +112,14 @@
OWN_DIRS_PERMS+= ${SYMPA_SPOOL}/task ${SYMPA_USER} ${SYMPA_GROUP} 770
OWN_DIRS_PERMS+= ${SYMPA_SPOOL}/tmp ${SYMPA_USER} ${SYMPA_GROUP} 770
-SPECIAL_PERMS+= ${SYMPA_BIN}/aliaswrapper ${ROOT_USER} ${SYMPA_GROUP} 4750
-SPECIAL_PERMS+= ${SYMPA_BIN}/bouncequeue ${SYMPA_USER} ${SYMPA_GROUP} 4755
-SPECIAL_PERMS+= ${SYMPA_BIN}/queue ${SYMPA_USER} ${SYMPA_GROUP} 4755
-SPECIAL_PERMS+= ${SYMPA_BIN}/virtualwrapper ${ROOT_USER} ${SYMPA_GROUP} 4750
+SPECIAL_PERMS+= ${SYMPA_BIN}/aliaswrapper ${ROOT_USER} ${SYMPA_GROUP} 4550
+SPECIAL_PERMS+= ${SYMPA_BIN}/bouncequeue ${SYMPA_USER} ${SYMPA_GROUP} 4555
+SPECIAL_PERMS+= ${SYMPA_BIN}/queue ${SYMPA_USER} ${SYMPA_GROUP} 4555
+SPECIAL_PERMS+= ${SYMPA_BIN}/virtualwrapper ${ROOT_USER} ${SYMPA_GROUP} 4550
# Which pkgsrc platforms support set-uid scripts?
-#SPECIAL_PERMS+= ${SYMPA_BIN}/sympa_soap_server.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6755
-#SPECIAL_PERMS+= ${SYMPA_BIN}/wwsympa.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6755
+#SPECIAL_PERMS+= ${SYMPA_BIN}/sympa_soap_server.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6555
+#SPECIAL_PERMS+= ${SYMPA_BIN}/wwsympa.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6555
MESSAGE_SUBST+= SYMPA_BIN=${SYMPA_BIN}
diff -r ac9a228a742c -r 0eacbb7bf894 net/uucp/Makefile
--- a/net/uucp/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/net/uucp/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/03/16 20:02:04 christos Exp $
+# $NetBSD: Makefile,v 1.7 2007/06/15 18:15:20 jlam Exp $
DISTNAME= uucp-1.07
PKGREVISION= 3
@@ -28,13 +28,13 @@
INFO_FILES= # PLIST
# UUCP installs many set-uid "uucp" binaries.
-SPECIAL_PERMS+= bin/cu ${UUCP_USER} ${ROOT_GROUP} 4555
-SPECIAL_PERMS+= bin/uucp ${UUCP_USER} ${ROOT_GROUP} 4555
-SPECIAL_PERMS+= bin/uuname ${UUCP_USER} ${ROOT_GROUP} 4555
-SPECIAL_PERMS+= bin/uustat ${UUCP_USER} ${ROOT_GROUP} 4555
-SPECIAL_PERMS+= bin/uux ${UUCP_USER} ${ROOT_GROUP} 4555
-SPECIAL_PERMS+= sbin/uucico ${UUCP_USER} ${ROOT_GROUP} 4555
-SPECIAL_PERMS+= sbin/uuxqt ${UUCP_USER} ${ROOT_GROUP} 4555
+SPECIAL_PERMS+= bin/cu ${UUCP_USER} ${BINGRP} 4555
+SPECIAL_PERMS+= bin/uucp ${UUCP_USER} ${BINGRP} 4555
+SPECIAL_PERMS+= bin/uuname ${UUCP_USER} ${BINGRP} 4555
+SPECIAL_PERMS+= bin/uustat ${UUCP_USER} ${BINGRP} 4555
+SPECIAL_PERMS+= bin/uux ${UUCP_USER} ${BINGRP} 4555
+SPECIAL_PERMS+= sbin/uucico ${UUCP_USER} ${BINGRP} 4555
+SPECIAL_PERMS+= sbin/uuxqt ${UUCP_USER} ${BINGRP} 4555
SENDMAIL?= /usr/sbin/sendmail
diff -r ac9a228a742c -r 0eacbb7bf894 net/wmnet/Makefile
--- a/net/wmnet/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/net/wmnet/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/03/14 15:49:15 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2007/06/15 18:15:20 jlam Exp $
DISTNAME= wmnet-1.06
PKGREVISION= 5
@@ -21,7 +21,7 @@
.if !empty(UNPRIVILEGED:M[Yy][Ee][Ss])
MAKE_FLAGS+= INSTPGMFLAGS=""
-SPECIAL_PERMS+= bin/wmnet ${ROOT_USER} kmem 2555
+SPECIAL_PERMS+= bin/wmnet ${BINOWN} kmem 2555
.endif
.include "../../x11/libXext/buildlink3.mk"
diff -r ac9a228a742c -r 0eacbb7bf894 print/cups/Makefile
--- a/print/cups/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/print/cups/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.122 2007/06/06 11:14:27 markd Exp $
+# $NetBSD: Makefile,v 1.123 2007/06/15 18:15:20 jlam Exp $
#
# The CUPS author is very good about taking back changes into the main
# CUPS distribution. The correct place to send patches or bug-fixes is:
@@ -105,7 +105,7 @@
PKG_GECOS.${CUPS_USER}= Common UNIX Printing System user
PKG_SHELL.${CUPS_USER}= ${SH}
-SPECIAL_PERMS= ${PREFIX}/bin/lppasswd ${CUPS_USER} ${CUPS_GROUP} 4755
+SPECIAL_PERMS= ${PREFIX}/bin/lppasswd ${CUPS_USER} ${CUPS_GROUP} 4555
CONF_FILES= ${EGDIR}/cupsd.conf ${CUPS_CONFDIR}/cupsd.conf
CONF_FILES+= ${EGDIR}/mime.convs ${CUPS_CONFDIR}/mime.convs
CONF_FILES+= ${EGDIR}/mime.types ${CUPS_CONFDIR}/mime.types
diff -r ac9a228a742c -r 0eacbb7bf894 sysutils/gkrellm-server/Makefile
--- a/sysutils/gkrellm-server/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/sysutils/gkrellm-server/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/10/01 15:14:28 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2007/06/15 18:15:21 jlam Exp $
.include "../../sysutils/gkrellm/Makefile.common"
@@ -14,7 +14,7 @@
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly")
-SPECIAL_PERMS+= ${PREFIX:Q}/bin/gkrellmd ${ROOT_USER} kmem 2711
+SPECIAL_PERMS+= ${PREFIX:Q}/bin/gkrellmd ${BINOWN} kmem 2555
.endif
NOT_FOR_PLATFORM= IRIX-*-*
diff -r ac9a228a742c -r 0eacbb7bf894 sysutils/gkrellm/Makefile
--- a/sysutils/gkrellm/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/sysutils/gkrellm/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2007/05/03 20:21:27 cube Exp $
+# $NetBSD: Makefile,v 1.57 2007/06/15 18:15:21 jlam Exp $
.include "Makefile.common"
GKRELLM_PKGBASE= gkrellm
@@ -15,7 +15,7 @@
# NetBSD 3.99.1 and above don't have to be installed setgid.
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly" || \
(${OPSYS} == "NetBSD" && (!empty(OS_VERSION:M[123]*) && empty(OS_VERSION:M3.99.*))))
-SPECIAL_PERMS+= ${PREFIX}/bin/gkrellm ${ROOT_USER} kmem 2711
+SPECIAL_PERMS+= ${PREFIX}/bin/gkrellm ${BINOWN} kmem 2555
.endif
NOT_FOR_PLATFORM= IRIX-*-*
diff -r ac9a228a742c -r 0eacbb7bf894 sysutils/torsmo/Makefile
--- a/sysutils/torsmo/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/sysutils/torsmo/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/02/19 19:50:47 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2007/06/15 18:15:21 jlam Exp $
DISTNAME= torsmo-0.18
CATEGORIES= sysutils
@@ -19,7 +19,7 @@
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" \
|| ${OPSYS} == "OpenBSD" || ${OPSYS} == "Linux")
-SPECIAL_PERMS+= bin/torsmo ${ROOT_USER} kmem 2555
+SPECIAL_PERMS+= bin/torsmo ${BINOWN} kmem 2555
.endif
do-install:
diff -r ac9a228a742c -r 0eacbb7bf894 x11/kdebase3/Makefile
--- a/x11/kdebase3/Makefile Fri Jun 15 18:13:41 2007 +0000
+++ b/x11/kdebase3/Makefile Fri Jun 15 18:15:06 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.129 2007/06/08 12:35:37 markd Exp $
+# $NetBSD: Makefile,v 1.130 2007/06/15 18:15:21 jlam Exp $
DISTNAME= kdebase-${_KDE_VERSION}
PKGREVISION= 1
@@ -106,7 +106,7 @@
ICONDIR= share/icons
.if ${OPSYS} == "NetBSD"
-SPECIAL_PERMS+= ${PREFIX}/bin/ksysguardd ${ROOT_USER} kmem 2755
+SPECIAL_PERMS+= ${PREFIX}/bin/ksysguardd ${BINOWN} kmem 2555
.endif
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "SunOS"
Home |
Main Index |
Thread Index |
Old Index