summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorhubertf <hubertf>2005-09-04 17:49:57 +0000
committerhubertf <hubertf>2005-09-04 17:49:57 +0000
commit3ea68714cd65b32314db6f9c83982f5df28fc9c7 (patch)
tree45603ac85a53741595a30387b0463461880b127f /x11
parentdc68f4d1d77b7bb4e0188344d394b1377a9b4414 (diff)
downloadpkgsrc-3ea68714cd65b32314db6f9c83982f5df28fc9c7.tar.gz
If XLOCK_DISABLE_ALLOW_ROOT is defined, add --disable-allow-root
to configure options to prevent root from being able to get into locked systems. Esp useful if you don't have a root password set (yes there are people out there doing that :). Patch contributed by Eirik Nygaard <eirikn@kerneled.com>. Bump revision to 5.19nb1.
Diffstat (limited to 'x11')
-rw-r--r--x11/xlockmore/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xlockmore/Makefile.common b/x11/xlockmore/Makefile.common
index 9655984da29..5921d0ede03 100644
--- a/x11/xlockmore/Makefile.common
+++ b/x11/xlockmore/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.30 2005/09/04 17:37:23 hubertf Exp $
+# $NetBSD: Makefile.common,v 1.31 2005/09/04 17:49:57 hubertf Exp $
#
# This Makefile.common is included by:
#
@@ -9,6 +9,7 @@
# in those Makefiles.
DISTNAME= xlockmore-5.19
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \
ftp://ibiblio.org/pub/Linux/X11/screensavers/ \
@@ -60,6 +61,10 @@ CONFIGURE_ARGS+= --enable-def-play="${XLOCK_AUDIOPLAY}"
CONFIGURE_ARGS+= --without-dpms
.endif
+.if defined(XLOCK_DISABLE_ALLOW_ROOT)
+CONFIGURE_ARGS+= --disable-allow-root
+.endif
+
.include "../../mk/x11.buildlink3.mk"
# Set the complete paths to the sound files and set the default xlock