Index: branches/2020Q2/security/pwauth/Makefile =================================================================== --- branches/2020Q2/security/pwauth/Makefile (revision 535329) +++ branches/2020Q2/security/pwauth/Makefile (revision 535330) @@ -1,33 +1,32 @@ # Created by: clement # $FreeBSD$ PORTNAME= pwauth PORTVERSION= 2.3.11 CATEGORIES= security www -MASTER_SITES= http://www.unixpapa.com/software/ +MASTER_SITES= http://www.unixpapa.com/software/ \ + https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/ MAINTAINER= eg@fbsd.lt COMMENT= Unix Web Authenticator - -BROKEN= unfetchable LICENSE= BSD3CLAUSE PLIST_FILES= "@(,,4555) bin/pwauth" \ bin/checkfaillog ALL_TARGET= pwauth checkfaillog MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIB="-lcrypt -lpam" WWWUID= `${ID} -u ${WWWOWN}` MINUID?= 1000 post-patch: @${REINPLACE_CMD} "s/%%UIDS%%/${WWWUID}/ ; \ s/%%MINUID%%/${MINUID}/" ${WRKSRC}/config.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pwauth ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/checkfaillog ${STAGEDIR}${PREFIX}/bin .include Index: branches/2020Q2/security/pwauth/files/patch-utmpx =================================================================== --- branches/2020Q2/security/pwauth/files/patch-utmpx (revision 535329) +++ branches/2020Q2/security/pwauth/files/patch-utmpx (nonexistent) @@ -1,33 +0,0 @@ ---- checkfaillog.c.orig 2012-02-11 13:18:31.000000000 +0200 -+++ checkfaillog.c 2012-02-11 13:18:50.000000000 +0200 -@@ -33,7 +33,7 @@ - - #include - #include --#include -+#include - #include - - #include "config.h" ---- fail_check.c.orig 2012-02-11 13:18:36.000000000 +0200 -+++ fail_check.c 2012-02-11 13:18:59.000000000 +0200 -@@ -35,7 +35,7 @@ - #include - #include - #include --#include -+#include - - #include "config.h" - #include "fail_log.h" ---- pwauth.h.orig 2012-02-11 13:18:41.000000000 +0200 -+++ pwauth.h 2012-02-11 13:19:08.000000000 +0200 -@@ -71,7 +71,7 @@ - - #ifdef UNIX_LASTLOG - # define NEED_UID --# include -+# include - # ifdef HAVE_LASTLOG_H - # include - # endif Property changes on: branches/2020Q2/security/pwauth/files/patch-utmpx ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: branches/2020Q2/security/pwauth/files/patch-checkfaillog.c =================================================================== --- branches/2020Q2/security/pwauth/files/patch-checkfaillog.c (revision 535329) +++ branches/2020Q2/security/pwauth/files/patch-checkfaillog.c (revision 535330) @@ -1,10 +1,13 @@ ---- checkfaillog.c.orig 2012-02-11 13:22:09.000000000 +0200 -+++ checkfaillog.c 2012-02-11 13:22:42.000000000 +0200 -@@ -32,6 +32,7 @@ +--- checkfaillog.c.orig 2020-04-11 16:27:51 UTC ++++ checkfaillog.c +@@ -32,8 +32,9 @@ */ #include +#include #include - #include +-#include ++#include #include + + #include "config.h" Index: branches/2020Q2/security/pwauth/files/patch-config.h =================================================================== --- branches/2020Q2/security/pwauth/files/patch-config.h (revision 535329) +++ branches/2020Q2/security/pwauth/files/patch-config.h (revision 535330) @@ -1,49 +1,49 @@ ---- config.h.orig 2012-02-11 15:52:24.000000000 +0200 -+++ config.h 2012-02-11 15:52:06.000000000 +0200 +--- config.h.orig 2013-10-04 13:59:08 UTC ++++ config.h @@ -123,7 +123,7 @@ /* #define SHADOW_NONE /**/ /* #define SHADOW_BSD /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */ -#define SHADOW_SUN /* Linux, Solaris, IRIX */ +/* #define SHADOW_SUN /* Linux, Solaris, IRIX */ /* #define SHADOW_JFH /**/ /* #define SHADOW_MDW /**/ /* #define SHADOW_AIX /* AIX (see also AUTHENTICATE_AIX) */ @@ -131,7 +131,7 @@ /* HIGH-LEVEL OPTIONS */ -/* #define PAM /* Linux PAM or OpenPAM */ + #define PAM /* Linux PAM or OpenPAM */ /* #define PAM_OLD_OS_X /* PAM on OS X version 10.5 or older */ /* #define PAM_SOLARIS /* PAM on Solaris other than 2.6 */ /* #define PAM_SOLARIS_26 /* PAM on Solaris 2.6 */ @@ -213,8 +213,8 @@ * uid numbers. */ -#define UNIX_LASTLOG /**/ -#define HAVE_LASTLOG_H /**/ +//#define UNIX_LASTLOG /**/ +//#define HAVE_LASTLOG_H /**/ /* If NOLOGIN_FILE is defined to the full path name of a file, then the -@@ -278,7 +278,7 @@ +@@ -279,7 +279,7 @@ * to change the uid list. */ -#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */ +#define SERVER_UIDS %%UIDS%% /**/ /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than -@@ -290,7 +290,7 @@ +@@ -291,7 +291,7 @@ * given value will be accepted). */ -#define MIN_UNIX_UID 500 /**/ +#define MIN_UNIX_UID %%MINUID%% /**/ /* If IGNORE_CASE is defined, the login given is checked in two different Index: branches/2020Q2/security/pwauth/files/patch-fail__check.c =================================================================== --- branches/2020Q2/security/pwauth/files/patch-fail__check.c (nonexistent) +++ branches/2020Q2/security/pwauth/files/patch-fail__check.c (revision 535330) @@ -0,0 +1,11 @@ +--- fail_check.c.orig 2020-04-11 16:28:08 UTC ++++ fail_check.c +@@ -35,7 +35,7 @@ + #include + #include + #include +-#include ++#include + + #include "config.h" + #include "fail_log.h" Property changes on: branches/2020Q2/security/pwauth/files/patch-fail__check.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2020Q2/security/pwauth/files/patch-pwauth.h =================================================================== --- branches/2020Q2/security/pwauth/files/patch-pwauth.h (nonexistent) +++ branches/2020Q2/security/pwauth/files/patch-pwauth.h (revision 535330) @@ -0,0 +1,11 @@ +--- pwauth.h.orig 2020-04-11 16:28:30 UTC ++++ pwauth.h +@@ -73,7 +73,7 @@ + + #ifdef UNIX_LASTLOG + # define NEED_UID +-# include ++# include + # ifdef HAVE_LASTLOG_H + # include + # endif Property changes on: branches/2020Q2/security/pwauth/files/patch-pwauth.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2020Q2 =================================================================== --- branches/2020Q2 (revision 535329) +++ branches/2020Q2 (revision 535330) Property changes on: branches/2020Q2 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r535006