From owner-svn-ports-all@freebsd.org Sat Jan 23 13:13:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7023AA8CBF2; Sat, 23 Jan 2016 13:13:17 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30768175F; Sat, 23 Jan 2016 13:13:17 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0NDDGmr011841; Sat, 23 Jan 2016 13:13:16 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0NDDFsI011835; Sat, 23 Jan 2016 13:13:15 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601231313.u0NDDFsI011835@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 23 Jan 2016 13:13:15 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 13:13:17 -0000 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 +# $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 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/