Index: head/security/i2pd/Makefile =================================================================== --- head/security/i2pd/Makefile (revision 473494) +++ head/security/i2pd/Makefile (revision 473495) @@ -1,60 +1,59 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= i2pd -PORTVERSION= 2.18.0 -PORTREVISION= 2 +PORTVERSION= 2.19.0 CATEGORIES= security net-p2p MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ implementation of I2P client LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= PurpleI2P USES= cmake compiler:c++11-lib ssl CMAKE_ARGS= -DWITH_GUI=OFF CMAKE_SOURCE_PATH= ${WRKSRC}/build USE_RC_SUBR= ${PORTNAME} PORTDOCS= * USERS= _i2pd GROUPS= _i2pd PLIST_SUB= USER="${USERS}" GROUP="${GROUPS}" SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" SUB_FILES= i2pd.newsyslog.conf OPTIONS_DEFINE= AESNI AVX UPNP DOCS HARDENING AESNI_DESC= Use AES-NI instructions set AESNI_CMAKE_BOOL= WITH_AESNI AVX_DESC= Use AVX instructions AVX_CMAKE_BOOL= WITH_AVX UPNP_DESC= Include support for UPnP client UPNP_CMAKE_BOOL= WITH_UPNP UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc UPNP_DESC= Include support for UPnP client HARDENING_CMAKE_BOOL= WITH_HARDENING HARDENING_DESC= Use hardening compiler flags 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 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include Index: head/security/i2pd/distinfo =================================================================== --- head/security/i2pd/distinfo (revision 473494) +++ head/security/i2pd/distinfo (revision 473495) @@ -1,3 +1,3 @@ -TIMESTAMP = 1518621300 -SHA256 (PurpleI2P-i2pd-2.18.0_GH0.tar.gz) = 8834190418de0c4e56c46eb8b9dc4422ef14f1ad7d6591e9daae99493bf7170e -SIZE (PurpleI2P-i2pd-2.18.0_GH0.tar.gz) = 1868440 +TIMESTAMP = 1530109716 +SHA256 (PurpleI2P-i2pd-2.19.0_GH0.tar.gz) = 7202497ffc3db632d0f7fed93eafaf39aa75efea199705dae7d022249b069eb9 +SIZE (PurpleI2P-i2pd-2.19.0_GH0.tar.gz) = 1982459 Index: head/security/i2pd/files/patch-build_CMakeLists.txt =================================================================== --- head/security/i2pd/files/patch-build_CMakeLists.txt (nonexistent) +++ head/security/i2pd/files/patch-build_CMakeLists.txt (revision 473495) @@ -0,0 +1,15 @@ +--- build/CMakeLists.txt.orig 2018-06-26 17:46:01 UTC ++++ build/CMakeLists.txt +@@ -202,9 +202,11 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" + endif () + elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + # more tweaks +- if (NOT (MSVC OR MSYS OR APPLE)) ++ if (LINUX) + set (CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -stdlib=libstdc++" ) # required for + list(APPEND CMAKE_REQUIRED_LIBRARIES "stdc++") # required to link with -stdlib=libstdc++ ++ endif() ++ if (NOT (MSVC OR MSYS OR APPLE)) + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-const-variable -Wno-overloaded-virtual -Wno-c99-extensions" ) + endif() + endif () Property changes on: head/security/i2pd/files/patch-build_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/i2pd/files/patch-libi2pd_Crypto.h =================================================================== --- head/security/i2pd/files/patch-libi2pd_Crypto.h (nonexistent) +++ head/security/i2pd/files/patch-libi2pd_Crypto.h (revision 473495) @@ -0,0 +1,24 @@ +commit 4ffbb46cf9c63dfddc062771a9bb29a5d50524af +Author: Dmitry Marakasov +Date: Wed Jun 27 22:31:01 2018 +0300 + + Fix "macro expansion producing 'defined' has undefined behavior" clang warning + +diff --git libi2pd/Crypto.h libi2pd/Crypto.h +index fe0fcddf..43f1def9 100644 +--- libi2pd/Crypto.h ++++ libi2pd/Crypto.h +@@ -262,7 +262,12 @@ namespace crypto + + // take care about openssl version + #include +-#define LEGACY_OPENSSL ((OPENSSL_VERSION_NUMBER < 0x010100000) || defined(LIBRESSL_VERSION_NUMBER)) // 1.0.2 and below or LibreSSL ++#if ((OPENSSL_VERSION_NUMBER < 0x010100000) || defined(LIBRESSL_VERSION_NUMBER)) // 1.0.2 and below or LibreSSL ++# define LEGACY_OPENSSL 1 ++#else ++# define LEGACY_OPENSSL 0 ++#endif ++ + #if LEGACY_OPENSSL + // define getters and setters introduced in 1.1.0 + inline int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g) Property changes on: head/security/i2pd/files/patch-libi2pd_Crypto.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property