Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2020 19:26:45 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535006 - in head/security/pwauth: . files
Message-ID:  <202005121926.04CJQj25057189@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Tue May 12 19:26:45 2020
New Revision: 535006
URL: https://svnweb.freebsd.org/changeset/ports/535006

Log:
  security/pwauth: fix fetch and undeprecate
  
  PR:		243650 [1]
  PR:		244289 [2]
  Submitted by:	Benjamin Lutz [1]
  Submitted by:	ian [2]
  Approved by:	maintainer
  MFH:		2020Q2

Added:
  head/security/pwauth/files/patch-fail__check.c   (contents, props changed)
  head/security/pwauth/files/patch-pwauth.h   (contents, props changed)
Deleted:
  head/security/pwauth/files/patch-utmpx
Modified:
  head/security/pwauth/Makefile
  head/security/pwauth/files/patch-checkfaillog.c
  head/security/pwauth/files/patch-config.h

Modified: head/security/pwauth/Makefile
==============================================================================
--- head/security/pwauth/Makefile	Tue May 12 19:18:21 2020	(r535005)
+++ head/security/pwauth/Makefile	Tue May 12 19:26:45 2020	(r535006)
@@ -4,14 +4,11 @@
 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
-DEPRECATED=	Broken for more than 6 months
-EXPIRATION_DATE=	2020-05-05
 
 LICENSE=	BSD3CLAUSE
 

Modified: head/security/pwauth/files/patch-checkfaillog.c
==============================================================================
--- head/security/pwauth/files/patch-checkfaillog.c	Tue May 12 19:18:21 2020	(r535005)
+++ head/security/pwauth/files/patch-checkfaillog.c	Tue May 12 19:26:45 2020	(r535006)
@@ -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 <stdio.h>
 +#include <stdlib.h>
  #include <sys/types.h>
- #include <utmp.h>
+-#include <utmp.h>
++#include <utmpx.h>
  #include <pwd.h>
+ 
+ #include "config.h"

Modified: head/security/pwauth/files/patch-config.h
==============================================================================
--- head/security/pwauth/files/patch-config.h	Tue May 12 19:18:21 2020	(r535005)
+++ head/security/pwauth/files/patch-config.h	Tue May 12 19:26:45 2020	(r535006)
@@ -1,5 +1,5 @@
---- 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		/**/
@@ -29,7 +29,7 @@
  
  
  /* 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.
   */
  
@@ -38,7 +38,7 @@
  
  
  /* 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).
   */
  

Added: head/security/pwauth/files/patch-fail__check.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pwauth/files/patch-fail__check.c	Tue May 12 19:26:45 2020	(r535006)
@@ -0,0 +1,11 @@
+--- fail_check.c.orig	2020-04-11 16:28:08 UTC
++++ fail_check.c
+@@ -35,7 +35,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+-#include <utmp.h>
++#include <utmpx.h>
+ 
+ #include "config.h"
+ #include "fail_log.h"

Added: head/security/pwauth/files/patch-pwauth.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pwauth/files/patch-pwauth.h	Tue May 12 19:26:45 2020	(r535006)
@@ -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 <utmp.h>
++# include <utmpx.h>
+ # ifdef HAVE_LASTLOG_H
+ #  include <lastlog.h>
+ # endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005121926.04CJQj25057189>