- Resolve socket permission issues

- Bump PORTREVISION

PR:		231278 [1]
Reported by:	Matthias Pfaller <matthias.pfaller@familie-pfaller.de> [1], Johan Hendriks <joh.hendriks@gmail.com>
This commit is contained in:
Ryan Steinmetz 2018-09-10 16:30:50 +00:00
parent 1c78d780ca
commit 308b1b9aaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479439
2 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= nss-pam-ldapd
PORTVERSION= 0.9.10
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://arthurdejong.org/nss-pam-ldapd/ \
ZI
@ -23,7 +24,8 @@ NSS_LDAP_SHMAJOR= 1
SUB_FILES+= pkg-message
NSLCD_PIDFILE?= /var/run/nslcd.pid
NSLCD_SOCKET?= /var/run/nslcd.ctl
NSLCD_VARDIR?= /var/run/nslcd
NSLCD_SOCKET?= ${NSLCD_VARDIR}/nslcd.ctl
OPTIONS_DEFINE= KERBEROS
OPTIONS_DEFAULT= KERBEROS
@ -65,7 +67,9 @@ PLIST_SUB+= CONFIG="${CONFIG_FILE}" \
PAM_LDAP_SHMAJOR="${PAM_LDAP_SHMAJOR}" \
NSS_LDAP_SHMAJOR="${NSS_LDAP_SHMAJOR}"
SUB_LIST+= CONFIG_FILE="${PREFIX}/etc/${CONFIG_FILE}" \
NSLCD_PIDFILE="${NSLCD_PIDFILE}"
NSLCD_PIDFILE="${NSLCD_PIDFILE}" \
NSLCD_VARDIR="${NSLCD_VARDIR}" \
USERS="${USERS}" GROUPS="${GROUPS}"
.if empty(PORT_OPTIONS:MKERBEROS)
CONFIGURE_ARGS+= --disable-kerberos

View File

@ -43,6 +43,7 @@ nslcd_prestart()
else
command_args="-f %%PREFIX%%/sbin/nslcd"
fi
install -d -o %%USERS%% -g %%GROUPS%% %%NSLCD_VARDIR%%
}
nslcd_start()