Date: Sat, 23 Jan 2016 13:13:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406977 - in head/security: . i2pd i2pd/files Message-ID: <201601231313.u0NDDFsI011835@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Jan 23 13:13:15 2016 New Revision: 406977 URL: https://svnweb.freebsd.org/changeset/ports/406977 Log: C++ implementation of I2P client WWW: http://i2pd.website/ Added: head/security/i2pd/ head/security/i2pd/Makefile (contents, props changed) head/security/i2pd/distinfo (contents, props changed) head/security/i2pd/files/ head/security/i2pd/files/patch-build_CMakeLists.txt (contents, props changed) head/security/i2pd/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Sat Jan 23 13:09:31 2016 (r406976) +++ head/security/Makefile Sat Jan 23 13:13:15 2016 (r406977) @@ -235,6 +235,7 @@ SUBDIR += httprint SUBDIR += hydra SUBDIR += i2p + SUBDIR += i2pd SUBDIR += iaikpkcs11wrapper SUBDIR += idea SUBDIR += identify Added: head/security/i2pd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/i2pd/Makefile Sat Jan 23 13:13:15 2016 (r406977) @@ -0,0 +1,49 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= i2pd +PORTVERSION= 2.3.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:${PORTSDIR}/devel/boost-libs + +BROKEN_FreeBSD_9= does not build + +USE_GITHUB= yes +GH_ACCOUNT= PurpleI2P + +USES= cmake compiler:c++11-lib +CMAKE_SOURCE_PATH=${WRKSRC}/build +USE_OPENSSL= yes + +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz +PORTDOCS= * + +OPTIONS_DEFINE= AESNI UPNP DOCS + +AESNI_DESC= Use AES-NI instructions set +AESNI_CMAKE_ON= -DWITH_AESNI=ON +AESNI_CMAKE_OFF=-DWITH_AESNI=OFF + +UPNP_DESC= Include support for UPnP client +UPNP_CMAKE_ON= -DWITH_UPNP=ON +UPNP_CMAKE_OFF= -DWITH_UPNP=OFF +UPNP_LIB_DEPENDS=libminiupnpc.so:${PORTSDIR}/net/miniupnpc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/configuration.md ${STAGEDIR}${DOCSDIR}/ + +.include <bsd.port.mk> Added: head/security/i2pd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/i2pd/distinfo Sat Jan 23 13:13:15 2016 (r406977) @@ -0,0 +1,2 @@ +SHA256 (PurpleI2P-i2pd-2.3.0_GH0.tar.gz) = 2397311cb10b04b843d136d9afe01b57f92bfaff72324cfa370f2d0fd74ae7dd +SIZE (PurpleI2P-i2pd-2.3.0_GH0.tar.gz) = 367391 Added: head/security/i2pd/files/patch-build_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/i2pd/files/patch-build_CMakeLists.txt Sat Jan 23 13:13:15 2016 (r406977) @@ -0,0 +1,35 @@ +--- build/CMakeLists.txt.orig 2016-01-12 15:14:22 UTC ++++ build/CMakeLists.txt +@@ -209,7 +209,7 @@ else() + endif () + + if (WITH_PCH) +- include_directories(${CMAKE_BINARY_DIR}) ++ include_directories( BEFORE ${CMAKE_BINARY_DIR}) + add_library(stdafx STATIC "${CMAKE_SOURCE_DIR}/stdafx.cpp") + if(MSVC) + target_compile_options(stdafx PRIVATE /Ycstdafx.h /Zm155) +@@ -246,11 +246,9 @@ if(NOT DEFINED OPENSSL_INCLUDE_DIR) + message(SEND_ERROR "Could not find OpenSSL. Please download and install it first!") + endif() + +-find_package ( MiniUPnPc ) +-if (MINIUPNPC_FOUND) +- include_directories( ${MINIUPNPC_INCLUDE_DIR} ) +-else () +- set(WITH_UPNP OFF) ++if (WITH_UPNP) ++ find_package ( MiniUPnPc REQUIRED ) ++ include_directories( SYSTEM ${MINIUPNPC_INCLUDE_DIR} ) + endif() + + find_package ( ZLIB ) +@@ -289,7 +287,7 @@ endif () + link_directories(${CMAKE_CURRENT_BINARY_DIR}/zlib/lib ${ZLIB_ROOT}/lib) + + # load includes +-include_directories( ${Boost_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ) ++include_directories( SYSTEM ${Boost_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ) + + # show summary + message(STATUS "---------------------------------------") Added: head/security/i2pd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/i2pd/pkg-descr Sat Jan 23 13:13:15 2016 (r406977) @@ -0,0 +1,3 @@ +C++ implementation of I2P client + +WWW: http://i2pd.website/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601231313.u0NDDFsI011835>