Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/pwauth/files: pwauth-strchr.patch pwauth-2.3.10-config.patch pwauth-2.3.10-makefile.patch
Date: Tue, 01 Jan 2013 16:26:52
Message-Id: 20130101162642.75C612171E@flycatcher.gentoo.org
1 pinkbyte 13/01/01 16:26:42
2
3 Added: pwauth-strchr.patch pwauth-2.3.10-config.patch
4 pwauth-2.3.10-makefile.patch
5 Log:
6 Version bump, HOMEPAGE and SRC_URI change, wrt bug #349411
7
8 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.1 www-apache/pwauth/files/pwauth-strchr.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/pwauth/files/pwauth-strchr.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/pwauth/files/pwauth-strchr.patch?rev=1.1&content-type=text/plain
15
16 Index: pwauth-strchr.patch
17 ===================================================================
18 --- main.c.orig 2013-01-01 19:45:32.389626661 +0400
19 +++ main.c 2013-01-01 19:45:50.524643637 +0400
20 @@ -48,7 +48,7 @@
21 char *login, *passwd;
22 #else
23 char login[BFSZ+1], passwd[BFSZ+1];
24 - char *c, *strchr();
25 + char *c;
26 #endif
27 int uid,i;
28 int status;
29
30
31
32 1.1 www-apache/pwauth/files/pwauth-2.3.10-config.patch
33
34 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/pwauth/files/pwauth-2.3.10-config.patch?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/pwauth/files/pwauth-2.3.10-config.patch?rev=1.1&content-type=text/plain
36
37 Index: pwauth-2.3.10-config.patch
38 ===================================================================
39 --- config.h.orig 2013-01-01 19:33:54.053978814 +0400
40 +++ config.h 2013-01-01 19:35:09.764049695 +0400
41 @@ -112,7 +112,7 @@
42
43 /* #define SHADOW_NONE /**/
44 /* #define SHADOW_BSD /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */
45 -#define SHADOW_SUN /* Linux, Solaris, IRIX */
46 +/* #define SHADOW_SUN /* Linux, Solaris, IRIX */
47 /* #define SHADOW_JFH /**/
48 /* #define SHADOW_MDW /**/
49 /* #define SHADOW_AIX /* AIX */
50 @@ -245,7 +245,7 @@
51 * to change the uid list.
52 */
53
54 -#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
55 +/* #define SERVER_UIDS 81 /* user "nobody" */
56
57
58 /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
59 @@ -257,7 +257,7 @@
60 * given value will be accepted).
61 */
62
63 -#define MIN_UNIX_UID 500 /**/
64 +/* #define MIN_UNIX_UID 500 /**/
65
66
67 /* If IGNORE_CASE is defined, the login given is checked in two different
68 @@ -285,7 +285,7 @@
69 * SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined.
70 */
71
72 -#define SLEEP_LOCK "/var/run/pwauth.lock"
73 +#define SLEEP_LOCK "/var/lock/pwauth.lock"
74
75
76 /* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured
77
78
79
80 1.1 www-apache/pwauth/files/pwauth-2.3.10-makefile.patch
81
82 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/pwauth/files/pwauth-2.3.10-makefile.patch?rev=1.1&view=markup
83 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/pwauth/files/pwauth-2.3.10-makefile.patch?rev=1.1&content-type=text/plain
84
85 Index: pwauth-2.3.10-makefile.patch
86 ===================================================================
87 --- Makefile.orig 2013-01-01 20:19:30.061522843 +0400
88 +++ Makefile 2013-01-01 20:20:00.356551208 +0400
89 @@ -2,19 +2,7 @@
90 # system. Most of the configurable stuff is in config.h
91 #
92 # CC= an ansi-C compiler. If "cc" doesn't work, try "gcc".
93 -# LIB= libraries to link in. -lcrypt, -lshadow, -lpam sometimes needed.
94 -# LOCALFLAGS= compiler flags. Usually -g, -O, and stuff like that.
95 -
96 -# Settings for author's system (Redhat 6.1)
97 -CC=gcc
98 -LIB= -lcrypt
99 -LOCALFLAGS= -g
100 -
101 -# For PAM on Redhat Linux
102 -# LIB=-lpam -ldl
103 -
104 -# For PAM on Solaris or OS X
105 -# LIB=-lpam
106 +# LIBS= libraries to link in. -lcrypt, -lshadow, -lpam sometimes needed.
107
108 # -------------------- No User Servicable Parts Below -----------------------
109
110 @@ -25,16 +13,14 @@
111
112 .PHONY: clean distclean
113
114 -CFLAGS= $(LOCALFLAGS)
115 -
116 pwauth: main.o auth_aix.o auth_bsd.o auth_hpux.o auth_mdw.o auth_openbsd.o \
117 auth_pam.o auth_sun.o fail_log.o lastlog.o nologin.o snooze.o
118 $(CC) -o pwauth $(CFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \
119 auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \
120 - lastlog.o nologin.o snooze.o $(LIB)
121 + lastlog.o nologin.o snooze.o $(LDFLAGS) $(LIBS)
122
123 checkfaillog: checkfaillog.o fail_check.o
124 - $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LIB)
125 + $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LDFLAGS) $(LIBS)
126
127 main.o: main.c config.h pwauth.h fail_log.h
128 auth_aix.o: auth_aix.c config.h pwauth.h