1 |
commit: 1bc516f0a453cb7f3be40b79baa9af634c3d6d34 |
2 |
Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru> |
3 |
AuthorDate: Mon Jul 22 11:01:11 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 06:14:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc516f0 |
7 |
|
8 |
net-vpn/i2pd: remove old |
9 |
|
10 |
Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
net-vpn/i2pd/Manifest | 1 - |
14 |
net-vpn/i2pd/i2pd-2.24.0.ebuild | 120 ---------------------------------------- |
15 |
net-vpn/i2pd/i2pd-2.25.0.ebuild | 120 ---------------------------------------- |
16 |
3 files changed, 241 deletions(-) |
17 |
|
18 |
diff --git a/net-vpn/i2pd/Manifest b/net-vpn/i2pd/Manifest |
19 |
index 787458e0cd6..9d9439fc19b 100644 |
20 |
--- a/net-vpn/i2pd/Manifest |
21 |
+++ b/net-vpn/i2pd/Manifest |
22 |
@@ -1,4 +1,3 @@ |
23 |
-DIST i2pd-2.24.0.tar.gz 1063751 BLAKE2B 22e0dd09926735d0d512fefde21da7cd6c923225f8e22f8e511a4d170781420670cc297584a01eb1200c45e1bba11f0c7e03153d3a412cf57bb2cebc0307b551 SHA512 89364943ab4d7344c3e7e79759b051710ca7ebb9021220904c112ebd6adac84fac37627c191ed06de5c4aba799a3157f680382b227499d26976ae1a742151514 |
24 |
DIST i2pd-2.25.0.tar.gz 1068786 BLAKE2B 80e5e6de2ffaad86c0c3ad4a89cfa12cf3ac8cf61ae856f4647af4e06b56594f39e9d75d798d5429b372fba718f4e92ea4ea94b802929ab22d8850ba46b2827e SHA512 e45318236b7a4e23c8dc83423f4cbc62e622a6f6346a67d56af09b805a82f1d1bf4174c9785078292ad07fc7e5e75f15d3fcc801e44fddcbd8c30d6c7bd6975e |
25 |
DIST i2pd-2.26.0.tar.gz 1073024 BLAKE2B 21a59b140c0a21dec5a5b57c08ddc81530f5a2662e53d6a028ba9fd2d6c7bc89de1a49aa0f2981b6dd6dadc2ec0d84542419e100d86fcb407d3f0ae7c66e3f76 SHA512 1f0b2ca059daa9238a9bc2959a559636266252ad0858e4e941918bb195906c817de54b2379ae95d0b9813b7cae8697db335f9d6d15d0cf919e6f687a282e528c |
26 |
DIST i2pd-2.27.0.tar.gz 1073766 BLAKE2B 331407c6bed3ed49e2438590a814ce91301bfe318d45f0726568877a966fee217b94a37152206652672b221e62d41dc252b8cacdac3e96117c896f4de00c39d4 SHA512 260cef32503bb459f3e7e07940f303b542bead54c9b6faf63f61e8d76250155c375fa75ce80ce3862d8eb2445e106e3c99ed829c9acbc9eb728364082f938f96 |
27 |
|
28 |
diff --git a/net-vpn/i2pd/i2pd-2.24.0.ebuild b/net-vpn/i2pd/i2pd-2.24.0.ebuild |
29 |
deleted file mode 100644 |
30 |
index 719f88b1a2c..00000000000 |
31 |
--- a/net-vpn/i2pd/i2pd-2.24.0.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,120 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
-inherit systemd user cmake-utils eapi7-ver 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 |
-LICENSE="BSD" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
46 |
-IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp websocket" |
47 |
- |
48 |
-# if using libressl, require >=boost-1.65, see #597798 |
49 |
-RDEPEND=" |
50 |
- !static? ( |
51 |
- dev-libs/boost:=[threads] |
52 |
- !libressl? ( dev-libs/openssl:0=[-bindist] ) |
53 |
- libressl? ( |
54 |
- dev-libs/libressl:0= |
55 |
- >=dev-libs/boost-1.65:= |
56 |
- ) |
57 |
- upnp? ( net-libs/miniupnpc ) |
58 |
- )" |
59 |
-DEPEND="${RDEPEND} |
60 |
- static? ( |
61 |
- dev-libs/boost:=[static-libs,threads] |
62 |
- !libressl? ( dev-libs/openssl:0=[static-libs] ) |
63 |
- libressl? ( |
64 |
- dev-libs/libressl:0=[static-libs] |
65 |
- >=dev-libs/boost-1.65:= |
66 |
- ) |
67 |
- sys-libs/zlib:=[static-libs] |
68 |
- upnp? ( net-libs/miniupnpc[static-libs] ) |
69 |
- ) |
70 |
- websocket? ( dev-cpp/websocketpp )" |
71 |
- |
72 |
-I2PD_USER=i2pd |
73 |
-I2PD_GROUP=i2pd |
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 |
- |
81 |
-pkg_pretend() { |
82 |
- if tc-is-gcc && ! ver_test "$(gcc-version)" -ge "4.7"; then |
83 |
- die "At least gcc 4.7 is required" |
84 |
- fi |
85 |
- if use i2p-hardening && ! tc-is-gcc; then |
86 |
- die "i2p-hardening requires gcc" |
87 |
- fi |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- mycmakeargs=( |
92 |
- -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) |
93 |
- -DWITH_AVX=$(usex cpu_flags_x86_avx ON OFF) |
94 |
- -DWITH_HARDENING=$(usex i2p-hardening ON OFF) |
95 |
- -DWITH_PCH=OFF |
96 |
- -DWITH_STATIC=$(usex static ON OFF) |
97 |
- -DWITH_UPNP=$(usex upnp ON OFF) |
98 |
- -DWITH_WEBSOCKETS=$(usex websocket ON OFF) |
99 |
- -DWITH_LIBRARY=ON |
100 |
- -DWITH_BINARY=ON |
101 |
- ) |
102 |
- cmake-utils_src_configure |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- cmake-utils_src_install |
107 |
- |
108 |
- # config |
109 |
- insinto /etc/i2pd |
110 |
- doins contrib/i2pd.conf |
111 |
- doins contrib/tunnels.conf |
112 |
- |
113 |
- # grant i2pd group read and write access to config files |
114 |
- fowners "root:${I2PD_GROUP}" \ |
115 |
- /etc/i2pd/i2pd.conf \ |
116 |
- /etc/i2pd/tunnels.conf |
117 |
- fperms 660 \ |
118 |
- /etc/i2pd/i2pd.conf \ |
119 |
- /etc/i2pd/tunnels.conf |
120 |
- |
121 |
- # working directory |
122 |
- keepdir /var/lib/i2pd |
123 |
- insinto /var/lib/i2pd |
124 |
- doins -r contrib/certificates |
125 |
- fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ |
126 |
- fperms 700 /var/lib/i2pd/ |
127 |
- |
128 |
- # add /var/lib/i2pd/certificates to CONFIG_PROTECT |
129 |
- doenvd "${FILESDIR}/99i2pd" |
130 |
- |
131 |
- # openrc and systemd daemon routines |
132 |
- newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd |
133 |
- newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd |
134 |
- systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service |
135 |
- |
136 |
- # logrotate |
137 |
- insinto /etc/logrotate.d |
138 |
- newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd |
139 |
-} |
140 |
- |
141 |
-pkg_setup() { |
142 |
- enewgroup "${I2PD_GROUP}" |
143 |
- enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" |
144 |
-} |
145 |
- |
146 |
-pkg_postinst() { |
147 |
- if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then |
148 |
- ewarn |
149 |
- ewarn "Configuration of the subscriptions has been moved from" |
150 |
- ewarn "subscriptions.txt to i2pd.conf. We recommend updating" |
151 |
- ewarn "i2pd.conf accordingly and deleting subscriptions.txt." |
152 |
- fi |
153 |
-} |
154 |
|
155 |
diff --git a/net-vpn/i2pd/i2pd-2.25.0.ebuild b/net-vpn/i2pd/i2pd-2.25.0.ebuild |
156 |
deleted file mode 100644 |
157 |
index 719f88b1a2c..00000000000 |
158 |
--- a/net-vpn/i2pd/i2pd-2.25.0.ebuild |
159 |
+++ /dev/null |
160 |
@@ -1,120 +0,0 @@ |
161 |
-# Copyright 1999-2019 Gentoo Authors |
162 |
-# Distributed under the terms of the GNU General Public License v2 |
163 |
- |
164 |
-EAPI=6 |
165 |
-inherit systemd user cmake-utils eapi7-ver toolchain-funcs |
166 |
- |
167 |
-DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" |
168 |
-HOMEPAGE="https://github.com/PurpleI2P/i2pd" |
169 |
-SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
170 |
-LICENSE="BSD" |
171 |
-SLOT="0" |
172 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
173 |
-IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp websocket" |
174 |
- |
175 |
-# if using libressl, require >=boost-1.65, see #597798 |
176 |
-RDEPEND=" |
177 |
- !static? ( |
178 |
- dev-libs/boost:=[threads] |
179 |
- !libressl? ( dev-libs/openssl:0=[-bindist] ) |
180 |
- libressl? ( |
181 |
- dev-libs/libressl:0= |
182 |
- >=dev-libs/boost-1.65:= |
183 |
- ) |
184 |
- upnp? ( net-libs/miniupnpc ) |
185 |
- )" |
186 |
-DEPEND="${RDEPEND} |
187 |
- static? ( |
188 |
- dev-libs/boost:=[static-libs,threads] |
189 |
- !libressl? ( dev-libs/openssl:0=[static-libs] ) |
190 |
- libressl? ( |
191 |
- dev-libs/libressl:0=[static-libs] |
192 |
- >=dev-libs/boost-1.65:= |
193 |
- ) |
194 |
- sys-libs/zlib:=[static-libs] |
195 |
- upnp? ( net-libs/miniupnpc[static-libs] ) |
196 |
- ) |
197 |
- websocket? ( dev-cpp/websocketpp )" |
198 |
- |
199 |
-I2PD_USER=i2pd |
200 |
-I2PD_GROUP=i2pd |
201 |
- |
202 |
-CMAKE_USE_DIR="${S}/build" |
203 |
- |
204 |
-DOCS=( README.md contrib/i2pd.conf contrib/tunnels.conf ) |
205 |
- |
206 |
-PATCHES=( "${FILESDIR}/${PN}-2.14.0-fix_installed_components.patch" ) |
207 |
- |
208 |
-pkg_pretend() { |
209 |
- if tc-is-gcc && ! ver_test "$(gcc-version)" -ge "4.7"; then |
210 |
- die "At least gcc 4.7 is required" |
211 |
- fi |
212 |
- if use i2p-hardening && ! tc-is-gcc; then |
213 |
- die "i2p-hardening requires gcc" |
214 |
- fi |
215 |
-} |
216 |
- |
217 |
-src_configure() { |
218 |
- mycmakeargs=( |
219 |
- -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF) |
220 |
- -DWITH_AVX=$(usex cpu_flags_x86_avx ON OFF) |
221 |
- -DWITH_HARDENING=$(usex i2p-hardening ON OFF) |
222 |
- -DWITH_PCH=OFF |
223 |
- -DWITH_STATIC=$(usex static ON OFF) |
224 |
- -DWITH_UPNP=$(usex upnp ON OFF) |
225 |
- -DWITH_WEBSOCKETS=$(usex websocket ON OFF) |
226 |
- -DWITH_LIBRARY=ON |
227 |
- -DWITH_BINARY=ON |
228 |
- ) |
229 |
- cmake-utils_src_configure |
230 |
-} |
231 |
- |
232 |
-src_install() { |
233 |
- cmake-utils_src_install |
234 |
- |
235 |
- # config |
236 |
- insinto /etc/i2pd |
237 |
- doins contrib/i2pd.conf |
238 |
- doins contrib/tunnels.conf |
239 |
- |
240 |
- # grant i2pd group read and write access to config files |
241 |
- fowners "root:${I2PD_GROUP}" \ |
242 |
- /etc/i2pd/i2pd.conf \ |
243 |
- /etc/i2pd/tunnels.conf |
244 |
- fperms 660 \ |
245 |
- /etc/i2pd/i2pd.conf \ |
246 |
- /etc/i2pd/tunnels.conf |
247 |
- |
248 |
- # working directory |
249 |
- keepdir /var/lib/i2pd |
250 |
- insinto /var/lib/i2pd |
251 |
- doins -r contrib/certificates |
252 |
- fowners "${I2PD_USER}:${I2PD_GROUP}" /var/lib/i2pd/ |
253 |
- fperms 700 /var/lib/i2pd/ |
254 |
- |
255 |
- # add /var/lib/i2pd/certificates to CONFIG_PROTECT |
256 |
- doenvd "${FILESDIR}/99i2pd" |
257 |
- |
258 |
- # openrc and systemd daemon routines |
259 |
- newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd |
260 |
- newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd |
261 |
- systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service |
262 |
- |
263 |
- # logrotate |
264 |
- insinto /etc/logrotate.d |
265 |
- newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd |
266 |
-} |
267 |
- |
268 |
-pkg_setup() { |
269 |
- enewgroup "${I2PD_GROUP}" |
270 |
- enewuser "${I2PD_USER}" -1 -1 /var/lib/run/i2pd "${I2PD_GROUP}" |
271 |
-} |
272 |
- |
273 |
-pkg_postinst() { |
274 |
- if [[ -f ${EROOT%/}/etc/i2pd/subscriptions.txt ]]; then |
275 |
- ewarn |
276 |
- ewarn "Configuration of the subscriptions has been moved from" |
277 |
- ewarn "subscriptions.txt to i2pd.conf. We recommend updating" |
278 |
- ewarn "i2pd.conf accordingly and deleting subscriptions.txt." |
279 |
- fi |
280 |
-} |