Update to 1.8.0.

Security:	Fixes a security vulnerability described at
		http://www.kb.cert.org/vuls/id/778916
Requested by:	simon
Approved by:	portmgr (implicit)
This commit is contained in:
Joe Marcus Clarke 2005-08-27 19:20:04 +00:00
parent 480959e6ed
commit 85cf42888a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140991
4 changed files with 8 additions and 11 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= pam_ldap
PORTVERSION= 1.7.8
PORTVERSION= 1.8.0
CATEGORIES= security net
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/

View file

@ -1,2 +1,2 @@
MD5 (pam_ldap-178.tar.gz) = 222186c498d24a7035e8a7494fc0797d
SIZE (pam_ldap-178.tar.gz) = 127074
MD5 (pam_ldap-180.tar.gz) = 627f053fdffb8267ba73261394e0ecde
SIZE (pam_ldap-180.tar.gz) = 127337

View file

@ -1,6 +1,6 @@
--- Makefile.in.orig Sun Jun 26 13:33:47 2005
+++ Makefile.in Sun Jun 26 13:35:09 2005
@@ -434,19 +434,15 @@
--- Makefile.in.orig Sat Aug 20 18:44:27 2005
+++ Makefile.in Sat Aug 20 18:45:57 2005
@@ -434,17 +434,13 @@
install-exec-local: pam_ldap.so
@$(NORMAL_INSTALL)
@ -17,10 +17,7 @@
+ @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf.dist; then \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
- $(INSTALL_DATA) -o root -g root $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf; \
+ $(INSTALL_DATA) -o root -g wheel $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.dist; \
+ $(INSTALL_DATA) -o root -g wheel $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.dist; \
fi
- $(INSTALL_DATA) -o root -g root $(srcdir)/pam_ldap.5 $(DESTDIR)$(mandir)/man5/pam_ldap.5
+ $(INSTALL_DATA) -o root -g wheel $(srcdir)/pam_ldap.5 $(DESTDIR)$(mandir)/man5/pam_ldap.5
uninstall-local:
@$(NORMAL_UNINSTALL)

View file

@ -2,7 +2,7 @@
Copy %%PREFIX%%/etc/ldap.conf.dist to %%PREFIX%%/etc/ldap.conf, then edit
%%PREFIX%%/etc/ldap.conf in order to use this module. Add a line similar to
the following to /etc/pam.conf on 4.X, or create an /etc/pam.d/ldap
on 5.X with a line similar to the following:
on 5.X and higher with a line similar to the following:
login auth sufficient %%PREFIX%%/lib/pam_ldap.so
================================================================================