head	1.3;
access;
symbols
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2009.08.27.13.07.04;	author araujo;	state dead;
branches;
next	1.2;

1.2
date	2002.11.08.09.54.05;	author ru;	state Exp;
branches;
next	1.1;

1.1
date	2001.09.03.18.14.44;	author knu;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Update to 0.99.

PR:		ports/138188
Submitted by:	Sylvio Cesar <scjamorim___bsd.com.br>
Approved by:	Michael Schout <mschout___gkg.net> (maintainer)
@
text
@--- 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.
  */
 
-#include <features.h>
 #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) {
@


1.2
log
@openlog(3) and closelog(3) are unsafe in PAM modules.
@
text
@@


1.1
log
@Add pam_pwdfile, a PAM module which allows authentication against
alternate passwd files.

PR:		30240
Submitted by:	Michael Schout <mschout@@gkg.net>
@
text
@d1 2
a2 2
--- pam_pwdfile.c.orig	Fri Aug 31 10:00:10 2001
+++ pam_pwdfile.c	Thu Aug 30 23:35:58 2001
d11 15
@

