Package: bittorrent Version: 3.4.2-6 Severity: normal Tags: patch
/etc/init.d/bittorrent should check the value of the variable START_BTTRACK which should be set in /etc/default/bittorrent to decide wether to start the tracker or not. I think this trivial patch does the job: ---8<--- --- bittorrent~ 2005-11-30 04:33:16.000000000 +0100 +++ bittorrent 2006-06-01 17:17:22.000000000 +0200 @@ -12,6 +12,7 @@ # Gracefully exit if the package has been removed. test -x $DAEMON || exit 0 +START_BTTRACK=0 PORT=6969 DFILE=/var/lib/bittorrent/bttrack.state @@ -21,6 +22,11 @@ . /etc/default/bittorrent fi +if [ $START_BTTRACK -ne 1 ]; then + echo "Tracker disabled in /etc/default/bittorrent" + exit 0 +fi + # Add optional option $1 with argument $2 to OPTS, if $2 is nonempty add_opt () { if ! test -z "$2" ; then --->8--- Thanks -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16.17 Locale: LANG=es_ES.ISO-8859-15, LC_CTYPE=es_ES.ISO-8859-15 (charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL PROTECTED]) Versions of packages bittorrent depends on: ii python 2.3.5-5 An interactive high-level object-o Versions of packages bittorrent recommends: ii mime-support 3.36-1 MIME files 'mime.types' & 'mailcap -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]