1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Update to 1.3.7

PR:		34592
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-02-04 23:14:31 +00:00
parent 079b2931e7
commit a1919625be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54214
5 changed files with 10 additions and 53 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= pam_ldap
PORTVERSION= 1.3.4
PORTVERSION= 1.3.7
CATEGORIES= security net
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/
@ -22,10 +22,11 @@ LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap \
lber.1:${PORTSDIR}/net/openldap
.endif
USE_AUTOCONF= yes
USE_AUTOMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ldap-lib=openldap \
--with-ldap-dir=${LOCALBASE}
--with-ldap-dir=${LOCALBASE} \
--with-ldap-conf-file=${PREFIX}/etc/ldap.conf
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
USE_GMAKE= yes

View File

@ -1 +1 @@
MD5 (pam_ldap-134.tar.gz) = 7d6583b37e02202c38ef95738880fadb
MD5 (pam_ldap-137.tar.gz) = ee8cf85a4138425364705a1986cc4561

View File

@ -1,6 +1,6 @@
--- Makefile.in.orig Sat May 26 16:07:21 2001
+++ Makefile.in Sat May 26 17:09:57 2001
@@ -380,17 +380,15 @@
--- Makefile.in.orig Sun Feb 3 15:36:48 2002
+++ Makefile.in Sun Feb 3 15:39:06 2002
@@ -357,17 +357,13 @@
install-exec-local: pam_ldap.so
@$(NORMAL_INSTALL)
@ -9,9 +9,7 @@
-@EXTENSION_SO_FALSE@ $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so.1
-@EXTENSION_SO_FALSE@ -rm -f $(DESTDIR)$(libdir)/security/pam_ldap.so
-@EXTENSION_SO_FALSE@ -ln -s $(DESTDIR)$(libdir)/security/pam_ldap.so.1 $(DESTDIR)$(libdir)/security/pam_ldap.so
+ $(mkinstalldirs) $(DESTDIR)$(libdir)
+@EXTENSION_SO_TRUE@ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
+@EXTENSION_SO_FALSE@ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
+ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
install-data-local:
@$(NORMAL_INSTALL)

View File

@ -1,11 +0,0 @@
--- pam_ldap.c.orig Mon Jun 11 11:44:49 2001
+++ pam_ldap.c Mon Jun 11 11:45:07 2001
@@ -557,7 +557,7 @@
/* configuration file location is configurable; default /etc/ldap.conf */
if (configFile == NULL)
- configFile = "/etc/ldap.conf";
+ configFile = LDAP_CONF_FILE;
fp = fopen (configFile, "r");

View File

@ -1,31 +0,0 @@
--- Makefile.am.orig Mon Jan 8 18:00:14 2001
+++ Makefile.am Mon Jun 11 11:44:42 2001
@@ -4,24 +4,18 @@
pam_ldap_so_SOURCES = pam_ldap.c pam_ldap.h md5.c md5.h
pam_ldap_so_LDFLAGS = @pam_ldap_so_LDFLAGS@
+CPPFLAGS = @CPPFLAGS@ -DLDAP_CONF_FILE=\"$(sysconfdir)/ldap.conf\"
install-exec-local: pam_ldap.so
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(libdir)/security
-if EXTENSION_SO
- $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so
-else
- $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so.1
- -rm -f $(DESTDIR)$(libdir)/security/pam_ldap.so
- -ln -s $(DESTDIR)$(libdir)/security/pam_ldap.so.1 $(DESTDIR)$(libdir)/security/pam_ldap.so
-endif
+ $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so
install-data-local:
@$(NORMAL_INSTALL)
- @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf; then \
+ @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; \
fi
uninstall-local: