aboutsummaryrefslogtreecommitdiff
path: root/system/vlock/config.mk.diff
diff options
context:
space:
mode:
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 0000000000000..d2754d9b148b0
--- /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 =
+