[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/

2017-02-16 Thread Anthony G. Basile
commit: 00db52da06b79f653b474126516ee3cb921ca73c
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed Feb 15 19:09:38 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Feb 16 10:01:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00db52da

net-misc/i2pd: remove old

 net-misc/i2pd/Manifest  |  5 --
 net-misc/i2pd/files/i2pd-2.9.0-static.patch | 25 
 net-misc/i2pd/i2pd-2.10.0.ebuild| 99 -
 net-misc/i2pd/i2pd-2.10.1.ebuild| 99 -
 net-misc/i2pd/i2pd-2.10.2.ebuild| 99 -
 net-misc/i2pd/i2pd-2.8.0.ebuild | 99 -
 net-misc/i2pd/i2pd-2.9.0-r1.ebuild  | 97 
 7 files changed, 523 deletions(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index e1b308e491..b322a15a60 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,7 +1,2 @@
-DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 
61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe
 WHIRLPOOL 
10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
-DIST i2pd-2.10.1.tar.gz 2993590 SHA256 
84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 
0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eaa9ca3a
 WHIRLPOOL 
d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c29077b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
-DIST i2pd-2.10.2.tar.gz 3090874 SHA256 
9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b SHA512 
5bdce54eccdf92ed46cbef3e29c3f8750755042a4060361831a9239929d04c055848f2ea5263686eca849dbae55bb52342d96008fb61b04fd1883f21a94c425a
 WHIRLPOOL 
7f92f68232ee29ca194a05cc15249674345d1a9a32fd57fd9b49f8ec318383f9345c54319ec78bed407251f9ada4052057f867a40353189234da9f9a56b8
 DIST i2pd-2.11.0.tar.gz 3091516 SHA256 
4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db SHA512 
c4964c23f6852e6ce225de6f6f03ce4e5c52a6ec2b925b82c01be574b14196112079ada5864b10f353c3dd385645db550d5ce290647b6d980225a79c64f19ddb
 WHIRLPOOL 
f2a4c42ad2df09188b5be8fad23f7f2ec2080e17b980b55c1647c13499c6b3cce88d6e9c2fbfd34bf8783a0b52c15659775351835ae181e58357c455ebb1dea1
 DIST i2pd-2.12.0.tar.gz 3150471 SHA256 
afb763aea2a4f4b51e327352d5da82ec08e84735d28db9af7710563a117fc648 SHA512 
70b6143e713d43e24b780239aed899fb17d6224ef053020c738369ca110241e4624ae5c69b04a75a037b68094d3030be5296509ff699905ef7c175447d093232
 WHIRLPOOL 
8b5fb9a5123ce700a646de72a81e476b3545ad62f4bb8d143438bc1e1b6393b381e13224b3d538fa063d24b732588df5b3abe9b2d5485473d83038f01d296b4e
-DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
-DIST i2pd-2.9.0.tar.gz 2967757 SHA256 
48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 
6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9
 WHIRLPOOL 
3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7

diff --git a/net-misc/i2pd/files/i2pd-2.9.0-static.patch 
b/net-misc/i2pd/files/i2pd-2.9.0-static.patch
deleted file mode 100644
index c525db71b9..00
--- a/net-misc/i2pd/files/i2pd-2.9.0-static.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 2e74d91ddc1a776692dd7398e0126a6bd1f2a92a Mon Sep 17 00:00:00 2001
-From: Jeff Becker 
-Date: Tue, 16 Aug 2016 10:25:56 -0400
-Subject: [PATCH] try fixing https://github.com/PurpleI2P/i2pd/issues/612
-

- build/CMakeLists.txt | 5 -
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
-index 7f9b8c6..99d6a5a 100644
 a/build/CMakeLists.txt
-+++ b/build/CMakeLists.txt
-@@ -369,7 +369,10 @@ if (WITH_BINARY)
-   if (MSYS OR MINGW)
- set (MINGW_EXTRA -lws2_32 -lmswsock -liphlpapi )
-   endif ()
--  target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} 
${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} 
${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} )
-+  if (WITH_STATIC)
-+set(DL_LIB ${CMAKE_DL_LIBS})
-+  endif()
-+  target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} 
${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} 
${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ${DL_LIB})
- 
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2017-02-16 Thread Anthony G. Basile
commit: 06c3fd0fb0b574f30379c0b14fccb3f5eaad5749
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed Feb 15 19:04:36 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Feb 16 10:01:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c3fd0f

net-misc/i2pd: version bump 2.12.0

 net-misc/i2pd/Manifest   |  1 +
 net-misc/i2pd/i2pd-2.12.0.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index a8622c9450..e1b308e491 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -2,5 +2,6 @@ DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43a
 DIST i2pd-2.10.1.tar.gz 2993590 SHA256 
84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 
0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eaa9ca3a
 WHIRLPOOL 
d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c29077b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
 DIST i2pd-2.10.2.tar.gz 3090874 SHA256 
9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b SHA512 
5bdce54eccdf92ed46cbef3e29c3f8750755042a4060361831a9239929d04c055848f2ea5263686eca849dbae55bb52342d96008fb61b04fd1883f21a94c425a
 WHIRLPOOL 
7f92f68232ee29ca194a05cc15249674345d1a9a32fd57fd9b49f8ec318383f9345c54319ec78bed407251f9ada4052057f867a40353189234da9f9a56b8
 DIST i2pd-2.11.0.tar.gz 3091516 SHA256 
4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db SHA512 
c4964c23f6852e6ce225de6f6f03ce4e5c52a6ec2b925b82c01be574b14196112079ada5864b10f353c3dd385645db550d5ce290647b6d980225a79c64f19ddb
 WHIRLPOOL 
f2a4c42ad2df09188b5be8fad23f7f2ec2080e17b980b55c1647c13499c6b3cce88d6e9c2fbfd34bf8783a0b52c15659775351835ae181e58357c455ebb1dea1
+DIST i2pd-2.12.0.tar.gz 3150471 SHA256 
afb763aea2a4f4b51e327352d5da82ec08e84735d28db9af7710563a117fc648 SHA512 
70b6143e713d43e24b780239aed899fb17d6224ef053020c738369ca110241e4624ae5c69b04a75a037b68094d3030be5296509ff699905ef7c175447d093232
 WHIRLPOOL 
8b5fb9a5123ce700a646de72a81e476b3545ad62f4bb8d143438bc1e1b6393b381e13224b3d538fa063d24b732588df5b3abe9b2d5485473d83038f01d296b4e
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
 DIST i2pd-2.9.0.tar.gz 2967757 SHA256 
48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 
6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9
 WHIRLPOOL 
3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7

diff --git a/net-misc/i2pd/i2pd-2.12.0.ebuild b/net-misc/i2pd/i2pd-2.12.0.ebuild
new file mode 100644
index 00..6a8a0a1024
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.12.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   !libressl? ( dev-libs/openssl:0[-bindist] )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+  

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-12-20 Thread Anthony G. Basile
commit: fcb1ce4081e3c05e8d53a2f3e4191861cce4034d
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Mon Dec 19 13:30:08 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Dec 20 19:08:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb1ce40

net-misc/i2pd: version bump 2.11.0

 net-misc/i2pd/Manifest   |  1 +
 net-misc/i2pd/i2pd-2.11.0.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 6aa2b3f..a8622c9 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,5 +1,6 @@
 DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 
61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe
 WHIRLPOOL 
10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
 DIST i2pd-2.10.1.tar.gz 2993590 SHA256 
84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 
0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eaa9ca3a
 WHIRLPOOL 
d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c29077b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
 DIST i2pd-2.10.2.tar.gz 3090874 SHA256 
9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b SHA512 
5bdce54eccdf92ed46cbef3e29c3f8750755042a4060361831a9239929d04c055848f2ea5263686eca849dbae55bb52342d96008fb61b04fd1883f21a94c425a
 WHIRLPOOL 
7f92f68232ee29ca194a05cc15249674345d1a9a32fd57fd9b49f8ec318383f9345c54319ec78bed407251f9ada4052057f867a40353189234da9f9a56b8
+DIST i2pd-2.11.0.tar.gz 3091516 SHA256 
4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db SHA512 
c4964c23f6852e6ce225de6f6f03ce4e5c52a6ec2b925b82c01be574b14196112079ada5864b10f353c3dd385645db550d5ce290647b6d980225a79c64f19ddb
 WHIRLPOOL 
f2a4c42ad2df09188b5be8fad23f7f2ec2080e17b980b55c1647c13499c6b3cce88d6e9c2fbfd34bf8783a0b52c15659775351835ae181e58357c455ebb1dea1
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
 DIST i2pd-2.9.0.tar.gz 2967757 SHA256 
48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 
6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9
 WHIRLPOOL 
3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7

diff --git a/net-misc/i2pd/i2pd-2.11.0.ebuild b/net-misc/i2pd/i2pd-2.11.0.ebuild
new file mode 100644
index ..6a8a0a1
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.11.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   !libressl? ( dev-libs/openssl:0[-bindist] )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-12-20 Thread Anthony G. Basile
commit: b02e839d9347b65f6ce69ff39acefa7710874d1c
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed Dec  7 14:13:50 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Dec 20 19:08:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02e839d

net-misc/i2pd: version bump 2.10.2

 net-misc/i2pd/Manifest   |  1 +
 net-misc/i2pd/i2pd-2.10.2.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 099e166..6aa2b3f 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,4 +1,5 @@
 DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 
61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe
 WHIRLPOOL 
10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
 DIST i2pd-2.10.1.tar.gz 2993590 SHA256 
84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 
0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eaa9ca3a
 WHIRLPOOL 
d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c29077b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
+DIST i2pd-2.10.2.tar.gz 3090874 SHA256 
9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b SHA512 
5bdce54eccdf92ed46cbef3e29c3f8750755042a4060361831a9239929d04c055848f2ea5263686eca849dbae55bb52342d96008fb61b04fd1883f21a94c425a
 WHIRLPOOL 
7f92f68232ee29ca194a05cc15249674345d1a9a32fd57fd9b49f8ec318383f9345c54319ec78bed407251f9ada4052057f867a40353189234da9f9a56b8
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
 DIST i2pd-2.9.0.tar.gz 2967757 SHA256 
48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 
6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9
 WHIRLPOOL 
3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7

diff --git a/net-misc/i2pd/i2pd-2.10.2.ebuild b/net-misc/i2pd/i2pd-2.10.2.ebuild
new file mode 100644
index ..6a8a0a1
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.10.2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   !libressl? ( dev-libs/openssl:0[-bindist] )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins docs/tunnels.conf
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf
+
+   # working directory
+   keepdir /var/lib/i2pd

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-11-20 Thread Anthony G. Basile
commit: a4d7910f284a111acb1c948ab55190370403979b
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Nov 20 15:14:09 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Nov 20 15:36:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d7910f

net-misc/i2pd: require openssl[-bindist]

 net-misc/i2pd/i2pd-2.10.0.ebuild   | 4 ++--
 net-misc/i2pd/i2pd-2.10.1.ebuild   | 4 ++--
 net-misc/i2pd/i2pd-2.8.0.ebuild| 4 ++--
 net-misc/i2pd/i2pd-2.9.0-r1.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.10.0.ebuild b/net-misc/i2pd/i2pd-2.10.0.ebuild
index 2969a0d..6a8a0a1 100644
--- a/net-misc/i2pd/i2pd-2.10.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.10.0.ebuild
@@ -14,13 +14,13 @@ KEYWORDS="~amd64 ~arm ~x86"
 IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
 
 RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
-   !libressl? ( dev-libs/openssl:0 )
+   !libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl )
upnp? ( net-libs/miniupnpc )
)"
 DEPEND="${RDEPEND}
static? ( >=dev-libs/boost-1.49[static-libs,threads]
-   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   !libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] )
upnp? ( net-libs/miniupnpc[static-libs] ) )
i2p-hardening? ( >=sys-devel/gcc-4.7 )

diff --git a/net-misc/i2pd/i2pd-2.10.1.ebuild b/net-misc/i2pd/i2pd-2.10.1.ebuild
index 2969a0d..6a8a0a1 100644
--- a/net-misc/i2pd/i2pd-2.10.1.ebuild
+++ b/net-misc/i2pd/i2pd-2.10.1.ebuild
@@ -14,13 +14,13 @@ KEYWORDS="~amd64 ~arm ~x86"
 IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
 
 RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
-   !libressl? ( dev-libs/openssl:0 )
+   !libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl )
upnp? ( net-libs/miniupnpc )
)"
 DEPEND="${RDEPEND}
static? ( >=dev-libs/boost-1.49[static-libs,threads]
-   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   !libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] )
upnp? ( net-libs/miniupnpc[static-libs] ) )
i2p-hardening? ( >=sys-devel/gcc-4.7 )

diff --git a/net-misc/i2pd/i2pd-2.8.0.ebuild b/net-misc/i2pd/i2pd-2.8.0.ebuild
index 55adfa5..3120cce 100644
--- a/net-misc/i2pd/i2pd-2.8.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.8.0.ebuild
@@ -15,14 +15,14 @@ IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static 
+upnp"
 
 RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
dev-libs/crypto++
-   !libressl? ( dev-libs/openssl:0 )
+   !libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl )
upnp? ( net-libs/miniupnpc )
)"
 DEPEND="${RDEPEND}
static? ( >=dev-libs/boost-1.49[static-libs,threads]
dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   !libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] )
upnp? ( net-libs/miniupnpc[static-libs] ) )
i2p-hardening? ( >=sys-devel/gcc-4.7 )

diff --git a/net-misc/i2pd/i2pd-2.9.0-r1.ebuild 
b/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
index a864fb5..a1fff4b 100644
--- a/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
+++ b/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
@@ -15,14 +15,14 @@ IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static 
+upnp"
 
 RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
dev-libs/crypto++
-   !libressl? ( dev-libs/openssl:0 )
+   !libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl )
upnp? ( net-libs/miniupnpc )
)"
 DEPEND="${RDEPEND}
static? ( >=dev-libs/boost-1.49[static-libs,threads]
dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   !libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] )
upnp? ( net-libs/miniupnpc[static-libs] ) )
i2p-hardening? ( >=sys-devel/gcc-4.7 )



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-11-08 Thread Anthony G. Basile
commit: 653ae334b1c3c189abcd32ec8ca47d3145a46469
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Nov  8 11:16:06 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Nov  9 03:40:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653ae334

