pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xlockmore If XLOCK_DISABLE_ALLOW_ROOT is defined,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4785027cef8
branches:  trunk
changeset: 498866:b4785027cef8
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Sun Sep 04 17:49:57 2005 +0000

description:
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@localhost>.

Bump revision to 5.19nb1.

diffstat:

 x11/xlockmore/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 67b34b49620d -r b4785027cef8 x11/xlockmore/Makefile.common
--- a/x11/xlockmore/Makefile.common     Sun Sep 04 17:37:13 2005 +0000
+++ b/x11/xlockmore/Makefile.common     Sun Sep 04 17:49:57 2005 +0000
@@ -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+=       --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



Home | Main Index | Thread Index | Old Index