From owner-svn-ports-head@freebsd.org Thu Jun 28 13:27:04 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E25FB10341C2; Thu, 28 Jun 2018 13:27:03 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D57E7BCF4; Thu, 28 Jun 2018 13:27:03 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E6B012C8B; Thu, 28 Jun 2018 13:27:03 +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 w5SDR3uP004287; Thu, 28 Jun 2018 13:27:03 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5SDR2Sg004283; Thu, 28 Jun 2018 13:27:02 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806281327.w5SDR2Sg004283@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 28 Jun 2018 13:27:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473495 - in head/security/i2pd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/security/i2pd: . files X-SVN-Commit-Revision: 473495 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 13:27:04 -0000 Author: amdmi3 Date: Thu Jun 28 13:27:02 2018 New Revision: 473495 URL: https://svnweb.freebsd.org/changeset/ports/473495 Log: - Update to 2.19.0 Added: head/security/i2pd/files/patch-build_CMakeLists.txt (contents, props changed) head/security/i2pd/files/patch-libi2pd_Crypto.h (contents, props changed) Modified: head/security/i2pd/Makefile head/security/i2pd/distinfo Modified: head/security/i2pd/Makefile ============================================================================== --- head/security/i2pd/Makefile Thu Jun 28 09:44:20 2018 (r473494) +++ head/security/i2pd/Makefile Thu Jun 28 13:27:02 2018 (r473495) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= i2pd -PORTVERSION= 2.18.0 -PORTREVISION= 2 +PORTVERSION= 2.19.0 CATEGORIES= security net-p2p MAINTAINER= amdmi3@FreeBSD.org Modified: head/security/i2pd/distinfo ============================================================================== --- head/security/i2pd/distinfo Thu Jun 28 09:44:20 2018 (r473494) +++ head/security/i2pd/distinfo Thu Jun 28 13:27:02 2018 (r473495) @@ -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 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 Thu Jun 28 13:27:02 2018 (r473495) @@ -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 () Added: head/security/i2pd/files/patch-libi2pd_Crypto.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/i2pd/files/patch-libi2pd_Crypto.h Thu Jun 28 13:27:02 2018 (r473495) @@ -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)