aboutsummaryrefslogtreecommitdiff
path: root/security/pam_ldap
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2020-10-19 15:02:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2020-10-19 15:02:14 +0000
commit52beba213ab211a5e9d451e7c0827a67d900046a (patch)
treec070ad9e63c50867cd7364fc190eda48e5a5f524 /security/pam_ldap
parenta9aa316ecb989f2bf9e35c4d0312a4752882e38a (diff)
downloadports-52beba213ab211a5e9d451e7c0827a67d900046a.tar.gz
ports-52beba213ab211a5e9d451e7c0827a67d900046a.zip
More cleanup.
* Use the upstream 86 version instead of the artificial 1.8.6 [1] * Use @sample to handle the config file [2] Thanks to 0mp for the good suggestions. PR: 250341 [1] 250343 [2]
Notes
Notes: svn path=/head/; revision=552742
Diffstat (limited to 'security/pam_ldap')
-rw-r--r--security/pam_ldap/Makefile4
-rw-r--r--security/pam_ldap/distinfo1
-rw-r--r--security/pam_ldap/files/patch-Makefile.in4
-rw-r--r--security/pam_ldap/files/pkg-message.in6
-rw-r--r--security/pam_ldap/pkg-plist2
5 files changed, 7 insertions, 10 deletions
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile
index d1929c9fa822..fec3211abff2 100644
--- a/security/pam_ldap/Makefile
+++ b/security/pam_ldap/Makefile
@@ -2,12 +2,10 @@
# $FreeBSD$
PORTNAME= pam_ldap
-PORTVERSION= 1.8.6
-PORTREVISION= 5
+PORTVERSION= 186
CATEGORIES= security net
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/
-DISTNAME= pam_ldap-${PORTVERSION:S/.//g}
MAINTAINER= marcus@FreeBSD.org
COMMENT= PAM module for authenticating with LDAP
diff --git a/security/pam_ldap/distinfo b/security/pam_ldap/distinfo
index b2617907712b..d1d43504c10d 100644
--- a/security/pam_ldap/distinfo
+++ b/security/pam_ldap/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1603117469
SHA256 (pam_ldap-186.tar.gz) = c8fe22d559d5a3f528b24eb97175085f188c0f11ade337a868590ac0e0716453
SIZE (pam_ldap-186.tar.gz) = 163437
diff --git a/security/pam_ldap/files/patch-Makefile.in b/security/pam_ldap/files/patch-Makefile.in
index 28b28e708fdb..a2b0e068ad2a 100644
--- a/security/pam_ldap/files/patch-Makefile.in
+++ b/security/pam_ldap/files/patch-Makefile.in
@@ -14,10 +14,10 @@
install-data-local:
@$(NORMAL_INSTALL)
- @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf; then \
-+ @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf.dist; then \
++ @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf.sample; then \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
- $(INSTALL_DATA) -o root -g root $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf; \
-+ $(INSTALL_DATA) $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.dist; \
++ $(INSTALL_DATA) $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.sample; \
fi
uninstall-local:
diff --git a/security/pam_ldap/files/pkg-message.in b/security/pam_ldap/files/pkg-message.in
index 8a3e8885e17b..3cd287cf243a 100644
--- a/security/pam_ldap/files/pkg-message.in
+++ b/security/pam_ldap/files/pkg-message.in
@@ -1,10 +1,8 @@
[
{ type: install
message: <<EOM
-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 and higher with a line similar to the following:
+Edit %%PREFIX%%/etc/ldap.conf in order to use this module. Then
+create a %%LOCALBASE%%/etc/pam.d/ldap with a line similar to the following:
login auth sufficient %%PREFIX%%/lib/pam_ldap.so
EOM
diff --git a/security/pam_ldap/pkg-plist b/security/pam_ldap/pkg-plist
index 9dcea37b9403..845a517cb412 100644
--- a/security/pam_ldap/pkg-plist
+++ b/security/pam_ldap/pkg-plist
@@ -1,3 +1,3 @@
man/man5/pam_ldap.5.gz
-etc/ldap.conf.dist
+@sample etc/ldap.conf.sample
lib/pam_ldap.so