- Fix ownership and permissions in /var/run/ocserv

- Bump PORTREVISION

PR:		219054
Reported by:	Joy <amutu@amutu.com>
This commit is contained in:
Carlos J. Puga Medina 2017-05-05 10:08:34 +00:00
parent ff4de556ac
commit 44dbc20d62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440146
2 changed files with 6 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= ocserv PORTNAME= ocserv
PORTVERSION= 0.11.7 PORTVERSION= 0.11.7
PORTREVISION= 1
CATEGORIES= net security CATEGORIES= net security
MASTER_SITES= ftp://ftp.infradead.org/pub/ocserv/ MASTER_SITES= ftp://ftp.infradead.org/pub/ocserv/
@ -41,6 +42,8 @@ GROUPS= _ocserv
USE_RC_SUBR= ocserv USE_RC_SUBR= ocserv
PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}"
OPTIONS_DEFINE= DOCS EXAMPLES GSSAPI OPTIONS_DEFINE= DOCS EXAMPLES GSSAPI
PORTDOCS= AUTHORS ChangeLog NEWS README TODO PORTDOCS= AUTHORS ChangeLog NEWS README TODO
@ -54,8 +57,8 @@ post-patch:
@${RM} ${WRKSRC}/doc/*.8 @${RM} ${WRKSRC}/doc/*.8
post-install: post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv/ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/ocserv
@${MKDIR} ${STAGEDIR}/var/run/ocserv/ @${MKDIR} ${STAGEDIR}/var/run/ocserv
${INSTALL_DATA} ${FILESDIR}/ocserv.conf ${STAGEDIR}${PREFIX}/etc/ocserv/conf.sample ${INSTALL_DATA} ${FILESDIR}/ocserv.conf ${STAGEDIR}${PREFIX}/etc/ocserv/conf.sample
post-install-DOCS-on: post-install-DOCS-on:

View file

@ -6,4 +6,4 @@ man/man8/ocpasswd.8.gz
man/man8/ocserv.8.gz man/man8/ocserv.8.gz
@sample etc/ocserv/conf.sample @sample etc/ocserv/conf.sample
sbin/ocserv sbin/ocserv
@dir /var/run/ocserv @dir(%%USERS%%,%%GROUPS%%,750) /var/run/ocserv