/[smeserver]/rpms/pwauth/sme10/pwauth-make.patch
ViewVC logotype

Annotation of /rpms/pwauth/sme10/pwauth-make.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Feb 7 20:42:36 2016 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: pwauth-2_3_10-5_el7_sme, pwauth-2_3_10-10_el7_sme, HEAD
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 2.3.10-5.sme
- Build new rpm for sme10

1 stephdl 1.1 --- pwauth-2.3.10/config.h.orig 2011-10-05 07:01:12.000000000 -0600
2     +++ pwauth-2.3.10/config.h 2013-05-21 12:05:22.079346949 -0600
3     @@ -123,7 +123,7 @@
4    
5     /* #define SHADOW_NONE /**/
6     /* #define SHADOW_BSD /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */
7     -#define SHADOW_SUN /* Linux, Solaris, IRIX */
8     +/* #define SHADOW_SUN /* Linux, Solaris, IRIX */
9     /* #define SHADOW_JFH /**/
10     /* #define SHADOW_MDW /**/
11     /* #define SHADOW_AIX /* AIX (see also AUTHENTICATE_AIX) */
12     @@ -131,7 +131,7 @@
13    
14     /* HIGH-LEVEL OPTIONS */
15    
16     -/* #define PAM /* Linux PAM or OpenPAM */
17     +#define PAM /* Linux PAM or OpenPAM */
18     /* #define PAM_OLD_OS_X /* PAM on OS X version 10.5 or older */
19     /* #define PAM_SOLARIS /* PAM on Solaris other than 2.6 */
20     /* #define PAM_SOLARIS_26 /* PAM on Solaris 2.6 */
21     @@ -227,8 +227,8 @@
22     * right with PAM.
23     */
24    
25     -#define NOLOGIN_FILE "/etc/nologin" /**/
26     -#define MIN_NOLOGIN_UID 1 /**/
27     +/* #define NOLOGIN_FILE "/etc/nologin" /**/
28     +/* #define MIN_NOLOGIN_UID 1 /**/
29    
30    
31     /* Defining CHECK_LOGIN_EXPIRATION and CHECK_PASSWORD_EXPIRATION causes
32     @@ -278,7 +278,7 @@
33     * to change the uid list.
34     */
35    
36     -#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
37     +/* #define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
38    
39    
40     /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
41     --- pwauth-2.3.10/Makefile.orig 2011-10-05 07:45:04.000000000 -0600
42     +++ pwauth-2.3.10/Makefile 2013-05-21 12:31:35.249588745 -0600
43     @@ -11,7 +11,7 @@
44     LOCALFLAGS= -g
45    
46     # For PAM on Redhat Linux
47     -# LIB=-lpam -ldl
48     +LIB=-lpam -ldl
49    
50     # For PAM on Solaris or OS X
51     # LIB=-lpam
52     @@ -28,12 +29,12 @@ TAR= README INSTALL CHANGES FORM_AUTH Ma
53    
54     pwauth: main.o auth_aix.o auth_bsd.o auth_hpux.o auth_mdw.o auth_openbsd.o \
55     auth_pam.o auth_sun.o fail_log.o lastlog.o nologin.o snooze.o
56     - $(CC) -o pwauth $(CFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \
57     + $(CC) -o pwauth $(CFLAGS) $(LDFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \
58     auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \
59     lastlog.o nologin.o snooze.o $(LIB)
60    
61     checkfaillog: checkfaillog.o fail_check.o
62     - $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LIB)
63     + $(CC) -o checkfaillog $(CFLAGS) $(LDFLAGS) checkfaillog.o fail_check.o $(LIB)
64    
65     main.o: main.c config.h pwauth.h fail_log.h
66     auth_aix.o: auth_aix.c config.h pwauth.h

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed