summaryrefslogtreecommitdiff
path: root/x11/rxvt
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-03-28 03:34:04 +0000
committersalo <salo@pkgsrc.org>2003-03-28 03:34:04 +0000
commit554d265cf5d0816337e4ba0bca36a12b402c2cad (patch)
treeb2fbaab9cf9b2d6255b620566ae44bec01175130 /x11/rxvt
parentde30059d87620af986fdc26ca416d464fc5a8b80 (diff)
downloadpkgsrc-554d265cf5d0816337e4ba0bca36a12b402c2cad.tar.gz
Bump PKGREVISION once again: set rxvt binary setuid root on BSD systems to
allow tty ownership setting and utmp writes. Per discussion with Geoff Wing.
Diffstat (limited to 'x11/rxvt')
-rw-r--r--x11/rxvt/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile
index a2547d6ca06..05b03193750 100644
--- a/x11/rxvt/Makefile
+++ b/x11/rxvt/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2003/03/27 16:15:13 salo Exp $
+# $NetBSD: Makefile,v 1.38 2003/03/28 03:34:04 salo Exp $
# FreeBSD Id: Makefile,v 1.13 1997/03/07 12:29:49 obrien Exp
#
DISTNAME= rxvt-2.7.10
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ftp://ftp.rxvt.org/pub/rxvt/ \
ftp://mason.primenet.com.au/pub/rxvt/
@@ -45,10 +45,11 @@ CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_PREFIX.xpm}/lib
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
-# Make rxvt setgid utmp so that utmp logging functions correctly.
+.if ${OPSYS:M*BSD} || ${OPSYS} == "Darwin"
+# Make rxvt setuid root so that tty ownership setting and utmp logging
+# function correctly.
#
-SPECIAL_PERMS= ${PREFIX}/bin/rxvt ${ROOT_USER} utmp 2511
+SPECIAL_PERMS= ${PREFIX}/bin/rxvt ${SETUID_ROOT_PERMS}
.endif
.if ${OPSYS} == "SunOS"