Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/i2pd/
Date: Fri, 04 Sep 2020 21:52:59
Message-Id: 1599256371.c4dc856263b75377668abf29f977f38ddb3bf532.sam@gentoo
1 commit: c4dc856263b75377668abf29f977f38ddb3bf532
2 Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
3 AuthorDate: Sat Aug 29 12:49:27 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 21:52:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4dc8562
7
8 net-vpn/i2pd: drop old
9
10 Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-vpn/i2pd/Manifest | 1 -
14 net-vpn/i2pd/i2pd-2.30.0.ebuild | 103 ----------------------------------------
15 2 files changed, 104 deletions(-)
16
17 diff --git a/net-vpn/i2pd/Manifest b/net-vpn/i2pd/Manifest
18 index 4a749f4a848..2e41af2696c 100644
19 --- a/net-vpn/i2pd/Manifest
20 +++ b/net-vpn/i2pd/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST i2pd-2.30.0.tar.gz 1087411 BLAKE2B adfd6d2eebb2bbd0fe931a9a96110d0bf540ceff18231afc88ba4df7b428ec702297871ecafb812cd130e68eb8f6127e3f7a4645631df7ca2a723d0a45d8723c SHA512 d27c5e5b7ae7c78be14ad96ac458c0f3a45e31ee5fbdf59d5c6278d0195909badc5917a258b5de37d6a255c20a8c3cb0c0ddc3291a110444a96f475b662a119b
23 DIST i2pd-2.31.0.tar.gz 1092238 BLAKE2B 61424b8d5796511a1bae4d0274b86fa198e0fb2e590312e7e5039533bca2ded494f9bdd7406951c82a99259772581ee716159f6500921f9fb8b5fd4aa217ce9a SHA512 af1583c6c2fb2073d6d3d32f0b394da3f1bc4a3d232aa47880f457447c6592801c48f6a05b1a7d2955c58d888c4c574e15082bf2583921797e24e5cda4c188e0
24 DIST i2pd-2.32.0.tar.gz 1098880 BLAKE2B 0b5db302cac78c6993fd7c25362bad512c0597222059c21d0902c1378228425bafc6e39040c1a99122b66dfca106db64ff69783b23e40caf528764f7ec1709c6 SHA512 f76eb2744b55b4099914cb42e7fe6821e3b7b3dbbc93d491a83cfb8cd9fb67e6559f20891874215060a3797b5f66051480e49670032c952fcddf91aa96e0e41e
25 DIST i2pd-2.32.1.tar.gz 1099034 BLAKE2B be32443d2d686247459e74396202ff5fc595be27b7a4e207aa756f35c6b65fe05b006491bb9b8a564bc2b3c1144dae1dcba8dcfdff95cedfb032ca137f30d617 SHA512 2c492942526b5d6dd787baaf6ad31b036c593d633a36ba951c02d3289607be5e43562057622deee51db724854eef6f4bd67eaec62699b07aad47ee49fd291783
26
27 diff --git a/net-vpn/i2pd/i2pd-2.30.0.ebuild b/net-vpn/i2pd/i2pd-2.30.0.ebuild
28 deleted file mode 100644
29 index b305f25c71f..00000000000
30 --- a/net-vpn/i2pd/i2pd-2.30.0.ebuild
31 +++ /dev/null
32 @@ -1,103 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit systemd cmake toolchain-funcs
39 -
40 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
41 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
42 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="BSD"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
47 -IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp websocket"
48 -
49 -# if using libressl, require >=boost-1.65, see #597798
50 -RDEPEND="
51 - acct-user/i2pd
52 - acct-group/i2pd
53 - !static? (
54 - dev-libs/boost:=[threads]
55 - !libressl? ( dev-libs/openssl:0=[-bindist] )
56 - libressl? (
57 - dev-libs/libressl:0=
58 - >=dev-libs/boost-1.65:=
59 - )
60 - upnp? ( net-libs/miniupnpc )
61 - )"
62 -DEPEND="${RDEPEND}
63 - static? (
64 - dev-libs/boost:=[static-libs,threads]
65 - !libressl? ( dev-libs/openssl:0=[static-libs] )
66 - libressl? (
67 - dev-libs/libressl:0=[static-libs]
68 - >=dev-libs/boost-1.65:=
69 - )
70 - sys-libs/zlib:=[static-libs]
71 - upnp? ( net-libs/miniupnpc[static-libs] )
72 - )
73 - websocket? ( dev-cpp/websocketpp )"
74 -
75 -CMAKE_USE_DIR="${S}/build"
76 -
77 -DOCS=( README.md contrib/i2pd.conf contrib/tunnels.conf )
78 -
79 -PATCHES=( "${FILESDIR}/${PN}-2.14.0-fix_installed_components.patch"
80 - "${FILESDIR}/i2pd-2.25.0-lib-path.patch" )
81 -
82 -pkg_pretend() {
83 - if use i2p-hardening && ! tc-is-gcc; then
84 - die "i2p-hardening requires gcc"
85 - fi
86 -}
87 -
88 -src_configure() {
89 - mycmakeargs=(
90 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
91 - -DWITH_AVX=$(usex cpu_flags_x86_avx ON OFF)
92 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
93 - -DWITH_PCH=OFF
94 - -DWITH_STATIC=$(usex static ON OFF)
95 - -DWITH_UPNP=$(usex upnp ON OFF)
96 - -DWITH_WEBSOCKETS=$(usex websocket ON OFF)
97 - -DWITH_LIBRARY=ON
98 - -DWITH_BINARY=ON
99 - )
100 - cmake_src_configure
101 -}
102 -
103 -src_install() {
104 - cmake_src_install
105 -
106 - # config
107 - insinto /etc/i2pd
108 - doins contrib/i2pd.conf
109 - doins contrib/tunnels.conf
110 -
111 - # working directory
112 - insinto /var/lib/i2pd
113 - doins -r contrib/certificates
114 -
115 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
116 - doenvd "${FILESDIR}/99i2pd"
117 -
118 - # openrc and systemd daemon routines
119 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
120 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
121 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
122 -
123 - # logrotate
124 - insinto /etc/logrotate.d
125 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
126 -}
127 -
128 -pkg_postinst() {
129 - if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then
130 - ewarn
131 - ewarn "Configuration of the subscriptions has been moved from"
132 - ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
133 - ewarn "i2pd.conf accordingly and deleting subscriptions.txt."
134 - fi
135 -}