diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-06-04 12:54:16 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-06-04 12:54:16 +0000 |
commit | 50410e660c383e06ce6c0de0024d501a0194c19a (patch) | |
tree | 5faa487b61b2afd7756c347891450ab9802751b4 /net-p2p | |
parent | - Fix build on FreeBSD 5.X [1] (diff) |
Remove expired ports:
2007-04-22 net-p2p/freenet: Does not work with existing Freenet network
2007-04-22 net-p2p/libfreenet: Does not work with existing Freenet network
2007-05-03 net-p2p/microdc: microdc is no longer in development. Consider using net-p2p/microdc2 instead
Diffstat (limited to 'net-p2p')
27 files changed, 0 insertions, 961 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile index 0234f3613350..201c86ada465 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -27,7 +27,6 @@ SUBDIR += ed2k SUBDIR += fcptools SUBDIR += fidelio - SUBDIR += freenet SUBDIR += frost SUBDIR += frostwire SUBDIR += gift @@ -55,7 +54,6 @@ SUBDIR += ktorrent-devel SUBDIR += libbt SUBDIR += liberator - SUBDIR += libfreenet SUBDIR += libpdtp SUBDIR += libtorrent SUBDIR += libtorrent-devel @@ -67,7 +65,6 @@ SUBDIR += linux-jigdo SUBDIR += linuxdcpp SUBDIR += lopster - SUBDIR += microdc SUBDIR += microdc2 SUBDIR += minder SUBDIR += mldonkey diff --git a/net-p2p/freenet/Makefile b/net-p2p/freenet/Makefile deleted file mode 100644 index 10a2926dec40..000000000000 --- a/net-p2p/freenet/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -# 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.5106 -PORTREVISION= 2 -CATEGORIES= net-p2p java security -MASTER_SITES= http://freenetproject.org/snapshots/ \ - http://downloads.freenetproject.org/ \ - http://fgudin.nerim.net/files/ -DISTNAME= ${PORTNAME}-20051123 -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Peer-to-peer network aiming at anonymity and freedom of speech - -USE_RC_SUBR= yes -USE_JAVA= yes -JAVA_VERSION= 1.4+ -NO_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME} - -DEPRECATED= Does not work with existing Freenet network -EXPIRATION_DATE=2007-04-22 - -JAVAVM= ${LOCALBASE}/bin/java -# -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 - -PORTDOCS= ${DOC_FILES} - -PLIST_FILES= \ - sbin/${PORTNAME:L} \ - etc/rc.d/${PORTNAME:L}.sh \ - %%DATADIR%%/seednodes.ref \ - %%JAVAJARDIR%%/freenet-ext.jar \ - %%JAVAJARDIR%%/freenet.jar -PLIST_DIRS= %%DATADIR%% - -post-patch: - @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \ - s|%%DATA_DIR%%|${DATADIR:S,^${PREFIX}/,,}|; \ - s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \ - s|%%JAVAVM%%|${JAVAVM}|; \ - s|%%JAVAJARDIR%%|${JAVAJARDIR:S,^${PREFIX}/,,}|; \ - s|%%JAR_FILES%%|${JAR_FILES}|; \ - s|%%JAR_START%%|${JAR_START}|; \ - s|%%SEED_FILE%%|${SEED_FILE}|" \ - ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh - @${SED} -e "s|%%PREFIX%%|${PREFIX}|" \ - ${FILESDIR}/${PORTNAME:L}.sh > ${WRKDIR}/${PORTNAME:L}.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 -.for jar in ${JAR_FILES} - @${INSTALL_DATA} ${WRKSRC}/${jar} ${JAVAJARDIR} -.endfor -# rc.d - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:L}.sh ${PREFIX}/etc/rc.d -# wrapper - @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/sbin/${PORTNAME:L} - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-p2p/freenet/distinfo b/net-p2p/freenet/distinfo deleted file mode 100644 index 9f44b0af27f5..000000000000 --- a/net-p2p/freenet/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (freenet-20051123.tgz) = 5013e9fc58e908f09810ded6dedf1b90 -SHA256 (freenet-20051123.tgz) = d764b499d82ba17a41a38752ee2db7ad7a1d91d9a00ae613d7af635463ac379d -SIZE (freenet-20051123.tgz) = 6557648 diff --git a/net-p2p/freenet/files/freenet.sh b/net-p2p/freenet/files/freenet.sh deleted file mode 100644 index f77a13c15784..000000000000 --- a/net-p2p/freenet/files/freenet.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Under a BSDL license. Copyright 2005. Mario S F Ferreira <lioux@FreeBSD.org> - -# PROVIDE: freenet -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable freenet: -# -#freenet_enable="YES" -#freenet_user="" -# - -. /etc/rc.subr - -name="freenet" -rcvar=`set_rcvar` -command="%%PREFIX%%/sbin/${name}" -extra_commands="configure" - -freenet_check_vars() -{ - if [ -z "${freenet_user}" ]; then - freenet_user=$(whoami) - fi - - if [ "x${freenet_user}" = "xroot" ]; then - err 1 "You have to set freenet_user to a non-root user for security reasons" - fi -} - -configure_cmd="configure_cmd" -configure_cmd() -{ - freenet_check_vars - su -l ${freenet_user} -c "${command} -c" -} - -start_cmd="start_cmd" -start_cmd() -{ - freenet_check_vars - su -l ${freenet_user} -c "${command} -i" -} - -stop_cmd="stop_cmd" -stop_cmd() -{ - freenet_check_vars - su -l ${freenet_user} -c "${command} -o" -} - -status_cmd="status_cmd" -status_cmd() -{ - echo "Can't check ${name} status" -} - -load_rc_config "${name}" -: ${freenet_enable="NO"} -: ${freenet_user=""} - -run_rc_command "$1" diff --git a/net-p2p/freenet/files/wrapper.sh b/net-p2p/freenet/files/wrapper.sh deleted file mode 100644 index 4c6a41452484..000000000000 --- a/net-p2p/freenet/files/wrapper.sh +++ /dev/null @@ -1,163 +0,0 @@ -#!/bin/sh -# -# Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> -# $FreeBSD$ - -export JAVA_VERSION - -PREFIX="%%PREFIX%%" -# java -JAVA_VERSION="%%JAVA_VERSION%%" -JAVAVM_CALL="%%JAVAVM%%" -JAVAJARDIR="%%JAVAJARDIR%%" -JAR_FILES="%%JAR_FILES%%" -JAR_START="%%JAR_START%%" -# data -DATA_DIR="%%DATA_DIR%%" -SEED_FILE=seednodes.ref -# home -HOME_DIR=${HOME}/.freenet -CONFIG_FILE=freenet.conf - -configure_freenet () { - echo "Configuring FreeNet node" - cd ${HOME_DIR} && - ${JAVAVM_CALL} -jar ./${JAR_START} freenet.node.Main --config "${@}" -} - -configure_java_classpath () { - if [ -z "${CLASSPATH}" ]; then - CLASSPATH=./freenet.jar:./freenet-ext.jar - else - CLASSPATH=./freenet.jar:./freenet-ext.jar:${CLASSPATH} - fi -} - -display_usage () { - echo "Usage: ${0} [-h] [-c] [-i|-o]" - echo 'Options:' - echo ' -h Display this help message' - echo ' -c Configure FreeNet node' - echo ' -i Start a FreeNet node' - echo ' -o Stop a FreeNet node' - echo '' -} - -prepare_configure_freenet () { - # do we have a config file? - if [ ! -f ${HOME_DIR}/${CONFIG_FILE} ]; then - # add basic information prior to configuration - echo > ${HOME_DIR}/${CONFIG_FILE} - - # select listenPort randomly - if [ -n "${RANDOM}" ] - then - DEFLP=$((${RANDOM}%30000+2000)) - else - echo "no random in shell, enter a FNP port number + <ENTER>" - read DEFLP - fi - echo "listenPort=${DEFLP}" >> ${HOME_DIR}/${CONFIG_FILE} - - # point to seednodes file - echo 'seedNodes=seednodes.ref' >> ${HOME_DIR}/${CONFIG_FILE} - - # tell FreeNet to request configuration procedure - CONFIGURE=yes - fi -} - -prepare_home_dir () { - # create home dir staging area - if [ ! -d ${HOME_DIR} ] - then - mkdir -p ${HOME_DIR} - fi - # copy a seed file if none exists - if [ ! -f ${HOME_DIR}/${SEED_FILE} ] - then - rm -f ${HOME_DIR}/${SEED_FILE} - cp -f ${PREFIX}/${DATA_DIR}/${SEED_FILE} ${HOME_DIR}/${SEED_FILE} - # avoid unnecessary reseeding - touch -t "197001011200" ${HOME_DIR}/${SEED_FILE} - fi - # link the jar files - for jar in ${JAR_FILES} - do - ln -sf ${PREFIX}/${JAVAJARDIR}/${jar} ${HOME_DIR}/${jar} - done -} - -start_freenet () { - echo "Starting FreeNet node" - cd ${HOME_DIR} && - nice -10 ${JAVAVM_CALL} -jar ./${JAR_START} "${@}" & - echo $! > ${HOME_DIR}/freenet.pid - exit 0 -} - -stop_freenet () { - if [ -f ${HOME_DIR}/freenet.pid ]; then - echo "Stopping FreeNet node" - cd ${HOME_DIR} && - exec kill `cat freenet.pid` & - else - echo "Cannot find FreeNet node" - echo "Where is the ${HOME_DIR}/freenet.pid file?" - fi -} - -# we require at least one command line parameter -if [ $# -lt 1 ]; then - display_usage - exit 1 -fi - -# parse command line parameters -while getopts "chio" COMMAND_LINE_ARGUMENT ; do - case "${COMMAND_LINE_ARGUMENT}" in - c) - CONFIGURE=yes - ;; - h) - display_usage - exit 0 - ;; - i) - START=yes - unset STOP - ;; - o) - STOP=yes - unset START - ;; - *) - display_usage - exit 1 - ;; - esac -done - -# always verify that home dir staging area is pristine -prepare_home_dir - -# check for proper configuration -prepare_configure_freenet - -# prepare java CLASSPATH -configure_java_classpath - -if [ -n "${CONFIGURE}" ]; then - configure_freenet -fi - -if [ -n "${START}" ]; then - start_freenet -fi - -if [ -n "${STOP}" ]; then - stop_freenet -fi - -# we should never get this far -exit 1 diff --git a/net-p2p/freenet/pkg-descr b/net-p2p/freenet/pkg-descr deleted file mode 100644 index 0f7d4a2c81ca..000000000000 --- a/net-p2p/freenet/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -Freenet is a large-scale peer-to-peer network which pools the power -of member computers around the world to create a massive virtual -information store open to anyone to freely publish or view information -of all kinds. Freenet is: - -Highly survivable: All internal processes are completely anonymized -and decentralized across the global network, making it virtually -impossible for an attacker to destroy information or take control -of the system. - -Private: Freenet makes it extremely difficult for anyone to spy on -the information that you are viewing, publishing, or storing. - -Secure: Information stored in Freenet is protected by strong -cryptography against malicious tampering or counterfeiting. - -Efficient: Freenet dynamically replicates and relocates information -in response to demand to provide efficient service and minimal -bandwidth usage regardless of load. Significantly, Freenet generally -requires log(n) time to retrieve a piece of information in a network -of size n. - -WWW: http://freenet.sourceforge.net/ diff --git a/net-p2p/freenet/pkg-message b/net-p2p/freenet/pkg-message deleted file mode 100644 index 47addd918baa..000000000000 --- a/net-p2p/freenet/pkg-message +++ /dev/null @@ -1,23 +0,0 @@ - ATTENTIONATTENTION: - -Restrictions -============ - -This program uses heavy encryption algorithms. If your country has -restrictions against encryption, you should check with legal -authorities before using it. - -Short usage note -================ - -Please, check -/usr/local/share/doc/freenet/README -for more information. - -Using FreeNet -============= - -Point your web browser to http://127.0.0.1:8888/ to get the Freenet -user interface, this page serves as a "gateway" to Freenet. Try -clicking the various links in the "Bookmarks" panel to reach some -of the popular Freenet index sites. diff --git a/net-p2p/freenet05/Makefile b/net-p2p/freenet05/Makefile deleted file mode 100644 index 10a2926dec40..000000000000 --- a/net-p2p/freenet05/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -# 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.5106 -PORTREVISION= 2 -CATEGORIES= net-p2p java security -MASTER_SITES= http://freenetproject.org/snapshots/ \ - http://downloads.freenetproject.org/ \ - http://fgudin.nerim.net/files/ -DISTNAME= ${PORTNAME}-20051123 -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Peer-to-peer network aiming at anonymity and freedom of speech - -USE_RC_SUBR= yes -USE_JAVA= yes -JAVA_VERSION= 1.4+ -NO_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME} - -DEPRECATED= Does not work with existing Freenet network -EXPIRATION_DATE=2007-04-22 - -JAVAVM= ${LOCALBASE}/bin/java -# -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 - -PORTDOCS= ${DOC_FILES} - -PLIST_FILES= \ - sbin/${PORTNAME:L} \ - etc/rc.d/${PORTNAME:L}.sh \ - %%DATADIR%%/seednodes.ref \ - %%JAVAJARDIR%%/freenet-ext.jar \ - %%JAVAJARDIR%%/freenet.jar -PLIST_DIRS= %%DATADIR%% - -post-patch: - @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \ - s|%%DATA_DIR%%|${DATADIR:S,^${PREFIX}/,,}|; \ - s|%%JAVA_VERSION%%|${JAVA_VERSION}|; \ - s|%%JAVAVM%%|${JAVAVM}|; \ - s|%%JAVAJARDIR%%|${JAVAJARDIR:S,^${PREFIX}/,,}|; \ - s|%%JAR_FILES%%|${JAR_FILES}|; \ - s|%%JAR_START%%|${JAR_START}|; \ - s|%%SEED_FILE%%|${SEED_FILE}|" \ - ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh - @${SED} -e "s|%%PREFIX%%|${PREFIX}|" \ - ${FILESDIR}/${PORTNAME:L}.sh > ${WRKDIR}/${PORTNAME:L}.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 -.for jar in ${JAR_FILES} - @${INSTALL_DATA} ${WRKSRC}/${jar} ${JAVAJARDIR} -.endfor -# rc.d - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME:L}.sh ${PREFIX}/etc/rc.d -# wrapper - @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/sbin/${PORTNAME:L} - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-p2p/freenet05/distinfo b/net-p2p/freenet05/distinfo deleted file mode 100644 index 9f44b0af27f5..000000000000 --- a/net-p2p/freenet05/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (freenet-20051123.tgz) = 5013e9fc58e908f09810ded6dedf1b90 -SHA256 (freenet-20051123.tgz) = d764b499d82ba17a41a38752ee2db7ad7a1d91d9a00ae613d7af635463ac379d -SIZE (freenet-20051123.tgz) = 6557648 diff --git a/net-p2p/freenet05/files/freenet.sh b/net-p2p/freenet05/files/freenet.sh deleted file mode 100644 index f77a13c15784..000000000000 --- a/net-p2p/freenet05/files/freenet.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Under a BSDL license. Copyright 2005. Mario S F Ferreira <lioux@FreeBSD.org> - -# PROVIDE: freenet -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable freenet: -# -#freenet_enable="YES" -#freenet_user="" -# - -. /etc/rc.subr - -name="freenet" -rcvar=`set_rcvar` -command="%%PREFIX%%/sbin/${name}" -extra_commands="configure" - -freenet_check_vars() -{ - if [ -z "${freenet_user}" ]; then - freenet_user=$(whoami) - fi - - if [ "x${freenet_user}" = "xroot" ]; then - err 1 "You have to set freenet_user to a non-root user for security reasons" - fi -} - -configure_cmd="configure_cmd" -configure_cmd() -{ - freenet_check_vars - su -l ${freenet_user} -c "${command} -c" -} - -start_cmd="start_cmd" -start_cmd() -{ - freenet_check_vars - su -l ${freenet_user} -c "${command} -i" -} - -stop_cmd="stop_cmd" -stop_cmd() -{ - freenet_check_vars - su -l ${freenet_user} -c "${command} -o" -} - -status_cmd="status_cmd" -status_cmd() -{ - echo "Can't check ${name} status" -} - -load_rc_config "${name}" -: ${freenet_enable="NO"} -: ${freenet_user=""} - -run_rc_command "$1" diff --git a/net-p2p/freenet05/files/wrapper.sh b/net-p2p/freenet05/files/wrapper.sh deleted file mode 100644 index 4c6a41452484..000000000000 --- a/net-p2p/freenet05/files/wrapper.sh +++ /dev/null @@ -1,163 +0,0 @@ -#!/bin/sh -# -# Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> -# $FreeBSD$ - -export JAVA_VERSION - -PREFIX="%%PREFIX%%" -# java -JAVA_VERSION="%%JAVA_VERSION%%" -JAVAVM_CALL="%%JAVAVM%%" -JAVAJARDIR="%%JAVAJARDIR%%" -JAR_FILES="%%JAR_FILES%%" -JAR_START="%%JAR_START%%" -# data -DATA_DIR="%%DATA_DIR%%" -SEED_FILE=seednodes.ref -# home -HOME_DIR=${HOME}/.freenet -CONFIG_FILE=freenet.conf - -configure_freenet () { - echo "Configuring FreeNet node" - cd ${HOME_DIR} && - ${JAVAVM_CALL} -jar ./${JAR_START} freenet.node.Main --config "${@}" -} - -configure_java_classpath () { - if [ -z "${CLASSPATH}" ]; then - CLASSPATH=./freenet.jar:./freenet-ext.jar - else - CLASSPATH=./freenet.jar:./freenet-ext.jar:${CLASSPATH} - fi -} - -display_usage () { - echo "Usage: ${0} [-h] [-c] [-i|-o]" - echo 'Options:' - echo ' -h Display this help message' - echo ' -c Configure FreeNet node' - echo ' -i Start a FreeNet node' - echo ' -o Stop a FreeNet node' - echo '' -} - -prepare_configure_freenet () { - # do we have a config file? - if [ ! -f ${HOME_DIR}/${CONFIG_FILE} ]; then - # add basic information prior to configuration - echo > ${HOME_DIR}/${CONFIG_FILE} - - # select listenPort randomly - if [ -n "${RANDOM}" ] - then - DEFLP=$((${RANDOM}%30000+2000)) - else - echo "no random in shell, enter a FNP port number + <ENTER>" - read DEFLP - fi - echo "listenPort=${DEFLP}" >> ${HOME_DIR}/${CONFIG_FILE} - - # point to seednodes file - echo 'seedNodes=seednodes.ref' >> ${HOME_DIR}/${CONFIG_FILE} - - # tell FreeNet to request configuration procedure - CONFIGURE=yes - fi -} - -prepare_home_dir () { - # create home dir staging area - if [ ! -d ${HOME_DIR} ] - then - mkdir -p ${HOME_DIR} - fi - # copy a seed file if none exists - if [ ! -f ${HOME_DIR}/${SEED_FILE} ] - then - rm -f ${HOME_DIR}/${SEED_FILE} - cp -f ${PREFIX}/${DATA_DIR}/${SEED_FILE} ${HOME_DIR}/${SEED_FILE} - # avoid unnecessary reseeding - touch -t "197001011200" ${HOME_DIR}/${SEED_FILE} - fi - # link the jar files - for jar in ${JAR_FILES} - do - ln -sf ${PREFIX}/${JAVAJARDIR}/${jar} ${HOME_DIR}/${jar} - done -} - -start_freenet () { - echo "Starting FreeNet node" - cd ${HOME_DIR} && - nice -10 ${JAVAVM_CALL} -jar ./${JAR_START} "${@}" & - echo $! > ${HOME_DIR}/freenet.pid - exit 0 -} - -stop_freenet () { - if [ -f ${HOME_DIR}/freenet.pid ]; then - echo "Stopping FreeNet node" - cd ${HOME_DIR} && - exec kill `cat freenet.pid` & - else - echo "Cannot find FreeNet node" - echo "Where is the ${HOME_DIR}/freenet.pid file?" - fi -} - -# we require at least one command line parameter -if [ $# -lt 1 ]; then - display_usage - exit 1 -fi - -# parse command line parameters -while getopts "chio" COMMAND_LINE_ARGUMENT ; do - case "${COMMAND_LINE_ARGUMENT}" in - c) - CONFIGURE=yes - ;; - h) - display_usage - exit 0 - ;; - i) - START=yes - unset STOP - ;; - o) - STOP=yes - unset START - ;; - *) - display_usage - exit 1 - ;; - esac -done - -# always verify that home dir staging area is pristine -prepare_home_dir - -# check for proper configuration -prepare_configure_freenet - -# prepare java CLASSPATH -configure_java_classpath - -if [ -n "${CONFIGURE}" ]; then - configure_freenet -fi - -if [ -n "${START}" ]; then - start_freenet -fi - -if [ -n "${STOP}" ]; then - stop_freenet -fi - -# we should never get this far -exit 1 diff --git a/net-p2p/freenet05/pkg-descr b/net-p2p/freenet05/pkg-descr deleted file mode 100644 index 0f7d4a2c81ca..000000000000 --- a/net-p2p/freenet05/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -Freenet is a large-scale peer-to-peer network which pools the power -of member computers around the world to create a massive virtual -information store open to anyone to freely publish or view information -of all kinds. Freenet is: - -Highly survivable: All internal processes are completely anonymized -and decentralized across the global network, making it virtually -impossible for an attacker to destroy information or take control -of the system. - -Private: Freenet makes it extremely difficult for anyone to spy on -the information that you are viewing, publishing, or storing. - -Secure: Information stored in Freenet is protected by strong -cryptography against malicious tampering or counterfeiting. - -Efficient: Freenet dynamically replicates and relocates information -in response to demand to provide efficient service and minimal -bandwidth usage regardless of load. Significantly, Freenet generally -requires log(n) time to retrieve a piece of information in a network -of size n. - -WWW: http://freenet.sourceforge.net/ diff --git a/net-p2p/freenet05/pkg-message b/net-p2p/freenet05/pkg-message deleted file mode 100644 index 47addd918baa..000000000000 --- a/net-p2p/freenet05/pkg-message +++ /dev/null @@ -1,23 +0,0 @@ - ATTENTIONATTENTION: - -Restrictions -============ - -This program uses heavy encryption algorithms. If your country has -restrictions against encryption, you should check with legal -authorities before using it. - -Short usage note -================ - -Please, check -/usr/local/share/doc/freenet/README -for more information. - -Using FreeNet -============= - -Point your web browser to http://127.0.0.1:8888/ to get the Freenet -user interface, this page serves as a "gateway" to Freenet. Try -clicking the various links in the "Bookmarks" panel to reach some -of the popular Freenet index sites. diff --git a/net-p2p/libfreenet/Makefile b/net-p2p/libfreenet/Makefile deleted file mode 100644 index 58c583e574a9..000000000000 --- a/net-p2p/libfreenet/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# ex:ts=8 -# New ports collection makefile for: libfreenet -# Date created: Mar 31, 2001 -# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= libfreenet -PORTVERSION= 0.5.0 -PORTREVISION= 2 -CATEGORIES= net-p2p -MASTER_SITES= http://thalassocracy.org/libfreenet/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Freenet library written in C - -USE_AUTOTOOLS= libtool:15 -USE_OPENSSL= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --includedir=${PREFIX}/include/libfreenet -USE_LDCONFIG= yes - -DEPRECATED= Does not work with existing Freenet network -EXPIRATION_DATE=2007-04-22 - -post-patch: - @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|-g -Wall|\@CFLAGS\@|g' ${WRKSRC}/Makefile.in - -.include <bsd.port.mk> diff --git a/net-p2p/libfreenet/distinfo b/net-p2p/libfreenet/distinfo deleted file mode 100644 index eef8d05a545f..000000000000 --- a/net-p2p/libfreenet/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (libfreenet-0.5.0.tar.gz) = 04b7222576520e825e67b005c478cbb0 -SHA256 (libfreenet-0.5.0.tar.gz) = 6f67295d1cf907ff5defd91e516ba4250a499d722ef0dd7eb84df1f9cfe796f5 -SIZE (libfreenet-0.5.0.tar.gz) = 200338 diff --git a/net-p2p/libfreenet/files/patch-client.c b/net-p2p/libfreenet/files/patch-client.c deleted file mode 100644 index ba0702f37af3..000000000000 --- a/net-p2p/libfreenet/files/patch-client.c +++ /dev/null @@ -1,12 +0,0 @@ ---- client.c.orig Wed Jun 13 19:04:37 2001 -+++ client.c Sun Dec 30 14:35:28 2001 -@@ -15,7 +15,9 @@ - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ -+#ifdef HAVE_MALLOC_H - #include <malloc.h> -+#endif - #include <string.h> - #include <openssl/dsa.h> - diff --git a/net-p2p/libfreenet/files/patch-client_util.c b/net-p2p/libfreenet/files/patch-client_util.c deleted file mode 100644 index 3fd891db3122..000000000000 --- a/net-p2p/libfreenet/files/patch-client_util.c +++ /dev/null @@ -1,28 +0,0 @@ ---- client_util.c.orig Wed Mar 28 03:27:38 2001 -+++ client_util.c Fri Mar 15 07:54:32 2002 -@@ -37,7 +37,7 @@ - #endif - - --long blstr2time(char *baseline); -+time_t blstr2time(char *baseline); - int timediff(); - - -@@ -60,13 +60,14 @@ - - int timediff () - { -+ struct tm *tmp; - long t = time(NULL); - - /* We are calling localtime here for its side-effect of setting - the timezone global appropriately. I have no proof that this - even happens on cygwin. Please, just let me die. */ -- localtime(&t); -- return (FN_TIMEZONE / 3600); -+ tmp = localtime(&t); -+ return (tmp->tm_gmtoff / 3600); - } - - diff --git a/net-p2p/libfreenet/files/patch-protocol.c b/net-p2p/libfreenet/files/patch-protocol.c deleted file mode 100644 index 66628daab52d..000000000000 --- a/net-p2p/libfreenet/files/patch-protocol.c +++ /dev/null @@ -1,22 +0,0 @@ ---- protocol.c.orig Wed Jun 13 19:03:11 2001 -+++ protocol.c Sun Dec 30 14:37:45 2001 -@@ -16,7 +16,11 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - #include <stdio.h> -+#ifdef HAVE_MALLOC_H - #include <malloc.h> -+#endif -+#include <sys/types.h> -+#include <netinet/in.h> - #include <sys/socket.h> - #include <netdb.h> - #include <string.h> -@@ -24,7 +28,6 @@ - #include <errno.h> - #include <fcntl.h> - #include <unistd.h> --#include <sys/types.h> - #include <ctype.h> - #include <time.h> - diff --git a/net-p2p/libfreenet/files/patch-testclient.c b/net-p2p/libfreenet/files/patch-testclient.c deleted file mode 100644 index 08a080bc7ce6..000000000000 --- a/net-p2p/libfreenet/files/patch-testclient.c +++ /dev/null @@ -1,10 +0,0 @@ ---- testclient.c.orig Sat Mar 31 15:17:15 2001 -+++ testclient.c Sat Mar 31 15:17:24 2001 -@@ -20,7 +20,6 @@ - #include <string.h> - #include <time.h> - #include <unistd.h> --#include <getopt.h> - - #include "protocol.h" - #include "client.h" diff --git a/net-p2p/libfreenet/files/patch-testserver.c b/net-p2p/libfreenet/files/patch-testserver.c deleted file mode 100644 index 9df4920aefe2..000000000000 --- a/net-p2p/libfreenet/files/patch-testserver.c +++ /dev/null @@ -1,16 +0,0 @@ ---- testserver.c.orig Wed Jun 13 19:05:19 2001 -+++ testserver.c Sun Dec 30 14:36:07 2001 -@@ -15,10 +15,13 @@ - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ -+#ifdef HAVE_MALLOC_H - #include <malloc.h> -+#endif - #include <string.h> - #include <unistd.h> - #include <stdlib.h> -+#include <netinet/in.h> - #include <sys/socket.h> - - diff --git a/net-p2p/libfreenet/pkg-descr b/net-p2p/libfreenet/pkg-descr deleted file mode 100644 index 0c647d2ec4f1..000000000000 --- a/net-p2p/libfreenet/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -libfreenet is a Freenet library written in C. Right now it supports basic -client functionality, as well as a lower-level API for sending and -receiving messages over a Freenet connection. It's currently very much -hackerware -- it might explode at any moment, so approach it with caution. - -WWW: http://thalassocracy.org/libfreenet/ diff --git a/net-p2p/libfreenet/pkg-plist b/net-p2p/libfreenet/pkg-plist deleted file mode 100644 index 9410d1d129f4..000000000000 --- a/net-p2p/libfreenet/pkg-plist +++ /dev/null @@ -1,22 +0,0 @@ -bin/testclient -bin/testserver -include/libfreenet/acconfig.h -include/libfreenet/base64.h -include/libfreenet/client.h -include/libfreenet/client_util.h -include/libfreenet/config.h -include/libfreenet/endtoend.h -include/libfreenet/message.h -include/libfreenet/protocol.h -include/libfreenet/rijndael-alg-fst.h -include/libfreenet/rijndael-api-fst.h -include/libfreenet/status.h -include/libfreenet/stream.h -include/libfreenet/twofish.h -include/libfreenet/uri.h -include/libfreenet/util.h -lib/libfreenet.a -lib/libfreenet.la -lib/libfreenet.so -lib/libfreenet.so.1 -@dirrm include/libfreenet diff --git a/net-p2p/microdc/Makefile b/net-p2p/microdc/Makefile deleted file mode 100644 index 0035f0a43529..000000000000 --- a/net-p2p/microdc/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# New ports collection makefile for: microdc -# Date created: 2006-08-11 -# Whom: Pankov Pavel <pankov_p@mail.ru> -# -# $FreeBSD$ -# - -PORTNAME= microdc -PORTVERSION= 0.11.0 -PORTREVISION= 1 -CATEGORIES= net-p2p -MASTER_SITES= ${MASTER_SITE_SAVANNAH} -MASTER_SITE_SUBDIR= ${PORTNAME} - -MAINTAINER= pankov_p@mail.ru -COMMENT= A command-line based Direct Connect client - -DEPRECATED= microdc is no longer in development. Consider using net-p2p/microdc2 instead -EXPIRATION_DATE=2007-05-03 - -USE_GCC= 3.2+ -GNU_CONFIGURE= yes -USE_ICONV= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" - -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -MAN1= ${PORTNAME}.1 -MANLANG= "" pl - -post-install: - @${MKDIR} ${MAN1PREFIX}/man/pl - @${MKDIR} ${MAN1PREFIX}/man/pl/man1 - @${MV} ${MAN1PREFIX}/man/man1/${PORTNAME}.pl.1 ${MAN1PREFIX}/man/pl/man1/${PORTNAME}.1 - -.include <bsd.port.mk> diff --git a/net-p2p/microdc/distinfo b/net-p2p/microdc/distinfo deleted file mode 100644 index 3eeba4ff990f..000000000000 --- a/net-p2p/microdc/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (microdc-0.11.0.tar.gz) = 2481e31495f7e809ea3fe7c460862b63 -SHA256 (microdc-0.11.0.tar.gz) = 57e12a6cfdf1feb5c526f4bfc9b250bb25c652e1ed81db28c9db1ab64af67b7e -SIZE (microdc-0.11.0.tar.gz) = 517879 diff --git a/net-p2p/microdc/files/patch-filelist-in.c b/net-p2p/microdc/files/patch-filelist-in.c deleted file mode 100644 index 2a05ccb60a0b..000000000000 --- a/net-p2p/microdc/files/patch-filelist-in.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/filelist-in.c-orig Wed Sep 21 23:28:10 2005 -+++ src/filelist-in.c Fri Aug 11 23:21:51 2006 -@@ -20,6 +20,7 @@ - #include <config.h> - #include <unistd.h> - #include <sys/signal.h> -+#include <sys/stat.h> - #include <stdbool.h> - #include "gettext.h" /* Gnulib/GNU gettext */ - #define _(s) gettext(s) diff --git a/net-p2p/microdc/pkg-descr b/net-p2p/microdc/pkg-descr deleted file mode 100644 index 4b0d788c81c0..000000000000 --- a/net-p2p/microdc/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -microdc is a command-line based Direct Connect client that uses the -GNU Readline library for user interaction. It was developed from -ground up and does not depend on any other program. Despite the -command-line user interface, microdc was designed to be user -friendly and simple to use. - -WWW: http://www.nongnu.org/microdc/ diff --git a/net-p2p/microdc/pkg-plist b/net-p2p/microdc/pkg-plist deleted file mode 100644 index c0f4c1b71588..000000000000 --- a/net-p2p/microdc/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/microdc -%%NLS%%share/locale/pl/LC_MESSAGES/microdc.mo -%%NLS%%share/locale/sv/LC_MESSAGES/microdc.mo -@dirrmtry man/pl/man1 -@dirrmtry man/pl -@dirrm share/locale/pl/LC_MESSAGES -@dirrm share/locale/pl |