aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2014-03-08 00:00:11 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2014-03-08 00:00:11 +0000
commitb2ca7ee8a884a6135f5a739f6e3d7a5794747e05 (patch)
tree48e8fd4071804e892a55351ff5ab30290cf3a339 /net-p2p
parentb208c35c0d3f7d30a5ccace2d1e46cab7c9b5cf3 (diff)
downloadports-b2ca7ee8a884a6135f5a739f6e3d7a5794747e05.tar.gz
ports-b2ca7ee8a884a6135f5a739f6e3d7a5794747e05.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/i2p/Makefile96
-rw-r--r--net-p2p/i2p/distinfo4
-rw-r--r--net-p2p/i2p/files/i2p.in88
-rw-r--r--net-p2p/i2p/files/patch-installer__resources__clients.config11
-rw-r--r--net-p2p/i2p/files/wrapper.sh.in71
-rw-r--r--net-p2p/i2p/pkg-descr19
6 files changed, 0 insertions, 289 deletions
diff --git a/net-p2p/i2p/Makefile b/net-p2p/i2p/Makefile
deleted file mode 100644
index 446ae07edb58..000000000000
--- a/net-p2p/i2p/Makefile
+++ /dev/null
@@ -1,96 +0,0 @@
-# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= i2p
-PORTVERSION= 0.8.7
-CATEGORIES= net-p2p java security
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}:i2p \
- http://mirror.i2p2.de/:i2p \
- http://dist.codehaus.org/jetty/jetty-5.1.x/:jetty
-DISTFILES= \
- i2psource_${PORTVERSION}${EXTRACT_SUFX}:i2p \
- ${JETTY_DISTFILE}:jetty
-EXTRACT_ONLY= i2psource_${PORTVERSION}${EXTRACT_SUFX}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An anonymizing network
-
-LICENSE= APACHE20 EULA
-LICENSE_COMB= multi
-
-BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a:${PORTSDIR}/math/gmp \
- msgfmt:${PORTSDIR}/devel/gettext
-RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-
-LICENSE_NAME_EULA= End User License Agreement
-LICENSE_PERMS_EULA= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LICENSE_FILE_EULA= ${WRKSRC}/LICENSE.txt
-LICENSE_DISTFILES_ASL= ${JETTY_DISTFILE}
-LICENSE_DISTFILES_EULA= i2psource_${PORTVERSION}${EXTRACT_SUFX}
-
-USE_BZIP2= yes
-USE_RC_SUBR= i2p
-
-JAVA_BUILD= jdk
-USE_JAVA= yes
-JAVA_VERSION= 1.6+
-USE_ANT= yes
-
-ALL_TARGET= \
- updater \
- tarball
-
-.ifndef(NOPORTDOCS)
-ALL_TARGET+= javadoc
-.endif
-
-JAVADOC_WRKSRC= ${WRKSRC}/build/javadoc
-
-.ifndef(NOPORTDOCS)
-PORTDOCS= *
-.endif
-
-PLIST_DIRS= \
- %%DATADIR%%
-PLIST_FILES= \
- sbin/i2prouter \
- %%DATADIR%%/i2p.tar.bz2 \
- %%DATADIR%%/i2pupdate.zip
-
-JETTY_DISTFILE= jetty-5.1.15.tgz
-
-SUB_FILES= wrapper.sh
-
-NO_STAGE= yes
-post-extract:
- @${MKDIR} ${WRKSRC}/apps/jetty/
- @${CP} -f ${DISTDIR}/${JETTY_DISTFILE} ${WRKSRC}/apps/jetty/
-
-post-patch:
-# postinstall.sh SHOULD only do post installation house keeping
- @${REINPLACE_CMD} -E \
- -e 's|./i2prouter[[:space:]]+start||' \
- ${WRKSRC}/installer/resources/postinstall.sh
-
-do-install:
- @${MKDIR} ${DATADIR}
-# install
- @${INSTALL_DATA} ${WRKSRC}/i2p.tar.bz2 \
- ${DATADIR}/
-# update
- @${INSTALL_DATA} ${WRKSRC}/i2pupdate.zip \
- ${DATADIR}/
-# wrapper
- @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
- ${PREFIX}/sbin/i2prouter
-# doc
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/installer/resources/readme/readme*.html ${DOCSDIR}
-# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
- @cd ${JAVADOC_WRKSRC} && \
- ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
- ${FIND} * -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
-.endif
-
-.include <bsd.port.mk>
diff --git a/net-p2p/i2p/distinfo b/net-p2p/i2p/distinfo
deleted file mode 100644
index 2ba94267cdbd..000000000000
--- a/net-p2p/i2p/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (i2psource_0.8.7.tar.bz2) = 31acef3fcd1a5839edc3b931f108944222c833d218bd427fe89a57b4acd92ece
-SIZE (i2psource_0.8.7.tar.bz2) = 18473515
-SHA256 (jetty-5.1.15.tgz) = c866bfe7715941e343e66bd5d6696a743b9c0811ef9763848eb673070f4a53d6
-SIZE (jetty-5.1.15.tgz) = 11063548
diff --git a/net-p2p/i2p/files/i2p.in b/net-p2p/i2p/files/i2p.in
deleted file mode 100644
index ffc192912fe7..000000000000
--- a/net-p2p/i2p/files/i2p.in
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Under a BSDL license. Copyright 2005. Mario S F Ferreira <lioux@FreeBSD.org>
-
-# PROVIDE: i2p
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable i2p:
-#
-# i2p_enable="YES"
-# i2p_user
-
-. /etc/rc.subr
-
-name="i2p"
-rcvar=i2p_enable
-command="%%PREFIX%%/sbin/i2prouter"
-extra_commands="install uninstall update"
-
-i2p_check_vars()
-{
- if [ -z "${i2p_user}" ]; then
- i2p_user=$(whoami)
- fi
-
- if [ "x${i2p_user}" = "xroot" ]; then
- err 1 "You have to set i2p_user to a non-root user for security reasons"
- fi
-}
-
-start_cmd="start_cmd"
-stop_cmd="stop_cmd"
-status_cmd="status_cmd"
-restart_cmd="restart_cmd"
-install_cmd="install_cmd"
-uninstall_cmd="uninstall_cmd"
-update_cmd="update_cmd"
-
-generic_cmd()
-{
- i2p_check_vars
- su -l ${i2p_user} -c "${command} ${1}"
-}
-
-start_cmd()
-{
- generic_cmd start
-}
-
-stop_cmd()
-{
- generic_cmd stop
-}
-
-status_cmd()
-{
- generic_cmd status
-}
-
-restart_cmd()
-{
- generic_cmd restart
-}
-
-install_cmd()
-{
- generic_cmd install
-}
-
-uninstall_cmd()
-{
- generic_cmd uninstall
-}
-
-update_cmd()
-{
- generic_cmd update
-}
-
-load_rc_config "${name}"
-: ${i2p_enable="NO"}
-: ${i2p_user=""}
-
-run_rc_command "$1"
diff --git a/net-p2p/i2p/files/patch-installer__resources__clients.config b/net-p2p/i2p/files/patch-installer__resources__clients.config
deleted file mode 100644
index 26634dfa81ce..000000000000
--- a/net-p2p/i2p/files/patch-installer__resources__clients.config
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./installer/resources/clients.config.orig 2009-05-31 20:15:45.000000000 -0300
-+++ ./installer/resources/clients.config 2009-05-31 20:16:20.000000000 -0300
-@@ -36,7 +36,7 @@
- clientApp.4.name=Open Router Console in web browser at startup
- clientApp.4.args=http://127.0.0.1:7657/index.jsp
- clientApp.4.delay=3
--clientApp.4.startOnLoad=true
-+clientApp.4.startOnLoad=false
-
- # BOB bridge
- clientApp.5.args=
diff --git a/net-p2p/i2p/files/wrapper.sh.in b/net-p2p/i2p/files/wrapper.sh.in
deleted file mode 100644
index e765ab2c0a56..000000000000
--- a/net-p2p/i2p/files/wrapper.sh.in
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-#
-# Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org>
-# $FreeBSD$
-
-DATADIR="%%DATADIR%%"
-#
-I2P_HOME="${HOME}/i2p"
-I2P_RC_SCRIPT=i2prouter
-I2P_POSTINSTALL_SCRIPT=postinstall.sh
-#
-I2P_INSTALL_TARBALL=i2p.tar.bz2
-I2P_UPDATE_ZIP=i2pupdate.zip
-
-if [ -z "${HOME}" -o ! -d "${HOME}" ]; then
- echo 'ERROR: Please, set HOME environment variable to a valid value!'
- echo 'ERROR: You may LOSE data if the variable is pointed at an'
- echo 'ERROR: incorrect location!'
- exit 1
-fi
-
-case "$1" in
- restart|start|status|stop)
- echo "i2p ${1}"
- if [ -f "${I2P_HOME}/${I2P_RC_SCRIPT}" ]; then
- case "$1" in
- restart|start)
- echo 'To access i2p:'
- echo 'Point your browser at http://localhost:7657/ to access configuration'
- echo 'Point your browser proxy at http://localhost:4444/ to access i2p network'
- ;;
- esac
- exec sh "${I2P_HOME}/${I2P_RC_SCRIPT}" ${1}
- else
- echo 'ERROR: i2p is not installed'
- echo 'ERROR: Please install i2p first'
- exit 2
- fi
- ;;
- install)
- echo "i2p ${1}"
- if [ ! -d "${I2P_HOME}" ]; then
- rm -Rf "${I2P_HOME}"
- mkdir -p "${I2P_HOME}"
- fi
- cd "${HOME}" && \
- tar -xvjf "${DATADIR}/${I2P_INSTALL_TARBALL}" && \
- cd "${I2P_HOME}" && \
- exec sh "${I2P_HOME}/${I2P_POSTINSTALL_SCRIPT}"
- ;;
- uninstall)
- echo "i2p ${1}"
- exec rm -Rf "${I2P_HOME}"
- ;;
- update)
- echo "i2p ${1}"
- if [ ! -d "${I2P_HOME}" ]; then
- echo 'ERROR: i2p is not installed'
- echo 'ERROR: Please install i2p before trying to update it'
- exit 3
- fi
- cd "${I2P_HOME}" && \
- exec unzip -o "${DATADIR}/${I2P_UPDATE_ZIP}"
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop | status | restart | install | uninstall | update }"
- echo ""
- exit 64
- ;;
-esac
diff --git a/net-p2p/i2p/pkg-descr b/net-p2p/i2p/pkg-descr
deleted file mode 100644
index 80687df30af1..000000000000
--- a/net-p2p/i2p/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-[ excerpt from developer's web site ]
-
-I2P is an anonymizing network, offering a simple layer that
-identity-sensitive applications can use to securely communicate.
-All data is wrapped with several layers of encryption, and the
-network is both distributed and dynamic, with no trusted parties.
-
-Many applications are available that interface with I2P, including
-mail, peer-peer, IRC chat, and others.
-
-Anonymity is not a boolean - we are not trying to make something
-"perfectly anonymous", but instead are working at making attacks
-more and more expensive to mount. I2P alone is what could be called
-a "low latency mix network", and there are limits to the anonymity
-offered by such a system, but the applications on top of I2P, such
-as Syndie, I2P mail, and I2PSnark extend it to offer both additional
-functionality and protection.
-
-WWW: http://www.i2p2.de/