diff options
author | 2004-07-17 15:12:51 +0000 | |
---|---|---|
committer | 2004-07-17 15:12:51 +0000 | |
commit | 1665314dc3ebad3fdc798fb1c66e5f3375209c51 (patch) | |
tree | 7b8b943c5a1e52a0a8c22a32ca5a26a1f39868a5 /net-p2p/bittornado | |
parent | Converted ebuild to be webapp-config compatible. Closes #18313. (diff) | |
download | historical-1665314dc3ebad3fdc798fb1c66e5f3375209c51.tar.gz historical-1665314dc3ebad3fdc798fb1c66e5f3375209c51.tar.bz2 historical-1665314dc3ebad3fdc798fb1c66e5f3375209c51.zip |
add bttrack init script irt #55954
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r-- | net-p2p/bittornado/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/bittornado/Manifest | 7 | ||||
-rw-r--r-- | net-p2p/bittornado/bittornado-0.3.7.ebuild | 10 | ||||
-rw-r--r-- | net-p2p/bittornado/files/bttrack.conf | 18 | ||||
-rw-r--r-- | net-p2p/bittornado/files/bttrack.rc | 23 | ||||
-rw-r--r-- | net-p2p/bittornado/files/favicon.ico | bin | 0 -> 1406 bytes |
6 files changed, 60 insertions, 4 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog index 6ec477f2c986..855178d38916 100644 --- a/net-p2p/bittornado/ChangeLog +++ b/net-p2p/bittornado/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-p2p/bittornado # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.21 2004/07/17 03:18:30 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.22 2004/07/17 15:12:51 squinky86 Exp $ + + 17 Jul 2004; Jon Hood <squinky86@gentoo.org> +files/bttrack.conf, + +files/bttrack.rc, +files/favicon.ico, bittornado-0.3.7.ebuild: + add bttrack init script irt #55954 *bittornado-0.3.7 (16 Jul 2004) diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest index 4fe59bb965fe..e16a24f5a9b7 100644 --- a/net-p2p/bittornado/Manifest +++ b/net-p2p/bittornado/Manifest @@ -2,11 +2,14 @@ MD5 499b1ebc0e0822737c1452e3b4adc193 bittornado-0.3.4.ebuild 1860 MD5 4e6e37147ac4bcd80d62815c6487c563 bittornado-0.3.6.ebuild 1861 MD5 fdd69111616413ea9558f277901ef1fa bittornado-0.3.1.ebuild 1730 MD5 d17973e04ef37bc8809e94f36694bd33 bittornado-0.3.3.ebuild 1734 -MD5 91a97606ddba79f18ef3b88d40246d05 ChangeLog 3209 +MD5 50596c7d98d2909100ce0c0e34fa1356 ChangeLog 3381 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 -MD5 8e1395ef874ab00953f42216709e7ed1 bittornado-0.3.7.ebuild 1863 +MD5 9389754e30cca3cdf53ebb2d222841f2 bittornado-0.3.7.ebuild 2049 MD5 6f2fb3d4b4ad50d756847aa1eb886518 bittornado-0.3.2.ebuild 1734 +MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406 MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297 +MD5 a706406b4513eb97a4715be7a4b3cfd7 files/bttrack.rc 631 +MD5 5e0dbf4ae726b145dcec6fb57526e4c5 files/bttrack.conf 728 MD5 1254611280cd18cac6f13a32910f6223 files/digest-bittornado-0.3.1 68 MD5 42424b1ceb30e798c909cd377fbe78f8 files/digest-bittornado-0.3.2 68 MD5 29cd3bfcbae60e683be63fcf925d1aad files/digest-bittornado-0.3.3 68 diff --git a/net-p2p/bittornado/bittornado-0.3.7.ebuild b/net-p2p/bittornado/bittornado-0.3.7.ebuild index 110753db9893..4e4edfab4fb3 100644 --- a/net-p2p/bittornado/bittornado-0.3.7.ebuild +++ b/net-p2p/bittornado/bittornado-0.3.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.7.ebuild,v 1.2 2004/07/17 03:22:45 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.7.ebuild,v 1.3 2004/07/17 15:12:51 squinky86 Exp $ inherit distutils eutils @@ -62,5 +62,13 @@ src_install() { sed -i '/btdownloadgui/d' ${D}/etc/mailcap rm ${D}/usr/bin/*gui.py fi + insinto /usr/share/bittorrent + doins ${FILESDIR}/favicon.ico + + insinto /etc/conf.d + newins ${FILESDIR}/bttrack.conf bttrack + + exeinto /etc/init.d + newexe ${FILESDIR}/bttrack.rc bttrack } diff --git a/net-p2p/bittornado/files/bttrack.conf b/net-p2p/bittornado/files/bttrack.conf new file mode 100644 index 000000000000..31772f0d7a05 --- /dev/null +++ b/net-p2p/bittornado/files/bttrack.conf @@ -0,0 +1,18 @@ +# /etc/conf.d/bttrack +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/files/bttrack.conf,v 1.1 2004/07/17 15:12:51 squinky86 Exp $ + +# Change this to this to the port you would like to connect to for the tracker. +# It is accessible at http://localhost:PORT/ from any web browser. +PORT=8082 + +# where to store recent downloader info +DFILE=/usr/share/bittorrent/tracker.dfile + +# path to favicon.ico which many popular web browsers can use +FAVICON=/usr/share/bittorrent/favicon.ico + +# Connection logs are sent to stdout by default, so they should be sent to a +# file when using this script. +LOGFILE=/var/log/bttrack.log diff --git a/net-p2p/bittornado/files/bttrack.rc b/net-p2p/bittornado/files/bttrack.rc new file mode 100644 index 000000000000..85b830ab862a --- /dev/null +++ b/net-p2p/bittornado/files/bttrack.rc @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/files/bttrack.rc,v 1.1 2004/07/17 15:12:51 squinky86 Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting bttrack" + start-stop-daemon --start --quiet --background --make-pidfile \ + --pidfile /var/run/bttrack.pid \ + --exec /usr/bin/bttrack.py -- --port ${PORT} \ + --dfile ${DFILE} --favicon ${FAVICON} --logfile ${LOGFILE} + eend $? +} + +stop() { + ebegin "Stopping bttrack" + start-stop-daemon --stop --quiet --pidfile /var/run/bttrack.pid + eend $? +} diff --git a/net-p2p/bittornado/files/favicon.ico b/net-p2p/bittornado/files/favicon.ico Binary files differnew file mode 100644 index 000000000000..0e6136254aa5 --- /dev/null +++ b/net-p2p/bittornado/files/favicon.ico |