aboutsummaryrefslogtreecommitdiffstats
path: root/security/i2pd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/i2pd/Makefile')
-rw-r--r--security/i2pd/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/security/i2pd/Makefile b/security/i2pd/Makefile
index 7d7be443f945..129365c5acc3 100644
--- a/security/i2pd/Makefile
+++ b/security/i2pd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= i2pd
PORTVERSION= 2.11.0
+PORTREVISION= 1
CATEGORIES= security net-p2p
MAINTAINER= amdmi3@FreeBSD.org
@@ -21,11 +22,16 @@ GH_ACCOUNT= PurpleI2P
USES= cmake compiler:c++11-lib ssl
CMAKE_SOURCE_PATH=${WRKSRC}/build
+USE_RC_SUBR= ${PORTNAME}
-PLIST_FILES= bin/${PORTNAME} \
- man/man1/${PORTNAME}.1.gz
PORTDOCS= *
+USERS= _i2pd
+GROUPS= _i2pd
+
+PLIST_SUB= USER="${USERS}" GROUP="${GROUPS}"
+SUB_LIST= USER="${USERS}" GROUP="${GROUPS}"
+
OPTIONS_DEFINE= AESNI UPNP DOCS
AESNI_DESC= Use AES-NI instructions set
@@ -37,12 +43,15 @@ UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT:Mlibressl*}
-BROKEN= does not build with LibreSSL (unsupported DSA_set0_pqg(), DSA_set0_key())
+BROKEN= does not build with LibreSSL (boost libressl compatibility problems)
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}/var/run/i2pd
+ @${MKDIR} ${STAGEDIR}/var/log/i2pd
+ @${MKDIR} ${STAGEDIR}/var/db/i2pd
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}