1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

net/ldapscripts: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-22 16:45:36 +01:00
parent dfdd03f9ff
commit a57a8ef5cf
2 changed files with 26 additions and 26 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= ldapscripts
PORTVERSION= 2.0.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
http://contribs.martymac.org/ldapscripts/
@ -17,8 +17,7 @@ OPTIONS_DEFINE= SASL DOCS
USES= iconv ldap tar:tgz
LIBDIR= ${PREFIX}/lib/${PORTNAME}
MAKE_ENV+= MANDIR=${MANPREFIX}/man \
ETCDIR=${ETCDIR}
MAKE_ENV+= ETCDIR=${ETCDIR}
SUB_FILES= pkg-message
@ -28,7 +27,8 @@ PORTDOCS= README CHANGELOG VERSION TODO
# and set paths to OpenLDAP binaries
post-patch:
${REINPLACE_CMD} "s|^all:.*|all:|g" ${WRKSRC}/Makefile
${REINPLACE_CMD} "s|^PREFIX = .*|PREFIX = ${PREFIX}|g" ${WRKSRC}/Makefile
${REINPLACE_CMD} "s|^PREFIX = .*|PREFIX = ${PREFIX}|g ; \
s|MANDIR =.*|MANDIR ?= ${PREFIX}/share/man|g" ${WRKSRC}/Makefile
${REINPLACE_CMD} \
-e "s|^LDAPSEARCHBIN=.*|LDAPSEARCHBIN=\"${LOCALBASE}/bin/ldapsearch\"|g" \
-e "s|^LDAPADDBIN=.*|LDAPADDBIN=\"${LOCALBASE}/bin/ldapadd\"|g" \

View File

@ -25,25 +25,25 @@ sbin/ldapid
sbin/ldapmodifygroup
sbin/ldapmodifymachine
sbin/ldapmodifyuser
man/man1/ldapaddgroup.1.gz
man/man1/ldapaddmachine.1.gz
man/man1/ldapadduser.1.gz
man/man1/ldapaddusertogroup.1.gz
man/man1/ldapdeletegroup.1.gz
man/man1/ldapdeletemachine.1.gz
man/man1/ldapdeleteuser.1.gz
man/man1/ldapdeleteuserfromgroup.1.gz
man/man1/ldapfinger.1.gz
man/man1/ldapgid.1.gz
man/man1/ldapid.1.gz
man/man1/ldapinit.1.gz
man/man1/ldapmodifygroup.1.gz
man/man1/ldapmodifymachine.1.gz
man/man1/ldapmodifyuser.1.gz
man/man1/ldaprenamegroup.1.gz
man/man1/ldaprenamemachine.1.gz
man/man1/ldaprenameuser.1.gz
man/man1/ldapsetpasswd.1.gz
man/man1/ldapsetprimarygroup.1.gz
man/man1/lsldap.1.gz
man/man5/ldapscripts.5.gz
share/man/man1/ldapaddgroup.1.gz
share/man/man1/ldapaddmachine.1.gz
share/man/man1/ldapadduser.1.gz
share/man/man1/ldapaddusertogroup.1.gz
share/man/man1/ldapdeletegroup.1.gz
share/man/man1/ldapdeletemachine.1.gz
share/man/man1/ldapdeleteuser.1.gz
share/man/man1/ldapdeleteuserfromgroup.1.gz
share/man/man1/ldapfinger.1.gz
share/man/man1/ldapgid.1.gz
share/man/man1/ldapid.1.gz
share/man/man1/ldapinit.1.gz
share/man/man1/ldapmodifygroup.1.gz
share/man/man1/ldapmodifymachine.1.gz
share/man/man1/ldapmodifyuser.1.gz
share/man/man1/ldaprenamegroup.1.gz
share/man/man1/ldaprenamemachine.1.gz
share/man/man1/ldaprenameuser.1.gz
share/man/man1/ldapsetpasswd.1.gz
share/man/man1/ldapsetprimarygroup.1.gz
share/man/man1/lsldap.1.gz
share/man/man5/ldapscripts.5.gz