aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-23 17:46:40 +0800
committerbapt <bapt@FreeBSD.org>2014-09-23 17:46:40 +0800
commit21907c163989344a31907ba53d7f59dedfa3ca4d (patch)
treedec6b8204f7b440be46f532b2068fdbafa2ab982 /security
parent96ce901d8735692c1c6e40b2f16b56498eee4d4d (diff)
downloadfreebsd-ports-gnome-21907c163989344a31907ba53d7f59dedfa3ca4d.tar.gz
freebsd-ports-gnome-21907c163989344a31907ba53d7f59dedfa3ca4d.tar.zst
freebsd-ports-gnome-21907c163989344a31907ba53d7f59dedfa3ca4d.zip
Simplify plist
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile2
-rw-r--r--security/cyrus-sasl2-saslauthd/pkg-plist10
2 files changed, 3 insertions, 9 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 6f13cf0187dc..d0124cda54fa 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -115,6 +115,8 @@ post-install:
@${ECHO_MSG} "SASLAUTHD_RUNPATH was specified."
@${ECHO_MSG} "Make sure you create ${SASLAUTHD_RUNPATH}."
@${ECHO_MSG} ""
+.else
+ @${MKDIR} ${STAGEDIR}/var/run/saslauthd
.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/saslauthd
diff --git a/security/cyrus-sasl2-saslauthd/pkg-plist b/security/cyrus-sasl2-saslauthd/pkg-plist
index 140a8c1c151d..ab501acef1cf 100644
--- a/security/cyrus-sasl2-saslauthd/pkg-plist
+++ b/security/cyrus-sasl2-saslauthd/pkg-plist
@@ -9,12 +9,4 @@ sbin/testsaslauthd
%%PORTDOCS%%%%DOCSDIR%%/saslauthd/LDAP_SASLAUTHD
%%PORTDOCS%%%%DOCSDIR%%/saslauthd/NEWS
%%PORTDOCS%%%%DOCSDIR%%/saslauthd/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/saslauthd
-%%RUNPATH%%@mode ug=rwx,o=
-%%RUNPATH%%@exec mkdir -p /var/run/saslauthd
-%%RUNPATH%%@exec chown -R cyrus:mail /var/run/saslauthd
-%%RUNPATH%%@exec chmod -R ug=rwx,o= /var/run/saslauthd
-%%RUNPATH%%@comment This file gets created by the run/saslauthd program
-%%RUNPATH%%@unexec rm -fr /var/run/saslauthd
-%%RUNPATH%%@mode
-@cwd %%PREFIX%%
+%%RUNPATH%%@dir(cyrus,mail,750) /var/run/saslauthd