Commits

neko259  committed 92b570d

i2p version bump (0.9.3).

  • Participants
  • Parent commits 6eecddc

Comments (0)

Files changed (2)

File net-p2p/i2p/Manifest

 DIST i2psource_0.8.9.tar.bz2 19809016 SHA256 c40d503c0ee2e90c75f3d635649490a8e49b60e1da8100db118e2097a133429e SHA512 a1837d57e1bd0feb57c89e3bf718c3f4c72f8498f893013dda933f3e62d1de3d4377f67b79876232ec8ec50e40cc05255dbc91819cdeb6808da487a4c1e4af94 WHIRLPOOL 352ce41a45610d486fae7bfa68375b20efa0762d540ef7eaa556307e86bef386a2cb716a294ab036bcb8a6d5859c0744a18d4c318b771c968ea24cdc8332361a
 DIST i2psource_0.9.1.tar.bz2 21955935 SHA256 8603c928a210ced77b6498bf8ee07cb000be9641adc389b34c3c8a10ac4f0677 SHA512 5af230bddc00103487f35576c796c95a63956ce05d9d14eaf6dad75966ce78eff3b96543cc7b700c4e8bc05d6f261d635bc91a503044fca0805936da5f711e9e WHIRLPOOL 13865f9819e7ca4d22f2a8f3d750c6c6ea745b9bd868b515163a7e4bc1bbcaf4364d0e1851b5d1348bf7ca2792a262efc1d0e95a895b1ca5ca4fb5b9f70e1db9
 DIST i2psource_0.9.2.tar.bz2 22136830 SHA256 ac0262120868a01d11b27ce56a7fea5ea243e261d0d7ff6e6dd59e18987a1be5 SHA512 23b36ad3cf2dde9856b508bdbcdc1ce54fb1cc28b2758f6a19e47fb15e99e2a963432c90ae0deab2e1d37150b5120a68dcbe84c177bcf07fc070dece379dc20e WHIRLPOOL 1bc465e3d0278b0ae83677a9e1a5a1617de8d14e0d40be27086fdb69696ecb804e169e213437f940a87cc5ab942d0d71fd0587f3afb866e72add3eda2b096f38
+DIST i2psource_0.9.3.tar.bz2 22022666 SHA256 39a7d6859bf4bd9ac56fd83a5e32d47d1b24ba06f912a027804492ca941936dd SHA512 afe3bc6c4426364603796ece14713e6c42f781522d0bcdaf33327e1dbc1bee1bc7bc8fe7837201f90609810535a2ae7fd8e9cd06aca7e696fee192467054e3f4 WHIRLPOOL 427d16e5b9b5ae418e0db275366ff98fa8d32986aeebcb9e0706f8cec2ea6a801cef6a8dde07ef34b142f94f7332514794e2097f837e6f2c052bb3fa5fadf53d
 DIST i2psource_0.9.tar.bz2 21750559 SHA256 8a3654a13781a9aacf9db94081e057be73322f88db2931eba4f2cfa467ead429 SHA512 0559d42aaef2ad0864ddd3f5782320f58ad71a7a61e80224738e6ecc9ac767f06b7655332aa0a0d3404f17f7a52018b644c896a324db0a711686c3fee356accd WHIRLPOOL cb2c9c5d04161c01f52cd537426227c32c4369b0693678260c36b6517e1fe779e1d0a8897200c4c691bbdef0bba10389e173b5c10b764daedbde2b514e29f886
 DIST jetty-5.1.15.tgz 11063548 SHA256 c866bfe7715941e343e66bd5d6696a743b9c0811ef9763848eb673070f4a53d6 SHA512 82ecdb1200b8a1f41d47fe43f2324c06c65874310cd81e4e84476b61cd7cbd81348e656a9baf0a5c5ce851a30135eb28c41700aa27202953a2717c9cd0e7189b WHIRLPOOL f6c8403ef427e1e4e7dc81168493ed7b0551506877f1c85459e949f7c549120abd9fd99d5a3e315abca8a60af8d64ae46bf1ac8d99654f1e35b02ce75dc16e43
 DIST jetty-6.1.26.zip 25894195 SHA256 96c08eb87ec3772dccc2b3dba54fea85ccc3f804faf7429eecfba3ed55648187 SHA512 53ff50f5c2d8d8118886516b0b356520b8228e78a7ed53943a8e0fc6e63ddeef154c54cede744d35f458d3d20dfaab585ff40fcd8b83fc00902c3561c8e462de WHIRLPOOL 3318e1d834a37231384ea4aca17913312471970681906506e238f5dfc5f3fc000c57e0fd78e12c102d6f512dd977f911bdc9d5f3edc9ea0ff10c5c29c1312337
 EBUILD i2p-0.8.9.ebuild 2762 SHA256 13603e9759f7ff1d5ab21df21544e69a41bbc12d466170e165d2eeac5b603427 SHA512 67a5c01a1836f12cc3a99f750367afebd121c43137761d49eeb2892c5e70aa46078fdd1072a9238100a2e8493e268a1e2fb734d77571cd68448ddf3d88734174 WHIRLPOOL 8eda8e2d85f5030f1a62785d042fb303539c70430b84a75cf6d63c81d86007f94708580156557e35dbb0aaf1bedd93ceef4b3a1abde839fcf8c4bf7fc11dacc2
 EBUILD i2p-0.9.1.ebuild 2894 SHA256 d09c68a6e4f5ae3c5a54fb91bcb9017e45f3e6a983669fa46e5d117e262986f5 SHA512 bbcb522b7bfcbda37ed8bfb0b678c744a684189b0febe0cdbcd32a1dba0867cc7beacdfd1cf82da40f766952c8f2e99eff890228c0e347c17bb5b8466ff28e9d WHIRLPOOL 69fd5348c40b65dbcefa9bf6b163589582ce855c15ead9d09a9aac34bc39ae236dd852b3773984036ca20dc20a845a2832b45cb3540ffe7f26e95ede8fa12eb1
 EBUILD i2p-0.9.2.ebuild 2894 SHA256 d09c68a6e4f5ae3c5a54fb91bcb9017e45f3e6a983669fa46e5d117e262986f5 SHA512 bbcb522b7bfcbda37ed8bfb0b678c744a684189b0febe0cdbcd32a1dba0867cc7beacdfd1cf82da40f766952c8f2e99eff890228c0e347c17bb5b8466ff28e9d WHIRLPOOL 69fd5348c40b65dbcefa9bf6b163589582ce855c15ead9d09a9aac34bc39ae236dd852b3773984036ca20dc20a845a2832b45cb3540ffe7f26e95ede8fa12eb1
