Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 349411 | Differences between
and this patch

Collapse All | Expand All

(-)pwauth-2.3.10.orig//config.h (-4 / +4 lines)
Lines 123-129 Link Here
123
/* #define SHADOW_NONE         /**/
123
/* #define SHADOW_NONE         /**/
124
/* #define SHADOW_BSD          /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */
124
/* #define SHADOW_BSD          /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */
125
#define SHADOW_SUN             /* Linux, Solaris, IRIX */
125
/*#define SHADOW_SUN           /* Linux, Solaris, IRIX */
126
/* #define SHADOW_JFH          /**/
126
/* #define SHADOW_JFH          /**/
127
/* #define SHADOW_MDW          /**/
127
/* #define SHADOW_MDW          /**/
128
/* #define SHADOW_AIX          /* AIX (see also AUTHENTICATE_AIX) */
128
/* #define SHADOW_AIX          /* AIX (see also AUTHENTICATE_AIX) */
Lines 278-284 Link Here
278
 * to change the uid list.
278
 * to change the uid list.
279
 */
279
 */
280
#define SERVER_UIDS 30         /* user "wwwrun" on the author's system */
280
/*#define SERVER_UIDS 30               /* user "wwwrun" on the author's system */
281
/* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
281
/* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
Lines 290-296 Link Here
290
 * given value will be accepted).
290
 * given value will be accepted).
291
 */
291
 */
292
#define MIN_UNIX_UID 500       /**/
292
/*#define MIN_UNIX_UID 500     /**/
293
/* If IGNORE_CASE is defined, the login given is checked in two different
293
/* If IGNORE_CASE is defined, the login given is checked in two different
Lines 319-325 Link Here
319
 * SLEEP_LOCK.  SLEEP_TIME defaults to 2 seconds if not defined.
319
 * SLEEP_LOCK.  SLEEP_TIME defaults to 2 seconds if not defined.
320
 */
320
 */
321
#define SLEEP_LOCK "/var/run/pwauth.lock"
321
#define SLEEP_LOCK "/var/lock/pwauth"
322
/* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured
322
/* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured
(-)pwauth-2.3.10.orig//main.c (-1 / +1 lines)
Lines 50-56 Link Here
50
    char *login, *passwd;
50
    char *login, *passwd;
51
#else
51
#else
52
    char login[BFSZ+1], passwd[BFSZ+1];
52
    char login[BFSZ+1], passwd[BFSZ+1];
53
    char *c, *strchr();
53
    char *c;
54
#endif
54
#endif
55
    int uid,i;
55
    int uid,i;
56
    int status;
56
    int status;
(-)pwauth-2.3.10.orig//Makefile (-6 / +6 lines)
Lines 6-14 Link Here
6
#   LOCALFLAGS=   compiler flags.  Usually -g, -O, and stuff like that.
6
#   LOCALFLAGS=   compiler flags.  Usually -g, -O, and stuff like that.
7
# Settings for author's system (Redhat 6.1)
7
# Settings for author's system (Redhat 6.1)
8
CC=gcc
8
#CC=gcc
9
LIB= -lcrypt
9
#LIB= -lcrypt
10
LOCALFLAGS= -g
10
#LOCALFLAGS= -g
11
# For PAM on Redhat Linux
11
# For PAM on Redhat Linux
12
# LIB=-lpam -ldl
12
# LIB=-lpam -ldl
Lines 25-40 Link Here
25
.PHONY: clean distclean
25
.PHONY: clean distclean
26
CFLAGS= $(LOCALFLAGS)
26
#CFLAGS= $(LOCALFLAGS)
27
pwauth: main.o auth_aix.o auth_bsd.o auth_hpux.o auth_mdw.o auth_openbsd.o \
27
pwauth: main.o auth_aix.o auth_bsd.o auth_hpux.o auth_mdw.o auth_openbsd.o \
28
       auth_pam.o auth_sun.o fail_log.o lastlog.o nologin.o snooze.o
28
       auth_pam.o auth_sun.o fail_log.o lastlog.o nologin.o snooze.o
29
       $(CC) -o pwauth $(CFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \
29
       $(CC) -o pwauth $(CFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \
30
               auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \
30
               auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \
31
               lastlog.o nologin.o snooze.o $(LIB)
31
               lastlog.o nologin.o snooze.o $(LDFLAGS)
32
checkfaillog: checkfaillog.o fail_check.o
32
checkfaillog: checkfaillog.o fail_check.o
33
       $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LIB)
33
       $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LDFLAGS)
34
main.o: main.c config.h pwauth.h fail_log.h
34
main.o: main.c config.h pwauth.h fail_log.h
35
auth_aix.o: auth_aix.c config.h pwauth.h
35
auth_aix.o: auth_aix.c config.h pwauth.h

Return to bug 349411