diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-28 21:21:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-28 21:21:43 +0800 |
commit | d347b918090cd5e78d04fc374b33cbaa1c705932 (patch) | |
tree | 5e654860ef8716ea4e3cb1054de817623a38a614 /security | |
parent | 1b97a51d7939599da3fe1ae9333c0ff6bf403abd (diff) | |
download | freebsd-ports-gnome-d347b918090cd5e78d04fc374b33cbaa1c705932.tar.gz freebsd-ports-gnome-d347b918090cd5e78d04fc374b33cbaa1c705932.tar.zst freebsd-ports-gnome-d347b918090cd5e78d04fc374b33cbaa1c705932.zip |
- Add newsyslog config file
Diffstat (limited to 'security')
-rw-r--r-- | security/i2pd/Makefile | 5 | ||||
-rw-r--r-- | security/i2pd/files/i2pd.newsyslog.conf.in | 2 | ||||
-rw-r--r-- | security/i2pd/pkg-plist | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/security/i2pd/Makefile b/security/i2pd/Makefile index 396075a0357e..1f34f6b03fa1 100644 --- a/security/i2pd/Makefile +++ b/security/i2pd/Makefile @@ -3,7 +3,7 @@ PORTNAME= i2pd PORTVERSION= 2.11.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security net-p2p MAINTAINER= amdmi3@FreeBSD.org @@ -31,6 +31,7 @@ GROUPS= _i2pd PLIST_SUB= USER="${USERS}" GROUP="${GROUPS}" SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" +SUB_FILES= i2pd.newsyslog.conf OPTIONS_DEFINE= AESNI UPNP DOCS @@ -49,6 +50,8 @@ BROKEN= does not build with LibreSSL (boost libressl compatibility problems) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d + ${INSTALL_DATA} ${WRKDIR}/i2pd.newsyslog.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/i2pd.conf @${MKDIR} ${STAGEDIR}/var/run/i2pd @${MKDIR} ${STAGEDIR}/var/log/i2pd @${MKDIR} ${STAGEDIR}/var/db/i2pd diff --git a/security/i2pd/files/i2pd.newsyslog.conf.in b/security/i2pd/files/i2pd.newsyslog.conf.in new file mode 100644 index 000000000000..b2393a898e10 --- /dev/null +++ b/security/i2pd/files/i2pd.newsyslog.conf.in @@ -0,0 +1,2 @@ +# logfilename owner:group mode count size when flags pid_file sig_num +/var/log/i2pd/i2pd.log %%USER%%:%%GROUP%% 644 7 100 * J /var/run/i2pd/i2pd.pid 1 diff --git a/security/i2pd/pkg-plist b/security/i2pd/pkg-plist index cee74152b5bd..206910373a4a 100644 --- a/security/i2pd/pkg-plist +++ b/security/i2pd/pkg-plist @@ -1,4 +1,5 @@ bin/i2pd +etc/newsyslog.conf.d/i2pd.conf man/man1/i2pd.1.gz @dir(%%USER%%,%%GROUP%%,755) /var/run/i2pd @dir(%%USER%%,%%GROUP%%,755) /var/log/i2pd |