+EBUILD i2p-0.9.3.ebuild 2894 SHA256 d09c68a6e4f5ae3c5a54fb91bcb9017e45f3e6a983669fa46e5d117e262986f5 SHA512 bbcb522b7bfcbda37ed8bfb0b678c744a684189b0febe0cdbcd32a1dba0867cc7beacdfd1cf82da40f766952c8f2e99eff890228c0e347c17bb5b8466ff28e9d WHIRLPOOL 69fd5348c40b65dbcefa9bf6b163589582ce855c15ead9d09a9aac34bc39ae236dd852b3773984036ca20dc20a845a2832b45cb3540ffe7f26e95ede8fa12eb1
 EBUILD i2p-0.9.ebuild 2894 SHA256 d09c68a6e4f5ae3c5a54fb91bcb9017e45f3e6a983669fa46e5d117e262986f5 SHA512 bbcb522b7bfcbda37ed8bfb0b678c744a684189b0febe0cdbcd32a1dba0867cc7beacdfd1cf82da40f766952c8f2e99eff890228c0e347c17bb5b8466ff28e9d WHIRLPOOL 69fd5348c40b65dbcefa9bf6b163589582ce855c15ead9d09a9aac34bc39ae236dd852b3773984036ca20dc20a845a2832b45cb3540ffe7f26e95ede8fa12eb1
 MISC ChangeLog 213 SHA256 e075fa8cad4a4dd3d0f601e14084ac8a7325b4ccc0dad955a179253d6c5ceeaa SHA512 2f714551c2d330a26269ae37f0a9f17fc71a53cda988a1f78a4f4a1583149d6997f08c5575860c228bc0da14f01309ae985d3bce8e9339d4f3b273e8326d63bd WHIRLPOOL 36ecb2e9b3df6d233e25e02c71fac8b937f87a55d2857d97c4bf70cca83cea62715609fada5bae5d431a99f02985d35ca96636f5e0c1f2409e1deb632c17737e
 MISC metadata.xml 627 SHA256 cecae24b3e84e222b6bb2ae74bd77c8e49bf5ba2ad6034d30b44e9a524bf0938 SHA512 eb3f116a04d3b0c1cd8113075b0b12d4b1aac1326a35630c1f5528388803d5da1e8d5ee5793193edd0e406870a368f2ad8d53d7ccb38567a79eec6d395888841 WHIRLPOOL 245dd19f9d9a792811e14be47aa25bd8e5c3c89cfee537ca06d8796a048c8021093f1c02b9fcd2932f4ca9cd32ac4b170d34fe601882c2a64429ea9cd52b56bc

