summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2007-08-24 18:05:53 +0000
committerThomas Sachau <tommy@gentoo.org>2007-08-24 18:05:53 +0000
commit749f99476f62110cfef3304286c8660f1c99a8a3 (patch)
tree237af1bb5872736c7ca824994c17063ff9304053 /net-p2p
parentgames-rpg/bs1: New ebuild for bug 190031 (diff)
downloadsunrise-749f99476f62110cfef3304286c8660f1c99a8a3.tar.gz
sunrise-749f99476f62110cfef3304286c8660f1c99a8a3.tar.bz2
sunrise-749f99476f62110cfef3304286c8660f1c99a8a3.zip
net-p2p/freenet-bin: New upstream release
svn path=/sunrise/; revision=4497
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet-bin/ChangeLog4
-rw-r--r--net-p2p/freenet-bin/Manifest8
-rw-r--r--net-p2p/freenet-bin/freenet-bin-0.7.1054.ebuild2
-rw-r--r--net-p2p/freenet-bin/freenet-bin-0.7.1056.ebuild67
4 files changed, 77 insertions, 4 deletions
diff --git a/net-p2p/freenet-bin/ChangeLog b/net-p2p/freenet-bin/ChangeLog
index e1a9db5c9..d8d0bc467 100644
--- a/net-p2p/freenet-bin/ChangeLog
+++ b/net-p2p/freenet-bin/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Aug 2007; Thomas Sachau (Tommy[D]) thomas.sachau@gmx.de
+ freenet-bin-0.7.1054.ebuild, +freenet-bin-0.7.1056.ebuild:
+ New upstream release
+
12 Aug 2007; Thomas Sachau (Tommy[D]) thomas.sachau@gmx.de
-freenet-bin-0.7.1052.ebuild, -freenet-bin-0.7.1052-r1.ebuild,
freenet-bin-0.7.1054.ebuild:
diff --git a/net-p2p/freenet-bin/Manifest b/net-p2p/freenet-bin/Manifest
index 3cd0f5553..7c19c3376 100644
--- a/net-p2p/freenet-bin/Manifest
+++ b/net-p2p/freenet-bin/Manifest
@@ -1,8 +1,10 @@
-DIST freenet-ext.jar 2447467 RMD160 c50b76a08eaaa9f879e8a901766733e338b086ea SHA1 8540e1dfd74b3bdfaf2407c4244af86f3c5a392f SHA256 3518695c3ef34c7509386e3dc8b2d50df9a9640446317dd8426c84d971c8c514
+DIST freenet-ext.jar 2452429 RMD160 fdac9646f7fbb5ee82ad62580191695cc6bef593 SHA1 712aaf061e5e35df47ab6727476b78a0cf8c47da SHA256 1ab33492054eb6e8550f608d3b7d6f3a5117b5905f342bfad8cb38a2a9350bf2
DIST freenet-r14628-snapshot.jar 2126479 RMD160 cd58b5b5d43218205f15c2195017ca13f8f81910 SHA1 8e90a1ee33e1cb359249c36a957bda36032a322e SHA256 4d80680767a733694ed7adff7b050db493222676ec57009d06640da54bb20b90
+DIST freenet-r14871-snapshot.jar 2118862 RMD160 5d1b6bfe45ae15cc5bdcdd38bb6a9910ea59ef0c SHA1 8a4e0ba5e11fd494efd27e8e77697a1fc367a355 SHA256 8cbe87a545fe89c007c23fab7ced62e6620f65cfcb5c7b064390e201f6dd6f8c
DIST freenet07.tar.gz 383366 RMD160 d6f7baee05c1fe2d713fa345fae10bc25287b61e SHA1 8e9ddde6420f5cc24824467747b7a3bcbc21b15c SHA256 aae56bd0d2ed7d80217b1eccab1cf3a946a517df83fc6c1a9de7b95fd82724aa
DIST update.sh 3115 RMD160 e65f151e06b5a6425dcb59f03b4874ec1e8b5047 SHA1 e024bcfc443982fcc3d888088ef427943fa62f71 SHA256 df80518672316ae8d330e08ef50f170eabacd9003eeac975a400523d0f61922c
DIST wrapper.conf 1706 RMD160 413f4fec1f60b6d4651f1ffd945e6d9ec2275e39 SHA1 8ec5648d5677325a867118e687f1e05cfe4a417a SHA256 f56a8e897297107c3ea2c95da5f321556e1ac82e87d81f339610f8bb27ecd88b
-EBUILD freenet-bin-0.7.1054.ebuild 2248 RMD160 241d9d9b3f04fd52f4e2c419437d65e664e23dcd SHA1 92741527ad6f0381b626f8ed4274c44adb144024 SHA256 f89d64f8f2eb2d579ae92b8519ca922cf03b697857cb7b138edfc9393e029193
-MISC ChangeLog 883 RMD160 b13d630b1ac7f517aea42444809dfdfc6e8fcb52 SHA1 827aa130bc0234de9346960af88e926969048e8d SHA256 9864f5351b702cb29b13dd20a96766ad1c0badc9c501bf93f858bbed14c5468b
+EBUILD freenet-bin-0.7.1054.ebuild 2250 RMD160 c5b989edeb9cbb6187813f2456d00deaf4b1be58 SHA1 ee5034a64f7073de3ee9ae48248813cccf63f3a8 SHA256 180fe503d30472b948031dd5b85bbbaaaa384f857b9245cb78a8db061cbf6537
+EBUILD freenet-bin-0.7.1056.ebuild 2248 RMD160 2a9a4724bdf49fe1143cf76d06c2efed3e68377b SHA1 75b89a2305397ff8a637b1484b0c1e02b654c983 SHA256 c9d13f121678818b8f38c13c6e9e5b50f32f2cc14e36f2ecf0c14bd4f239e24f
+MISC ChangeLog 1029 RMD160 17c6cbd81c545ae6f7db178fefc3f282400eef13 SHA1 19186951c6cf9c414d5f3084e68c6d977205bea8 SHA256 e3640592c90032c83edc6d8a2bd8d988284d76aa097a9d60598b770ce57b8db1
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-p2p/freenet-bin/freenet-bin-0.7.1054.ebuild b/net-p2p/freenet-bin/freenet-bin-0.7.1054.ebuild
index a99f6b07d..8e54c2e66 100644
--- a/net-p2p/freenet-bin/freenet-bin-0.7.1054.ebuild
+++ b/net-p2p/freenet-bin/freenet-bin-0.7.1054.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://downloads.freenetproject.org/alpha/installer/freenet07.tar.gz
http://downloads.freenetproject.org/alpha/update/update.sh
http://downloads.freenetproject.org/alpha/update/wrapper.conf
http://downloads.freenetproject.org/alpha/${MY_P}
- http://www.tommyserver.de/mirrors/${MY_P}
+ http://www.tommyserver.de/mirrors/${MY_P} )
http://downloads.freenetproject.org/alpha/freenet-ext.jar"
RESTRICT="userpriv mirror"
LICENSE="GPL-2"
diff --git a/net-p2p/freenet-bin/freenet-bin-0.7.1056.ebuild b/net-p2p/freenet-bin/freenet-bin-0.7.1056.ebuild
new file mode 100644
index 000000000..0579bf599
--- /dev/null
+++ b/net-p2p/freenet-bin/freenet-bin-0.7.1056.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+DESCRIPTION="An encrypted network without censorship"
+HOMEPAGE="http://www.freenetproject.org/"
+MY_V="r14871"
+MY_P="${PN/-bin/}-${MY_V}-snapshot.jar"
+SRC_URI="http://downloads.freenetproject.org/alpha/installer/freenet07.tar.gz
+ http://downloads.freenetproject.org/alpha/update/update.sh
+ http://downloads.freenetproject.org/alpha/update/wrapper.conf
+ http://downloads.freenetproject.org/alpha/${MY_P}
+ http://www.tommyserver.de/mirrors/${MY_P}
+ http://downloads.freenetproject.org/alpha/freenet-ext.jar"
+RESTRICT="userpriv mirror"
+LICENSE="GPL-2"
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RDEPEND="( >=virtual/jre-1.4 )"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${PN/-bin/}"
+
+QA_TEXTRELS="opt/freenet/lib/libwrapper-linux-x86-32.so
+ opt/freenet/lib/libwrapper-linux-x86-64.so"
+
+pkg_setup() {
+enewgroup freenet
+enewuser freenet -1 /bin/sh /opt/freenet freenet
+}
+
+src_unpack() {
+ unpack "freenet07.tar.gz"
+ cp ${DISTDIR}/freenet-ext.jar ${DISTDIR}/update.sh ${DISTDIR}/wrapper.conf ${DISTDIR}/${MY_P} ${S}/
+ cd "${S}"
+ rm bin/wrapper-macosx* bin/wrapper-linux-ppc-* lib/libwrapper-macosx*.* \
+ lib/libwrapper*ppc-*.so update stun mdns librarian bin/1run.sh bin/*jar
+}
+
+src_compile() {
+ sed -e 's:./bin/wrapper:/opt/freenet/bin/wrapper:g' \
+ -e 's:./wrapper.conf:/opt/freenet/wrapper.conf:g' \
+ -e 's:PIDDIR=".":PIDDIR="/opt/freenet/":g' \
+ -e 's:#RUN_AS_USER=:RUN_AS_USER=freenet:g' run.sh>freenet
+ rm run.sh
+}
+
+src_install() {
+ doinitd "${S}/freenet"
+ rm ${S}/freenet
+ into /opt/freenet
+ cp -r ${S} ${D}/opt/
+ dosym freenet-stable-latest.jar /opt/freenet/freenet.jar
+ fowners freenet:freenet /opt/freenet/ -R
+}
+
+pkg_postinst () {
+ einfo "1. Start freenet with /etc/init.d/freenet start"
+ einfo "2. Open localhost:8888 in your browser for the web interface."
+ einfo "3. After uninstalling freenet delete /opt/freenet manually (unless you want to keep it for a later reinstall)"
+ einfo " as freenet creates some extra stuff not deleted by portage"
+ if (diff /opt/freenet/${MY_P} /opt/freenet/freenet-stable-latest.jar >/dev/null 2>&1); then :;
+ else
+ cp /opt/freenet/${MY_P} /opt/freenet/freenet-stable-latest.jar
+ fi
+}