Index: net/ocserv/Makefile =================================================================== --- net/ocserv/Makefile (revision 440112) +++ net/ocserv/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= ocserv PORTVERSION= 0.11.7 +PORTREVISION= 1 CATEGORIES= net security MASTER_SITES= ftp://ftp.infradead.org/pub/ocserv/ @@ -41,6 +42,8 @@ USE_RC_SUBR= ocserv +PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" + OPTIONS_DEFINE= DOCS EXAMPLES GSSAPI PORTDOCS= AUTHORS ChangeLog NEWS README TODO @@ -54,8 +57,8 @@ @${RM} ${WRKSRC}/doc/*.8 post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv/ - @${MKDIR} ${STAGEDIR}/var/run/ocserv/ + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv + @${MKDIR} ${STAGEDIR}/var/run/ocserv ${INSTALL_DATA} ${FILESDIR}/ocserv.conf ${STAGEDIR}${PREFIX}/etc/ocserv/conf.sample post-install-DOCS-on: Index: net/ocserv/pkg-plist =================================================================== --- net/ocserv/pkg-plist (revision 440112) +++ net/ocserv/pkg-plist (working copy) @@ -6,4 +6,4 @@ man/man8/ocserv.8.gz @sample etc/ocserv/conf.sample sbin/ocserv -@dir /var/run/ocserv +@dir(%%USERS%%,%%GROUPS%%,0700) /var/run/ocserv