aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwauth/10-config.patch
diff options
context:
space:
mode:
authorNHellFire <nathan.renniewaldock@gmail.com>2017-05-20 06:39:48 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-06 19:53:08 +0000
commit43075882a85a07bbf982041df6b593ac13df6a08 (patch)
tree2f7961458790c42e11c565635bfffc98083861ee /testing/pwauth/10-config.patch
parent47084181b5e67ebb55c17adb6b276bb8fcde8ce6 (diff)
downloadaports-43075882a85a07bbf982041df6b593ac13df6a08.tar.bz2
aports-43075882a85a07bbf982041df6b593ac13df6a08.tar.xz
testing/pwauth: new aport
https://code.google.com/p/pwauth/ Authenticator for mod_authnz_external and Apache
Diffstat (limited to 'testing/pwauth/10-config.patch')
-rw-r--r--testing/pwauth/10-config.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/pwauth/10-config.patch b/testing/pwauth/10-config.patch
new file mode 100644
index 0000000000..a56d1bf6d4
--- /dev/null
+++ b/testing/pwauth/10-config.patch
@@ -0,0 +1,42 @@
+--- pwauth-2.3.11.orig/config.h
++++ pwauth-2.3.11/config.h
+@@ -213,8 +213,8 @@
+ * uid numbers.
+ */
+
+-#define UNIX_LASTLOG /**/
+-#define HAVE_LASTLOG_H /**/
++/* #define UNIX_LASTLOG /**/
++/* #define HAVE_LASTLOG_H /**/
+
+
+ /* If NOLOGIN_FILE is defined to the full path name of a file, then the
+@@ -227,8 +227,8 @@
+ * right with PAM.
+ */
+
+-#define NOLOGIN_FILE "/etc/nologin" /**/
+-#define MIN_NOLOGIN_UID 1 /**/
++/* #define NOLOGIN_FILE "/etc/nologin" /**/
++/* #define MIN_NOLOGIN_UID 1 /**/
+
+
+ /* Defining CHECK_LOGIN_EXPIRATION and CHECK_PASSWORD_EXPIRATION causes
+@@ -279,7 +279,7 @@
+ * to change the uid list.
+ */
+
+-#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
++/* #define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
+
+
+ /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
+@@ -320,7 +320,7 @@
+ * SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined.
+ */
+
+-#define SLEEP_LOCK "/var/run/pwauth.lock"
++/* #define SLEEP_LOCK "/var/run/pwauth.lock" */
+
+
+ /* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured