aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/pam_pwdfile/Makefile1
-rw-r--r--security/pam_pwdfile/files/patch-aa19
2 files changed, 18 insertions, 2 deletions
diff --git a/security/pam_pwdfile/Makefile b/security/pam_pwdfile/Makefile
index e4c68331f23a..03091f4e61c8 100644
--- a/security/pam_pwdfile/Makefile
+++ b/security/pam_pwdfile/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pam_pwdfile
PORTVERSION= 0.95
+PORTREVERSION= 1
CATEGORIES= security
MASTER_SITES= http://cpbotha.net/files/pam_pwdfile/
diff --git a/security/pam_pwdfile/files/patch-aa b/security/pam_pwdfile/files/patch-aa
index edb9b4a0a520..dd2e7108be6b 100644
--- a/security/pam_pwdfile/files/patch-aa
+++ b/security/pam_pwdfile/files/patch-aa
@@ -1,5 +1,5 @@
---- pam_pwdfile.c.orig Fri Aug 31 10:00:10 2001
-+++ pam_pwdfile.c Thu Aug 30 23:35:58 2001
+--- pam_pwdfile.c.orig Sat Jul 14 23:50:21 2001
++++ pam_pwdfile.c Fri Nov 8 11:25:49 2002
@@ -42,7 +42,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@@ -8,3 +8,18 @@
#include <syslog.h>
#include <stdarg.h>
#include <stdio.h>
+@@ -85,10 +84,14 @@
+ va_list args;
+
+ va_start(args, format);
++#ifndef __FreeBSD__
+ openlog("pam_pwdfile", LOG_CONS|LOG_PID, LOG_AUTH);
++#endif
+ vsyslog(err, format, args);
+ va_end(args);
++#ifndef __FreeBSD__
+ closelog();
++#endif
+ }
+
+ static int lock_fd(int fd) {