mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
656d57159f
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
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
# New ports collection makefile for: freenet
|
|
# Date created: Thu May 1 20:19:56 UTC 2003
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freenet
|
|
PORTVERSION= 0.5.2.1
|
|
CATEGORIES= net java security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Peer-to-peer network aiming at anonymity and freedom of speech
|
|
|
|
USE_JAVA= 1.4+
|
|
NO_BUILD= yes
|
|
NO_BUILD_DEPENDS_JAVA= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PLIST_SUB= JAR_DIR=${JAR_DIR}
|
|
|
|
JAVAVM= ${LOCALBASE}/bin/javavm
|
|
JAR_DIR= share/java/jar/${PORTNAME}
|
|
#
|
|
DATA_FILES= seednodes.ref
|
|
DOC_FILES= README
|
|
JAR_FILES= freenet.jar freenet-ext.jar
|
|
# jar startup file
|
|
JAR_START= freenet.jar
|
|
# seed file
|
|
SEED_FILE= seednodes.ref
|
|
|
|
post-patch:
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|; \
|
|
s|%%DATA_DIR%%|${DATADIR:S,^${PREFIX}/,,}|; \
|
|
s|%%JAVAVM%%|${JAVAVM}|; \
|
|
s|%%JAR_DIR%%|${JAR_DIR}|; \
|
|
s|%%JAR_FILES%%|${JAR_FILES}|; \
|
|
s|%%JAR_START%%|${JAR_START}|; \
|
|
s|%%SEED_FILE%%|${SEED_FILE}|" \
|
|
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
|
|
|
do-install:
|
|
# docs
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for doc in ${DOC_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
# data
|
|
@${MKDIR} ${DATADIR}
|
|
.for file in ${DATA_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
|
.endfor
|
|
# jar
|
|
@${MKDIR} ${PREFIX}/${JAR_DIR}
|
|
.for jar in ${JAR_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${jar} ${PREFIX}/${JAR_DIR}
|
|
.endfor
|
|
# wrapper
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:L}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|