aboutsummaryrefslogtreecommitdiff
path: root/system/vlock/config.mk.diff
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-11 20:02:10 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:02:10 +0200
commit16868a57c4e2b4d9b5dac5064fabbb38e684ec28 (patch)
tree166f1ff6cf32ca16b0707ef6a903d74521732b40 /system/vlock/config.mk.diff
parent1cf63f9c53e863a15ca0b38c1ed4ca43118b3508 (diff)
system/vlock: Added to 12.0 repository
Diffstat (limited to 'system/vlock/config.mk.diff')
-rw-r--r--system/vlock/config.mk.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/system/vlock/config.mk.diff b/system/vlock/config.mk.diff
new file mode 100644
index 000000000000..d2754d9b148b
--- /dev/null
+++ b/system/vlock/config.mk.diff
@@ -0,0 +1,36 @@
+diff -Nur vlock-2.1.orig/config.mk vlock-2.1/config.mk
+--- vlock-2.1.orig/config.mk 2007-09-08 13:04:25.000000000 -0500
++++ vlock-2.1/config.mk 2007-12-31 23:00:18.717873325 -0600
+@@ -1,5 +1,5 @@
+ # authentification method (pam or shadow)
+-AUTH_METHOD = pam
++AUTH_METHOD = shadow
+ # use pam for permission checking
+ USE_PAM = n
+ # also prompt for the root password in adition to the user's
+@@ -9,7 +9,7 @@
+
+ # group to install vlock-all and vlock-nosysrq as
+ # defaults to 'root')
+-VLOCK_GROUP =
++VLOCK_GROUP = wheel
+ # mode to install vlock-all and vlock-nosysrq as
+ # defaults to 4711 if group is unset and 4710 otherwise
+ VLOCK_MODE =
+@@ -18,14 +18,14 @@
+ ROOT_GROUP = root
+
+ # installation prefix
+-PREFIX = /usr/local
++PREFIX = /usr
+ # installation root
+ DESTDIR =
+
+ # c compiler
+ CC = gcc
+ # c compiler flags
+-CFLAGS = -O2 -Wall -W -pedantic -std=gnu99
++CFLAGS += -Wall -W -pedantic -std=gnu99
+ # linker flags
+ LDFLAGS =
+