From owner-svn-ports-all@freebsd.org Mon Sep 10 16:30:51 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 956D91094D21; Mon, 10 Sep 2018 16:30:51 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B93689CA3; Mon, 10 Sep 2018 16:30:51 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4681F2D16; Mon, 10 Sep 2018 16:30:51 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8AGUpfB075328; Mon, 10 Sep 2018 16:30:51 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8AGUoNF075325; Mon, 10 Sep 2018 16:30:50 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201809101630.w8AGUoNF075325@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Mon, 10 Sep 2018 16:30:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479439 - in head/net/nss-pam-ldapd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/net/nss-pam-ldapd: . files X-SVN-Commit-Revision: 479439 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 16:30:51 -0000 Author: zi Date: Mon Sep 10 16:30:50 2018 New Revision: 479439 URL: https://svnweb.freebsd.org/changeset/ports/479439 Log: - Resolve socket permission issues - Bump PORTREVISION PR: 231278 [1] Reported by: Matthias Pfaller [1], Johan Hendriks Modified: head/net/nss-pam-ldapd/Makefile head/net/nss-pam-ldapd/files/nslcd.in Modified: head/net/nss-pam-ldapd/Makefile ============================================================================== --- head/net/nss-pam-ldapd/Makefile Mon Sep 10 16:07:16 2018 (r479438) +++ head/net/nss-pam-ldapd/Makefile Mon Sep 10 16:30:50 2018 (r479439) @@ -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 Modified: head/net/nss-pam-ldapd/files/nslcd.in ============================================================================== --- head/net/nss-pam-ldapd/files/nslcd.in Mon Sep 10 16:07:16 2018 (r479438) +++ head/net/nss-pam-ldapd/files/nslcd.in Mon Sep 10 16:30:50 2018 (r479439) @@ -43,6 +43,7 @@ nslcd_prestart() else command_args="-f %%PREFIX%%/sbin/nslcd" fi + install -d -o %%USERS%% -g %%GROUPS%% %%NSLCD_VARDIR%% } nslcd_start()