net-misc/i2pd: remove old

 net-misc/i2pd/Manifest |  2 -
 net-misc/i2pd/i2pd-2.6.0-r3.ebuild | 99 --
 net-misc/i2pd/i2pd-2.7.0.ebuild| 99 --
 3 files changed, 200 deletions(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index b1d6e4c..099e166 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,6 +1,4 @@
 DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 
61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe
 WHIRLPOOL 
10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
 DIST i2pd-2.10.1.tar.gz 2993590 SHA256 
84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 
0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eaa9ca3a
 WHIRLPOOL 
d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c29077b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
-DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
-DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
 DIST i2pd-2.9.0.tar.gz 2967757 SHA256 
48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 
6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9
 WHIRLPOOL 
3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
deleted file mode 100644
index 55adfa5..
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit eutils systemd user cmake-utils
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PurpleI2P/i2pd;
-SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
-   dev-libs/crypto++
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( dev-libs/libressl )
-   upnp? ( net-libs/miniupnpc )
-   )"
-DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.49[static-libs,threads]
-   dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
-   libressl? ( dev-libs/libressl[static-libs] )
-   upnp? ( net-libs/miniupnpc[static-libs] ) )
-   i2p-hardening? ( >=sys-devel/gcc-4.7 )
-   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
-
-I2PD_USER=i2pd
-I2PD_GROUP=i2pd
-
-CMAKE_USE_DIR="${S}/build"
-
-DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
-
-src_prepare() {
-   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
-   eapply_user
-}
-
-src_configure() {
-   mycmakeargs=(
-   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
-   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
-   -DWITH_PCH=$(usex pch ON OFF)
-   -DWITH_STATIC=$(usex static ON OFF)
-   -DWITH_UPNP=$(usex 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-11-08 Thread Anthony G. Basile
commit: 7acd663d2ca50f74cf5b55c47494d6291e832cb8
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Nov  8 17:02:43 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Nov  9 03:40:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7acd663d

net-misc/i2pd: ROOT -> EROOT

 net-misc/i2pd/i2pd-2.10.0.ebuild | 2 +-
 net-misc/i2pd/i2pd-2.10.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.10.0.ebuild b/net-misc/i2pd/i2pd-2.10.0.ebuild
index 97bb971..2969a0d 100644
--- a/net-misc/i2pd/i2pd-2.10.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.10.0.ebuild
@@ -90,7 +90,7 @@ pkg_setup() {
 }
 
 pkg_postinst() {
-   if [[ -f ${ROOT}etc/i2pd/subscriptions.txt ]]; then
+   if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
ewarn
ewarn "Configuration of the subscriptions has been moved from"
ewarn "subscriptions.txt to i2pd.conf. We recommend updating"

diff --git a/net-misc/i2pd/i2pd-2.10.1.ebuild b/net-misc/i2pd/i2pd-2.10.1.ebuild
index 97bb971..2969a0d 100644
--- a/net-misc/i2pd/i2pd-2.10.1.ebuild
+++ b/net-misc/i2pd/i2pd-2.10.1.ebuild
@@ -90,7 +90,7 @@ pkg_setup() {
 }
 
 pkg_postinst() {
-   if [[ -f ${ROOT}etc/i2pd/subscriptions.txt ]]; then
+   if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
ewarn
ewarn "Configuration of the subscriptions has been moved from"
ewarn "subscriptions.txt to i2pd.conf. We recommend updating"



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-11-08 Thread Anthony G. Basile
commit: 2d7878b002d3fd28a8c1b4c885bc6144df6f8cb1
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Nov  8 11:15:37 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Nov  9 03:40:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7878b0

net-misc/i2pd: version bump 2.10.1

 net-misc/i2pd/Manifest   |  1 +
 net-misc/i2pd/i2pd-2.10.1.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 94b57b2..b1d6e4c 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,4 +1,5 @@
 DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 
61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe
 WHIRLPOOL 
10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
+DIST i2pd-2.10.1.tar.gz 2993590 SHA256 
84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 
0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eaa9ca3a
 WHIRLPOOL 
d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c29077b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
 DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838

diff --git a/net-misc/i2pd/i2pd-2.10.1.ebuild b/net-misc/i2pd/i2pd-2.10.1.ebuild
new file mode 100644
index ..97bb971
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.10.1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins docs/tunnels.conf
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf
+
+   # working directory
+   keepdir /var/lib/i2pd
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-10-18 Thread Anthony G. Basile
commit: 558df88719cfa4f68e075b2bef8e3f3ff7b4d455
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Oct 18 21:34:52 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 18 21:35:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558df887

net-misc/i2pd: fix Manifest, bug #597426

Package-Manager: portage-2.2.28

 net-misc/i2pd/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index c756e81..94b57b2 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,4 +1,4 @@
-DIST i2pd-2.10.0.tar.gz 2985578 SHA256 
20dd48b82b73147d1de8cacaf3c2c3eb40ed15331b3c29d2f63fc3979555f772 SHA512 
52877211e28b3d9ecd431116b73855a7b2064bd5c0e432248b1d45cf87b8e3ea3c8d304d8c91befd873312d3b9b99d1033c28655f8ad663a50c8af1a8a4b994a
 WHIRLPOOL 
eff0c62e18e8587ca7829cf00881447e59aa1189082db7652219cd6a6c16f646e1fde6248f9b3a9d49e71f0bdce6669b3f34da62c2b3e1934f40b4702777a1f5
+DIST i2pd-2.10.0.tar.gz 2985581 SHA256 
614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 
61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe
 WHIRLPOOL 
10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
 DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-10-17 Thread Anthony G. Basile
commit: 7e11c19cf926b8deea61ef81ee88ef17e35e9e26
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Mon Oct 17 15:55:45 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Oct 17 23:24:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e11c19c

net-misc/i2pd: update license

 net-misc/i2pd/i2pd-2.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/i2pd/i2pd-2.10.0.ebuild b/net-misc/i2pd/i2pd-2.10.0.ebuild
index 8e84f9a..97bb971 100644
--- a/net-misc/i2pd/i2pd-2.10.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.10.0.ebuild
@@ -8,7 +8,7 @@ inherit eutils systemd user cmake-utils
 DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
 HOMEPAGE="https://github.com/PurpleI2P/i2pd;
 SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-10-17 Thread Anthony G. Basile
commit: 70c231e8a5432811796b1772ca3f39a29992c54c
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Mon Oct 17 13:17:24 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Oct 17 23:24:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c231e8

net-misc/i2pd: version bump 2.10.0

 net-misc/i2pd/Manifest   |  1 +
 net-misc/i2pd/i2pd-2.10.0.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 93b87b0..c756e81 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,3 +1,4 @@
+DIST i2pd-2.10.0.tar.gz 2985578 SHA256 
20dd48b82b73147d1de8cacaf3c2c3eb40ed15331b3c29d2f63fc3979555f772 SHA512 
52877211e28b3d9ecd431116b73855a7b2064bd5c0e432248b1d45cf87b8e3ea3c8d304d8c91befd873312d3b9b99d1033c28655f8ad663a50c8af1a8a4b994a
 WHIRLPOOL 
eff0c62e18e8587ca7829cf00881447e59aa1189082db7652219cd6a6c16f646e1fde6248f9b3a9d49e71f0bdce6669b3f34da62c2b3e1934f40b4702777a1f5
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
 DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838

diff --git a/net-misc/i2pd/i2pd-2.10.0.ebuild b/net-misc/i2pd/i2pd-2.10.0.ebuild
new file mode 100644
index ..8e84f9a
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.10.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
+
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins docs/tunnels.conf
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf
+
+   # working directory
+   keepdir /var/lib/i2pd
+   insinto /var/lib/i2pd
+   doins -r contrib/certificates
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+
+   # add /var/lib/i2pd/certificates to CONFIG_PROTECT
+   doenvd "${FILESDIR}/99i2pd"
+
+   # openrc and systemd daemon routines
+   newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
+   newinitd 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/

2016-08-16 Thread Anthony G. Basile
commit: d3e0e61cb52c7e845736cc1cf0c50a7bd47fa21e
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Aug 16 15:28:03 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Aug 16 23:37:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e0e61c

net-misc/i2pd: fix static build #591334

 net-misc/i2pd/files/i2pd-2.9.0-static.patch| 25 ++
 .../{i2pd-2.9.0.ebuild => i2pd-2.9.0-r1.ebuild}|  3 ++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.9.0-static.patch 
b/net-misc/i2pd/files/i2pd-2.9.0-static.patch
new file mode 100644
index 000..c525db7
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.9.0-static.patch
@@ -0,0 +1,25 @@
+From 2e74d91ddc1a776692dd7398e0126a6bd1f2a92a Mon Sep 17 00:00:00 2001
+From: Jeff Becker 
+Date: Tue, 16 Aug 2016 10:25:56 -0400
+Subject: [PATCH] try fixing https://github.com/PurpleI2P/i2pd/issues/612
+
+---
+ build/CMakeLists.txt | 5 -
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
+index 7f9b8c6..99d6a5a 100644
+--- a/build/CMakeLists.txt
 b/build/CMakeLists.txt
+@@ -369,7 +369,10 @@ if (WITH_BINARY)
+   if (MSYS OR MINGW)
+ set (MINGW_EXTRA -lws2_32 -lmswsock -liphlpapi )
+   endif ()
+-  target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} 
${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} 
${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} )
++  if (WITH_STATIC)
++set(DL_LIB ${CMAKE_DL_LIBS})
++  endif()
++  target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} 
${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} 
${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ${DL_LIB})
+ 
+   install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION 
${CMAKE_INSTALL_BINDIR} COMPONENT Runtime)
+   set (APPS 
"\${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}")

diff --git a/net-misc/i2pd/i2pd-2.9.0.ebuild 
b/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
similarity index 95%
rename from net-misc/i2pd/i2pd-2.9.0.ebuild
rename to net-misc/i2pd/i2pd-2.9.0-r1.ebuild
index 27c574b..a864fb5 100644
--- a/net-misc/i2pd/i2pd-2.9.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
@@ -35,7 +35,8 @@ CMAKE_USE_DIR="${S}/build"
 
 DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
 
-PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
+PATCHES=( "${FILESDIR}/i2pd-2.9.0-static.patch" \
+   "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
 
 src_configure() {
mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-08-15 Thread Anthony G. Basile
commit: 3f6d46563c3cf5fe5dca4d963c033c640b6bca39
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Mon Aug 15 12:22:09 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Aug 15 13:41:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6d4656

net-misc/i2pd: use PATCHES (cosmetic)

 net-misc/i2pd/i2pd-2.9.0.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.9.0.ebuild b/net-misc/i2pd/i2pd-2.9.0.ebuild
index 55adfa5..27c574b 100644
--- a/net-misc/i2pd/i2pd-2.9.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.9.0.ebuild
@@ -35,10 +35,7 @@ CMAKE_USE_DIR="${S}/build"
 
 DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
 
-src_prepare() {
-   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
-   eapply_user
-}
+PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
 
 src_configure() {
mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-08-15 Thread Anthony G. Basile
commit: 15b2b6247e68a6ec9c1205dd95f18771dd94e7d0
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Fri Aug 12 16:14:54 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Aug 15 13:41:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b2b624

net-misc/i2pd: 2.9.0 version bump

 net-misc/i2pd/Manifest  |  1 +
 net-misc/i2pd/i2pd-2.9.0.ebuild | 99 +
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index da24252..93b87b0 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,3 +1,4 @@
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
 DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
+DIST i2pd-2.9.0.tar.gz 2967757 SHA256 
48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 
6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9
 WHIRLPOOL 
3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7

diff --git a/net-misc/i2pd/i2pd-2.9.0.ebuild b/net-misc/i2pd/i2pd-2.9.0.ebuild
new file mode 100644
index 000..55adfa5
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.9.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
+   eapply_user
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins debian/tunnels.conf
+   doins debian/subscriptions.txt
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+
+   # working directory
+   keepdir /var/lib/i2pd
+   insinto /var/lib/i2pd
+   doins -r contrib/certificates
+   dosym 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/

2016-06-23 Thread Patrice Clement
commit: 0295e519e23bce96ee75bdd74da5c12318b6f9bd
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed Jun 22 12:35:06 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Jun 23 21:12:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0295e519

net-misc/i2pd: remove old

Closes: https://github.com/gentoo/gentoo/pull/1719

Signed-off-by: Patrice Clement  gentoo.org>

 net-misc/i2pd/Manifest |   2 -
 .../i2pd-2.5.0-fix_installed_components.patch  |  30 --
 net-misc/i2pd/files/i2pd-2.5.0.confd   |   9 --
 net-misc/i2pd/files/i2pd-2.5.0.initd   |  26 --
 net-misc/i2pd/files/i2pd-2.5.0.logrotate   |  11 ---
 net-misc/i2pd/files/i2pd-2.5.0.service |  18 
 .../i2pd-2.5.1-disable_ipv6_in_i2pd_conf.patch |   9 --
 net-misc/i2pd/files/i2pd-2.5.1.confd   |   9 --
 net-misc/i2pd/files/i2pd-2.5.1.initd   |  26 --
 net-misc/i2pd/files/i2pd-2.5.1.service |  18 
 net-misc/i2pd/files/i2pd-2.6.0-r2.confd|   9 --
 net-misc/i2pd/files/i2pd-2.6.0-r2.initd|  46 --
 net-misc/i2pd/files/i2pd-2.6.0-r2.service  |  20 
 net-misc/i2pd/files/i2pd-2.6.0.confd   |   9 --
 net-misc/i2pd/files/i2pd-2.6.0.service |  18 
 net-misc/i2pd/files/i2pd.1 | 101 -
 net-misc/i2pd/files/tunnels.cfg|  17 
 net-misc/i2pd/i2pd-2.5.0-r4.ebuild |  82 -
 net-misc/i2pd/i2pd-2.5.1-r3.ebuild |  88 --
 net-misc/i2pd/i2pd-2.6.0-r1.ebuild |  86 --
 net-misc/i2pd/i2pd-2.6.0-r2.ebuild |  86 --
 21 files changed, 720 deletions(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 4e3c9b3..da24252 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,5 +1,3 @@
-DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627aa54b17c565c37782b01d SHA512 
77be4f2b3baf86bcf0c8f4aebd7c5fbef80654d99ff332aafcf1cd717271d80fcfe717047ac47599cb0ecfdf32347cf1c0e0be2b79759f5194c1a7e7910a42ca
 WHIRLPOOL 
929cb33849a51c5c214c64bef0e431c62738a6584fe63aa6ebcbd2febeb854135e5e16ed0f95c64bdfc241b15faaf45226347d3851a64421dd53e53932e03456
-DIST i2pd-2.5.1.tar.gz 394332 SHA256 
4cdc98676eb1d020dc11c8f2c7c5d0e739bf8c858c97eab235449cea98ca9d2c SHA512 
33293e96a2715696a8cb7bcabe995ffc9a5b374e4fa4b72eebf878a8b4603600a910ded1dc775d08d89eb881f0492118ef837a0432664f4a492008b31dafec92
 WHIRLPOOL 
c9b02580d4e6af8430e7ca0d90ad45653df700b4e955f9fcd852301129801ded284b7583c8a9a1398457caa04c8ca5080655c6bbb94686ee56af9547752c753b
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
 DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
 DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838

diff --git a/net-misc/i2pd/files/i2pd-2.5.0-fix_installed_components.patch 
b/net-misc/i2pd/files/i2pd-2.5.0-fix_installed_components.patch
deleted file mode 100644
index 84749c8..000
--- a/net-misc/i2pd/files/i2pd-2.5.0-fix_installed_components.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 build/CMakeLists.txt.old   2016-02-04 21:30:50.954251000 +0100
-+++ build/CMakeLists.txt   2016-02-04 21:34:50.457793484 +0100
-@@ -356,10 +356,6 @@
-   endif ()
- endif ()
- 
--install(FILES ../LICENSE
--  DESTINATION .
--  COMPONENT Runtime
--  )
- # Take a copy on Appveyor
- install(FILES "C:/projects/openssl-$ENV{OPENSSL}/LICENSE"
-   DESTINATION .
-@@ -369,7 +365,6 @@
-   )
- 
- file(GLOB_RECURSE I2PD_SOURCES "../*.cpp" "../build" "../Win32" 
"../Makefile*")
--install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
- # install(DIRECTORY ../ DESTINATION src/
- #   # OPTIONAL
- #   COMPONENT Source FILES_MATCHING
-@@ -378,7 +373,7 @@
- #   )
- 
- file(GLOB I2PD_HEADERS "../*.h")
--install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-06-21 Thread Anthony G. Basile
commit: 91a778d14797b6bb87de389b1db3743b3b08483f
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Jun 21 10:21:13 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jun 21 10:39:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a778d1

net-misc/i2pd: 2.8.0 version bump

Signed-off-by: Anthony G. Basile  gentoo.org>

 net-misc/i2pd/Manifest  |  1 +
 net-misc/i2pd/i2pd-2.8.0.ebuild | 99 +
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index dfe7a71..4e3c9b3 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -2,3 +2,4 @@ DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627
 DIST i2pd-2.5.1.tar.gz 394332 SHA256 
4cdc98676eb1d020dc11c8f2c7c5d0e739bf8c858c97eab235449cea98ca9d2c SHA512 
33293e96a2715696a8cb7bcabe995ffc9a5b374e4fa4b72eebf878a8b4603600a910ded1dc775d08d89eb881f0492118ef837a0432664f4a492008b31dafec92
 WHIRLPOOL 
c9b02580d4e6af8430e7ca0d90ad45653df700b4e955f9fcd852301129801ded284b7583c8a9a1398457caa04c8ca5080655c6bbb94686ee56af9547752c753b
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
 DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb
+DIST i2pd-2.8.0.tar.gz 1695271 SHA256 
3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 
379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39
 WHIRLPOOL 
511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838

diff --git a/net-misc/i2pd/i2pd-2.8.0.ebuild b/net-misc/i2pd/i2pd-2.8.0.ebuild
new file mode 100644
index 000..55adfa5
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.8.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
+   eapply_user
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins debian/tunnels.conf
+   doins debian/subscriptions.txt
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+
+   # working directory
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-06-03 Thread Anthony G. Basile
commit: 0d9b59715f593062dce8205938c33d6073e2c339
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Jun  3 12:37:07 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Jun  3 12:37:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9b5971

net-misc/i2pd: add Alexey Korepanov as maintainer

Package-Manager: portage-2.2.28

 net-misc/i2pd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index d904291..80f4f85 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -2,6 +2,10 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

+   kaikai...@yandex.ru
+   Alexey Korepanov
+   
+   
klond...@gentoo.org
Francisco Blas Izquierdo Riera




[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-05-19 Thread Anthony G. Basile
commit: dd24d3f9f3e084e21d1ffe11ae2d13ebf78bfa7b
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed May 18 14:09:43 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu May 19 09:18:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd24d3f9

net-misc/i2pd: version bump 2.7.0

 net-misc/i2pd/Manifest  |  1 +
 net-misc/i2pd/i2pd-2.7.0.ebuild | 99 +
 2 files changed, 100 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 2db6355..dfe7a71 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,3 +1,4 @@
 DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627aa54b17c565c37782b01d SHA512 
77be4f2b3baf86bcf0c8f4aebd7c5fbef80654d99ff332aafcf1cd717271d80fcfe717047ac47599cb0ecfdf32347cf1c0e0be2b79759f5194c1a7e7910a42ca
 WHIRLPOOL 
929cb33849a51c5c214c64bef0e431c62738a6584fe63aa6ebcbd2febeb854135e5e16ed0f95c64bdfc241b15faaf45226347d3851a64421dd53e53932e03456
 DIST i2pd-2.5.1.tar.gz 394332 SHA256 
4cdc98676eb1d020dc11c8f2c7c5d0e739bf8c858c97eab235449cea98ca9d2c SHA512 
33293e96a2715696a8cb7bcabe995ffc9a5b374e4fa4b72eebf878a8b4603600a910ded1dc775d08d89eb881f0492118ef837a0432664f4a492008b31dafec92
 WHIRLPOOL 
c9b02580d4e6af8430e7ca0d90ad45653df700b4e955f9fcd852301129801ded284b7583c8a9a1398457caa04c8ca5080655c6bbb94686ee56af9547752c753b
 DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e
+DIST i2pd-2.7.0.tar.gz 410922 SHA256 
e4a3e192e424492962092f65a04fe12cac10f267ba2c99e2e62ca917741fba7e SHA512 
3ca7af86ff43f030ab6219bd5ebe9a9acf4822d452c5761b83392ab0055f7835cfd68ebb336a2af0817bcdf9c8ecbefb618d00374384ded0084b51594aa96e0e
 WHIRLPOOL 
e1d05a5454cd9a0dbee18fea3447bc81fc74ee519e6ddb8f3d984ac66076f4606a624d55b9f22e2542f491626c18b74235247fe665ba789da2258f53b159ecfb

diff --git a/net-misc/i2pd/i2pd-2.7.0.ebuild b/net-misc/i2pd/i2pd-2.7.0.ebuild
new file mode 100644
index 000..55adfa5
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.7.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+
+CMAKE_USE_DIR="${S}/build"
+
+DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
+   eapply_user
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins debian/tunnels.conf
+   doins debian/subscriptions.txt
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+
+   # working directory
+   keepdir /var/lib/i2pd
+   insinto /var/lib/i2pd
+   doins -r contrib/certificates
+   dosym 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: 3be42164899f62ef981e4fd70ee3d80835adf521
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Fri Apr  8 13:13:34 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be42164

net-misc/i2pd: remove unused /usr/share/i2pd

 net-misc/i2pd/i2pd-2.6.0-r3.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index cd0526e..51341ad 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -65,7 +65,6 @@ src_install() {
doins "${S}/docs/${PN}.conf"
doins "${S}/debian/subscriptions.txt"
doins "${S}/debian/tunnels.conf"
-   dodir /usr/share/i2pd
newconfd "${FILESDIR}/${PN}-2.6.0-r2.confd" "${PN}"
newinitd "${FILESDIR}/${PN}-2.6.0-r2.initd" "${PN}"
systemd_newunit "${FILESDIR}/${PN}-2.6.0-r2.service" "${PN}.service"



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: b7300ffe31249a6185b239e14eee12e2b23ab39f
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Fri Apr  8 13:29:56 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7300ffe

net-misc/i2pd: ebuild cleanup

 net-misc/i2pd/i2pd-2.6.0-r3.ebuild | 49 +++---
 1 file changed, 30 insertions(+), 19 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index 51341ad..41d1ad1 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -53,25 +53,13 @@ src_configure() {
 
 src_install() {
cmake-utils_src_install
-   dodoc README.md
-   keepdir /var/lib/i2pd/
-   insinto "/var/lib/i2pd"
-   doins -r "${S}/contrib/certificates"
-   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
-   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
-   fperms 700 /var/lib/i2pd/
-   dodir "/etc/${PN}"
-   insinto "/etc/${PN}"
-   doins "${S}/docs/${PN}.conf"
-   doins "${S}/debian/subscriptions.txt"
-   doins "${S}/debian/tunnels.conf"
-   newconfd "${FILESDIR}/${PN}-2.6.0-r2.confd" "${PN}"
-   newinitd "${FILESDIR}/${PN}-2.6.0-r2.initd" "${PN}"
-   systemd_newunit "${FILESDIR}/${PN}-2.6.0-r2.service" "${PN}.service"
-   doenvd "${FILESDIR}/99${PN}"
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/${PN}-2.5.0.logrotate" "${PN}"
 
+   # config
+   insinto /etc/i2pd
+   doins docs/i2pd.conf
+   doins debian/tunnels.conf
+   doins debian/subscriptions.txt
+   
# grant i2pd group read and write access to config files
fowners "root:${I2PD_GROUP}" \
/etc/i2pd/i2pd.conf \
@@ -81,9 +69,32 @@ src_install() {
/etc/i2pd/i2pd.conf \
/etc/i2pd/tunnels.conf \
/etc/i2pd/subscriptions.txt
+
+   # doc
+   dodoc README.md
+
+   # working directory
+   keepdir /var/lib/i2pd
+   insinto /var/lib/i2pd
+   doins -r contrib/certificates
+   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   
+   # add /var/lib/i2pd/certificates to CONFIG_PROTECT
+   doenvd "${FILESDIR}/99i2pd"
+
+   # openrc and systemd daemon routines
+   newconfd "${FILESDIR}/i2pd-2.6.0-r2.confd" i2pd
+   newinitd "${FILESDIR}/i2pd-2.6.0-r2.initd" i2pd
+   systemd_newunit "${FILESDIR}/i2pd-2.6.0-r2.service" i2pd.service
+   
+   # logrotate
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/i2pd-2.5.0.logrotate" i2pd
 }
 
 pkg_setup() {
enewgroup "${I2PD_GROUP}"
-   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
+   enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}"
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: 73fd977b40449a5beca1fe80029898a357d98181
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Apr 10 21:27:20 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fd977b

net-misc/i2pd: correct pid file for logrotate

 net-misc/i2pd/files/i2pd-2.6.0-r3.logrotate | 11 +++
 net-misc/i2pd/i2pd-2.6.0-r3.ebuild  |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r3.logrotate 
b/net-misc/i2pd/files/i2pd-2.6.0-r3.logrotate
new file mode 100644
index 000..251128b
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r3.logrotate
@@ -0,0 +1,11 @@
+/var/log/i2pd.log {
+rotate 4
+weekly
+missingok
+notifempty
+create 640 i2pd i2pd
+postrotate
+/bin/kill -HUP $(cat /run/i2pd/i2pd.pid)
+endscript
+}
+

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index 41d1ad1..de78320 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -91,7 +91,7 @@ src_install() {

# logrotate
insinto /etc/logrotate.d
-   newins "${FILESDIR}/i2pd-2.5.0.logrotate" i2pd
+   newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
 }
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: 21afba16945e554e699d4ef57f89a2c05697b84a
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Apr 12 11:30:40 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21afba16

net-misc/i2pd: add more docs

 net-misc/i2pd/i2pd-2.6.0-r3.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index 658..a35e3f1 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -33,6 +33,8 @@ I2PD_GROUP=i2pd
 
 CMAKE_USE_DIR="${S}/build"
 
+DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
+
 src_prepare() {
eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
eapply_user
@@ -70,9 +72,6 @@ src_install() {
/etc/i2pd/tunnels.conf \
/etc/i2pd/subscriptions.txt
 
-   # doc
-   dodoc README.md
-
# working directory
keepdir /var/lib/i2pd
insinto /var/lib/i2pd



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: c1ec77d2afed711a3c17daf35c18ba9e5a204c64
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Fri Apr  8 13:11:11 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ec77d2

net-misc/i2pd: change access permissions for config files

 net-misc/i2pd/i2pd-2.6.0-r3.ebuild | 90 ++
 1 file changed, 90 insertions(+)

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
new file mode 100644
index 000..cd0526e
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
+   eapply_user
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   keepdir /var/lib/i2pd/
+   insinto "/var/lib/i2pd"
+   doins -r "${S}/contrib/certificates"
+   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   dodir "/etc/${PN}"
+   insinto "/etc/${PN}"
+   doins "${S}/docs/${PN}.conf"
+   doins "${S}/debian/subscriptions.txt"
+   doins "${S}/debian/tunnels.conf"
+   dodir /usr/share/i2pd
+   newconfd "${FILESDIR}/${PN}-2.6.0-r2.confd" "${PN}"
+   newinitd "${FILESDIR}/${PN}-2.6.0-r2.initd" "${PN}"
+   systemd_newunit "${FILESDIR}/${PN}-2.6.0-r2.service" "${PN}.service"
+   doenvd "${FILESDIR}/99${PN}"
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}-2.5.0.logrotate" "${PN}"
+
+   # grant i2pd group read and write access to config files
+   fowners "root:${I2PD_GROUP}" \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+   fperms 660 \
+   /etc/i2pd/i2pd.conf \
+   /etc/i2pd/tunnels.conf \
+   /etc/i2pd/subscriptions.txt
+}
+
+pkg_setup() {
+   enewgroup "${I2PD_GROUP}"
+   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/

2016-05-09 Thread Anthony G. Basile
commit: fb707a2084fd3b72e8b340b0ee3bc81bb4b85f64
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Wed Apr 13 12:06:48 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb707a20

net-misc/i2pd: for floodfill: increase number of open files

 net-misc/i2pd/files/i2pd-2.6.0-r3.confd   |  3 +++
 net-misc/i2pd/files/i2pd-2.6.0-r3.service | 21 +
 net-misc/i2pd/i2pd-2.6.0-r3.ebuild|  2 +-
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r3.confd 
b/net-misc/i2pd/files/i2pd-2.6.0-r3.confd
index 9a22d23..d2ef16b 100644
--- a/net-misc/i2pd/files/i2pd-2.6.0-r3.confd
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r3.confd
@@ -3,6 +3,9 @@ I2PD_GROUP=i2pd
 I2PD_LOG=/var/log/i2pd.log
 I2PD_PID=/run/i2pd/i2pd.pid
 
+# max number of open files (for floodfill)
+rc_ulimit="-n 4096"
+
 # Options to i2pd
 I2PD_OPTIONS="--daemon --service --pidfile=${I2PD_PID} \
 --log=file --logfile=${I2PD_LOG} \

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r3.service 
b/net-misc/i2pd/files/i2pd-2.6.0-r3.service
new file mode 100644
index 000..6821a00
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r3.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/run/i2pd/i2pd.pid
+User=i2pd
+Group=i2pd
+LimitNOFILE=4096
+PermissionsStartOnly=yes
+ExecStartPre=/bin/mkdir -p /run/i2pd
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd
+ExecStartPre=/bin/touch /run/i2pd/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --daemon --service --pidfile=/run/i2pd/i2pd.pid 
--log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.conf
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index a2d40f4..b28fac6 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -86,7 +86,7 @@ src_install() {
# openrc and systemd daemon routines
newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
-   systemd_newunit "${FILESDIR}/i2pd-2.6.0-r2.service" i2pd.service
+   systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service

# logrotate
insinto /etc/logrotate.d



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: b0681327d08961e310f204ad2d0f671327480ac1
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Apr 12 11:00:59 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0681327

net-misc/i2pd: use static user and group

 net-misc/i2pd/files/i2pd-2.6.0-r3.confd | 9 +
 net-misc/i2pd/i2pd-2.6.0-r3.ebuild  | 6 +++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r3.confd 
b/net-misc/i2pd/files/i2pd-2.6.0-r3.confd
new file mode 100644
index 000..9a22d23
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r3.confd
@@ -0,0 +1,9 @@
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
+I2PD_LOG=/var/log/i2pd.log
+I2PD_PID=/run/i2pd/i2pd.pid
+
+# Options to i2pd
+I2PD_OPTIONS="--daemon --service --pidfile=${I2PD_PID} \
+--log=file --logfile=${I2PD_LOG} \
+--conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf"

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index de78320..658 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -28,8 +28,8 @@ DEPEND="${RDEPEND}
i2p-hardening? ( >=sys-devel/gcc-4.7 )
|| ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
 
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+I2PD_USER=i2pd
+I2PD_GROUP=i2pd
 
 CMAKE_USE_DIR="${S}/build"
 
@@ -85,7 +85,7 @@ src_install() {
doenvd "${FILESDIR}/99i2pd"
 
# openrc and systemd daemon routines
-   newconfd "${FILESDIR}/i2pd-2.6.0-r2.confd" i2pd
+   newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
newinitd "${FILESDIR}/i2pd-2.6.0-r2.initd" i2pd
systemd_newunit "${FILESDIR}/i2pd-2.6.0-r2.service" i2pd.service




[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: 77e39b3f8132f473e6addffd287b0b42f593c967
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Tue Apr 12 13:28:41 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:05:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e39b3f

net-misc/i2pd: start-stop-daemon: remove spaces in --retry

 net-misc/i2pd/files/i2pd-2.6.0-r3.initd | 46 +
 net-misc/i2pd/i2pd-2.6.0-r3.ebuild  |  2 +-
 2 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r3.initd 
b/net-misc/i2pd/files/i2pd-2.6.0-r3.initd
new file mode 100644
index 000..81739e9
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r3.initd
@@ -0,0 +1,46 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="C++ daemon for accessing the I2P network"
+description_graceful="Graceful shutdown, takes 10 minutes"
+
+command="/usr/bin/i2pd"
+command_args="${I2PD_OPTIONS}"
+user="${I2PD_USER}:${I2PD_GROUP}"
+start_stop_daemon_args="
+--user \"${user}\"
+--pidfile \"${I2PD_PID}\"
+--progress --retry 'SIGTERM/20/SIGKILL/20'
+"
+I2PD_PID_DIR=$(dirname "${I2PD_PID}")
+
+extra_started_commands="graceful"
+
+depend() {
+use dns logger netmount
+}
+
+start_pre() {
+if [ -z "${I2PD_USER}" ] || \
+   [ -z "${I2PD_GROUP}" ] || \
+   [ -z "${I2PD_PID}" ] || \
+   [ -z "${I2PD_LOG}" ] || \
+   [ -z "${I2PD_OPTIONS}" ] ; then
+eerror "Not all variables I2PD_USER, I2PD_GROUP, I2PD_PID, 
I2PD_OPTIONS, I2PD_LOG are defined."
+eerror "Check your /etc/conf.d/i2pd."
+return 1
+fi
+checkpath -f -o "${user}" "${I2PD_LOG}"
+checkpath -d -m 0750 -o "${user}" "${I2PD_PID_DIR}"
+}
+
+graceful() {
+# on SIGINT, i2pd stops accepting tunnels and shuts down in 600 seconds
+ebegin "Gracefully stopping i2pd, this takes 10 minutes"
+mark_service_stopping
+eval start-stop-daemon --stop ${start_stop_daemon_args} \
+--exec "${command}" --retry 'SIGINT/620/SIGTERM/20/SIGKILL/20'
+eend $? && mark_service_stopped
+}

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index a35e3f1..a2d40f4 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -85,7 +85,7 @@ src_install() {
 
# openrc and systemd daemon routines
newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
-   newinitd "${FILESDIR}/i2pd-2.6.0-r2.initd" i2pd
+   newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
systemd_newunit "${FILESDIR}/i2pd-2.6.0-r2.service" i2pd.service

# logrotate



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-05-09 Thread Anthony G. Basile
commit: 9fdc9d94ea505658d40497f5484b59c2153c3533
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon May  9 08:08:27 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon May  9 08:08:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fdc9d94

net-misc/i2pd: fix some whitespace damage

Package-Manager: portage-2.2.26

 net-misc/i2pd/i2pd-2.6.0-r3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
index b28fac6..55adfa5 100644
--- a/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r3.ebuild
@@ -61,7 +61,7 @@ src_install() {
doins docs/i2pd.conf
doins debian/tunnels.conf
doins debian/subscriptions.txt
-   
+
# grant i2pd group read and write access to config files
fowners "root:${I2PD_GROUP}" \
/etc/i2pd/i2pd.conf \
@@ -79,7 +79,7 @@ src_install() {
dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
fperms 700 /var/lib/i2pd/
-   
+
# add /var/lib/i2pd/certificates to CONFIG_PROTECT
doenvd "${FILESDIR}/99i2pd"
 
@@ -87,7 +87,7 @@ src_install() {
newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
-   
+
# logrotate
insinto /etc/logrotate.d
newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-04-08 Thread Anthony G. Basile
commit: 9c9e4daa436281959325c4cdf7feef84313c2ae8
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Thu Apr  7 13:48:35 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Apr  8 09:49:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c9e4daa

net-misc/i2pd: add graceful shutdown and fix pid file problem

 net-misc/i2pd/files/i2pd-2.6.0-r2.confd   |  9 
 net-misc/i2pd/files/i2pd-2.6.0-r2.initd   | 46 +
 net-misc/i2pd/files/i2pd-2.6.0-r2.service | 20 +++
 net-misc/i2pd/i2pd-2.6.0-r2.ebuild| 86 +++
 4 files changed, 161 insertions(+)

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r2.confd 
b/net-misc/i2pd/files/i2pd-2.6.0-r2.confd
new file mode 100644
index 000..8f5ee8c
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r2.confd
@@ -0,0 +1,9 @@
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+I2PD_LOG="/var/log/i2pd.log"
+I2PD_PID="/run/i2pd/i2pd.pid"
+
+# Options to i2pd
+I2PD_OPTIONS="--daemon --service --pidfile=${I2PD_PID} \
+--log=file --logfile=${I2PD_LOG} \
+--conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf"

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r2.initd 
b/net-misc/i2pd/files/i2pd-2.6.0-r2.initd
new file mode 100644
index 000..72b9905
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r2.initd
@@ -0,0 +1,46 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="C++ daemon for accessing the I2P network"
+description_graceful="Graceful shutdown, takes 10 minutes"
+
+command="/usr/bin/i2pd"
+command_args="${I2PD_OPTIONS}"
+user="${I2PD_USER}:${I2PD_GROUP}"
+start_stop_daemon_args="
+--user \"${user}\"
+--pidfile \"${I2PD_PID}\"
+--progress --retry 'SIGTERM/20 SIGKILL/20'
+"
+I2PD_PID_DIR=$(dirname "${I2PD_PID}")
+
+extra_started_commands="graceful"
+
+depend() {
+use dns logger netmount
+}
+
+start_pre() {
+if [ -z "${I2PD_USER}" ] || \
+   [ -z "${I2PD_GROUP}" ] || \
+   [ -z "${I2PD_PID}" ] || \
+   [ -z "${I2PD_LOG}" ] || \
+   [ -z "${I2PD_OPTIONS}" ] ; then
+eerror "Not all variables I2PD_USER, I2PD_GROUP, I2PD_PID, 
I2PD_OPTIONS, I2PD_LOG are defined."
+eerror "Check your /etc/conf.d/i2pd."
+return 1
+fi
+checkpath -f -o "${user}" "${I2PD_LOG}"
+checkpath -d -m 0750 -o "${user}" "${I2PD_PID_DIR}"
+}
+
+graceful() {
+# on SIGINT, i2pd stops accepting tunnels and shuts down in 600 seconds
+ebegin "Gracefully stopping i2pd, this takes 10 minutes"
+mark_service_stopping
+eval start-stop-daemon --stop ${start_stop_daemon_args} \
+--exec "${command}" --retry 'SIGINT/620 SIGTERM/20 SIGKILL/20'
+eend $? && mark_service_stopped
+}

diff --git a/net-misc/i2pd/files/i2pd-2.6.0-r2.service 
b/net-misc/i2pd/files/i2pd-2.6.0-r2.service
new file mode 100644
index 000..5cc34eb
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0-r2.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/run/i2pd/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/mkdir -p /run/i2pd
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd
+ExecStartPre=/bin/touch /run/i2pd/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --daemon --service --pidfile=/run/i2pd/i2pd.pid 
--log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.conf
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/net-misc/i2pd/i2pd-2.6.0-r2.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r2.ebuild
new file mode 100644
index 000..dfb03b1
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.6.0-r2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-04-03 Thread Anthony G. Basile
commit: 2f789ee74e09e00f070d55cf8be38afa198bbb24
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Fri Apr  1 22:27:24 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Apr  3 20:10:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f789ee7

net-misc/i2pd: revbump 2.6.0: housecleaning

- rename tunnels.cfg to tunnels.conf, and switch to upstream version
- use docs/i2pd.conf instead of debian/i2pd.conf, patch disabling ipv6 is no 
longer needed
- remove the man page as obsolete; no replacement found
- update required boost version

Author: Alexey Korepanov  yandex.ru>
Reviewer: M.B.  sina.cn>

Package-Manager: portage-2.2.28
RepoMan-Options: --ignore-arches

 net-misc/i2pd/files/i2pd-2.6.0.confd   |  9 +
 net-misc/i2pd/files/i2pd-2.6.0.service | 18 ++
 .../i2pd/{i2pd-2.6.0.ebuild => i2pd-2.6.0-r1.ebuild}   | 18 --
 3 files changed, 35 insertions(+), 10 deletions(-)

diff --git a/net-misc/i2pd/files/i2pd-2.6.0.confd 
b/net-misc/i2pd/files/i2pd-2.6.0.confd
new file mode 100644
index 000..47483ee
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0.confd
@@ -0,0 +1,9 @@
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+I2PD_LOG="/var/log/i2pd.log"
+I2PD_PID="/var/run/i2pd.pid"
+I2PD_CFGDIR="/etc/i2pd/"
+# Options to i2pd
+I2PDOPTIONS="--daemon --service --pidfile=${I2PD_PID} \
+--log=file --logfile=${I2PD_LOG} \
+--conf=${I2PD_CFGDIR}i2pd.conf --tunconf=${I2PD_CFGDIR}tunnels.conf"

diff --git a/net-misc/i2pd/files/i2pd-2.6.0.service 
b/net-misc/i2pd/files/i2pd-2.6.0.service
new file mode 100644
index 000..2f1449a
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.6.0.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/var/run/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /var/run/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --daemon --service --pidfile=/var/run/i2pd.pid 
--log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.conf
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/net-misc/i2pd/i2pd-2.6.0.ebuild 
b/net-misc/i2pd/i2pd-2.6.0-r1.ebuild
similarity index 83%
rename from net-misc/i2pd/i2pd-2.6.0.ebuild
rename to net-misc/i2pd/i2pd-2.6.0-r1.ebuild
index d5e9a7d..4af91ea 100644
--- a/net-misc/i2pd/i2pd-2.6.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.6.0-r1.ebuild
@@ -13,14 +13,14 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
 
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
dev-libs/crypto++
!libressl? ( dev-libs/openssl:0 )
libressl? ( dev-libs/libressl )
upnp? ( net-libs/miniupnpc )
)"
 DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   static? ( >=dev-libs/boost-1.49[static-libs,threads]
dev-libs/crypto++[static-libs]
!libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
libressl? ( dev-libs/libressl[static-libs] )
@@ -35,7 +35,6 @@ CMAKE_USE_DIR="${S}/build"
 
 src_prepare() {
eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
-   eapply "${FILESDIR}/${PN}-2.5.1-disable_ipv6_in_i2pd_conf.patch"
eapply_user
 }
 
@@ -55,7 +54,6 @@ src_configure() {
 src_install() {
cmake-utils_src_install
dodoc README.md
-   doman "${FILESDIR}/${PN}.1"
keepdir /var/lib/i2pd/
insinto "/var/lib/i2pd"
doins -r "${S}/contrib/certificates"
@@ -64,22 +62,22 @@ src_install() {
fperms 700 /var/lib/i2pd/
dodir "/etc/${PN}"
insinto "/etc/${PN}"
-   doins "${S}/debian/${PN}.conf"
+   doins "${S}/docs/${PN}.conf"
doins "${S}/debian/subscriptions.txt"
-   doins "${FILESDIR}/tunnels.cfg"
+   doins "${S}/debian/tunnels.conf"
dodir /usr/share/i2pd
-   newconfd "${FILESDIR}/${PN}-2.5.1.confd" "${PN}"
+   newconfd "${FILESDIR}/${PN}-2.6.0.confd" "${PN}"
newinitd "${FILESDIR}/${PN}-2.5.1.initd" "${PN}"
-   systemd_newunit "${FILESDIR}/${PN}-2.5.1.service" "${PN}.service"
+   systemd_newunit "${FILESDIR}/${PN}-2.6.0.service" "${PN}.service"
doenvd "${FILESDIR}/99${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}-2.5.0.logrotate" "${PN}"
fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf" \
"/etc/${PN}/subscriptions.txt" \
-   "/etc/${PN}/tunnels.cfg"
+   "/etc/${PN}/tunnels.conf"
fperms 600 "/etc/${PN}/${PN}.conf" \
"/etc/${PN}/subscriptions.txt" \
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-04-01 Thread Anthony G. Basile
commit: 7a3e9e9bef070667327276c2226761efdb9641bd
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Apr  1 18:52:18 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Apr  1 18:52:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3e9e9b

net-misc/i2pd: version bump to 2.6.0

Package-Manager: portage-2.2.26

 net-misc/i2pd/Manifest  |  1 +
 net-misc/i2pd/i2pd-2.6.0.ebuild | 88 +
 2 files changed, 89 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 34387a1..2db6355 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,2 +1,3 @@
 DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627aa54b17c565c37782b01d SHA512 
77be4f2b3baf86bcf0c8f4aebd7c5fbef80654d99ff332aafcf1cd717271d80fcfe717047ac47599cb0ecfdf32347cf1c0e0be2b79759f5194c1a7e7910a42ca
 WHIRLPOOL 
929cb33849a51c5c214c64bef0e431c62738a6584fe63aa6ebcbd2febeb854135e5e16ed0f95c64bdfc241b15faaf45226347d3851a64421dd53e53932e03456
 DIST i2pd-2.5.1.tar.gz 394332 SHA256 
4cdc98676eb1d020dc11c8f2c7c5d0e739bf8c858c97eab235449cea98ca9d2c SHA512 
33293e96a2715696a8cb7bcabe995ffc9a5b374e4fa4b72eebf878a8b4603600a910ded1dc775d08d89eb881f0492118ef837a0432664f4a492008b31dafec92
 WHIRLPOOL 
c9b02580d4e6af8430e7ca0d90ad45653df700b4e955f9fcd852301129801ded284b7583c8a9a1398457caa04c8ca5080655c6bbb94686ee56af9547752c753b
+DIST i2pd-2.6.0.tar.gz 669220 SHA256 
3af3edfd5def3504cbda59aa737a47f9852f844a2f5a1b47659e138acdd614c4 SHA512 
73761737a50283ed78e59263ff91bb21a41147d85de62f2e27742f4f90d8e2441c20ec329b78f88e2255d837ed4584564396caee04df44b5cf5d7c1110508aa5
 WHIRLPOOL 
94821e65d05eba9e61ee353cc2318f0182c69393cdcf34bb3af818c54720fff76259532855689355453eb917639dcfd4e5d1e8d894f857bfc853728c11b1c71e

diff --git a/net-misc/i2pd/i2pd-2.6.0.ebuild b/net-misc/i2pd/i2pd-2.6.0.ebuild
new file mode 100644
index 000..d5e9a7d
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.6.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
+   eapply "${FILESDIR}/${PN}-2.5.1-disable_ipv6_in_i2pd_conf.patch"
+   eapply_user
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   doman "${FILESDIR}/${PN}.1"
+   keepdir /var/lib/i2pd/
+   insinto "/var/lib/i2pd"
+   doins -r "${S}/contrib/certificates"
+   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   dodir "/etc/${PN}"
+   insinto "/etc/${PN}"
+   doins "${S}/debian/${PN}.conf"
+   doins "${S}/debian/subscriptions.txt"
+   doins "${FILESDIR}/tunnels.cfg"
+   dodir /usr/share/i2pd
+   newconfd "${FILESDIR}/${PN}-2.5.1.confd" "${PN}"
+   newinitd "${FILESDIR}/${PN}-2.5.1.initd" "${PN}"
+   systemd_newunit "${FILESDIR}/${PN}-2.5.1.service" "${PN}.service"
+   doenvd "${FILESDIR}/99${PN}"
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}-2.5.0.logrotate" "${PN}"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf" \
+   "/etc/${PN}/subscriptions.txt" \
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/

2016-03-28 Thread Anthony G. Basile
commit: 10f8d1e32d62bb3f80946a6ff3b9126747c36b55
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Mar 27 10:59:38 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 28 09:21:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f8d1e3

net-misc/i2pd: typo in systemd service

 net-misc/i2pd/files/i2pd-2.5.1.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.5.1.service 
b/net-misc/i2pd/files/i2pd-2.5.1.service
index 4f79124..6d4dbd4 100644
--- a/net-misc/i2pd/files/i2pd-2.5.1.service
+++ b/net-misc/i2pd/files/i2pd-2.5.1.service
@@ -10,7 +10,7 @@ User=i2pd
 Group=i2pd
 PermissionsStartOnly=yes
 ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
-ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /var/run/i2pd.pid /var/log/i2pd.log
 ExecStart=/usr/bin/i2pd --daemon --service --pidfile=/var/run/i2pd.pid 
--log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.cfg
 
 [Install]



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/

2016-03-28 Thread Anthony G. Basile
commit: ebc581a784a0ff315a02e652eb1986f663446c97
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Mar 27 11:03:03 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 28 09:21:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc581a7

net-misc/i2pd: typo in systemd service, 2.5.0

 net-misc/i2pd/files/i2pd-2.5.0.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.5.0.service 
b/net-misc/i2pd/files/i2pd-2.5.0.service
index 3a3076e..14309a3 100644
--- a/net-misc/i2pd/files/i2pd-2.5.0.service
+++ b/net-misc/i2pd/files/i2pd-2.5.0.service
@@ -10,7 +10,7 @@ User=i2pd
 Group=i2pd
 PermissionsStartOnly=yes
 ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
-ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /var/run/i2pd.pid /var/log/i2pd.log
 ExecStart=/usr/bin/i2pd --daemon --service --pidfile /var/run/i2pd.pid 
--log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.cfg
 
 [Install]



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-25 Thread Anthony G. Basile
commit: 4015f341f8a42ae999c516b667bb4fea746909ff
Author: Matthew Brewer  sina  cn>
AuthorDate: Fri Mar 25 19:17:24 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Mar 25 19:51:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4015f341

net-misc/i2pd: revbumps for small fixes

- 2.5.0-r3 -> r4: bug 574340
- 2.5.1-r2 -> r3: bug 578232

Package-Manager: portage-2.2.28
RepoMan-Options: --ignore-arches

 net-misc/i2pd/{i2pd-2.5.0-r3.ebuild => i2pd-2.5.0-r4.ebuild} | 2 +-
 net-misc/i2pd/{i2pd-2.5.1-r2.ebuild => i2pd-2.5.1-r3.ebuild} | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r4.ebuild
similarity index 97%
rename from net-misc/i2pd/i2pd-2.5.0-r3.ebuild
rename to net-misc/i2pd/i2pd-2.5.0-r4.ebuild
index d143616..7bb6026 100644
--- a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.5.0-r4.ebuild
@@ -22,7 +22,7 @@ RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
 DEPEND="${RDEPEND}
static? ( >=dev-libs/boost-1.46[static-libs,threads]
dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[static-libs] )
+   !libressl? ( dev-libs/openssl:0[-bindist,static-libs] )
libressl? ( dev-libs/libressl[static-libs] )
upnp? ( net-libs/miniupnpc[static-libs] ) )
i2p-hardening? ( >=sys-devel/gcc-4.7 )

diff --git a/net-misc/i2pd/i2pd-2.5.1-r2.ebuild 
b/net-misc/i2pd/i2pd-2.5.1-r3.ebuild
similarity index 96%
rename from net-misc/i2pd/i2pd-2.5.1-r2.ebuild
rename to net-misc/i2pd/i2pd-2.5.1-r3.ebuild
index 30b46b3..e095745 100644
--- a/net-misc/i2pd/i2pd-2.5.1-r2.ebuild
+++ b/net-misc/i2pd/i2pd-2.5.1-r3.ebuild
@@ -77,7 +77,9 @@ src_install() {
fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf" \
"/etc/${PN}/subscriptions.txt" \
"/etc/${PN}/tunnels.cfg"
-   fperms 600 "/etc/${PN}/"*
+   fperms 600 "/etc/${PN}/${PN}.conf" \
+   "/etc/${PN}/subscriptions.txt" \
+   "/etc/${PN}/tunnels.cfg"
 }
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-03-24 Thread Anthony G. Basile
commit: 364d519ede7b3932dcff0b15aad19c375b5de661
Author: Matthew Brewer  sina  cn>
AuthorDate: Fri Mar 25 00:02:40 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Mar 25 01:28:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=364d519e

net-misc/i2pd: rm 2.5.1-r1 and misc old files

Package-Manager: portage-2.2.28
RepoMan-Options: --ignore-arches

 net-misc/i2pd/files/i2pd-2.4.0.service | 18 -
 ...h => i2pd-2.5.0-fix_installed_components.patch} |  0
 net-misc/i2pd/files/i2pd.conf  |  4 --
 net-misc/i2pd/i2pd-2.5.0-r3.ebuild |  2 +-
 net-misc/i2pd/i2pd-2.5.1-r1.ebuild | 82 --
 5 files changed, 1 insertion(+), 105 deletions(-)

diff --git a/net-misc/i2pd/files/i2pd-2.4.0.service 
b/net-misc/i2pd/files/i2pd-2.4.0.service
deleted file mode 100644
index c5acee0..000
--- a/net-misc/i2pd/files/i2pd-2.4.0.service
+++ /dev/null
@@ -1,18 +0,0 @@
-[Unit]
-Description=C++ daemon for accessing the I2P network
-After=network.target
-
-[Service]
-Type=forking
-Restart=on-abnormal
-PIDFile=/var/run/i2pd.pid
-User=i2pd
-Group=i2pd
-PermissionsStartOnly=yes
-ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
-ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
-ExecStart=/usr/bin/i2pd --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.cfg
-
-[Install]
-WantedBy=multi-user.target
-

diff --git a/net-misc/i2pd/files/i2pd-2.4.0-fix_installed_components.patch 
b/net-misc/i2pd/files/i2pd-2.5.0-fix_installed_components.patch
similarity index 100%
rename from net-misc/i2pd/files/i2pd-2.4.0-fix_installed_components.patch
rename to net-misc/i2pd/files/i2pd-2.5.0-fix_installed_components.patch

diff --git a/net-misc/i2pd/files/i2pd.conf b/net-misc/i2pd/files/i2pd.conf
deleted file mode 100644
index 10675e6..000
--- a/net-misc/i2pd/files/i2pd.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-log = 1
-daemon = 1
-service = 1
-

diff --git a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
index 73d79de..d143616 100644
--- a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
@@ -34,7 +34,7 @@ I2PD_GROUP="${I2PD_GROUP:-i2pd}"
 CMAKE_USE_DIR="${S}/build"
 
 src_prepare() {
-   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
+   epatch "${FILESDIR}/i2pd-2.5.0-fix_installed_components.patch"
 }
 
 src_configure() {

diff --git a/net-misc/i2pd/i2pd-2.5.1-r1.ebuild 
b/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
deleted file mode 100644
index 31385b5..000
--- a/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user cmake-utils
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PurpleI2P/i2pd;
-SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
-   dev-libs/crypto++
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( dev-libs/libressl )
-   upnp? ( net-libs/miniupnpc )
-   )"
-DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.46[static-libs,threads]
-   dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[static-libs] )
-   libressl? ( dev-libs/libressl[static-libs] )
-   upnp? ( net-libs/miniupnpc[static-libs] ) )
-   i2p-hardening? ( >=sys-devel/gcc-4.7 )
-   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
-
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
-
-CMAKE_USE_DIR="${S}/build"
-
-src_prepare() {
-   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
-}
-
-src_configure() {
-   mycmakeargs=(
-   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
-   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
-   -DWITH_PCH=$(usex pch ON OFF)
-   -DWITH_STATIC=$(usex static ON OFF)
-   -DWITH_UPNP=$(usex upnp ON OFF)
-   -DWITH_LIBRARY=ON
-   -DWITH_BINARY=ON
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-   dodoc README.md
-   doman "${FILESDIR}/${PN}.1"
-   keepdir /var/lib/i2pd/
-   insinto "/var/lib/i2pd"
-   doins -r "${S}/contrib/certificates"
-   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
-   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
-   fperms 700 /var/lib/i2pd/
-   dodir "/etc/${PN}"
-   insinto "/etc/${PN}"
-   doins "${S}/debian/${PN}.conf"
-   doins "${FILESDIR}/tunnels.cfg"
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-03-24 Thread Anthony G. Basile
commit: dad5a334c9ba1451055879cc6747edc1a95e1d20
Author: Matthew Brewer  sina  cn>
AuthorDate: Thu Mar 24 12:06:53 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Mar 24 22:35:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dad5a334

net-misc/i2pd: revbump

- fixes to config files so the i2pd service actually starts
- conversion to EAPI6
- minor beautifications

Package-Manager: portage-2.2.28
RepoMan-Options: --ignore-arches

 .../i2pd-2.5.1-disable_ipv6_in_i2pd_conf.patch |  9 +++
 .../i2pd-2.5.1-fix_installed_components.patch  | 30 ++
 net-misc/i2pd/files/i2pd-2.5.1.confd   |  9 +++
 net-misc/i2pd/files/i2pd-2.5.1.initd   | 26 +++
 net-misc/i2pd/files/i2pd-2.5.1.service | 18 +
 net-misc/i2pd/i2pd-2.5.1-r1.ebuild |  6 ++---
 .../{i2pd-2.5.1-r1.ebuild => i2pd-2.5.1-r2.ebuild} | 22 +---
 7 files changed, 108 insertions(+), 12 deletions(-)

diff --git a/net-misc/i2pd/files/i2pd-2.5.1-disable_ipv6_in_i2pd_conf.patch 
b/net-misc/i2pd/files/i2pd-2.5.1-disable_ipv6_in_i2pd_conf.patch
new file mode 100644
index 000..0617b65
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.1-disable_ipv6_in_i2pd_conf.patch
@@ -0,0 +1,9 @@
+diff -Naur i2pd-2.5.1/debian/i2pd.conf i2pd-2.5.1b/debian/i2pd.conf
+--- i2pd-2.5.1/debian/i2pd.conf2016-03-10 19:34:16.0 +0100
 i2pd-2.5.1b/debian/i2pd.conf   2016-03-24 22:30:51.490011172 +0100
+@@ -1,4 +1,4 @@
+-ipv6
++#ipv6
+ 
+ [httpproxy]
+ address = 127.0.0.1

diff --git a/net-misc/i2pd/files/i2pd-2.5.1-fix_installed_components.patch 
b/net-misc/i2pd/files/i2pd-2.5.1-fix_installed_components.patch
new file mode 100644
index 000..0416901
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.1-fix_installed_components.patch
@@ -0,0 +1,30 @@
+--- a/build/CMakeLists.txt.old 2016-02-04 21:30:50.954251000 +0100
 b/build/CMakeLists.txt 2016-02-04 21:34:50.457793484 +0100
+@@ -356,10 +356,6 @@
+   endif ()
+ endif ()
+ 
+-install(FILES ../LICENSE
+-  DESTINATION .
+-  COMPONENT Runtime
+-  )
+ # Take a copy on Appveyor
+ install(FILES "C:/projects/openssl-$ENV{OPENSSL}/LICENSE"
+   DESTINATION .
+@@ -369,7 +365,6 @@
+   )
+ 
+ file(GLOB_RECURSE I2PD_SOURCES "../*.cpp" "../build" "../Win32" 
"../Makefile*")
+-install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
+ # install(DIRECTORY ../ DESTINATION src/
+ #   # OPTIONAL
+ #   COMPONENT Source FILES_MATCHING
+@@ -378,7 +373,7 @@
+ #   )
+ 
+ file(GLOB I2PD_HEADERS "../*.h")
+-install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)
++install(FILES ${I2PD_HEADERS} DESTINATION "include/${PROJECT_NAME}" COMPONENT 
Headers)
+ # install(DIRECTORY ../ DESTINATION src/
+ #   # OPTIONAL
+ #   COMPONENT Headers FILES_MATCHING

diff --git a/net-misc/i2pd/files/i2pd-2.5.1.confd 
b/net-misc/i2pd/files/i2pd-2.5.1.confd
new file mode 100644
index 000..af0de2f
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.1.confd
@@ -0,0 +1,9 @@
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+I2PD_LOG="/var/log/i2pd.log"
+I2PD_PID="/var/run/i2pd.pid"
+I2PD_CFGDIR="/etc/i2pd/"
+# Options to i2pd
+I2PDOPTIONS="--daemon --service --pidfile=${I2PD_PID} \
+--log=file --logfile=${I2PD_LOG} \
+--conf=${I2PD_CFGDIR}i2pd.conf --tunconf=${I2PD_CFGDIR}tunnels.cfg"

diff --git a/net-misc/i2pd/files/i2pd-2.5.1.initd 
b/net-misc/i2pd/files/i2pd-2.5.1.initd
new file mode 100644
index 000..3bcdd31
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.1.initd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="C++ daemon for accessing the I2P network"
+
+depend() {
+   use dns logger netmount
+}
+
+start() {
+ebegin "Starting ${SVCNAME}"
+checkpath -f "${I2PD_LOG}" -o "${I2PD_USER}:${I2PD_GROUP}"
+checkpath -f "${I2PD_PID}" -o "${I2PD_USER}:${I2PD_GROUP}"
+start-stop-daemon -S -u "${I2PD_USER}:${I2PD_GROUP}" -p 
"${I2PD_PID}.pid" /usr/bin/i2pd -- ${I2PDOPTIONS}
+sleep 1
+[ -e "$I2PD_PID" -a -e /proc/$(cat "$I2PD_PID") ]
+eend $?
+}
+
+stop() {
+ebegin "Stopping ${SVCNAME}"
+start-stop-daemon -K -p "${I2PD_PID}" -R SIGTERM/20 SIGKILL/20 -P
+eend $?
+}

diff --git a/net-misc/i2pd/files/i2pd-2.5.1.service 
b/net-misc/i2pd/files/i2pd-2.5.1.service
new file mode 100644
index 000..4f79124
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.1.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/var/run/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --daemon 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-03-19 Thread Anthony G. Basile
commit: c5e7dbfc1b9e551937649a864ed0649e02625ac4
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Mar 19 16:27:25 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Mar 19 16:27:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e7dbfc

net-misc/i2pd: remove older version

Package-Manager: portage-2.2.26

 net-misc/i2pd/Manifest |  2 -
 net-misc/i2pd/files/i2pd.confd |  9 -
 net-misc/i2pd/files/i2pd.initd | 24 
 net-misc/i2pd/files/i2pd.logrotate | 14 ---
 net-misc/i2pd/files/i2pd.service   | 18 -
 net-misc/i2pd/i2pd-0.10.0.ebuild   | 65 ---
 net-misc/i2pd/i2pd-2.4.0-r1.ebuild | 80 --
 net-misc/i2pd/i2pd-2.5.0.ebuild| 80 --
 8 files changed, 292 deletions(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 143c572..34387a1 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,4 +1,2 @@
-DIST i2pd-0.10.0.tar.gz 391777 SHA256 
5195e01a2e5ebad580631fbf3e5f17cf158f4ee323cbc4b0200ae046fbefc733 SHA512 
ab0d32108f8ca1093ae3fcd752deeb8bed018074a8dd04fbcbffe49f1a2a78c3f2cf00341ddad18e8c8007edba6b75e45bce4357a621540fcdf7c2b74a26e726
 WHIRLPOOL 
19e8a92e20ae6fe1500a3f5462580d4896d5906be6ef307e48ea465712f5266b5251d75ad8b5636a3b894da3b3100dde329ddc733f7cd394499810d1bc65a083
-DIST i2pd-2.4.0.tar.gz 379197 SHA256 
a77ce5f48796229ab7e1fd98ca0168d336efa65eb3ff6e70ece056564c943094 SHA512 
37a896c4ea6cfa118edcbed279e9ff886625f72289bf919ea0f8f801e82dbac959e4754e3729c6ef4cdc593c7fcb412685d30375f484cd0285e9f70f1a3702d8
 WHIRLPOOL 
cd624db15e290c3d4b2090538e9872db3c5d90ce3fdd33bc871842c29a25515f474f55e2daac95a2fd32a052593bb5ef2fb18ce328ff282a3669aa19046b2e65
 DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627aa54b17c565c37782b01d SHA512 
77be4f2b3baf86bcf0c8f4aebd7c5fbef80654d99ff332aafcf1cd717271d80fcfe717047ac47599cb0ecfdf32347cf1c0e0be2b79759f5194c1a7e7910a42ca
 WHIRLPOOL 
929cb33849a51c5c214c64bef0e431c62738a6584fe63aa6ebcbd2febeb854135e5e16ed0f95c64bdfc241b15faaf45226347d3851a64421dd53e53932e03456
 DIST i2pd-2.5.1.tar.gz 394332 SHA256 
4cdc98676eb1d020dc11c8f2c7c5d0e739bf8c858c97eab235449cea98ca9d2c SHA512 
33293e96a2715696a8cb7bcabe995ffc9a5b374e4fa4b72eebf878a8b4603600a910ded1dc775d08d89eb881f0492118ef837a0432664f4a492008b31dafec92
 WHIRLPOOL 
c9b02580d4e6af8430e7ca0d90ad45653df700b4e955f9fcd852301129801ded284b7583c8a9a1398457caa04c8ca5080655c6bbb94686ee56af9547752c753b

diff --git a/net-misc/i2pd/files/i2pd.confd b/net-misc/i2pd/files/i2pd.confd
deleted file mode 100644
index fb93755..000
--- a/net-misc/i2pd/files/i2pd.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
-I2PD_LOG="/var/log/i2pd.log"
-I2PD_PID="/var/run/i2pd.pid"
-I2PD_CFGDIR="/etc/i2pd/"
-# Options to i2pd
-I2PDOPTIONS="--conf=${I2PD_CFGDIR}i2pd.conf 
--tunconf=${I2PD_CFGDIR}tunnels.cfg"
-# for debugging purposes
-#I2PDOPTIONS="--conf=${I2PD_CFGDIR}i2pd.conf 
--tunconf=${I2PD_CFGDIR}tunnels.cfg --log=file --logfile=${I2PD_LOG}"

diff --git a/net-misc/i2pd/files/i2pd.initd b/net-misc/i2pd/files/i2pd.initd
deleted file mode 100644
index 1c12209..000
--- a/net-misc/i2pd/files/i2pd.initd
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="C++ daemon for accessing the I2P network"
-
-depend() {
-   use dns logger netmount
-}
-
-start() {
-ebegin "Starting ${SVCNAME}"
-checkpath -f "${I2PD_LOG}" -o "${I2PD_USER}:${I2PD_GROUP}"
-checkpath -f "${I2PD_PID}" -o "${I2PD_USER}:${I2PD_GROUP}"
-start-stop-daemon -S -b -u "${I2PD_USER}:${I2PD_GROUP}" /usr/bin/i2pd 
-- ${I2PDOPTIONS}
-eend $?
-}
-
-stop() {
-ebegin "Stopping ${SVCNAME}"
-start-stop-daemon -K -p "${I2PD_PID}" -R SIGTERM/20 SIGKILL/20 -P
-eend $?
-}

diff --git a/net-misc/i2pd/files/i2pd.logrotate 
b/net-misc/i2pd/files/i2pd.logrotate
deleted file mode 100644
index 790cd2a..000
--- a/net-misc/i2pd/files/i2pd.logrotate
+++ /dev/null
@@ -1,14 +0,0 @@
-/var/log/i2pd.log {
-rotate 4
-weekly
-missingok
-notifempty
-compress
-delaycompress
-copytruncate
-create 640 i2pd i2pd
-postrotate
-/etc/init.d/i2pd restart >/dev/null
-endscript
-}
-

diff --git a/net-misc/i2pd/files/i2pd.service b/net-misc/i2pd/files/i2pd.service
deleted file mode 100644
index 2eee094..000
--- a/net-misc/i2pd/files/i2pd.service
+++ /dev/null
@@ -1,18 +0,0 @@
-[Unit]
-Description=C++ daemon for accessing the I2P network
-After=network.target
-
-[Service]
-Type=forking
-Restart=on-abnormal
-PIDFile=/var/run/i2pd.pid
-User=i2pd
-Group=i2pd
-PermissionsStartOnly=yes
-ExecStartPre=/bin/touch /var/run/i2pd.pid 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-14 Thread Anthony G. Basile
commit: 3f83ffcd6d6f7f9665b5e22ff4f73f2f09152e20
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Mar 14 15:46:54 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 14 15:53:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f83ffcd

net-misc/i2pd: remove older unstable versions

Package-Manager: portage-2.2.26

 net-misc/i2pd/i2pd-2.5.0-r1.ebuild | 80 -
 net-misc/i2pd/i2pd-2.5.0-r2.ebuild | 82 --
 net-misc/i2pd/i2pd-2.5.1.ebuild| 82 --
 3 files changed, 244 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.5.0-r1.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r1.ebuild
deleted file mode 100644
index bf77fc1..000
--- a/net-misc/i2pd/i2pd-2.5.0-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user cmake-utils
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PurpleI2P/i2pd;
-SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
-   dev-libs/crypto++
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( dev-libs/libressl )
-   upnp? ( net-libs/miniupnpc )
-   )"
-DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.46[static-libs,threads]
-   dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[static-libs] )
-   libressl? ( dev-libs/libressl[static-libs] )
-   upnp? ( net-libs/miniupnpc[static-libs] ) )
-   i2p-hardening? ( >=sys-devel/gcc-4.7 )
-   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
-
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
-
-CMAKE_USE_DIR="${S}/build"
-
-src_prepare() {
-   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
-}
-
-src_configure() {
-   mycmakeargs=(
-   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
-   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
-   -DWITH_PCH=$(usex pch ON OFF)
-   -DWITH_STATIC=$(usex static ON OFF)
-   -DWITH_UPNP=$(usex upnp ON OFF)
-   -DWITH_LIBRARY=ON
-   -DWITH_BINARY=ON
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-   dodoc README.md
-   doman "${FILESDIR}/${PN}.1"
-   keepdir /var/lib/i2pd/
-   insinto "/var/lib/i2pd"
-   doins -r "${S}/contrib/certificates"
-   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
-   fperms 700 /var/lib/i2pd/
-   dodir "/etc/${PN}"
-   insinto "/etc/${PN}"
-   doins "${FILESDIR}/${PN}.conf"
-   doins "${FILESDIR}/tunnels.cfg"
-   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"
-   fperms 600 "/etc/${PN}/${PN}.conf"
-   dodir /usr/share/i2pd
-   newconfd "${FILESDIR}/${PN}-2.5.0.confd" "${PN}"
-   newinitd "${FILESDIR}/${PN}-2.5.0.initd" "${PN}"
-   systemd_newunit "${FILESDIR}/${PN}-2.5.0.service" "${PN}.service"
-   doenvd "${FILESDIR}/99${PN}"
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/${PN}.logrotate" "${PN}"
-}
-
-pkg_setup() {
-   enewgroup "${I2PD_GROUP}"
-   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
-}

diff --git a/net-misc/i2pd/i2pd-2.5.0-r2.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r2.ebuild
deleted file mode 100644
index 5a6b303..000
--- a/net-misc/i2pd/i2pd-2.5.0-r2.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user cmake-utils
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PurpleI2P/i2pd;
-SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
-   dev-libs/crypto++
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( dev-libs/libressl )
-   upnp? ( net-libs/miniupnpc )
-   )"
-DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.46[static-libs,threads]
-   dev-libs/crypto++[static-libs]
-   !libressl? ( dev-libs/openssl:0[static-libs] )
-   libressl? ( dev-libs/libressl[static-libs] )
-   upnp? ( net-libs/miniupnpc[static-libs] ) )
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-14 Thread Anthony G. Basile
commit: e4d61de8c0d2ae692eb2bb40fe99120d5a167c39
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Mon Mar 14 11:28:43 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 14 15:53:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d61de8

net-misc/i2pd: use correct logrotate file

 net-misc/i2pd/i2pd-2.5.0-r3.ebuild | 82 ++
 net-misc/i2pd/i2pd-2.5.1-r1.ebuild | 82 ++
 2 files changed, 164 insertions(+)

diff --git a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
new file mode 100644
index 000..4ffddfd
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   doman "${FILESDIR}/${PN}.1"
+   keepdir /var/lib/i2pd/
+   insinto "/var/lib/i2pd"
+   doins -r "${S}/contrib/certificates"
+   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   dodir "/etc/${PN}"
+   insinto "/etc/${PN}"
+   doins "${FILESDIR}/${PN}.conf"
+   doins "${FILESDIR}/tunnels.cfg"
+   doins "${S}/debian/subscriptions.txt"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"
+   fperms 600 "/etc/${PN}/${PN}.conf"
+   dodir /usr/share/i2pd
+   newconfd "${FILESDIR}/${PN}-2.5.0.confd" "${PN}"
+   newinitd "${FILESDIR}/${PN}-2.5.0.initd" "${PN}"
+   systemd_newunit "${FILESDIR}/${PN}-2.5.0.service" "${PN}.service"
+   doenvd "${FILESDIR}/99${PN}"
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}-2.5.0.logrotate" "${PN}"
+}
+
+pkg_setup() {
+   enewgroup "${I2PD_GROUP}"
+   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
+}

diff --git a/net-misc/i2pd/i2pd-2.5.1-r1.ebuild 
b/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
new file mode 100644
index 000..4ffddfd
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-14 Thread Anthony G. Basile
commit: 5c94483806d262249ebdbe0d0f7fe382afb6ee51
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Mon Mar 14 11:40:55 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 14 15:53:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c944838

net-misc/i2pd: use provided i2pd.conf

 net-misc/i2pd/i2pd-2.5.0-r3.ebuild | 2 +-
 net-misc/i2pd/i2pd-2.5.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
index 4ffddfd..73d79de 100644
--- a/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
+++ b/net-misc/i2pd/i2pd-2.5.0-r3.ebuild
@@ -62,7 +62,7 @@ src_install() {
fperms 700 /var/lib/i2pd/
dodir "/etc/${PN}"
insinto "/etc/${PN}"
-   doins "${FILESDIR}/${PN}.conf"
+   doins "${S}/debian/${PN}.conf"
doins "${FILESDIR}/tunnels.cfg"
doins "${S}/debian/subscriptions.txt"
fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"

diff --git a/net-misc/i2pd/i2pd-2.5.1-r1.ebuild 
b/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
index 4ffddfd..73d79de 100644
--- a/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
+++ b/net-misc/i2pd/i2pd-2.5.1-r1.ebuild
@@ -62,7 +62,7 @@ src_install() {
fperms 700 /var/lib/i2pd/
dodir "/etc/${PN}"
insinto "/etc/${PN}"
-   doins "${FILESDIR}/${PN}.conf"
+   doins "${S}/debian/${PN}.conf"
doins "${FILESDIR}/tunnels.cfg"
doins "${S}/debian/subscriptions.txt"
fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-14 Thread Anthony G. Basile
commit: b9adf62fa6ddc431f6c7cd60a6383ad4cabf4959
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Mar 13 21:06:18 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 14 09:02:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9adf62f

net-misc/i2pd: version bump to 2.5.1

 net-misc/i2pd/Manifest  |  1 +
 net-misc/i2pd/i2pd-2.5.1.ebuild | 82 +
 2 files changed, 83 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 00b2bed..143c572 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,3 +1,4 @@
 DIST i2pd-0.10.0.tar.gz 391777 SHA256 
5195e01a2e5ebad580631fbf3e5f17cf158f4ee323cbc4b0200ae046fbefc733 SHA512 
ab0d32108f8ca1093ae3fcd752deeb8bed018074a8dd04fbcbffe49f1a2a78c3f2cf00341ddad18e8c8007edba6b75e45bce4357a621540fcdf7c2b74a26e726
 WHIRLPOOL 
19e8a92e20ae6fe1500a3f5462580d4896d5906be6ef307e48ea465712f5266b5251d75ad8b5636a3b894da3b3100dde329ddc733f7cd394499810d1bc65a083
 DIST i2pd-2.4.0.tar.gz 379197 SHA256 
a77ce5f48796229ab7e1fd98ca0168d336efa65eb3ff6e70ece056564c943094 SHA512 
37a896c4ea6cfa118edcbed279e9ff886625f72289bf919ea0f8f801e82dbac959e4754e3729c6ef4cdc593c7fcb412685d30375f484cd0285e9f70f1a3702d8
 WHIRLPOOL 
cd624db15e290c3d4b2090538e9872db3c5d90ce3fdd33bc871842c29a25515f474f55e2daac95a2fd32a052593bb5ef2fb18ce328ff282a3669aa19046b2e65
 DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627aa54b17c565c37782b01d SHA512 
77be4f2b3baf86bcf0c8f4aebd7c5fbef80654d99ff332aafcf1cd717271d80fcfe717047ac47599cb0ecfdf32347cf1c0e0be2b79759f5194c1a7e7910a42ca
 WHIRLPOOL 
929cb33849a51c5c214c64bef0e431c62738a6584fe63aa6ebcbd2febeb854135e5e16ed0f95c64bdfc241b15faaf45226347d3851a64421dd53e53932e03456
+DIST i2pd-2.5.1.tar.gz 394332 SHA256 
4cdc98676eb1d020dc11c8f2c7c5d0e739bf8c858c97eab235449cea98ca9d2c SHA512 
33293e96a2715696a8cb7bcabe995ffc9a5b374e4fa4b72eebf878a8b4603600a910ded1dc775d08d89eb881f0492118ef837a0432664f4a492008b31dafec92
 WHIRLPOOL 
c9b02580d4e6af8430e7ca0d90ad45653df700b4e955f9fcd852301129801ded284b7583c8a9a1398457caa04c8ca5080655c6bbb94686ee56af9547752c753b

diff --git a/net-misc/i2pd/i2pd-2.5.1.ebuild b/net-misc/i2pd/i2pd-2.5.1.ebuild
new file mode 100644
index 000..5a6b303
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.5.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   doman "${FILESDIR}/${PN}.1"
+   keepdir /var/lib/i2pd/
+   insinto "/var/lib/i2pd"
+   doins -r "${S}/contrib/certificates"
+   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   dodir "/etc/${PN}"
+   insinto "/etc/${PN}"
+   doins "${FILESDIR}/${PN}.conf"
+   doins "${FILESDIR}/tunnels.cfg"
+   doins "${S}/debian/subscriptions.txt"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"
+   fperms 600 "/etc/${PN}/${PN}.conf"
+   dodir /usr/share/i2pd
+   newconfd "${FILESDIR}/${PN}-2.5.0.confd" "${PN}"
+   newinitd 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-14 Thread Anthony G. Basile
commit: a70d3a9b1bd76537607fb27662190cfbb7629f93
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Mar 13 21:02:40 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 14 09:02:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a70d3a9b

net-misc/i2pd: use provided subscriptions.txt

 net-misc/i2pd/i2pd-2.5.0-r2.ebuild | 82 ++
 1 file changed, 82 insertions(+)

diff --git a/net-misc/i2pd/i2pd-2.5.0-r2.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r2.ebuild
new file mode 100644
index 000..5a6b303
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.5.0-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   doman "${FILESDIR}/${PN}.1"
+   keepdir /var/lib/i2pd/
+   insinto "/var/lib/i2pd"
+   doins -r "${S}/contrib/certificates"
+   dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   dodir "/etc/${PN}"
+   insinto "/etc/${PN}"
+   doins "${FILESDIR}/${PN}.conf"
+   doins "${FILESDIR}/tunnels.cfg"
+   doins "${S}/debian/subscriptions.txt"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"
+   fperms 600 "/etc/${PN}/${PN}.conf"
+   dodir /usr/share/i2pd
+   newconfd "${FILESDIR}/${PN}-2.5.0.confd" "${PN}"
+   newinitd "${FILESDIR}/${PN}-2.5.0.initd" "${PN}"
+   systemd_newunit "${FILESDIR}/${PN}-2.5.0.service" "${PN}.service"
+   doenvd "${FILESDIR}/99${PN}"
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotate" "${PN}"
+}
+
+pkg_setup() {
+   enewgroup "${I2PD_GROUP}"
+   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/

2016-03-14 Thread Anthony G. Basile
commit: 6bcc3054f2f5dcc1c7b09d3961f3b12b8009e2c0
Author: Alexey Korepanov  yandex  ru>
AuthorDate: Sun Mar 13 20:47:45 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 14 09:01:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bcc3054

net-misc/i2pd: fix bug #564596

 net-misc/i2pd/files/i2pd-2.5.0.confd |  9 
 net-misc/i2pd/files/i2pd-2.5.0.initd | 26 +++
 net-misc/i2pd/files/i2pd-2.5.0.logrotate | 11 +
 net-misc/i2pd/files/i2pd-2.5.0.service   | 18 +++
 net-misc/i2pd/i2pd-2.5.0-r1.ebuild   | 80 
 5 files changed, 144 insertions(+)

diff --git a/net-misc/i2pd/files/i2pd-2.5.0.confd 
b/net-misc/i2pd/files/i2pd-2.5.0.confd
new file mode 100644
index 000..fee9bc4
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.0.confd
@@ -0,0 +1,9 @@
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+I2PD_LOG="/var/log/i2pd.log"
+I2PD_PID="/var/run/i2pd.pid"
+I2PD_CFGDIR="/etc/i2pd/"
+# Options to i2pd
+I2PDOPTIONS="--daemon --service --pidfile ${I2PD_PID} \
+--log=file --logfile=${I2PD_LOG} \
+--conf=${I2PD_CFGDIR}i2pd.conf --tunconf=${I2PD_CFGDIR}tunnels.cfg"

diff --git a/net-misc/i2pd/files/i2pd-2.5.0.initd 
b/net-misc/i2pd/files/i2pd-2.5.0.initd
new file mode 100644
index 000..6c1d4b7
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.0.initd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="C++ daemon for accessing the I2P network"
+
+depend() {
+   use dns logger netmount
+}
+
+start() {
+ebegin "Starting ${SVCNAME}"
+checkpath -f "${I2PD_LOG}" -o "${I2PD_USER}:${I2PD_GROUP}"
+checkpath -f "${I2PD_PID}" -o "${I2PD_USER}:${I2PD_GROUP}"
+start-stop-daemon -S -b -u "${I2PD_USER}:${I2PD_GROUP}" /usr/bin/i2pd 
-- ${I2PDOPTIONS}
+sleep 1
+[ -e "$I2PD_PID" -a -e /proc/$(cat "$I2PD_PID") ]
+eend $?
+}
+
+stop() {
+ebegin "Stopping ${SVCNAME}"
+start-stop-daemon -K -p "${I2PD_PID}" -R SIGTERM/20 SIGKILL/20 -P
+eend $?
+}

diff --git a/net-misc/i2pd/files/i2pd-2.5.0.logrotate 
b/net-misc/i2pd/files/i2pd-2.5.0.logrotate
new file mode 100644
index 000..41e55e6
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.0.logrotate
@@ -0,0 +1,11 @@
+/var/log/i2pd.log {
+rotate 4
+weekly
+missingok
+notifempty
+create 640 i2pd i2pd
+postrotate
+/bin/kill -HUP $(cat /var/run/i2pd.pid)
+endscript
+}
+

diff --git a/net-misc/i2pd/files/i2pd-2.5.0.service 
b/net-misc/i2pd/files/i2pd-2.5.0.service
new file mode 100644
index 000..3a3076e
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.5.0.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/var/run/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --daemon --service --pidfile /var/run/i2pd.pid 
--log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.cfg
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/net-misc/i2pd/i2pd-2.5.0-r1.ebuild 
b/net-misc/i2pd/i2pd-2.5.0-r1.ebuild
new file mode 100644
index 000..bf77fc1
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.5.0-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
+}
+
+src_configure() 

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-03-06 Thread Anthony G. Basile
commit: e5d2925a101c7912e75e8f2b0ffedc44e3f06260
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Mar  5 20:38:15 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Mar  5 20:38:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5d2925a

net-misc/i2pd: version bump to 2.5.0, bug #576520

Package-Manager: portage-2.2.26

 net-misc/i2pd/Manifest  |  1 +
 net-misc/i2pd/i2pd-2.5.0.ebuild | 80 +
 2 files changed, 81 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index cdad162..00b2bed 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,2 +1,3 @@
 DIST i2pd-0.10.0.tar.gz 391777 SHA256 
5195e01a2e5ebad580631fbf3e5f17cf158f4ee323cbc4b0200ae046fbefc733 SHA512 
ab0d32108f8ca1093ae3fcd752deeb8bed018074a8dd04fbcbffe49f1a2a78c3f2cf00341ddad18e8c8007edba6b75e45bce4357a621540fcdf7c2b74a26e726
 WHIRLPOOL 
19e8a92e20ae6fe1500a3f5462580d4896d5906be6ef307e48ea465712f5266b5251d75ad8b5636a3b894da3b3100dde329ddc733f7cd394499810d1bc65a083
 DIST i2pd-2.4.0.tar.gz 379197 SHA256 
a77ce5f48796229ab7e1fd98ca0168d336efa65eb3ff6e70ece056564c943094 SHA512 
37a896c4ea6cfa118edcbed279e9ff886625f72289bf919ea0f8f801e82dbac959e4754e3729c6ef4cdc593c7fcb412685d30375f484cd0285e9f70f1a3702d8
 WHIRLPOOL 
cd624db15e290c3d4b2090538e9872db3c5d90ce3fdd33bc871842c29a25515f474f55e2daac95a2fd32a052593bb5ef2fb18ce328ff282a3669aa19046b2e65
+DIST i2pd-2.5.0.tar.gz 391637 SHA256 
ea01cc99c443f838ab8faf3440da45dd2ca666ab627aa54b17c565c37782b01d SHA512 
77be4f2b3baf86bcf0c8f4aebd7c5fbef80654d99ff332aafcf1cd717271d80fcfe717047ac47599cb0ecfdf32347cf1c0e0be2b79759f5194c1a7e7910a42ca
 WHIRLPOOL 
929cb33849a51c5c214c64bef0e431c62738a6584fe63aa6ebcbd2febeb854135e5e16ed0f95c64bdfc241b15faaf45226347d3851a64421dd53e53932e03456

diff --git a/net-misc/i2pd/i2pd-2.5.0.ebuild b/net-misc/i2pd/i2pd-2.5.0.ebuild
new file mode 100644
index 000..1d1fa0e
--- /dev/null
+++ b/net-misc/i2pd/i2pd-2.5.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PurpleI2P/i2pd;
+SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads]
+   dev-libs/crypto++
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   upnp? ( net-libs/miniupnpc )
+   )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads]
+   dev-libs/crypto++[static-libs]
+   !libressl? ( dev-libs/openssl:0[static-libs] )
+   libressl? ( dev-libs/libressl[static-libs] )
+   upnp? ( net-libs/miniupnpc[static-libs] ) )
+   i2p-hardening? ( >=sys-devel/gcc-4.7 )
+   || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_prepare() {
+   epatch "${FILESDIR}/i2pd-2.4.0-fix_installed_components.patch"
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
+   -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
+   -DWITH_PCH=$(usex pch ON OFF)
+   -DWITH_STATIC=$(usex static ON OFF)
+   -DWITH_UPNP=$(usex upnp ON OFF)
+   -DWITH_LIBRARY=ON
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   doman "${FILESDIR}/${PN}.1"
+   keepdir /var/lib/i2pd/
+   insinto "/var/lib/i2pd"
+   doins -r "${S}/contrib/certificates"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   dodir "/etc/${PN}"
+   insinto "/etc/${PN}"
+   doins "${FILESDIR}/${PN}.conf"
+   doins "${FILESDIR}/tunnels.cfg"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}/${PN}.conf"
+   fperms 600 "/etc/${PN}/${PN}.conf"
+   dodir /usr/share/i2pd
+   newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   systemd_newunit "${FILESDIR}/${PN}-2.4.0.service" "${PN}.service"
+   doenvd "${FILESDIR}/99${PN}"
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotate" "${PN}"
+}
+
+pkg_setup() {
+   enewgroup "${I2PD_GROUP}"
+   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-02-18 Thread Patrice Clement
commit: 0c7ff1fd1800c2b3d3ce998c7d70b90afce2117f
Author: Matthew Brewer  sina  cn>
AuthorDate: Wed Feb 17 16:06:22 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Feb 17 17:52:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7ff1fd

net-misc/i2pd: update remote-id in metadata.xml to PurpleI2P/i2pd

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index b713bca..0637903 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -15,6 +15,6 @@



-   PrivacySolutions/i2pd
+   PurpleI2P/i2pd

 



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-02-18 Thread Patrice Clement
commit: 8993bcdf6bd7cbfe5e55142f666dc4be52941dd2
Author: Matthew Brewer  sina  cn>
AuthorDate: Sun Feb 14 14:44:42 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Feb 14 14:52:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8993bcdf

net-misc/i2pd: adjust systemd .service to point to /usr/bin/i2pd

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/files/i2pd-2.4.0.service | 18 ++
 .../i2pd/{i2pd-2.4.0.ebuild => i2pd-2.4.0-r1.ebuild}   |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.4.0.service 
b/net-misc/i2pd/files/i2pd-2.4.0.service
new file mode 100644
index 000..c5acee0
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.4.0.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/var/run/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.cfg
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/net-misc/i2pd/i2pd-2.4.0.ebuild 
b/net-misc/i2pd/i2pd-2.4.0-r1.ebuild
similarity index 97%
rename from net-misc/i2pd/i2pd-2.4.0.ebuild
rename to net-misc/i2pd/i2pd-2.4.0-r1.ebuild
index bf59082..bf6489c 100644
--- a/net-misc/i2pd/i2pd-2.4.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.4.0-r1.ebuild
@@ -68,7 +68,7 @@ src_install() {
dodir /usr/share/i2pd
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   systemd_dounit "${FILESDIR}/${PN}.service"
+   systemd_newunit "${FILESDIR}/${PN}-2.4.0.service" "${PN}.service"
doenvd "${FILESDIR}/99${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-02-18 Thread Patrice Clement
commit: 3c1a84920deb37c8b4984921fefe0f2fb2c4a565
Author: Matthew Brewer  sina  cn>
AuthorDate: Wed Feb 17 16:08:30 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Feb 17 17:52:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1a8492

net-misc/i2pd: add myself as proxy-maintainer to metadata.xml

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index 0637903..d904291 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -9,6 +9,10 @@
bluen...@gentoo.org
Anthony G. Basile

+   
+   tombo...@sina.cn
+   Proxy maintainer. Please subscribe to bugs.
+   


Compile with hardening on vanilla compilers/linkers



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-02-18 Thread Anthony G. Basile
commit: 61fd919af0201072b41858b78ec537893b722898
Author: Matthew Brewer  sina  cn>
AuthorDate: Wed Feb 17 16:08:30 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Feb 18 17:55:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61fd919a

net-misc/i2pd: add myself as proxy-maintainer to metadata.xml

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index 0637903..d904291 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -9,6 +9,10 @@
bluen...@gentoo.org
Anthony G. Basile

+   
+   tombo...@sina.cn
+   Proxy maintainer. Please subscribe to bugs.
+   


Compile with hardening on vanilla compilers/linkers



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-02-18 Thread Anthony G. Basile
commit: 2acffb0e1e5eeb7827c8b2d873b3a51c6891eabd
Author: Matthew Brewer  sina  cn>
AuthorDate: Wed Feb 17 16:06:22 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Feb 18 17:55:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2acffb0e

net-misc/i2pd: update remote-id in metadata.xml to PurpleI2P/i2pd

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index b713bca..0637903 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -15,6 +15,6 @@



-   PrivacySolutions/i2pd
+   PurpleI2P/i2pd

 



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/

2016-02-18 Thread Anthony G. Basile
commit: 5c5a3321c6ab71106170625c95177e6595998683
Author: Matthew Brewer  sina  cn>
AuthorDate: Sun Feb 14 14:44:42 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Feb 18 17:55:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5a3321

net-misc/i2pd: adjust systemd .service to point to /usr/bin/i2pd

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/files/i2pd-2.4.0.service | 18 ++
 .../i2pd/{i2pd-2.4.0.ebuild => i2pd-2.4.0-r1.ebuild}   |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/net-misc/i2pd/files/i2pd-2.4.0.service 
b/net-misc/i2pd/files/i2pd-2.4.0.service
new file mode 100644
index 000..c5acee0
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.4.0.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=C++ daemon for accessing the I2P network
+After=network.target
+
+[Service]
+Type=forking
+Restart=on-abnormal
+PIDFile=/var/run/i2pd.pid
+User=i2pd
+Group=i2pd
+PermissionsStartOnly=yes
+ExecStartPre=/bin/touch /var/run/i2pd.pid /var/log/i2pd.log
+ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd.pid /var/log/i2pd.log
+ExecStart=/usr/bin/i2pd --conf=/etc/i2pd/i2pd.conf 
--tunconf=/etc/i2pd/tunnels.cfg
+
+[Install]
+WantedBy=multi-user.target
+

diff --git a/net-misc/i2pd/i2pd-2.4.0.ebuild 
b/net-misc/i2pd/i2pd-2.4.0-r1.ebuild
similarity index 97%
rename from net-misc/i2pd/i2pd-2.4.0.ebuild
rename to net-misc/i2pd/i2pd-2.4.0-r1.ebuild
index bf59082..bf6489c 100644
--- a/net-misc/i2pd/i2pd-2.4.0.ebuild
+++ b/net-misc/i2pd/i2pd-2.4.0-r1.ebuild
@@ -68,7 +68,7 @@ src_install() {
dodir /usr/share/i2pd
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   systemd_dounit "${FILESDIR}/${PN}.service"
+   systemd_newunit "${FILESDIR}/${PN}-2.4.0.service" "${PN}.service"
doenvd "${FILESDIR}/99${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-02-06 Thread Patrice Clement
commit: d3b07c1b51818a76a0a93c10ad369f69ad1139c7
Author: Matthew Brewer  sina  cn>
AuthorDate: Thu Feb  4 21:23:11 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Feb  4 21:23:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b07c1b

net-misc/i2pd: remove old versions 0.5 and 0.6

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/Manifest  |  2 --
 net-misc/i2pd/i2pd-0.5.0.ebuild | 63 ---
 net-misc/i2pd/i2pd-0.6.0.ebuild | 65 -
 3 files changed, 130 deletions(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index c41232f..cdad162 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,4 +1,2 @@
 DIST i2pd-0.10.0.tar.gz 391777 SHA256 
5195e01a2e5ebad580631fbf3e5f17cf158f4ee323cbc4b0200ae046fbefc733 SHA512 
ab0d32108f8ca1093ae3fcd752deeb8bed018074a8dd04fbcbffe49f1a2a78c3f2cf00341ddad18e8c8007edba6b75e45bce4357a621540fcdf7c2b74a26e726
 WHIRLPOOL 
19e8a92e20ae6fe1500a3f5462580d4896d5906be6ef307e48ea465712f5266b5251d75ad8b5636a3b894da3b3100dde329ddc733f7cd394499810d1bc65a083
-DIST i2pd-0.5.0.tar.gz 352460 SHA256 
7f2033fe1c380c458722d68f611d0fa69a844ceba71db13a918adac6e01a0594 SHA512 
08c51dc5fa3712af54b7dcc9f4524fb19d7b42a279646c7852efdf1fd49cf4ea24192c936229954c3733ba4bcbc480205bcfeca739ffae3642f5c62bd24e0cf6
 WHIRLPOOL 
1812a8733f17cd6b9885cf8af3ad0412f238356121118d46fbed53cb826aaa6c878a045adb69e0a692fd5cd3fc720192c635f4e594d3d42efb2116f14bbba9e9
-DIST i2pd-0.6.0.tar.gz 360829 SHA256 
149a8c2d870ebc3988aea06eec906c9e968b3d89ae282bd3b2b5ead205f7c3b7 SHA512 
084c75c5f972dbc07740119c3ae1711924cf740391703a95752164eab7a04d6cea0cfb302530e1e1bebafb54f9eed552e747479ae55fb053e824cdf059ab3266
 WHIRLPOOL 
a858a49173755e052f31a95f4f7075965dac0c89943a7dc05c3c88d51b646ab86a7510a9533e33d9c5f0e7736e9f702f6fd0de4e6a841cc3ec57ea5aaf2b991c
 DIST i2pd-2.4.0.tar.gz 379197 SHA256 
a77ce5f48796229ab7e1fd98ca0168d336efa65eb3ff6e70ece056564c943094 SHA512 
37a896c4ea6cfa118edcbed279e9ff886625f72289bf919ea0f8f801e82dbac959e4754e3729c6ef4cdc593c7fcb412685d30375f484cd0285e9f70f1a3702d8
 WHIRLPOOL 
cd624db15e290c3d4b2090538e9872db3c5d90ce3fdd33bc871842c29a25515f474f55e2daac95a2fd32a052593bb5ef2fb18ce328ff282a3669aa19046b2e65

diff --git a/net-misc/i2pd/i2pd-0.5.0.ebuild b/net-misc/i2pd/i2pd-0.5.0.ebuild
deleted file mode 100644
index 597fb3a..000
--- a/net-misc/i2pd/i2pd-0.5.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user cmake-utils
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PrivacySolutions/i2pd;
-SRC_URI="https://github.com/PrivacySolutions/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpu_flags_x86_aes i2p-hardening static"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] )
-   !static? ( dev-libs/crypto++ )"
-DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.46[static-libs,threads] )
-   static? ( dev-libs/crypto++[static-libs] )
-   >=dev-util/cmake-2.8
-   i2p-hardening? ( >=sys-devel/gcc-4.6 )
-   || ( >=sys-devel/gcc-4.6 >=sys-devel/clang-3.3 )"
-
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
-
-CMAKE_USE_DIR="${S}/build"
-
-src_configure() {
-   mycmakeargs=(
-   $(cmake-utils_use_with cpu_flags_x86_aes AESNI)
-   $(cmake-utils_use_with i2p-hardening HARDENING)
-   $(cmake-utils_use_with static STATIC)
-   -D WITH_LIBRARY=OFF
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-   doman "${FILESDIR}/${PN}.1"
-   keepdir /var/lib/i2pd/
-   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
-   fperms 700 /var/lib/i2pd/
-   insinto /etc/
-   doins "${FILESDIR}/${PN}.conf"
-   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}.conf"
-   fperms 600 "/etc/${PN}.conf"
-   dodir /usr/share/i2pd
-   cp -R "${S}/contrib/certificates" "${D}/var/lib/i2pd" || die "Install 
failed!"
-   newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   systemd_dounit "${FILESDIR}/${PN}.service"
-   doenvd "${FILESDIR}/99${PN}"
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/${PN}.logrotate" "${PN}"
-}
-
-pkg_setup() {
-   enewgroup "${I2PD_GROUP}"
-   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
-}

diff --git a/net-misc/i2pd/i2pd-0.6.0.ebuild b/net-misc/i2pd/i2pd-0.6.0.ebuild
deleted file mode 100644
index 6dc85b5..000
--- a/net-misc/i2pd/i2pd-0.6.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/files/, net-misc/i2pd/

2016-02-06 Thread Patrice Clement
commit: d7f91b1cff28c329e5e0515ff5a67ef0bca1dd25
Author: Matthew Brewer  sina  cn>
AuthorDate: Wed Feb  3 21:41:46 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Feb  4 21:18:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f91b1c

net-misc/i2pd: version bump 2.4.0

- rewrote configuration to use ECDSA-P256 for signed messages
- default config now includes irc pre-setup (irc.postman.i2p)

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/Manifest |  1 +
 .../i2pd-2.4.0-fix_installed_components.patch  | 30 
 net-misc/i2pd/files/i2pd.confd |  5 +-
 net-misc/i2pd/files/i2pd.initd |  8 +--
 net-misc/i2pd/files/i2pd.service   |  2 +-
 net-misc/i2pd/files/tunnels.cfg| 17 +
 net-misc/i2pd/i2pd-2.4.0.ebuild| 80 ++
 7 files changed, 137 insertions(+), 6 deletions(-)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index a4e7a86..c41232f 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,3 +1,4 @@
 DIST i2pd-0.10.0.tar.gz 391777 SHA256 
5195e01a2e5ebad580631fbf3e5f17cf158f4ee323cbc4b0200ae046fbefc733 SHA512 
ab0d32108f8ca1093ae3fcd752deeb8bed018074a8dd04fbcbffe49f1a2a78c3f2cf00341ddad18e8c8007edba6b75e45bce4357a621540fcdf7c2b74a26e726
 WHIRLPOOL 
19e8a92e20ae6fe1500a3f5462580d4896d5906be6ef307e48ea465712f5266b5251d75ad8b5636a3b894da3b3100dde329ddc733f7cd394499810d1bc65a083
 DIST i2pd-0.5.0.tar.gz 352460 SHA256 
7f2033fe1c380c458722d68f611d0fa69a844ceba71db13a918adac6e01a0594 SHA512 
08c51dc5fa3712af54b7dcc9f4524fb19d7b42a279646c7852efdf1fd49cf4ea24192c936229954c3733ba4bcbc480205bcfeca739ffae3642f5c62bd24e0cf6
 WHIRLPOOL 
1812a8733f17cd6b9885cf8af3ad0412f238356121118d46fbed53cb826aaa6c878a045adb69e0a692fd5cd3fc720192c635f4e594d3d42efb2116f14bbba9e9
 DIST i2pd-0.6.0.tar.gz 360829 SHA256 
149a8c2d870ebc3988aea06eec906c9e968b3d89ae282bd3b2b5ead205f7c3b7 SHA512 
084c75c5f972dbc07740119c3ae1711924cf740391703a95752164eab7a04d6cea0cfb302530e1e1bebafb54f9eed552e747479ae55fb053e824cdf059ab3266
 WHIRLPOOL 
a858a49173755e052f31a95f4f7075965dac0c89943a7dc05c3c88d51b646ab86a7510a9533e33d9c5f0e7736e9f702f6fd0de4e6a841cc3ec57ea5aaf2b991c
+DIST i2pd-2.4.0.tar.gz 379197 SHA256 
a77ce5f48796229ab7e1fd98ca0168d336efa65eb3ff6e70ece056564c943094 SHA512 
37a896c4ea6cfa118edcbed279e9ff886625f72289bf919ea0f8f801e82dbac959e4754e3729c6ef4cdc593c7fcb412685d30375f484cd0285e9f70f1a3702d8
 WHIRLPOOL 
cd624db15e290c3d4b2090538e9872db3c5d90ce3fdd33bc871842c29a25515f474f55e2daac95a2fd32a052593bb5ef2fb18ce328ff282a3669aa19046b2e65

diff --git a/net-misc/i2pd/files/i2pd-2.4.0-fix_installed_components.patch 
b/net-misc/i2pd/files/i2pd-2.4.0-fix_installed_components.patch
new file mode 100644
index 000..84749c8
--- /dev/null
+++ b/net-misc/i2pd/files/i2pd-2.4.0-fix_installed_components.patch
@@ -0,0 +1,30 @@
+--- build/CMakeLists.txt.old   2016-02-04 21:30:50.954251000 +0100
 build/CMakeLists.txt   2016-02-04 21:34:50.457793484 +0100
+@@ -356,10 +356,6 @@
+   endif ()
+ endif ()
+ 
+-install(FILES ../LICENSE
+-  DESTINATION .
+-  COMPONENT Runtime
+-  )
+ # Take a copy on Appveyor
+ install(FILES "C:/projects/openssl-$ENV{OPENSSL}/LICENSE"
+   DESTINATION .
+@@ -369,7 +365,6 @@
+   )
+ 
+ file(GLOB_RECURSE I2PD_SOURCES "../*.cpp" "../build" "../Win32" 
"../Makefile*")
+-install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
+ # install(DIRECTORY ../ DESTINATION src/
+ #   # OPTIONAL
+ #   COMPONENT Source FILES_MATCHING
+@@ -378,7 +373,7 @@
+ #   )
+ 
+ file(GLOB I2PD_HEADERS "../*.h")
+-install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)
++install(FILES ${I2PD_HEADERS} DESTINATION "include/${PROJECT_NAME}" COMPONENT 
Headers)
+ # install(DIRECTORY ../ DESTINATION src/
+ #   # OPTIONAL
+ #   COMPONENT Headers FILES_MATCHING

diff --git a/net-misc/i2pd/files/i2pd.confd b/net-misc/i2pd/files/i2pd.confd
index 7913af7..fb93755 100644
--- a/net-misc/i2pd/files/i2pd.confd
+++ b/net-misc/i2pd/files/i2pd.confd
@@ -2,5 +2,8 @@ I2PD_USER="${I2PD_USER:-i2pd}"
 I2PD_GROUP="${I2PD_GROUP:-i2pd}"
 I2PD_LOG="/var/log/i2pd.log"
 I2PD_PID="/var/run/i2pd.pid"
+I2PD_CFGDIR="/etc/i2pd/"
 # Options to i2pd
-I2PDOPTIONS="--conf=/etc/i2pd.conf"
+I2PDOPTIONS="--conf=${I2PD_CFGDIR}i2pd.conf 
--tunconf=${I2PD_CFGDIR}tunnels.cfg"
+# for debugging purposes
+#I2PDOPTIONS="--conf=${I2PD_CFGDIR}i2pd.conf 
--tunconf=${I2PD_CFGDIR}tunnels.cfg --log=file --logfile=${I2PD_LOG}"

diff --git a/net-misc/i2pd/files/i2pd.initd b/net-misc/i2pd/files/i2pd.initd
index cc3d234..1c12209 100644
--- a/net-misc/i2pd/files/i2pd.initd
+++ b/net-misc/i2pd/files/i2pd.initd
@@ -11,14 +11,14 @@ depend() {
 
 start() {
 ebegin "Starting ${SVCNAME}"
-   checkpath -f "${I2PD_LOG}" -o "${I2PD_USER}:${I2PD_GROUP}"
-   checkpath -f "${I2PD_PID}" -o "${I2PD_USER}:${I2PD_GROUP}"
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2016-02-06 Thread Patrice Clement
commit: b28f9cddeb737f7fea14066d339337327b08736f
Author: Matthew Brewer  sina  cn>
AuthorDate: Wed Feb  3 21:45:18 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Feb  4 21:18:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28f9cdd

net-misc/i2pd: remove live version

Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches

 net-misc/i2pd/i2pd-.ebuild | 76 --
 net-misc/i2pd/metadata.xml |  3 --
 2 files changed, 79 deletions(-)

diff --git a/net-misc/i2pd/i2pd-.ebuild b/net-misc/i2pd/i2pd-.ebuild
deleted file mode 100644
index 3dfbbe8..000
--- a/net-misc/i2pd/i2pd-.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user git-2 cmake-multilib
-
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
-HOMEPAGE="https://github.com/PrivacySolutions/i2pd;
-SRC_URI=""
-EGIT_REPO_URI="git://github.com/PrivacySolutions/i2pd"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="cpu_flags_x86_aes i2p-hardening library static"
-
-RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] )
-   !static? ( dev-libs/crypto++ )
-   library? ( >=dev-libs/boost-1.46[threads,${MULTILIB_USEDEP}] )
-   library? ( dev-libs/crypto++[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-   static? ( >=dev-libs/boost-1.46[static-libs,threads] )
-   static? ( dev-libs/crypto++[static-libs] )
-   >=dev-util/cmake-2.8.5
-   i2p-hardening? ( >=sys-devel/gcc-4.6 )
-   || ( >=sys-devel/gcc-4.6 >=sys-devel/clang-3.3 )"
-
-I2PD_USER="${I2PD_USER:-i2pd}"
-I2PD_GROUP="${I2PD_GROUP:-i2pd}"
-
-CMAKE_USE_DIR="${S}/build"
-
-multilib_src_configure() {
-   mycmakeargs=(
-   $(cmake-utils_use_with cpu_flags_x86_aes AESNI)
-   $(cmake-utils_use_with i2p-hardening HARDENING)
-   $(cmake-utils_use_with library LIBRARY)
-   $(cmake-utils_use_with static STATIC)
-   $(multilib_is_native_abi && echo -DWITH_BINARY=ON \
-   || echo -DWITH_BINARY=OFF)
-   )
-   (multilib_is_native_abi || use library) && cmake-utils_src_configure
-}
-
-multilib_src_compile() {
-   (multilib_is_native_abi || use library) && cmake-utils_src_compile
-}
-
-multilib_src_install() {
-   (multilib_is_native_abi || use library) && cmake-utils_src_install
-}
-
-multilib_src_install_all() {
-   dodoc README.md
-   doman "${FILESDIR}/${PN}.1"
-   keepdir /var/lib/i2pd/
-   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
-   fperms 700 /var/lib/i2pd/
-   insinto /etc/
-   doins "${FILESDIR}/${PN}.conf"
-   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}.conf"
-   fperms 600 "/etc/${PN}.conf"
-   dodir /usr/share/i2pd
-   cp -R "${S}/contrib/certificates" "${D}/var/lib/i2pd" || die "Install 
failed!"
-   newconfd "${FILESDIR}/${PN}.confd" "${PN}"
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   systemd_dounit "${FILESDIR}/${PN}.service"
-   doenvd "${FILESDIR}/99${PN}"
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/${PN}.logrotate" "${PN}"
-}
-
-pkg_setup() {
-   enewgroup "${I2PD_GROUP}"
-   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
-}

diff --git a/net-misc/i2pd/metadata.xml b/net-misc/i2pd/metadata.xml
index 36a11c9..b713bca 100644
--- a/net-misc/i2pd/metadata.xml
+++ b/net-misc/i2pd/metadata.xml
@@ -13,9 +13,6 @@

Compile with hardening on vanilla compilers/linkers

-   
-   Build the libi2pd library
-   


PrivacySolutions/i2pd



[gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/

2015-10-05 Thread Anthony G. Basile
commit: 20a9a88deae7d1a6d4b6637aa28e20fe0de3ecab
Author: tomboy64  sina  cn>
AuthorDate: Wed Sep 23 10:46:42 2015 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Oct  5 20:00:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a9a88d

net-misc/i2pd: version bump

 net-misc/i2pd/Manifest   |  1 +
 net-misc/i2pd/i2pd-0.10.0.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
index 0712c33..a4e7a86 100644
--- a/net-misc/i2pd/Manifest
+++ b/net-misc/i2pd/Manifest
@@ -1,2 +1,3 @@
+DIST i2pd-0.10.0.tar.gz 391777 SHA256 
5195e01a2e5ebad580631fbf3e5f17cf158f4ee323cbc4b0200ae046fbefc733 SHA512 
ab0d32108f8ca1093ae3fcd752deeb8bed018074a8dd04fbcbffe49f1a2a78c3f2cf00341ddad18e8c8007edba6b75e45bce4357a621540fcdf7c2b74a26e726
 WHIRLPOOL 
19e8a92e20ae6fe1500a3f5462580d4896d5906be6ef307e48ea465712f5266b5251d75ad8b5636a3b894da3b3100dde329ddc733f7cd394499810d1bc65a083
 DIST i2pd-0.5.0.tar.gz 352460 SHA256 
7f2033fe1c380c458722d68f611d0fa69a844ceba71db13a918adac6e01a0594 SHA512 
08c51dc5fa3712af54b7dcc9f4524fb19d7b42a279646c7852efdf1fd49cf4ea24192c936229954c3733ba4bcbc480205bcfeca739ffae3642f5c62bd24e0cf6
 WHIRLPOOL 
1812a8733f17cd6b9885cf8af3ad0412f238356121118d46fbed53cb826aaa6c878a045adb69e0a692fd5cd3fc720192c635f4e594d3d42efb2116f14bbba9e9
 DIST i2pd-0.6.0.tar.gz 360829 SHA256 
149a8c2d870ebc3988aea06eec906c9e968b3d89ae282bd3b2b5ead205f7c3b7 SHA512 
084c75c5f972dbc07740119c3ae1711924cf740391703a95752164eab7a04d6cea0cfb302530e1e1bebafb54f9eed552e747479ae55fb053e824cdf059ab3266
 WHIRLPOOL 
a858a49173755e052f31a95f4f7075965dac0c89943a7dc05c3c88d51b646ab86a7510a9533e33d9c5f0e7736e9f702f6fd0de4e6a841cc3ec57ea5aaf2b991c

diff --git a/net-misc/i2pd/i2pd-0.10.0.ebuild b/net-misc/i2pd/i2pd-0.10.0.ebuild
new file mode 100644
index 000..29fb6fe
--- /dev/null
+++ b/net-misc/i2pd/i2pd-0.10.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user cmake-utils
+
+DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
+HOMEPAGE="https://github.com/PrivacySolutions/i2pd;
+SRC_URI="https://github.com/PrivacySolutions/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpu_flags_x86_aes i2p-hardening static"
+
+RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] )
+   !static? ( dev-libs/crypto++ )"
+DEPEND="${RDEPEND}
+   static? ( >=dev-libs/boost-1.46[static-libs,threads] )
+   static? ( dev-libs/crypto++[static-libs] )
+   >=dev-util/cmake-2.8.5
+   i2p-hardening? ( >=sys-devel/gcc-4.6 )
+   || ( >=sys-devel/gcc-4.6 >=sys-devel/clang-3.3 )"
+
+I2PD_USER="${I2PD_USER:-i2pd}"
+I2PD_GROUP="${I2PD_GROUP:-i2pd}"
+
+CMAKE_USE_DIR="${S}/build"
+
+src_configure() {
+   mycmakeargs=(
+   $(cmake-utils_use_with cpu_flags_x86_aes AESNI)
+   $(cmake-utils_use_with i2p-hardening HARDENING)
+   $(cmake-utils_use_with static STATIC)
+   -DWITH_LIBRARY=OFF
+   -DWITH_BINARY=ON
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README.md
+   doman "${FILESDIR}/${PN}.1"
+   keepdir /var/lib/i2pd/
+   fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
+   fperms 700 /var/lib/i2pd/
+   insinto /etc/
+   doins "${FILESDIR}/${PN}.conf"
+   fowners "${I2PD_USER}:${I2PD_GROUP}" "/etc/${PN}.conf"
+   fperms 600 "/etc/${PN}.conf"
+   dodir /usr/share/i2pd
+   cp -R "${S}/contrib/certificates" "${D}/var/lib/i2pd" || die "Install 
failed!"
+   newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   systemd_dounit "${FILESDIR}/${PN}.service"
+   doenvd "${FILESDIR}/99${PN}"
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotate" "${PN}"
+}
+
+pkg_setup() {
+   enewgroup "${I2PD_GROUP}"
+   enewuser "${I2PD_USER}" -1 -1 "/var/lib/run/${PN}" "${I2PD_GROUP}"
+}