File net-p2p/i2p/i2p-0.9.3.ebuild

+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils java-pkg-2 java-ant-2 pax-utils
+
+JETTY_V="6.1.26"
+
+DESCRIPTION="I2P is an anonymous network."
+
+SRC_URI="http://mirror.i2p2.de/${PN}source_${PV}.tar.bz2
+	http://dist.codehaus.org/jetty/jetty-6.1.26/jetty-${JETTY_V}.zip"
+HOMEPAGE="http://www.i2p.net/"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+LICENSE="GPL-2"
+IUSE="initscript"
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND="${DEPEND}"
+
+QA_TEXTRELS="opt/i2p/i2psvc"
+QA_TEXTRELS="opt/i2p/lib/libwrapper.so"
+
+src_unpack() {
+	unpack "i2psource_${PV}.tar.bz2"
+	cp "${DISTDIR}/jetty-${JETTY_V}.zip" -P "${S}/apps/jetty" || die
+}
+
+src_compile() {
+	eant pkg || die
+}
+
+src_install() {
+	cd pkg-temp || die
+	sed -i 's:[%$]INSTALL_PATH:/opt/i2p:g' \
+		eepget i2prouter runplain.sh *.config || die
+	sed -i 's:[%$]SYSTEM_java_io_tmpdir:/tmp:g' \
+		runplain.sh || die
+	sed -i 's:wrapper.java.command=java:wrapper.java.command=/etc/java-config-2/current-system-vm/bin/java:' \
+	wrapper.config || die
+	if use initscript ; then
+		sed -i 's:^#\?PIDDIR=.*:PIDDIR="/var/run/":g' \
+			i2prouter || die
+		sed -i 's:[%$]SYSTEM_java_io_tmpdir:/opt/i2p/home:g' \
+			eepget i2prouter *.config || die
+	else
+		sed -i 's:[%$]SYSTEM_java_io_tmpdir:/tmp:g' \
+			eepget i2prouter *.config || die
+	fi
+	exeinto /opt/i2p
+	insinto /opt/i2p
+# 	Install to package root
+# 	Install files
+	doins ${S}/apps/i2psnark/jetty-i2psnark.xml ${S}/pkg-temp/blocklist.txt ${S}/apps/i2psnark/launch-i2psnark ${S}/pkg-temp/hosts.txt || die
+	doexe eepget i2prouter ${S}/apps/i2psnark/launch-i2psnark osid postinstall.sh runplain.sh *.config || die
+	if use x86; then
+		doexe lib/wrapper/linux/i2psvc || die
+	elif use amd64; then
+		doexe lib/wrapper/linux64/i2psvc || die
+	fi
+	dodoc history.txt LICENSE.txt INSTALL-headless.txt || die
+	doman man/* || die
+# 	Install dirs
+	doins -r docs geoip eepsite scripts certificates webapps || die
+	dodoc -r licenses || die
+# 	Install files to package lib
+	insinto /opt/i2p/lib
+	exeinto /opt/i2p/lib
+	find lib/ -maxdepth 1 -type f '!' -name '*.dll' -print0 | xargs -0 doins || die
+	if use x86; then
+		doexe lib/wrapper/linux/libwrapper.so \
+		lib/wrapper.jar || die
+	elif use amd64; then
+		doexe lib/wrapper/linux64/libwrapper.so \
+		lib/wrapper.jar || die
+	fi
+	dosym "${D}"/opt/i2p/i2prouter /usr/bin/i2prouter
+	dosym "${D}"/opt/i2p/eepget /usr/bin/eepget
+	if use initscript; then
+		doinitd "${FILESDIR}"/i2p || die
+	fi
+	pax-mark m "$D/opt/i2p/i2psvc"
+}
+
+pkg_postinst() {
+	if use initscript; then
+		enewgroup ${PN}
+		enewuser ${PN} -1 -1 /opt/i2p/home/ ${PN} -m
+		einfo "Configure the router now : http://localhost:7657/index.jsp"
+		einfo "Use /etc/init.d/i2p start to start I2P"
+	else
+		einfo "Configure the router now : http://localhost:7657/index.jsp"
+		einfo "Use 'i2prouter start' to run I2P and 'i2prouter stop' to stop it."
+	fi
+}