summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-09-08 13:36:27 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-09-08 13:36:27 +0000
commit93ee769da29ac79f52097b5ba906da988ee89dea (patch)
treef6fb0ce2732c57fcd491bd8eba575835c6feb9a0
parentnet-p2p/freenet: whitey (diff)
downloadsunrise-93ee769da29ac79f52097b5ba906da988ee89dea.tar.gz
sunrise-93ee769da29ac79f52097b5ba906da988ee89dea.tar.bz2
sunrise-93ee769da29ac79f52097b5ba906da988ee89dea.zip
net-p2p/freenet-bin: Fix total crap (who reviewed this in our irc channel?)
svn path=/sunrise/; revision=4575
-rw-r--r--net-p2p/freenet-bin/ChangeLog3
-rw-r--r--net-p2p/freenet-bin/Manifest4
-rw-r--r--net-p2p/freenet-bin/freenet-bin-0.7.1058.ebuild34
3 files changed, 24 insertions, 17 deletions
diff --git a/net-p2p/freenet-bin/ChangeLog b/net-p2p/freenet-bin/ChangeLog
index 0bb728159..7b43e8ac8 100644
--- a/net-p2p/freenet-bin/ChangeLog
+++ b/net-p2p/freenet-bin/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 08 Sep 2007; Markus Ullmann <jokey@gentoo.org> freenet-bin-0.7.1058:
+ Fix total crap (who reviewed this in our irc channel?)
+
07 Sep 2007; Thomas Sachau (Tommy[D]) thomas.sachau@gmx.de
+freenet-bin-0.7.1058.ebuild:
New upstream release
diff --git a/net-p2p/freenet-bin/Manifest b/net-p2p/freenet-bin/Manifest
index 4897689a7..6fe304ffa 100644
--- a/net-p2p/freenet-bin/Manifest
+++ b/net-p2p/freenet-bin/Manifest
@@ -7,6 +7,6 @@ DIST update.sh 3115 RMD160 e65f151e06b5a6425dcb59f03b4874ec1e8b5047 SHA1 e024bcf
DIST wrapper.conf 1706 RMD160 413f4fec1f60b6d4651f1ffd945e6d9ec2275e39 SHA1 8ec5648d5677325a867118e687f1e05cfe4a417a SHA256 f56a8e897297107c3ea2c95da5f321556e1ac82e87d81f339610f8bb27ecd88b
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
-EBUILD freenet-bin-0.7.1058.ebuild 2249 RMD160 9322798844011a59f9ae3f14c52e2bf1e740aeba SHA1 497cb88dcadced59a31871a7445d180c782d8a37 SHA256 7471792572c09ff9f244704e066fd0e508f0e46989cc1a11040021476dc9b715
-MISC ChangeLog 1146 RMD160 7694f317d5d09a8d0e7d133e5de5218af19d7905 SHA1 17b2cd04483885fa0f95ea53ccd95f30f9b86e09 SHA256 811a38fa42e8e1e80b0c021979fbd481c440efd8dfa4a62ed975bdb8bc5c59b8
+EBUILD freenet-bin-0.7.1058.ebuild 2077 RMD160 f3a88f1f6ea62a14300c691fb80155c05bee3653 SHA1 0279bb3d9fbf89d6624135f9b5e9654e54a52d40 SHA256 34920542e0e217fa9e9f02a34743abdd69e02c0ceb313512c96df4098070e75e
+MISC ChangeLog 1275 RMD160 198b8a073ba0fbb4b36b7deb6e2e2dab20f1e0cb SHA1 51ce2765b87a1c697dfd6dc3463ac785b4e2bdab SHA256 dcfbe4bc017455e18f97d704810bc441758d623756d2a759a6ec88c985935647
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-p2p/freenet-bin/freenet-bin-0.7.1058.ebuild b/net-p2p/freenet-bin/freenet-bin-0.7.1058.ebuild
index 1ec667154..6e67f8d73 100644
--- a/net-p2p/freenet-bin/freenet-bin-0.7.1058.ebuild
+++ b/net-p2p/freenet-bin/freenet-bin-0.7.1058.ebuild
@@ -3,30 +3,35 @@
# $Header: $
inherit eutils
+
+MY_SVN_V="r14996"
+MY_P="${PN/-bin/}-${MY_SVN_V}-snapshot.jar"
DESCRIPTION="An encrypted network without censorship"
HOMEPAGE="http://www.freenetproject.org/"
-MY_V="r14996"
-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=">=virtual/jre-1.4"
+
S="${WORKDIR}/${PN/-bin/}"
+RESTRICT="userpriv mirror"
+
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
+ enewgroup freenet
+ enewuser freenet -1 /bin/sh /opt/freenet freenet
}
src_unpack() {
@@ -35,20 +40,23 @@ src_unpack() {
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 -ie 's:./bin/wrapper:/opt/freenet/bin/wrapper:g' run.sh
sed -ie 's:./wrapper.conf:/opt/freenet/wrapper.conf:g' run.sh
sed -ie 's:PIDDIR=".":PIDDIR="/opt/freenet/":g' run.sh
sed -ie 's:#RUN_AS_USER=:RUN_AS_USER=freenet:g' run.sh
}
+src_compile() {
+ einfo "Nothing to compile"
+}
+
src_install() {
newinitd "${S}/run.sh" freenet
rm ${S}/run.sh
+
into /opt/freenet
- cp -r ${S} ${D}/opt/
+ doins -r ${S}
dosym freenet-stable-latest.jar /opt/freenet/freenet.jar
fowners freenet:freenet /opt/freenet/ -R
}
@@ -58,8 +66,4 @@ pkg_postinst () {
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
}