aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/freenet
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-07-29 21:58:16 +0800
committermaho <maho@FreeBSD.org>2003-07-29 21:58:16 +0800
commitea3f3cdfabe50e2c5281919656fefaf1d8d8ca54 (patch)
tree61241ee5aab2e6a1de3209e4ac97e4273788e310 /net-p2p/freenet
parent3cf552bf7aad3836bbdec0301922147fc7f25b29 (diff)
downloadfreebsd-ports-gnome-ea3f3cdfabe50e2c5281919656fefaf1d8d8ca54.tar.gz
freebsd-ports-gnome-ea3f3cdfabe50e2c5281919656fefaf1d8d8ca54.tar.zst
freebsd-ports-gnome-ea3f3cdfabe50e2c5281919656fefaf1d8d8ca54.zip
Update version 0.5.2.1
a) fixes "major vulnerability in the HTML filter" in the web interface http://www.freenetproject.org/ says: > 18th July, 2003 - Upgrade to 0.5.2.1 > Freenet 0.5.2.1 fixes amongst other things a > major vulnerability in the HTML filter. Anyone running > Freenet should upgrade. b) situation seems to be serious and urgent update is required. PR: 54652, 54580 and 54430 Submitted by: Stefan Walter <sw@gegenunendlich.de> Suggestion by: kuriyama
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/Makefile7
-rw-r--r--net-p2p/freenet/distinfo2
-rw-r--r--net-p2p/freenet/files/wrapper.sh6
3 files changed, 7 insertions, 8 deletions
diff --git a/net-p2p/freenet/Makefile b/net-p2p/freenet/Makefile
index 094ac006133a..5e2bda12acc7 100644
--- a/net-p2p/freenet/Makefile
+++ b/net-p2p/freenet/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= freenet
-PORTVERSION= 0.5.2.r1
+PORTVERSION= 0.5.2.1
CATEGORIES= net java security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= lioux@FreeBSD.org
-COMMENT= peer-to-peer network aiming at anonymity and freedom of speech
+COMMENT= Peer-to-peer network aiming at anonymity and freedom of speech
-USE_JAVA= 1.3+
+USE_JAVA= 1.4+
NO_BUILD= yes
NO_BUILD_DEPENDS_JAVA= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/net-p2p/freenet/distinfo b/net-p2p/freenet/distinfo
index 1e62a8b34b26..310734742317 100644
--- a/net-p2p/freenet/distinfo
+++ b/net-p2p/freenet/distinfo
@@ -1 +1 @@
-MD5 (freenet-0.5.2-rc1.tar.gz) = 4fa988b915517a44def233760662f420
+MD5 (freenet-0.5.2.1.tar.gz) = 59270ee48d889e0be9cae584b67d2743
diff --git a/net-p2p/freenet/files/wrapper.sh b/net-p2p/freenet/files/wrapper.sh
index a7c9b0d96c68..e03358a34409 100644
--- a/net-p2p/freenet/files/wrapper.sh
+++ b/net-p2p/freenet/files/wrapper.sh
@@ -5,7 +5,7 @@
PREFIX="%%PREFIX%%"
# java
-JAVAVM="%%JAVAVM%%"
+JAVAVM_CALL="%%JAVAVM%%"
JAR_DIR="%%JAR_DIR%%"
JAR_FILES="%%JAR_FILES%%"
JAR_START="%%JAR_START%%"
@@ -19,7 +19,7 @@ CONFIG_FILE=freenet.conf
configure_freenet () {
echo "Configuring FreeNet node"
cd ${HOME_DIR} &&
- ${JAVAVM} -jar ./${JAR_START} freenet.node.Main --config "${@}"
+ ${JAVAVM_CALL} -jar ./${JAR_START} freenet.node.Main --config "${@}"
}
configure_java_classpath () {
@@ -91,7 +91,7 @@ prepare_home_dir () {
start_freenet () {
echo "Starting FreeNet node"
cd ${HOME_DIR} &&
- nice -10 ${JAVAVM} -jar ./${JAR_START} "${@}" &
+ nice -10 ${JAVAVM_CALL} -jar ./${JAR_START} "${@}" &
echo $! > ${HOME_DIR}/freenet.pid
exit 0
}