Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/i2pd/, net-misc/i2pd/files/
Date: Thu, 16 Feb 2017 10:02:06
Message-Id: 1487239315.00db52da06b79f653b474126516ee3cb921ca73c.blueness@gentoo
1 commit: 00db52da06b79f653b474126516ee3cb921ca73c
2 Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
3 AuthorDate: Wed Feb 15 19:09:38 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 16 10:01:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00db52da
7
8 net-misc/i2pd: remove old
9
10 net-misc/i2pd/Manifest | 5 --
11 net-misc/i2pd/files/i2pd-2.9.0-static.patch | 25 --------
12 net-misc/i2pd/i2pd-2.10.0.ebuild | 99 -----------------------------
13 net-misc/i2pd/i2pd-2.10.1.ebuild | 99 -----------------------------
14 net-misc/i2pd/i2pd-2.10.2.ebuild | 99 -----------------------------
15 net-misc/i2pd/i2pd-2.8.0.ebuild | 99 -----------------------------
16 net-misc/i2pd/i2pd-2.9.0-r1.ebuild | 97 ----------------------------
17 7 files changed, 523 deletions(-)
18
19 diff --git a/net-misc/i2pd/Manifest b/net-misc/i2pd/Manifest
20 index e1b308e491..b322a15a60 100644
21 --- a/net-misc/i2pd/Manifest
22 +++ b/net-misc/i2pd/Manifest
23 @@ -1,7 +1,2 @@
24 -DIST i2pd-2.10.0.tar.gz 2985581 SHA256 614d746e4d0b13433de56eb0492a6a4aa36a5b43ab88f12429ed5bd20baa78a0 SHA512 61c0b75327ca031afb879ae32ddc5ce871a7ba5c7705a127d1575d5fd7d8b0ee496363e57f6ed6857ac758bc2ed525f43ad2a369805c0f35e22b9ce9020c9dbe WHIRLPOOL 10963d0857b169d0e76ac02be5a8c9530fc908554216d6d55195fe91fc71ad1740cb9cfd33cbe4dee8e4b7d7bd2a9b895e63516f67f980012b9446498584f16a
25 -DIST i2pd-2.10.1.tar.gz 2993590 SHA256 84d3890ea9f381884deaeaf3154f945519f9a9f77d363e606f6408ea6d682631 SHA512 0b5a51606507e86070f4fdeba2b649f71fd7d74f9ee9d0d52dba67dbe0e89aceef04972d0e8b7c59304a4cb610ba65f90e2f3704dc59b6ce6199eddddaa9ca3a WHIRLPOOL d5a04c49060c750cde9a017b2739cc5adb8449afcf91105c2c290744447b57508e75bdddb3237d0c2a0c1984a704b37f32bfeb76b71aad287edb05c2b52eb8e8
26 -DIST i2pd-2.10.2.tar.gz 3090874 SHA256 9d1f8dd33f537ad629fc69f0ccfa4cde22ca5023981a9c5b6acd5d551b9c7b8b SHA512 5bdce54eccdf92ed46cbef3e29c3f8750755042a4060361831a9239929d04c055848f2ea5263686eca849dbae55bb52342d96008fb61b04fd1883f21a94c425a WHIRLPOOL 7f92f68232ee29ca194a05cc152496722224345d1a9a32fd57fd9b49f8ec318383f9345c54319ec78bed407251f9ada4052057f867a40353189234da9f9a56b8
27 DIST i2pd-2.11.0.tar.gz 3091516 SHA256 4d7946e33a6a1dd4439590ea23b494f36e6fbcb81f7b36857bf264413a19e9db SHA512 c4964c23f6852e6ce225de6f6f03ce4e5c52a6ec2b925b82c01be574b14196112079ada5864b10f353c3dd385645db550d5ce290647b6d980225a79c64f19ddb WHIRLPOOL f2a4c42ad2df09188b5be8fad23f7f2ec2080e17b980b55c1647c13499c6b3cce88d6e9c2fbfd34bf8783a0b52c15659775351835ae181e58357c455ebb1dea1
28 DIST i2pd-2.12.0.tar.gz 3150471 SHA256 afb763aea2a4f4b51e327352d5da82ec08e84735d28db9af7710563a117fc648 SHA512 70b6143e713d43e24b780239aed899fb17d6224ef053020c738369ca110241e4624ae5c69b04a75a037b68094d3030be5296509ff699905ef7c175447d093232 WHIRLPOOL 8b5fb9a5123ce700a646de72a81e476b3545ad62f4bb8d143438bc1e1b6393b381e13224b3d538fa063d24b732588df5b3abe9b2d5485473d83038f01d296b4e
29 -DIST i2pd-2.8.0.tar.gz 1695271 SHA256 3f3f538b3c5b3095021311b434456c42d6f3b5e43dc7972c263b10ef179ba063 SHA512 379b72c4021dc8342405a034219ecb3681014a0ea1612da8b61de2b03adf2611ebe267233ed2891a2fb5a345d9304d7501c42d8c985362be72239b653d0d3c39 WHIRLPOOL 511d4e3a084604289c041a69135d8afc5abca186fe96704ca35108e96c84523706aaa73c07884dcce65df1fe9fed9335cea65b52dc14bd4a61b94d6fd11c6838
30 -DIST i2pd-2.9.0.tar.gz 2967757 SHA256 48139f83352f26023b99d7d6ee49e648febd2a8db6beb88c108facaf46a282e2 SHA512 6d5f2c1b6b68a0dab3171c6dfe02ce4bbe4afd273a8ff1f93870813c7ad5728334b54f9ff0c91eb2be82249b88d40479bc0dd33b494562973a6a1239e3be65c9 WHIRLPOOL 3d1eaf3c09e9b0490c82198643e2a7f763885887c1a72b6a97105b7cc03c554093920b8739df74bb44b74850172a61963981d9b548d85be898c1124a6af9a5a7
31
32 diff --git a/net-misc/i2pd/files/i2pd-2.9.0-static.patch b/net-misc/i2pd/files/i2pd-2.9.0-static.patch
33 deleted file mode 100644
34 index c525db71b9..0000000000
35 --- a/net-misc/i2pd/files/i2pd-2.9.0-static.patch
36 +++ /dev/null
37 @@ -1,25 +0,0 @@
38 -From 2e74d91ddc1a776692dd7398e0126a6bd1f2a92a Mon Sep 17 00:00:00 2001
39 -From: Jeff Becker <ampernand@×××××.com>
40 -Date: Tue, 16 Aug 2016 10:25:56 -0400
41 -Subject: [PATCH] try fixing https://github.com/PurpleI2P/i2pd/issues/612
42 -
43 ----
44 - build/CMakeLists.txt | 5 ++++-
45 - 1 file changed, 4 insertions(+), 1 deletion(-)
46 -
47 -diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
48 -index 7f9b8c6..99d6a5a 100644
49 ---- a/build/CMakeLists.txt
50 -+++ b/build/CMakeLists.txt
51 -@@ -369,7 +369,10 @@ if (WITH_BINARY)
52 - if (MSYS OR MINGW)
53 - set (MINGW_EXTRA -lws2_32 -lmswsock -liphlpapi )
54 - endif ()
55 -- target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} )
56 -+ if (WITH_STATIC)
57 -+ set(DL_LIB ${CMAKE_DL_LIBS})
58 -+ endif()
59 -+ target_link_libraries( "${PROJECT_NAME}" libi2pd i2pdclient ${DL_LIB} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${MINGW_EXTRA} ${DL_LIB})
60 -
61 - install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime)
62 - set (APPS "\${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}${CMAKE_EXECUTABLE_SUFFIX}")
63
64 diff --git a/net-misc/i2pd/i2pd-2.10.0.ebuild b/net-misc/i2pd/i2pd-2.10.0.ebuild
65 deleted file mode 100644
66 index 6a8a0a1024..0000000000
67 --- a/net-misc/i2pd/i2pd-2.10.0.ebuild
68 +++ /dev/null
69 @@ -1,99 +0,0 @@
70 -# Copyright 1999-2016 Gentoo Foundation
71 -# Distributed under the terms of the GNU General Public License v2
72 -# $Id$
73 -
74 -EAPI=6
75 -inherit eutils systemd user cmake-utils
76 -
77 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
78 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
79 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
80 -LICENSE="BSD"
81 -SLOT="0"
82 -KEYWORDS="~amd64 ~arm ~x86"
83 -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
84 -
85 -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
86 - !libressl? ( dev-libs/openssl:0[-bindist] )
87 - libressl? ( dev-libs/libressl )
88 - upnp? ( net-libs/miniupnpc )
89 - )"
90 -DEPEND="${RDEPEND}
91 - static? ( >=dev-libs/boost-1.49[static-libs,threads]
92 - !libressl? ( dev-libs/openssl:0[static-libs] )
93 - libressl? ( dev-libs/libressl[static-libs] )
94 - upnp? ( net-libs/miniupnpc[static-libs] ) )
95 - i2p-hardening? ( >=sys-devel/gcc-4.7 )
96 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
97 -
98 -I2PD_USER=i2pd
99 -I2PD_GROUP=i2pd
100 -
101 -CMAKE_USE_DIR="${S}/build"
102 -
103 -DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
104 -
105 -PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
106 -
107 -src_configure() {
108 - mycmakeargs=(
109 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
110 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
111 - -DWITH_PCH=$(usex pch ON OFF)
112 - -DWITH_STATIC=$(usex static ON OFF)
113 - -DWITH_UPNP=$(usex upnp ON OFF)
114 - -DWITH_LIBRARY=ON
115 - -DWITH_BINARY=ON
116 - )
117 - cmake-utils_src_configure
118 -}
119 -
120 -src_install() {
121 - cmake-utils_src_install
122 -
123 - # config
124 - insinto /etc/i2pd
125 - doins docs/i2pd.conf
126 - doins docs/tunnels.conf
127 -
128 - # grant i2pd group read and write access to config files
129 - fowners "root:${I2PD_GROUP}" \
130 - /etc/i2pd/i2pd.conf \
131 - /etc/i2pd/tunnels.conf
132 - fperms 660 \
133 - /etc/i2pd/i2pd.conf \
134 - /etc/i2pd/tunnels.conf
135 -
136 - # working directory
137 - keepdir /var/lib/i2pd
138 - insinto /var/lib/i2pd
139 - doins -r contrib/certificates
140 - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
141 - fperms 700 /var/lib/i2pd/
142 -
143 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
144 - doenvd "${FILESDIR}/99i2pd"
145 -
146 - # openrc and systemd daemon routines
147 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
148 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
149 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
150 -
151 - # logrotate
152 - insinto /etc/logrotate.d
153 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
154 -}
155 -
156 -pkg_setup() {
157 - enewgroup "${I2PD_GROUP}"
158 - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}"
159 -}
160 -
161 -pkg_postinst() {
162 - if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
163 - ewarn
164 - ewarn "Configuration of the subscriptions has been moved from"
165 - ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
166 - ewarn "i2pd.conf accordingly and deleting subscriptions.txt."
167 - fi
168 -}
169
170 diff --git a/net-misc/i2pd/i2pd-2.10.1.ebuild b/net-misc/i2pd/i2pd-2.10.1.ebuild
171 deleted file mode 100644
172 index 6a8a0a1024..0000000000
173 --- a/net-misc/i2pd/i2pd-2.10.1.ebuild
174 +++ /dev/null
175 @@ -1,99 +0,0 @@
176 -# Copyright 1999-2016 Gentoo Foundation
177 -# Distributed under the terms of the GNU General Public License v2
178 -# $Id$
179 -
180 -EAPI=6
181 -inherit eutils systemd user cmake-utils
182 -
183 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
184 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
185 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
186 -LICENSE="BSD"
187 -SLOT="0"
188 -KEYWORDS="~amd64 ~arm ~x86"
189 -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
190 -
191 -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
192 - !libressl? ( dev-libs/openssl:0[-bindist] )
193 - libressl? ( dev-libs/libressl )
194 - upnp? ( net-libs/miniupnpc )
195 - )"
196 -DEPEND="${RDEPEND}
197 - static? ( >=dev-libs/boost-1.49[static-libs,threads]
198 - !libressl? ( dev-libs/openssl:0[static-libs] )
199 - libressl? ( dev-libs/libressl[static-libs] )
200 - upnp? ( net-libs/miniupnpc[static-libs] ) )
201 - i2p-hardening? ( >=sys-devel/gcc-4.7 )
202 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
203 -
204 -I2PD_USER=i2pd
205 -I2PD_GROUP=i2pd
206 -
207 -CMAKE_USE_DIR="${S}/build"
208 -
209 -DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
210 -
211 -PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
212 -
213 -src_configure() {
214 - mycmakeargs=(
215 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
216 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
217 - -DWITH_PCH=$(usex pch ON OFF)
218 - -DWITH_STATIC=$(usex static ON OFF)
219 - -DWITH_UPNP=$(usex upnp ON OFF)
220 - -DWITH_LIBRARY=ON
221 - -DWITH_BINARY=ON
222 - )
223 - cmake-utils_src_configure
224 -}
225 -
226 -src_install() {
227 - cmake-utils_src_install
228 -
229 - # config
230 - insinto /etc/i2pd
231 - doins docs/i2pd.conf
232 - doins docs/tunnels.conf
233 -
234 - # grant i2pd group read and write access to config files
235 - fowners "root:${I2PD_GROUP}" \
236 - /etc/i2pd/i2pd.conf \
237 - /etc/i2pd/tunnels.conf
238 - fperms 660 \
239 - /etc/i2pd/i2pd.conf \
240 - /etc/i2pd/tunnels.conf
241 -
242 - # working directory
243 - keepdir /var/lib/i2pd
244 - insinto /var/lib/i2pd
245 - doins -r contrib/certificates
246 - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
247 - fperms 700 /var/lib/i2pd/
248 -
249 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
250 - doenvd "${FILESDIR}/99i2pd"
251 -
252 - # openrc and systemd daemon routines
253 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
254 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
255 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
256 -
257 - # logrotate
258 - insinto /etc/logrotate.d
259 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
260 -}
261 -
262 -pkg_setup() {
263 - enewgroup "${I2PD_GROUP}"
264 - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}"
265 -}
266 -
267 -pkg_postinst() {
268 - if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
269 - ewarn
270 - ewarn "Configuration of the subscriptions has been moved from"
271 - ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
272 - ewarn "i2pd.conf accordingly and deleting subscriptions.txt."
273 - fi
274 -}
275
276 diff --git a/net-misc/i2pd/i2pd-2.10.2.ebuild b/net-misc/i2pd/i2pd-2.10.2.ebuild
277 deleted file mode 100644
278 index 6a8a0a1024..0000000000
279 --- a/net-misc/i2pd/i2pd-2.10.2.ebuild
280 +++ /dev/null
281 @@ -1,99 +0,0 @@
282 -# Copyright 1999-2016 Gentoo Foundation
283 -# Distributed under the terms of the GNU General Public License v2
284 -# $Id$
285 -
286 -EAPI=6
287 -inherit eutils systemd user cmake-utils
288 -
289 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
290 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
291 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
292 -LICENSE="BSD"
293 -SLOT="0"
294 -KEYWORDS="~amd64 ~arm ~x86"
295 -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
296 -
297 -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
298 - !libressl? ( dev-libs/openssl:0[-bindist] )
299 - libressl? ( dev-libs/libressl )
300 - upnp? ( net-libs/miniupnpc )
301 - )"
302 -DEPEND="${RDEPEND}
303 - static? ( >=dev-libs/boost-1.49[static-libs,threads]
304 - !libressl? ( dev-libs/openssl:0[static-libs] )
305 - libressl? ( dev-libs/libressl[static-libs] )
306 - upnp? ( net-libs/miniupnpc[static-libs] ) )
307 - i2p-hardening? ( >=sys-devel/gcc-4.7 )
308 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
309 -
310 -I2PD_USER=i2pd
311 -I2PD_GROUP=i2pd
312 -
313 -CMAKE_USE_DIR="${S}/build"
314 -
315 -DOCS=( README.md docs/i2pd.conf docs/tunnels.conf )
316 -
317 -PATCHES=( "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
318 -
319 -src_configure() {
320 - mycmakeargs=(
321 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
322 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
323 - -DWITH_PCH=$(usex pch ON OFF)
324 - -DWITH_STATIC=$(usex static ON OFF)
325 - -DWITH_UPNP=$(usex upnp ON OFF)
326 - -DWITH_LIBRARY=ON
327 - -DWITH_BINARY=ON
328 - )
329 - cmake-utils_src_configure
330 -}
331 -
332 -src_install() {
333 - cmake-utils_src_install
334 -
335 - # config
336 - insinto /etc/i2pd
337 - doins docs/i2pd.conf
338 - doins docs/tunnels.conf
339 -
340 - # grant i2pd group read and write access to config files
341 - fowners "root:${I2PD_GROUP}" \
342 - /etc/i2pd/i2pd.conf \
343 - /etc/i2pd/tunnels.conf
344 - fperms 660 \
345 - /etc/i2pd/i2pd.conf \
346 - /etc/i2pd/tunnels.conf
347 -
348 - # working directory
349 - keepdir /var/lib/i2pd
350 - insinto /var/lib/i2pd
351 - doins -r contrib/certificates
352 - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
353 - fperms 700 /var/lib/i2pd/
354 -
355 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
356 - doenvd "${FILESDIR}/99i2pd"
357 -
358 - # openrc and systemd daemon routines
359 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
360 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
361 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
362 -
363 - # logrotate
364 - insinto /etc/logrotate.d
365 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
366 -}
367 -
368 -pkg_setup() {
369 - enewgroup "${I2PD_GROUP}"
370 - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}"
371 -}
372 -
373 -pkg_postinst() {
374 - if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then
375 - ewarn
376 - ewarn "Configuration of the subscriptions has been moved from"
377 - ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
378 - ewarn "i2pd.conf accordingly and deleting subscriptions.txt."
379 - fi
380 -}
381
382 diff --git a/net-misc/i2pd/i2pd-2.8.0.ebuild b/net-misc/i2pd/i2pd-2.8.0.ebuild
383 deleted file mode 100644
384 index 3120cceadf..0000000000
385 --- a/net-misc/i2pd/i2pd-2.8.0.ebuild
386 +++ /dev/null
387 @@ -1,99 +0,0 @@
388 -# Copyright 1999-2016 Gentoo Foundation
389 -# Distributed under the terms of the GNU General Public License v2
390 -# $Id$
391 -
392 -EAPI=6
393 -inherit eutils systemd user cmake-utils
394 -
395 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
396 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
397 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
398 -LICENSE="GPL-2"
399 -SLOT="0"
400 -KEYWORDS="~amd64 ~arm ~x86"
401 -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
402 -
403 -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
404 - dev-libs/crypto++
405 - !libressl? ( dev-libs/openssl:0[-bindist] )
406 - libressl? ( dev-libs/libressl )
407 - upnp? ( net-libs/miniupnpc )
408 - )"
409 -DEPEND="${RDEPEND}
410 - static? ( >=dev-libs/boost-1.49[static-libs,threads]
411 - dev-libs/crypto++[static-libs]
412 - !libressl? ( dev-libs/openssl:0[static-libs] )
413 - libressl? ( dev-libs/libressl[static-libs] )
414 - upnp? ( net-libs/miniupnpc[static-libs] ) )
415 - i2p-hardening? ( >=sys-devel/gcc-4.7 )
416 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
417 -
418 -I2PD_USER=i2pd
419 -I2PD_GROUP=i2pd
420 -
421 -CMAKE_USE_DIR="${S}/build"
422 -
423 -DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
424 -
425 -src_prepare() {
426 - eapply "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch"
427 - eapply_user
428 -}
429 -
430 -src_configure() {
431 - mycmakeargs=(
432 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
433 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
434 - -DWITH_PCH=$(usex pch ON OFF)
435 - -DWITH_STATIC=$(usex static ON OFF)
436 - -DWITH_UPNP=$(usex upnp ON OFF)
437 - -DWITH_LIBRARY=ON
438 - -DWITH_BINARY=ON
439 - )
440 - cmake-utils_src_configure
441 -}
442 -
443 -src_install() {
444 - cmake-utils_src_install
445 -
446 - # config
447 - insinto /etc/i2pd
448 - doins docs/i2pd.conf
449 - doins debian/tunnels.conf
450 - doins debian/subscriptions.txt
451 -
452 - # grant i2pd group read and write access to config files
453 - fowners "root:${I2PD_GROUP}" \
454 - /etc/i2pd/i2pd.conf \
455 - /etc/i2pd/tunnels.conf \
456 - /etc/i2pd/subscriptions.txt
457 - fperms 660 \
458 - /etc/i2pd/i2pd.conf \
459 - /etc/i2pd/tunnels.conf \
460 - /etc/i2pd/subscriptions.txt
461 -
462 - # working directory
463 - keepdir /var/lib/i2pd
464 - insinto /var/lib/i2pd
465 - doins -r contrib/certificates
466 - dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
467 - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
468 - fperms 700 /var/lib/i2pd/
469 -
470 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
471 - doenvd "${FILESDIR}/99i2pd"
472 -
473 - # openrc and systemd daemon routines
474 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
475 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
476 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
477 -
478 - # logrotate
479 - insinto /etc/logrotate.d
480 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
481 -}
482 -
483 -pkg_setup() {
484 - enewgroup "${I2PD_GROUP}"
485 - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}"
486 -}
487
488 diff --git a/net-misc/i2pd/i2pd-2.9.0-r1.ebuild b/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
489 deleted file mode 100644
490 index a1fff4b6da..0000000000
491 --- a/net-misc/i2pd/i2pd-2.9.0-r1.ebuild
492 +++ /dev/null
493 @@ -1,97 +0,0 @@
494 -# Copyright 1999-2016 Gentoo Foundation
495 -# Distributed under the terms of the GNU General Public License v2
496 -# $Id$
497 -
498 -EAPI=6
499 -inherit eutils systemd user cmake-utils
500 -
501 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
502 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
503 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
504 -LICENSE="GPL-2"
505 -SLOT="0"
506 -KEYWORDS="~amd64 ~arm ~x86"
507 -IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
508 -
509 -RDEPEND="!static? ( >=dev-libs/boost-1.49[threads]
510 - dev-libs/crypto++
511 - !libressl? ( dev-libs/openssl:0[-bindist] )
512 - libressl? ( dev-libs/libressl )
513 - upnp? ( net-libs/miniupnpc )
514 - )"
515 -DEPEND="${RDEPEND}
516 - static? ( >=dev-libs/boost-1.49[static-libs,threads]
517 - dev-libs/crypto++[static-libs]
518 - !libressl? ( dev-libs/openssl:0[static-libs] )
519 - libressl? ( dev-libs/libressl[static-libs] )
520 - upnp? ( net-libs/miniupnpc[static-libs] ) )
521 - i2p-hardening? ( >=sys-devel/gcc-4.7 )
522 - || ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"
523 -
524 -I2PD_USER=i2pd
525 -I2PD_GROUP=i2pd
526 -
527 -CMAKE_USE_DIR="${S}/build"
528 -
529 -DOCS=( README.md docs/i2pd.conf debian/tunnels.conf debian/subscriptions.txt )
530 -
531 -PATCHES=( "${FILESDIR}/i2pd-2.9.0-static.patch" \
532 - "${FILESDIR}/${PN}-2.5.1-fix_installed_components.patch" )
533 -
534 -src_configure() {
535 - mycmakeargs=(
536 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
537 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
538 - -DWITH_PCH=$(usex pch ON OFF)
539 - -DWITH_STATIC=$(usex static ON OFF)
540 - -DWITH_UPNP=$(usex upnp ON OFF)
541 - -DWITH_LIBRARY=ON
542 - -DWITH_BINARY=ON
543 - )
544 - cmake-utils_src_configure
545 -}
546 -
547 -src_install() {
548 - cmake-utils_src_install
549 -
550 - # config
551 - insinto /etc/i2pd
552 - doins docs/i2pd.conf
553 - doins debian/tunnels.conf
554 - doins debian/subscriptions.txt
555 -
556 - # grant i2pd group read and write access to config files
557 - fowners "root:${I2PD_GROUP}" \
558 - /etc/i2pd/i2pd.conf \
559 - /etc/i2pd/tunnels.conf \
560 - /etc/i2pd/subscriptions.txt
561 - fperms 660 \
562 - /etc/i2pd/i2pd.conf \
563 - /etc/i2pd/tunnels.conf \
564 - /etc/i2pd/subscriptions.txt
565 -
566 - # working directory
567 - keepdir /var/lib/i2pd
568 - insinto /var/lib/i2pd
569 - doins -r contrib/certificates
570 - dosym /etc/i2pd/subscriptions.txt /var/lib/i2pd/subscriptions.txt
571 - fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/
572 - fperms 700 /var/lib/i2pd/
573 -
574 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
575 - doenvd "${FILESDIR}/99i2pd"
576 -
577 - # openrc and systemd daemon routines
578 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
579 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
580 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
581 -
582 - # logrotate
583 - insinto /etc/logrotate.d
584 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
585 -}
586 -
587 -pkg_setup() {
588 - enewgroup "${I2PD_GROUP}"
589 - enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}"
590 -}