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]
This commit is contained in:
parent
a9aa316ecb
commit
52beba213a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552742
@ -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
|
||||
|
@ -1,2 +1,3 @@
|
||||
TIMESTAMP = 1603117469
|
||||
SHA256 (pam_ldap-186.tar.gz) = c8fe22d559d5a3f528b24eb97175085f188c0f11ade337a868590ac0e0716453
|
||||
SIZE (pam_ldap-186.tar.gz) = 163437
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,3 @@
|
||||
man/man5/pam_ldap.5.gz
|
||||
etc/ldap.conf.dist
|
||||
@sample etc/ldap.conf.sample
|
||||
lib/pam_ldap.so
|
||||
|
Loading…
Reference in New Issue
Block a user