svn commit: r429756 - in head/security/i2pd: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Dec 28 13:21:45 UTC 2016
Author: amdmi3
Date: Wed Dec 28 13:21:43 2016
New Revision: 429756
URL: https://svnweb.freebsd.org/changeset/ports/429756
Log:
- Add newsyslog config file
Added:
head/security/i2pd/files/i2pd.newsyslog.conf.in (contents, props changed)
Modified:
head/security/i2pd/Makefile
head/security/i2pd/pkg-plist
Modified: head/security/i2pd/Makefile
==============================================================================
--- head/security/i2pd/Makefile Wed Dec 28 13:20:55 2016 (r429755)
+++ head/security/i2pd/Makefile Wed Dec 28 13:21:43 2016 (r429756)
@@ -3,7 +3,7 @@
PORTNAME= i2pd
PORTVERSION= 2.11.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security net-p2p
MAINTAINER= amdmi3 at 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 (b
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
Added: head/security/i2pd/files/i2pd.newsyslog.conf.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/i2pd/files/i2pd.newsyslog.conf.in Wed Dec 28 13:21:43 2016 (r429756)
@@ -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
Modified: head/security/i2pd/pkg-plist
==============================================================================
--- head/security/i2pd/pkg-plist Wed Dec 28 13:20:55 2016 (r429755)
+++ head/security/i2pd/pkg-plist Wed Dec 28 13:21:43 2016 (r429756)
@@ -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
More information about the svn-ports-head
mailing list