diff options
author | hubertf <hubertf@pkgsrc.org> | 2005-09-04 17:49:57 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2005-09-04 17:49:57 +0000 |
commit | 904e30226d4caea983332657002deb59db2038e9 (patch) | |
tree | 45603ac85a53741595a30387b0463461880b127f /x11 | |
parent | 3860bfbe3e50bd518fa8315f1d9fb271e7c11de9 (diff) | |
download | pkgsrc-904e30226d4caea983332657002deb59db2038e9.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.common | 7 |
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 |