summaryrefslogtreecommitdiffstats
path: root/net/freenet
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-07-29 13:58:16 +0000
committermaho <maho@FreeBSD.org>2003-07-29 13:58:16 +0000
commitea3f3cdfabe50e2c5281919656fefaf1d8d8ca54 (patch)
tree61241ee5aab2e6a1de3209e4ac97e4273788e310 /net/freenet
parent3cf552bf7aad3836bbdec0301922147fc7f25b29 (diff)
downloadFreeBSD-ports-ea3f3cdfabe50e2c5281919656fefaf1d8d8ca54.zip
FreeBSD-ports-ea3f3cdfabe50e2c5281919656fefaf1d8d8ca54.tar.gz
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/freenet')
-rw-r--r--net/freenet/Makefile7
-rw-r--r--net/freenet/distinfo2
-rw-r--r--net/freenet/files/wrapper.sh6
3 files changed, 7 insertions, 8 deletions
diff --git a/net/freenet/Makefile b/net/freenet/Makefile
index 094ac006..5e2bda1 100644
--- a/net/freenet/Makefile
+++ b/net/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/freenet/distinfo b/net/freenet/distinfo
index 1e62a8b..3107347 100644
--- a/net/freenet/distinfo
+++ b/net/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/freenet/files/wrapper.sh b/net/freenet/files/wrapper.sh
index a7c9b0d..e03358a 100644
--- a/net/freenet/files/wrapper.sh
+++ b/net/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
}
OpenPOWER on IntegriCloud