View | Details | Raw Unified | Return to bug 244289 | Differences between
and this patch

Collapse All | Expand All

(-)security/pwauth/Makefile (-5 / +1 lines)
Lines 4-17 Link Here
4
PORTNAME=	pwauth
4
PORTNAME=	pwauth
5
PORTVERSION=	2.3.11
5
PORTVERSION=	2.3.11
6
CATEGORIES=	security www
6
CATEGORIES=	security www
7
MASTER_SITES=	http://www.unixpapa.com/software/
7
MASTER_SITES=	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/
8
8
9
MAINTAINER=	eg@fbsd.lt
9
MAINTAINER=	eg@fbsd.lt
10
COMMENT=	Unix Web Authenticator
10
COMMENT=	Unix Web Authenticator
11
12
BROKEN=		unfetchable
13
DEPRECATED=	Broken for more than 6 months
14
EXPIRATION_DATE=	2020-05-05
15
11
16
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
17
13
(-)security/pwauth/files/patch-checkfaillog.c (-7 / +8 lines)
Lines 1-10 Link Here
1
--- checkfaillog.c.orig	2012-02-11 13:22:09.000000000 +0200
1
--- checkfaillog.c.orig	2020-04-11 15:56:18 UTC
2
+++ checkfaillog.c	2012-02-11 13:22:42.000000000 +0200
2
+++ checkfaillog.c
3
@@ -32,6 +32,7 @@
3
@@ -34,7 +34,7 @@
4
  */
5
 
6
 #include <stdio.h>
4
 #include <stdio.h>
7
+#include <stdlib.h>
5
 #include <stdlib.h>
8
 #include <sys/types.h>
6
 #include <sys/types.h>
9
 #include <utmp.h>
7
-#include <utmp.h>
8
+#include <utmpx.h>
10
 #include <pwd.h>
9
 #include <pwd.h>
10
 
11
 #include "config.h"
(-)security/pwauth/files/patch-config.h (-6 / +6 lines)
Lines 1-5 Link Here
1
--- config.h.orig	2012-02-11 15:52:24.000000000 +0200
1
--- config.h.orig	2013-10-04 13:59:08 UTC
2
+++ config.h	2012-02-11 15:52:06.000000000 +0200
2
+++ config.h
3
@@ -123,7 +123,7 @@
3
@@ -123,7 +123,7 @@
4
 
4
 
5
 /* #define SHADOW_NONE		/**/
5
 /* #define SHADOW_NONE		/**/
Lines 29-49 Link Here
29
 
29
 
30
 
30
 
31
 /* If NOLOGIN_FILE is defined to the full path name of a file, then the
31
 /* If NOLOGIN_FILE is defined to the full path name of a file, then the
32
@@ -278,7 +278,7 @@
32
@@ -279,7 +279,7 @@
33
  * to change the uid list.
33
  * to change the uid list.
34
  */
34
  */
35
 
35
 
36
-#define SERVER_UIDS 30		/* user "wwwrun" on the author's system */
36
-#define SERVER_UIDS 30		/* user "wwwrun" on the author's system */
37
+#define SERVER_UIDS %%UIDS%%	/**/
37
+#define SERVER_UIDS 80	/**/
38
 
38
 
39
 
39
 
40
 /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
40
 /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
41
@@ -290,7 +290,7 @@
41
@@ -291,7 +291,7 @@
42
  * given value will be accepted).
42
  * given value will be accepted).
43
  */
43
  */
44
 
44
 
45
-#define MIN_UNIX_UID 500	/**/
45
-#define MIN_UNIX_UID 500	/**/
46
+#define MIN_UNIX_UID %%MINUID%%		/**/
46
+#define MIN_UNIX_UID 1000		/**/
47
 
47
 
48
 
48
 
49
 /* If IGNORE_CASE is defined, the login given is checked in two different
49
 /* If IGNORE_CASE is defined, the login given is checked in two different
(-)security/pwauth/files/patch-utmpx (-16 / +5 lines)
Lines 1-16 Link Here
1
--- checkfaillog.c.orig	2012-02-11 13:18:31.000000000 +0200
1
--- fail_check.c.orig	2009-04-04 04:45:56 UTC
2
+++ checkfaillog.c	2012-02-11 13:18:50.000000000 +0200
2
+++ fail_check.c
3
@@ -33,7 +33,7 @@
4
 
5
 #include <stdio.h>
6
 #include <sys/types.h>
7
-#include <utmp.h>
8
+#include <utmpx.h>
9
 #include <pwd.h>
10
 
11
 #include "config.h"
12
--- fail_check.c.orig	2012-02-11 13:18:36.000000000 +0200
13
+++ fail_check.c	2012-02-11 13:18:59.000000000 +0200
14
@@ -35,7 +35,7 @@
3
@@ -35,7 +35,7 @@
15
 #include <sys/types.h>
4
 #include <sys/types.h>
16
 #include <sys/stat.h>
5
 #include <sys/stat.h>
Lines 20-28 Link Here
20
 
9
 
21
 #include "config.h"
10
 #include "config.h"
22
 #include "fail_log.h"
11
 #include "fail_log.h"
23
--- pwauth.h.orig	2012-02-11 13:18:41.000000000 +0200
12
--- pwauth.h.orig	2009-04-04 04:45:56 UTC
24
+++ pwauth.h	2012-02-11 13:19:08.000000000 +0200
13
+++ pwauth.h
25
@@ -71,7 +71,7 @@
14
@@ -73,7 +73,7 @@
26
 
15
 
27
 #ifdef UNIX_LASTLOG
16
 #ifdef UNIX_LASTLOG
28
 # define NEED_UID
17
 # define NEED_UID

Return to bug 244289