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

Contents of /rpms/pwauth/sme10/pwauth-cleanup.patch

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


Revision 1.1 - (show annotations) (download)
Sun Feb 7 20:42:36 2016 UTC (8 years, 9 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 --- pwauth-2.3.10/snooze.c.orig 2011-10-05 07:18:44.000000000 -0600
2 +++ pwauth-2.3.10/snooze.c 2013-05-21 14:05:07.066802103 -0600
3 @@ -42,6 +42,7 @@
4 * sleep time, if other pwauth processes are in sleeps.
5 */
6
7 +void
8 snooze(int seconds)
9 {
10 int slfd;
11 --- pwauth-2.3.10/lastlog.c.orig 2009-04-03 22:45:56.000000000 -0600
12 +++ pwauth-2.3.10/lastlog.c 2013-05-21 14:08:39.134622151 -0600
13 @@ -31,6 +31,8 @@
14 * =======================================================================
15 */
16
17 +#include <time.h>
18 +
19 #include "pwauth.h"
20
21 /* LASTLOG - update the system's lastlog */
22 --- pwauth-2.3.10/pwauth.h.orig 2009-04-03 22:45:56.000000000 -0600
23 +++ pwauth-2.3.10/pwauth.h 2013-05-21 14:10:16.590658544 -0600
24 @@ -127,3 +127,7 @@ extern int haveuid;
25 #ifndef BFSZ
26 # define BFSZ 1024
27 #endif
28 +
29 +void snooze(int seconds);
30 +void lastlog();
31 +int check_auth(char *login, char *passwd);
32 --- pwauth-2.3.10/main.c.orig 2013-05-21 12:05:22.068346394 -0600
33 +++ pwauth-2.3.10/main.c 2013-05-21 14:18:29.873121527 -0600
34 @@ -44,6 +44,7 @@
35 #endif
36
37
38 +int
39 main(int argc, char **argv)
40 {
41 #ifdef ENV_METHOD

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