Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/i2p/
Date: Tue, 29 Mar 2016 08:41:06
Message-Id: 1459239878.9bef1e830162489718f25ef38a96dc9ab91b30fc.monsieurp@gentoo
1 commit: 9bef1e830162489718f25ef38a96dc9ab91b30fc
2 Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
3 AuthorDate: Mon Mar 28 13:20:13 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 08:24:38 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bef1e83
7
8 net-p2p/i2p: clean out old ebuilds: 0.9.22, 22-r1, 23, 24
9
10 Package-Manager: portage-2.2.28
11 RepoMan-Options: --ignore-arches
12 Closes: https://github.com/gentoo/gentoo/pull/1153
13
14 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
15
16 net-p2p/i2p/Manifest | 2 -
17 net-p2p/i2p/i2p-0.9.22-r1.ebuild | 106 -------------------------------
18 net-p2p/i2p/i2p-0.9.22.ebuild | 103 ------------------------------
19 net-p2p/i2p/i2p-0.9.23.ebuild | 122 -----------------------------------
20 net-p2p/i2p/i2p-0.9.24.ebuild | 133 ---------------------------------------
21 5 files changed, 466 deletions(-)
22
23 diff --git a/net-p2p/i2p/Manifest b/net-p2p/i2p/Manifest
24 index c2dfc5b..1504c9c 100644
25 --- a/net-p2p/i2p/Manifest
26 +++ b/net-p2p/i2p/Manifest
27 @@ -1,4 +1,2 @@
28 -DIST i2psource_0.9.22.tar.bz2 24338146 SHA256 91ac91f7a3e202d248f5294f4951f6b7d8b9bde32991adf7a813ae1bb9188898 SHA512 0fdcd0369f79cc143c449774cb205d2fb4fa5ad32e0b5bd3ed0dee5b24402cc21b1c5650d535518e68aaa98cee5380bf0af041df8b3e1724698aebf61cfb5583 WHIRLPOOL bd36ce760f7a7b942651de576662b3fadbf19bbdb84a020a16783689f3ae4919bf9441762f2d951ed1c02781e62131370b5cc36cd257c187185862901454e971
29 -DIST i2psource_0.9.23.tar.bz2 24427211 SHA256 24e303f2af1b7b14ed3a6e17cc7d1b6432ec99d8d00246a88486922941c72345 SHA512 1697ee03c5b09c7653f4e30e976062908e0c0ece7ee9651979384fce0d5c887d7cfbd841522d31203f23d7f5dc97d8f8ef238784199b22fe5452299587038f82 WHIRLPOOL a2141b8d9d5f8b552e354678294364bedde9cef5aa39aa95a06dbe19f5f7996b6d5eb0e1b43ad8ce5c2f9e20dc4dda792b994004a95ea1dc83c5541f46de5b89
30 DIST i2psource_0.9.24.tar.bz2 24468215 SHA256 134481ae5ef934a411545330d1b22e768189c424a65db47058db0f7d9cf51e7d SHA512 9029ea06640a937385499fd308232f2c3b04308cc834e2e2491a567c47be4aa128d509b2058735cb8cf088a0b9273b418efbca05d70944ef9e95c3d15d96a47a WHIRLPOOL d7211cf46bf4bbaa54340de0dadcb255f2321d75b3d968401612c1bc0926f91f1d248e634c97c8d6948f78cd4a68c9a79ca4a65102e205a56c704a2409416cf3
31 DIST i2psource_0.9.25.tar.bz2 24652935 SHA256 daaac2b5a5a6b5bbd4b805f76e14f6a7c201dfd7c1cf43c98e182d2e657d1236 SHA512 a50f00d9ad32993da30529339e3ffd425d5e97d5120d9e4e446f6fa7ac0cbb6ee4f35c013b0815802ff6c72e188b00d408c7fa398c8ee1ae71be57383a1411f6 WHIRLPOOL a851f6505155201d872774407dc71c9dd03a4683b3ce35d2fff74fd3f7f17d12cc1cc72dfcc2c7c4f0d82b86333bd0424066ae41330e603ba07872d56c257e27
32
33 diff --git a/net-p2p/i2p/i2p-0.9.22-r1.ebuild b/net-p2p/i2p/i2p-0.9.22-r1.ebuild
34 deleted file mode 100644
35 index c1b1f02..0000000
36 --- a/net-p2p/i2p/i2p-0.9.22-r1.ebuild
37 +++ /dev/null
38 @@ -1,106 +0,0 @@
39 -# Copyright 1999-2015 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -# $Id$
42 -
43 -EAPI="5"
44 -
45 -inherit eutils java-pkg-2 java-ant-2 systemd user
46 -
47 -DESCRIPTION="A privacy-centric, anonymous network."
48 -HOMEPAGE="https://geti2p.net"
49 -SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2"
50 -
51 -LICENSE="Apache-2.0 Artistic BSD CC-BY-2.5 CC-BY-3.0 CC-BY-SA-3.0 EPL-1.0 GPL-2 GPL-3 LGPL-2.1 LGPL-3 MIT public-domain WTFPL-2"
52 -SLOT="0"
53 -
54 -# Until the deps reach other arches
55 -KEYWORDS="~amd64 ~x86"
56 -IUSE="nls"
57 -
58 -# dev-java/ant-core is automatically added due to java-ant-2.eclass
59 -CDEPEND="dev-java/jrobin:0
60 - dev-java/bcprov:1.50
61 - dev-java/slf4j-api:0
62 - dev-java/tomcat-jstl-impl:0
63 - dev-java/tomcat-jstl-spec:0
64 - dev-java/java-service-wrapper:0"
65 -
66 -DEPEND="${CDEPEND}
67 - dev-java/eclipse-ecj:*
68 - dev-libs/gmp:*
69 - nls? ( sys-devel/gettext )
70 - >=virtual/jdk-1.6"
71 -
72 -RDEPEND="${CDEPEND}
73 - >=virtual/jre-1.6"
74 -
75 -EANT_BUILD_TARGET="pkg"
76 -EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov-1.50"
77 -
78 -pkg_setup() {
79 - enewgroup i2p
80 - enewuser i2p -1 -1 /var/lib/i2p i2p -m
81 -}
82 -
83 -src_unpack() {
84 - unpack ${A}
85 - cd "${S}"
86 - java-ant_rewrite-classpath
87 -}
88 -
89 -src_prepare() {
90 - # We're on GNU/Linux, we don't need .exe files
91 - echo "noExe=true" > override.properties
92 - if ! use nls; then
93 - echo "require.gettext=false" >> override.properties
94 - fi
95 -}
96 -
97 -src_install() {
98 - # Cd into pkg-temp.
99 - cd "${S}/pkg-temp" || die
100 -
101 - # Apply patch.
102 - epatch "${FILESDIR}/${P}_fix-paths.patch"
103 -
104 - # Using ${D} here results in an error. Docs say use $ROOT
105 - i2p_home="${ROOT}/usr/share/i2p"
106 -
107 - # This is ugly, but to satisfy all non-system .jar dependencies, jetty and
108 - # systray4j would need to be packaged. The former would be too large a task
109 - # for an unseasoned developer and systray4j hasn't been touched in over 10
110 - # years. This seems to be the most pragmatic solution
111 - java-pkg_jarinto "${i2p_home}/lib"
112 - for i in BOB commons-el commons-logging i2p i2psnark i2ptunnel \
113 - jasper-compiler jasper-runtime javax.servlet jbigi jetty* mstreaming org.mortbay.* router* \
114 - sam standard streaming systray systray4j; do
115 - java-pkg_dojar lib/${i}.jar
116 - done
117 -
118 - # Set up symlinks for binaries
119 - dosym /usr/bin/wrapper ${i2p_home}/i2psvc
120 - dosym ${i2p_home}/i2prouter /usr/bin/i2prouter
121 - dosym ${i2p_home}/eepget /usr/bin/eepget
122 -
123 - # Install main files and basic documentation
124 - exeinto ${i2p_home}
125 - insinto ${i2p_home}
126 - doins blocklist.txt hosts.txt *.config
127 - doexe eepget i2prouter runplain.sh
128 - dodoc history.txt INSTALL-headless.txt LICENSE.txt
129 - doman man/*
130 -
131 - # Install other directories
132 - doins -r certificates docs eepsite geoip scripts
133 - dodoc -r licenses
134 - java-pkg_dowar webapps/*.war
135 -
136 - # Install daemon files
137 - newinitd "${FILESDIR}/i2p.initd" i2p
138 - systemd_newunit "${FILESDIR}"/i2p.service i2p.service
139 -}
140 -
141 -pkg_postinst() {
142 - elog "Custom configuration belongs in /var/lib/i2p/.i2p/ to avoid being overwritten."
143 - elog "I2P can be configured through the web interface at http://localhost:7657/index.jsp"
144 -}
145
146 diff --git a/net-p2p/i2p/i2p-0.9.22.ebuild b/net-p2p/i2p/i2p-0.9.22.ebuild
147 deleted file mode 100644
148 index 879f632..0000000
149 --- a/net-p2p/i2p/i2p-0.9.22.ebuild
150 +++ /dev/null
151 @@ -1,103 +0,0 @@
152 -# Copyright 1999-2015 Gentoo Foundation
153 -# Distributed under the terms of the GNU General Public License v2
154 -# $Id$
155 -
156 -EAPI="5"
157 -
158 -inherit eutils java-pkg-2 java-ant-2 systemd user
159 -
160 -DESCRIPTION="A privacy-centric, anonymous network."
161 -HOMEPAGE="https://geti2p.net"
162 -SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2"
163 -
164 -LICENSE="Apache-2.0 Artistic BSD CC-BY-2.5 CC-BY-3.0 CC-BY-SA-3.0 EPL-1.0 GPL-2 GPL-3 LGPL-2.1 LGPL-3 MIT public-domain WTFPL-2"
165 -SLOT="0"
166 -
167 -# Until the deps reach other arches
168 -KEYWORDS="~amd64 ~x86"
169 -IUSE="nls"
170 -
171 -# dev-java/ant-core is automatically added due to java-ant-2.eclass
172 -CDEPEND="dev-java/jrobin:0
173 - dev-java/slf4j-api:0
174 - dev-java/java-service-wrapper:0"
175 -
176 -DEPEND="${CDEPEND}
177 - dev-java/eclipse-ecj:*
178 - dev-libs/gmp:*
179 - nls? ( sys-devel/gettext )
180 - >=virtual/jdk-1.6"
181 -
182 -RDEPEND="${CDEPEND}
183 - >=virtual/jre-1.6"
184 -
185 -EANT_BUILD_TARGET="pkg"
186 -EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api"
187 -
188 -pkg_setup() {
189 - enewgroup i2p
190 - enewuser i2p -1 -1 /var/lib/i2p i2p -m
191 -}
192 -
193 -src_unpack() {
194 - unpack ${A}
195 - cd "${S}"
196 - java-ant_rewrite-classpath
197 -}
198 -
199 -src_prepare() {
200 - # We're on GNU/Linux, we don't need .exe files
201 - echo "noExe=true" > override.properties
202 - if ! use nls; then
203 - echo "require.gettext=false" >> override.properties
204 - fi
205 -}
206 -
207 -src_install() {
208 - # Cd into pkg-temp.
209 - cd "${S}/pkg-temp" || die
210 -
211 - # Apply patch.
212 - epatch "${FILESDIR}/${P}_fix-paths.patch"
213 -
214 - # Using ${D} here results in an error. Docs say use $ROOT
215 - i2p_home="${ROOT}/usr/share/i2p"
216 -
217 - # This is ugly, but to satisfy all non-system .jar dependencies, jetty and
218 - # systray4j would need to be packaged. The former would be too large a task
219 - # for an unseasoned developer and systray4j hasn't been touched in over 10
220 - # years. This seems to be the most pragmatic solution
221 - java-pkg_jarinto "${i2p_home}/lib"
222 - for i in BOB commons-el commons-logging i2p i2psnark i2ptunnel \
223 - jasper-compiler jasper-runtime javax.servlet jbigi jetty* mstreaming org.mortbay.* router* \
224 - sam standard streaming systray systray4j; do
225 - java-pkg_dojar lib/${i}.jar
226 - done
227 -
228 - # Set up symlinks for binaries
229 - dosym /usr/bin/wrapper ${i2p_home}/i2psvc
230 - dosym ${i2p_home}/i2prouter /usr/bin/i2prouter
231 - dosym ${i2p_home}/eepget /usr/bin/eepget
232 -
233 - # Install main files and basic documentation
234 - exeinto ${i2p_home}
235 - insinto ${i2p_home}
236 - #doins blocklist.txt hosts.txt *.config
237 - doexe eepget i2prouter runplain.sh
238 - dodoc history.txt INSTALL-headless.txt LICENSE.txt
239 - doman man/*
240 -
241 - # Install other directories
242 - doins -r certificates docs eepsite geoip scripts
243 - dodoc -r licenses
244 - java-pkg_dowar webapps/*.war
245 -
246 - # Install daemon files
247 - newinitd "${FILESDIR}/i2p.initd" i2p
248 - systemd_newunit "${FILESDIR}"/i2p.service i2p.service
249 -}
250 -
251 -pkg_postinst() {
252 - elog "Custom configuration belongs in /var/lib/i2p/.i2p/ to avoid being overwritten."
253 - elog "I2P can be configured through the web interface at http://localhost:7657/index.jsp"
254 -}
255
256 diff --git a/net-p2p/i2p/i2p-0.9.23.ebuild b/net-p2p/i2p/i2p-0.9.23.ebuild
257 deleted file mode 100644
258 index bfe7595..0000000
259 --- a/net-p2p/i2p/i2p-0.9.23.ebuild
260 +++ /dev/null
261 @@ -1,122 +0,0 @@
262 -# Copyright 1999-2015 Gentoo Foundation
263 -# Distributed under the terms of the GNU General Public License v2
264 -# $Id$
265 -
266 -EAPI="5"
267 -
268 -inherit eutils java-pkg-2 java-ant-2 systemd user
269 -
270 -DESCRIPTION="A privacy-centric, anonymous network."
271 -HOMEPAGE="https://geti2p.net"
272 -SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2"
273 -
274 -LICENSE="Apache-2.0 Artistic BSD CC-BY-2.5 CC-BY-3.0 CC-BY-SA-3.0 EPL-1.0 GPL-2 GPL-3 LGPL-2.1 LGPL-3 MIT public-domain WTFPL-2"
275 -SLOT="0"
276 -
277 -# Until the deps reach other arches
278 -KEYWORDS="~amd64 ~x86"
279 -IUSE="nls"
280 -
281 -# dev-java/ant-core is automatically added due to java-ant-2.eclass
282 -CDEPEND="dev-java/jrobin:0
283 - dev-java/bcprov:1.50
284 - dev-java/slf4j-api:0
285 - dev-java/tomcat-jstl-impl:0
286 - dev-java/tomcat-jstl-spec:0
287 - dev-java/java-service-wrapper:0"
288 -
289 -DEPEND="${CDEPEND}
290 - dev-java/eclipse-ecj:*
291 - dev-libs/gmp:*
292 - nls? ( sys-devel/gettext )
293 - >=virtual/jdk-1.6"
294 -
295 -RDEPEND="${CDEPEND}
296 - >=virtual/jre-1.6"
297 -
298 -EANT_BUILD_TARGET="pkg"
299 -EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov-1.50"
300 -
301 -pkg_setup() {
302 - java-pkg-2_pkg_setup
303 -
304 - enewgroup i2p
305 - enewuser i2p -1 -1 /var/lib/i2p i2p -m
306 -}
307 -
308 -src_unpack() {
309 - unpack ${A}
310 - cd "${S}" || die
311 - java-ant_rewrite-classpath
312 -}
313 -
314 -src_prepare() {
315 - java-pkg-2_src_prepare
316 -
317 - # We're on GNU/Linux, we don't need .exe files
318 - echo "noExe=true" > override.properties
319 - if ! use nls; then
320 - echo "require.gettext=false" >> override.properties
321 - fi
322 -
323 - #epatch "${FILESDIR}/${P}_fix-encoding.patch"
324 -}
325 -
326 -src_install() {
327 - # Cd into pkg-temp.
328 - cd "${S}/pkg-temp" || die
329 -
330 - # Apply patch.
331 - epatch "${FILESDIR}/${P}_fix-paths.patch"
332 -
333 - # Using ${D} here results in an error. Docs say use $ROOT
334 - i2p_home="${ROOT}/usr/share/i2p"
335 -
336 - # This is ugly, but to satisfy all non-system .jar dependencies, jetty and
337 - # systray4j would need to be packaged. The former would be too large a task
338 - # for an unseasoned developer and systray4j hasn't been touched in over 10
339 - # years. This seems to be the most pragmatic solution
340 - java-pkg_jarinto "${i2p_home}/lib"
341 - for i in BOB commons-el commons-logging i2p i2psnark i2ptunnel \
342 - jasper-compiler jasper-runtime javax.servlet jbigi jetty* mstreaming org.mortbay.* router* \
343 - sam standard streaming systray systray4j; do
344 - java-pkg_dojar lib/${i}.jar
345 - done
346 -
347 - # Set up symlinks for binaries
348 - dosym /usr/bin/wrapper ${i2p_home}/i2psvc
349 - dosym ${i2p_home}/i2prouter /usr/bin/i2prouter
350 - dosym ${i2p_home}/eepget /usr/bin/eepget
351 -
352 - # Install main files and basic documentation
353 - exeinto ${i2p_home}
354 - insinto ${i2p_home}
355 - doins blocklist.txt hosts.txt *.config
356 - doexe eepget i2prouter runplain.sh
357 - dodoc history.txt INSTALL-headless.txt LICENSE.txt
358 - doman man/*
359 -
360 - # Install other directories
361 - doins -r certificates docs eepsite geoip scripts
362 - dodoc -r licenses
363 - java-pkg_dowar webapps/*.war
364 -
365 - # Install daemon files
366 - newinitd "${FILESDIR}/${P}_initd" i2p
367 - systemd_newunit "${FILESDIR}"/i2p.service i2p.service
368 -
369 - # setup user
370 - dodir /var/lib/i2p/.i2p
371 - fowners -R i2p:i2p /var/lib/i2p/.i2p
372 -}
373 -
374 -pkg_postinst() {
375 - elog "Custom configuration belongs in /var/lib/i2p/.i2p/ to avoid being overwritten."
376 - elog "I2P can be configured through the web interface at http://localhost:7657/index.jsp"
377 -
378 - ewarn 'Currently, the i2p team do not enforce to use ECDSA keys. But it is more and'
379 - ewarn 'more pushed. To help the network, you are recommended to have either:'
380 - ewarn ' dev-java/icedtea[-sunec,nss]'
381 - ewarn ' dev-java/oracle-jre-bin'
382 - ewarn ' dev-java/oracle-jdk-bin'
383 -}
384
385 diff --git a/net-p2p/i2p/i2p-0.9.24.ebuild b/net-p2p/i2p/i2p-0.9.24.ebuild
386 deleted file mode 100644
387 index dd695e9..0000000
388 --- a/net-p2p/i2p/i2p-0.9.24.ebuild
389 +++ /dev/null
390 @@ -1,133 +0,0 @@
391 -# Copyright 1999-2016 Gentoo Foundation
392 -# Distributed under the terms of the GNU General Public License v2
393 -# $Id$
394 -
395 -EAPI="5"
396 -
397 -inherit eutils java-pkg-2 java-ant-2 systemd user
398 -
399 -DESCRIPTION="A privacy-centric, anonymous network."
400 -HOMEPAGE="https://geti2p.net"
401 -SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2"
402 -
403 -LICENSE="Apache-2.0 Artistic BSD CC-BY-2.5 CC-BY-3.0 CC-BY-SA-3.0 EPL-1.0 GPL-2 GPL-3 LGPL-2.1 LGPL-3 MIT public-domain WTFPL-2"
404 -SLOT="0"
405 -
406 -# Until the deps reach other arches
407 -KEYWORDS="~amd64 ~x86"
408 -IUSE="nls"
409 -
410 -# dev-java/ant-core is automatically added due to java-ant-2.eclass
411 -CDEPEND="dev-java/jrobin:0
412 - dev-java/bcprov:1.50
413 - dev-java/slf4j-api:0
414 - dev-java/tomcat-jstl-impl:0
415 - dev-java/tomcat-jstl-spec:0
416 - dev-java/java-service-wrapper:0"
417 -
418 -DEPEND="${CDEPEND}
419 - dev-java/eclipse-ecj:*
420 - dev-libs/gmp:*
421 - nls? ( sys-devel/gettext )
422 - >=virtual/jdk-1.7"
423 -
424 -RDEPEND="${CDEPEND}
425 - >=virtual/jre-1.7"
426 -
427 -EANT_BUILD_TARGET="pkg"
428 -EANT_GENTOO_CLASSPATH="java-service-wrapper,jrobin,slf4j-api,tomcat-jstl-impl,tomcat-jstl-spec,bcprov-1.50"
429 -
430 -I2P_ROOT='/usr/share/i2p'
431 -I2P_CONFIG_HOME='/var/lib/i2p'
432 -I2P_CONFIG_DIR="${I2P_HOME}/.i2p"
433 -
434 -pkg_setup() {
435 - java-pkg-2_pkg_setup
436 -
437 - enewgroup i2p
438 - enewuser i2p -1 -1 "${I2P_CONFIG_HOME}" i2p -m
439 -}
440 -
441 -src_unpack() {
442 - unpack ${A}
443 - cd "${S}" || die
444 - java-ant_rewrite-classpath
445 -}
446 -
447 -src_prepare() {
448 - java-pkg-2_src_prepare
449 -
450 - # We're on GNU/Linux, we don't need .exe files
451 - echo "noExe=true" > override.properties
452 - if ! use nls; then
453 - echo "require.gettext=false" >> override.properties
454 - fi
455 -}
456 -
457 -src_install() {
458 - # Cd into pkg-temp.
459 - cd "${S}/pkg-temp" || die
460 -
461 - # add libs
462 - epatch "${FILESDIR}/${P}_add-libs.patch"
463 -
464 - # avoid auto starting browser
465 - sed -i 's|clientApp.4.startOnLoad=true|clientApp.4.startOnLoad=false|' \
466 - clients.config || die
467 -
468 - # replace paths as the installer would
469 - sed -i "s|%INSTALL_PATH|${I2P_ROOT}|" \
470 - eepget i2prouter runplain.sh || die
471 - sed -i "s|\$INSTALL_PATH|${I2P_ROOT}|" wrapper.config || die
472 - sed -i "s|%SYSTEM_java_io_tmpdir|${I2P_CONFIG_DIR}|" \
473 - i2prouter runplain.sh || die
474 - sed -i "s|%USER_HOME|${I2P_CONFIG_HOME}|" i2prouter || die
475 -
476 - # This is ugly, but to satisfy all non-system .jar dependencies, jetty and
477 - # systray4j would need to be packaged. The former would be too large a task
478 - # for an unseasoned developer and systray4j hasn't been touched in over 10
479 - # years. This seems to be the most pragmatic solution
480 - java-pkg_jarinto "${I2P_ROOT}/lib"
481 - for i in BOB commons-el commons-logging i2p i2psnark i2ptunnel \
482 - jasper-compiler jasper-runtime javax.servlet jbigi jetty* mstreaming org.mortbay.* router* \
483 - sam standard streaming systray systray4j; do
484 - java-pkg_dojar lib/${i}.jar
485 - done
486 -
487 - # Set up symlinks for binaries
488 - dosym /usr/bin/wrapper "${I2P_ROOT}/i2psvc"
489 - dosym "${I2P_ROOT}/i2prouter" /usr/bin/i2prouter
490 - dosym "${I2P_ROOT}/eepget" /usr/bin/eepget
491 -
492 - # Install main files and basic documentation
493 - exeinto "${I2P_ROOT}"
494 - insinto "${I2P_ROOT}"
495 - doins blocklist.txt hosts.txt *.config
496 - doexe eepget i2prouter runplain.sh
497 - dodoc history.txt INSTALL-headless.txt LICENSE.txt
498 - doman man/*
499 -
500 - # Install other directories
501 - doins -r certificates docs eepsite geoip scripts
502 - dodoc -r licenses
503 - java-pkg_dowar webapps/*.war
504 -
505 - # Install daemon files
506 - newinitd "${FILESDIR}/${P}_initd" i2p
507 - systemd_newunit "${FILESDIR}"/i2p.service i2p.service
508 -
509 - # setup user
510 - dodir "${I2P_CONFIG_DIR}"
511 - fowners -R i2p:i2p "${I2P_CONFIG_DIR}"
512 -}
513 -
514 -pkg_postinst() {
515 - elog "Custom configuration belongs in /var/lib/i2p/.i2p/ to avoid being overwritten."
516 - elog "I2P can be configured through the web interface at http://localhost:7657/index.jsp"
517 -
518 - ewarn 'Currently, the i2p team do not enforce to use ECDSA keys. But it is more and'
519 - ewarn 'more pushed. To help the network, you are recommended to have either:'
520 - ewarn ' dev-java/icedtea[-sunec,nss]'
521 - ewarn ' dev-java/oracle-jre-bin'
522 - ewarn ' dev-java/oracle-jdk-bin'
523 -}