1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/testing/pwauth/10-config.patch
NHellFire 43075882a8 testing/pwauth: new aport
https://code.google.com/p/pwauth/
Authenticator for mod_authnz_external and Apache
2017-06-06 19:53:08 +00:00

42 lines
1.1 KiB
Diff

--- 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