summaryrefslogtreecommitdiff
path: root/net/i2p/files/wrapper.sh
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-30 21:36:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-30 21:36:28 +0000
commitfbab09fee302574e578e4f0d1b6082cdae4defb4 (patch)
tree2e89197b88b8a883c56aef7a5d0d89dc5d374850 /net/i2p/files/wrapper.sh
parentUpgrade to 1.63.0. (diff)
Populate newly create net-p2p category with these ports:
ftp/jigdo net/amule1 net/amule2 net/apollon net/azureus net/bnbt net/btpeer net/btqueue net/cdonkey net/ctorrent net/dcd net/dclib net/dctc net/dctc-gui net/dctc-gui-qt net/edonkey-gui-gtk net/edonkey-gui-gtk-urlslave net/fcptools net/fidelio net/freenet net/frost net/giftcurs net/giftoxic net/giftui net/gift net/gift-fasttrack net/gift-gnutella net/gift-openft net/gkrellm-gift net/gnewtellium net/gnome-btdownload net/gnunet net/gtkhx net/gtk-gnutella net/gtorrentviewer net/hagelslag net/hx net/i2p net/javadc net/kmldonkey net/ktorrent net/libbt net/liberator net/libfreenet net/libpdtp net/libtorrent net/limewire net/linux-agsatellite net/linux-edonkey-core net/linux-edonkey-server net/linux-jigdo net/linux-overnet-core net/minder net/mldonkey net/mldonkey-core net/mldonkey-core-devel net/mldonkey-devel net/mldonkey-gui net/mldonkey-gui-devel net/mldonkey-perlreactor net/mldonkey-sancho net/mldonkey-serverspy net/mldonkey-urlslave net/mutella net/mute-net net/mute-net-gui net/mute-net-text net/napshare net/nicotine net/opendchub net/peercast net/phex net/pyslsk net/py-bittornado net/py-bittornado-core net/py-bittorrent net/py-bittorrent-core net/py-bittorrent-core-devel net/py-bittorrent-devel net/py-fngrab net/py-kenosis net/py-kenosis-bittorrent net/py-py2play net/p5-pdonkey net/qtella net/qtorrent net/rtorrent net/squall net/torrentflux net/torrentsniff net/trackerbt net/transmission net/valknut net/verlihub net/verlihub-plugins net/xmule net/xnap misc/ed2k misc/edonkey-tool-hash misc/linux-edonkey-tool-recovermet Repocopies by: marcus
Diffstat (limited to 'net/i2p/files/wrapper.sh')
-rw-r--r--net/i2p/files/wrapper.sh71
1 files changed, 0 insertions, 71 deletions
diff --git a/net/i2p/files/wrapper.sh b/net/i2p/files/wrapper.sh
deleted file mode 100644
index e765ab2c0a56..000000000000
--- a/net/i2p/files/wrapper.sh
+++ /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