Transmission new ebuild from bugzilla.gentoo.org
This commit is contained in:
parent
f5f6de99e6
commit
6a88a666aa
5
net-p2p/transmission/Manifest
Normal file
5
net-p2p/transmission/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
AUX ChangeLog 10237 RMD160 db3d2fa05a52d369f732ed8e63eeb4c8470d7897 SHA1 262ed56d2f096a09d5b10a38a232e62456a993d5 SHA256 7f059c871413c3acebf8218b12c555f602b45fe0f42b4977cabfb3bfbc21c465
|
||||||
|
AUX transmission 1999 RMD160 e78bf2b3667364500e3eb2cd4a736dffbd9a7168 SHA1 848adcd11629dea9873e1bf37204212df73d6038 SHA256 b0ffaf37d0aee5bd35c2590760f3278e2275167fbe50e839e8f655356c3c6ebe
|
||||||
|
AUX transmission-confd 1484 RMD160 662b04fbce938dfd3cf232cd58583aee19ad2533 SHA1 e78da1b448686debe51a05712187e801d2c434a9 SHA256 95f41d2455e32ce4b001d538a0270dd86802026f6ad19ec95afdb254366e8a13
|
||||||
|
DIST transmission-1.34.tar.bz2 5401733 RMD160 b80a7c3fb0a7e1c82e2997b0e2dac6fd52557e3e SHA1 122cd096725225a5e41d79628f341ae8c2051b5c SHA256 a293c00e0eb99c84bc81b276d5de1eb18ed09659ac2e613814900b6634d971c2
|
||||||
|
EBUILD transmission-1.34.ebuild 1108 RMD160 e7e3bee48c59c4d45f389d813b8a9ebe3515e349 SHA1 35e3e3622104c557f39fd0b230bc9c7e812ee7ef SHA256 e53c8e87b05b78b6ccf7386881b39af9289c801fb094460cb4a4e08f002f961b
|
323
net-p2p/transmission/files/ChangeLog
Normal file
323
net-p2p/transmission/files/ChangeLog
Normal file
@ -0,0 +1,323 @@
|
|||||||
|
# ChangeLog for net-p2p/transmission
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.67 2008/09/07 15:11:57 maekke Exp $
|
||||||
|
|
||||||
|
09 Oct 2008; Rene Berber <r.berber@computer.org> transmission-1.34.ebuild:
|
||||||
|
amd64/x86 stable
|
||||||
|
Fix running as root, bug#168039
|
||||||
|
New init.d script
|
||||||
|
New conf.d parameters file
|
||||||
|
|
||||||
|
*transmission-1.34 (16 Sep 2008)
|
||||||
|
|
||||||
|
07 Sep 2008; Markus Meier <maekke@gentoo.org> transmission-1.22.ebuild:
|
||||||
|
amd64/x86 stable, bug #236544
|
||||||
|
|
||||||
|
06 Sep 2008; nixnut <nixnut@gentoo.org> transmission-1.22.ebuild:
|
||||||
|
Stable on ppc wrt bug 236544
|
||||||
|
|
||||||
|
04 Sep 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
transmission-1.22.ebuild:
|
||||||
|
Fix deps for transmission
|
||||||
|
|
||||||
|
*transmission-1.33 (04 Sep 2008)
|
||||||
|
|
||||||
|
04 Sep 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-1.33.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
*transmission-1.22 (08 Jul 2008)
|
||||||
|
|
||||||
|
08 Jul 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-1.22.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
*transmission-1.20 (13 May 2008)
|
||||||
|
|
||||||
|
13 May 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+files/transmission-daemon, +transmission-1.20.ebuild:
|
||||||
|
Version bump from usptream (fixes bugs #218586, #221859)
|
||||||
|
|
||||||
|
04 May 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-transmission-0.82.ebuild, -transmission-1.0.4.ebuild,
|
||||||
|
-transmission-1.0.6.ebuild:
|
||||||
|
Prune unused versions
|
||||||
|
|
||||||
|
04 May 2008; Markus Meier <maekke@gentoo.org> transmission-1.1.0.ebuild:
|
||||||
|
x86 stable, bug #220137
|
||||||
|
|
||||||
|
04 May 2008; nixnut <nixnut@gentoo.org> transmission-1.1.0.ebuild:
|
||||||
|
Stable on ppc wrt bug 220137
|
||||||
|
|
||||||
|
03 May 2008; Samuli Suominen <drac@gentoo.org> transmission-1.1.0.ebuild,
|
||||||
|
transmission-1.11.ebuild:
|
||||||
|
1.1.0 amd64 stable wrt #220137. fix test suite for both versions.
|
||||||
|
|
||||||
|
*transmission-1.11 (20 Apr 2008)
|
||||||
|
|
||||||
|
20 Apr 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+files/transmission-1.11-libnotify-option.patch,
|
||||||
|
+transmission-1.11.ebuild:
|
||||||
|
Version bump from upstream (bug #215525)
|
||||||
|
|
||||||
|
10 Apr 2008; Samuli Suominen <drac@gentoo.org> transmission-1.0.6.ebuild:
|
||||||
|
amd64 stable
|
||||||
|
|
||||||
|
*transmission-1.1.0 (31 Mar 2008)
|
||||||
|
|
||||||
|
31 Mar 2008; Ioannis Aslanidis <deathwing00@gentoo.org>
|
||||||
|
+transmission-1.1.0.ebuild:
|
||||||
|
Version bump as requested in bug #215525.
|
||||||
|
|
||||||
|
15 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||||
|
transmission-1.0.4.ebuild:
|
||||||
|
ppc stable, bug #212110
|
||||||
|
|
||||||
|
02 Mar 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-transmission-1.0.0.ebuild, -transmission-1.0.1.ebuild:
|
||||||
|
prune some unused versions
|
||||||
|
|
||||||
|
*transmission-1.0.6 (02 Mar 2008)
|
||||||
|
|
||||||
|
02 Mar 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-1.0.6.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
22 Feb 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
transmission-1.0.4.ebuild:
|
||||||
|
Fix versionining (bug #209397)
|
||||||
|
|
||||||
|
*transmission-1.0.4 (08 Feb 2008)
|
||||||
|
|
||||||
|
08 Feb 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-1.0.4.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
23 Jan 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
transmission-1.0.1.ebuild:
|
||||||
|
disable calls to wx-config as suggested by Michal Kurgan <moloh@gentoo.org>
|
||||||
|
(bug #204762)
|
||||||
|
|
||||||
|
*transmission-1.0.1 (22 Jan 2008)
|
||||||
|
|
||||||
|
22 Jan 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-1.0.1.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
06 Jan 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-transmission-0.72.ebuild, -transmission-0.96.ebuild:
|
||||||
|
prune some unused versions
|
||||||
|
|
||||||
|
*transmission-1.0.0 (06 Jan 2008)
|
||||||
|
|
||||||
|
06 Jan 2008; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-1.0.0.ebuild:
|
||||||
|
Version bump from upstream (bug #204435)
|
||||||
|
|
||||||
|
14 Dec 2007; nixnut <nixnut@gentoo.org> transmission-0.82.ebuild:
|
||||||
|
Stable on ppc
|
||||||
|
|
||||||
|
12 Dec 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-transmission-0.93.ebuild, -transmission-0.94.ebuild:
|
||||||
|
prune unused versions
|
||||||
|
|
||||||
|
*transmission-0.96 (12 Dec 2007)
|
||||||
|
|
||||||
|
12 Dec 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.96.ebuild:
|
||||||
|
Version bump from upstream (bug #201857)
|
||||||
|
|
||||||
|
07 Dec 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-files/transmission-0.91-potfiles-fix.patch, -files/transmission.png,
|
||||||
|
-transmission-0.72-r1.ebuild, -transmission-0.91.ebuild:
|
||||||
|
Prune unused versions and unused files
|
||||||
|
|
||||||
|
*transmission-0.94 (07 Dec 2007)
|
||||||
|
|
||||||
|
07 Dec 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.94.ebuild:
|
||||||
|
Version bump from upstream (bug #200728)
|
||||||
|
|
||||||
|
*transmission-0.93 (22 Nov 2007)
|
||||||
|
|
||||||
|
22 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.93.ebuild:
|
||||||
|
Version bump from upstream; drop wxwindows useflag for now
|
||||||
|
|
||||||
|
10 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+files/transmission-0.91-potfiles-fix.patch, transmission-0.91.ebuild:
|
||||||
|
Add patch from upstream to fix po/Makefile generation on !gtk
|
||||||
|
|
||||||
|
09 Nov 2007; nixnut <nixnut@gentoo.org> ChangeLog:
|
||||||
|
Added ~ppc wrt bug 198114
|
||||||
|
|
||||||
|
09 Nov 2007; Daniel Gryniewicz <dang@gentoo.org> transmission-0.82.ebuild:
|
||||||
|
Marked stable on amd64 for bug #198114
|
||||||
|
|
||||||
|
*transmission-0.91 (05 Nov 2007)
|
||||||
|
|
||||||
|
05 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.91.ebuild:
|
||||||
|
Version bump from upstream (bug #197591)
|
||||||
|
|
||||||
|
04 Nov 2007; Dawid WÄgliÅski <cla@gentoo.org> transmission-0.82.ebuild:
|
||||||
|
Stable on x86 (bug #198114)
|
||||||
|
|
||||||
|
04 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
transmission-0.72.ebuild, transmission-0.72-r1.ebuild:
|
||||||
|
Fix some quoting issues
|
||||||
|
|
||||||
|
04 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-transmission-0.80.ebuild, -transmission-0.81.ebuild:
|
||||||
|
Prune some unused versions
|
||||||
|
|
||||||
|
29 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> transmission-0.80.ebuild,
|
||||||
|
transmission-0.81.ebuild, transmission-0.82.ebuild:
|
||||||
|
Lock wxGTK to 2.6.
|
||||||
|
|
||||||
|
28 Sep 2007; Luca Barbato <lu_zero@gentoo.org> transmission-0.82.ebuild:
|
||||||
|
Fix minor issues
|
||||||
|
|
||||||
|
*transmission-0.82 (22 Sep 2007)
|
||||||
|
|
||||||
|
22 Sep 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.82.ebuild:
|
||||||
|
Version bump from upstream.
|
||||||
|
|
||||||
|
*transmission-0.81 (29 Aug 2007)
|
||||||
|
|
||||||
|
29 Aug 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.81.ebuild:
|
||||||
|
Version bump from upstream (bug #190475)
|
||||||
|
|
||||||
|
*transmission-0.80 (14 Aug 2007)
|
||||||
|
|
||||||
|
14 Aug 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.80.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
14 Aug 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-files/transmission-0.6.1-as-needed.patch,
|
||||||
|
-files/transmission-0.6.1-gtk+-check.patch, -transmission-0.6.1-r1.ebuild,
|
||||||
|
-transmission-0.71.ebuild:
|
||||||
|
Prune unused versions
|
||||||
|
|
||||||
|
*transmission-0.72-r1 (04 Jul 2007)
|
||||||
|
|
||||||
|
04 Jul 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.72-r1.ebuild:
|
||||||
|
Revision bump for upsate from upstream without a release.
|
||||||
|
|
||||||
|
02 Jun 2007; René Nussbaumer <killerfox@gentoo.org>
|
||||||
|
transmission-0.72.ebuild:
|
||||||
|
Stable on ppc. See bug #180525.
|
||||||
|
|
||||||
|
01 Jun 2007; Peter Weller <welp@gentoo.org> transmission-0.72.ebuild:
|
||||||
|
Stable on amd64 wrt security bug 180525
|
||||||
|
|
||||||
|
01 Jun 2007; Raúl Porcel <armin76@gentoo.org> transmission-0.72.ebuild:
|
||||||
|
x86 stable wrt security #180525
|
||||||
|
|
||||||
|
19 May 2007; Peter Weller <welp@gentoo.org> transmission-0.72.ebuild:
|
||||||
|
Keyworded ~x86-fbsd
|
||||||
|
|
||||||
|
07 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||||
|
transmission-0.6.1-r1.ebuild:
|
||||||
|
ppc stable, bug #175896
|
||||||
|
|
||||||
|
*transmission-0.72 (01 May 2007)
|
||||||
|
|
||||||
|
01 May 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.72.ebuild:
|
||||||
|
Version bump from upstream with new features
|
||||||
|
|
||||||
|
28 Apr 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-files/0.6.1-configure.patch, -files/transmission.desktop,
|
||||||
|
-transmission-0.6.1.ebuild, -transmission-0.7.ebuild:
|
||||||
|
prune unused ebuilds and files
|
||||||
|
|
||||||
|
26 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||||
|
transmission-0.6.1-r1.ebuild:
|
||||||
|
stable x86, bug 175896
|
||||||
|
|
||||||
|
24 Apr 2007; Peter Weller <welp@gentoo.org> transmission-0.6.1-r1.ebuild:
|
||||||
|
Stable on amd64 wrt bug 175896
|
||||||
|
|
||||||
|
*transmission-0.71 (24 Apr 2007)
|
||||||
|
|
||||||
|
24 Apr 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.71.ebuild:
|
||||||
|
Version bump from upstream for a few bug fixes
|
||||||
|
|
||||||
|
*transmission-0.7 (18 Apr 2007)
|
||||||
|
|
||||||
|
18 Apr 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+transmission-0.7.ebuild:
|
||||||
|
Version bump from upstream
|
||||||
|
|
||||||
|
14 Apr 2007; Luca Barbato <lu_zero@gentoo.org>
|
||||||
|
transmission-0.6.1-r1.ebuild:
|
||||||
|
Marked ~ppc
|
||||||
|
|
||||||
|
19 Mar 2007; Bryan Ãstergaard <kloeri@gentoo.org> metadata.xml:
|
||||||
|
Remove squinky86 from metadata.xml due to retirement.
|
||||||
|
|
||||||
|
24 Feb 2007; Raúl Porcel <armin76@gentoo.org>
|
||||||
|
transmission-0.6.1-r1.ebuild:
|
||||||
|
Remove ROOT, bug 168039
|
||||||
|
|
||||||
|
10 Feb 2007; Steve Dibb <beandog@gentoo.org> transmission-0.6.1.ebuild:
|
||||||
|
amd64 stable, bug 161420
|
||||||
|
|
||||||
|
12 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||||
|
transmission-0.6.1.ebuild:
|
||||||
|
stable x86, bug #161420
|
||||||
|
|
||||||
|
11 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
transmission-0.6.1-r1.ebuild:
|
||||||
|
Adding in missed dependency
|
||||||
|
|
||||||
|
10 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
-transmission-0.5-r1.ebuild,
|
||||||
|
-transmission-0.6.ebuild:
|
||||||
|
prune old versions
|
||||||
|
|
||||||
|
10 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org> metadata.xml:
|
||||||
|
Add myself as maintainer
|
||||||
|
|
||||||
|
*transmission-0.6.1-r1 (10 Jan 2007)
|
||||||
|
|
||||||
|
10 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
|
||||||
|
+files/transmission-0.6.1-as-needed.patch,
|
||||||
|
+files/transmission-0.6.1-gtk+-check.patch, +transmission-0.6.1-r1.ebuild:
|
||||||
|
Add fixes for as-needed, install, and remove ssl's useflag
|
||||||
|
|
||||||
|
15 Aug 2006; Jon Hood <squinky86@gentoo.org> +files/0.6.1-configure.patch,
|
||||||
|
transmission-0.6.1.ebuild:
|
||||||
|
Patch to work with gtk-2.10, thanks to Serkan Kaba <serkan_kaba@yahoo.com>,
|
||||||
|
bug #143529.
|
||||||
|
|
||||||
|
*transmission-0.6.1 (01 Jul 2006)
|
||||||
|
|
||||||
|
01 Jul 2006; Jon Hood <squinky86@gentoo.org> +transmission-0.6.1.ebuild:
|
||||||
|
Version bump, #138667 by Alex Tarkovsky <alextarkovsky@gmail.com>.
|
||||||
|
|
||||||
|
*transmission-0.6 (28 Jun 2006)
|
||||||
|
|
||||||
|
28 Jun 2006; Jon Hood <squinky86@gentoo.org> -transmission-0.5.ebuild,
|
||||||
|
+transmission-0.6.ebuild:
|
||||||
|
Version bump, comment #9 bug #124721.
|
||||||
|
|
||||||
|
*transmission-0.5-r1 (16 Jun 2006)
|
||||||
|
|
||||||
|
16 Jun 2006; Jon Hood <squinky86@gentoo.org> +files/transmission.desktop,
|
||||||
|
+files/transmission.png, +transmission-0.5-r1.ebuild:
|
||||||
|
Add desktop and png files.
|
||||||
|
|
||||||
|
*transmission-0.5 (14 Jun 2006)
|
||||||
|
|
||||||
|
14 Jun 2006; Jon Hood <squinky86@gentoo.org> +metadata.xml,
|
||||||
|
+transmission-0.5.ebuild:
|
||||||
|
Initial import. Thanks to Eric Johney <ericjohney@gmail.com> for this ebuild
|
||||||
|
in #124721.
|
||||||
|
|
83
net-p2p/transmission/files/transmission
Normal file
83
net-p2p/transmission/files/transmission
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
#
|
||||||
|
|
||||||
|
# DO NOT EDIT!
|
||||||
|
# ------------
|
||||||
|
# All configurable options are set in /etc/conf.d/transmission
|
||||||
|
|
||||||
|
NAME=transmission-daemon
|
||||||
|
declare -a OPTIONS
|
||||||
|
OPTIONS+=" -a ${TR_ACL:=+127.0.0.1}"
|
||||||
|
if [ -z "$TR_BLOCK" -o "$TR_BLOCK" = "no" ]; then
|
||||||
|
OPTIONS+=" -B"
|
||||||
|
else
|
||||||
|
OPTIONS+=" -b"
|
||||||
|
fi
|
||||||
|
OPTIONS+=" -g ${TR_HOME:-/var/transmission/config}"
|
||||||
|
OPTIONS+=" -p ${CTL_PORT:-9091}"
|
||||||
|
if [ -z "$REMOTE_USER" -o -z "$REMOTE_PASS" ]; then
|
||||||
|
OPTIONS+=" -T"
|
||||||
|
else
|
||||||
|
OPTIONS+=" -t"
|
||||||
|
OPTIONS+=" -u $REMOTE_USER"
|
||||||
|
OPTIONS+=" -v $REMOTE_PASS"
|
||||||
|
fi
|
||||||
|
OPTIONS+=" -w ${TR_DOWNLOAD:-/var/transmission/downloads}"
|
||||||
|
declare -a EXTRA_OPT
|
||||||
|
if [ -z "$TR_UP_SPEED" -o "$TR_UP_SPEED" = "unlimited" ]; then
|
||||||
|
EXTRA_OPT+=" -U"
|
||||||
|
else
|
||||||
|
EXTRA_OPT+=" -u $TR_UP_SPEED"
|
||||||
|
fi
|
||||||
|
if [ -z "$TR_DN_SPEED" -o "$TR_DN_SPEED" = "unlimited" ]; then
|
||||||
|
EXTRA_OPT+=" -D"
|
||||||
|
else
|
||||||
|
EXTRA_OPT+=" -d $TR_DN_SPEED"
|
||||||
|
fi
|
||||||
|
if [ -z "$TR_PX" -o "$TR_PX" = "no" ]; then
|
||||||
|
EXTRA_OPT+=" -X"
|
||||||
|
else
|
||||||
|
EXTRA_OPT+=" -x"
|
||||||
|
fi
|
||||||
|
if [ -z "$TR_PMAP" -o "$TR_PMAP" = "no" ]; then
|
||||||
|
EXTRA_OPT+=" -M"
|
||||||
|
else
|
||||||
|
EXTRA_OPT+=" -m"
|
||||||
|
fi
|
||||||
|
if [ -z "$TR_ENCRYPT" -o "$TR_ENCRYPT" = "tolerated" ]; then
|
||||||
|
EXTRA_OPT+=" -et"
|
||||||
|
elif [ "$TR_ENCRYPT" = "prefered" ]; then
|
||||||
|
EXTRA_OPT+=" -ep"
|
||||||
|
elif [ "$TR_ENCRYPT" = "required" ]; then
|
||||||
|
EXTRA_OPT+=" -er"
|
||||||
|
else
|
||||||
|
EXTRA_OPT+=" -et"
|
||||||
|
fi
|
||||||
|
E_MSG="ERROR starting transmission, check configuration."
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting transmission daemon"
|
||||||
|
#D#printf "Options: ${OPTIONS[@]}\n"
|
||||||
|
start-stop-daemon --start --quiet \
|
||||||
|
--chuid ${TR_USERNAME:-nobody} \
|
||||||
|
--exec /usr/bin/transmission-daemon -- ${OPTIONS[@]} \
|
||||||
|
|| { eerror $E_MSG; eend 1; return 1; }
|
||||||
|
sleep 1
|
||||||
|
transmission-remote ${CTL_PORT:-9091} \
|
||||||
|
${REMOTE_PASS:+-n $REMOTE_USER:$REMOTE_PASS} \
|
||||||
|
--port ${TR_PORT:-54318} ${EXTRA_OPT[@]} > /dev/null
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping transmission daemon"
|
||||||
|
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \
|
||||||
|
--name $NAME
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: set ft=gentoo-init-d ts=3 sw=3 et:
|
61
net-p2p/transmission/files/transmission-confd
Normal file
61
net-p2p/transmission/files/transmission-confd
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# For information on options, see the transmission-daemon(1) man page.
|
||||||
|
#
|
||||||
|
# The commented variables in this file are the defaults that are used
|
||||||
|
# in the init-script. You don't need to uncomment them except to
|
||||||
|
# customize them to different values.
|
||||||
|
|
||||||
|
#
|
||||||
|
# ----- MAIN CONFIGURATION -----
|
||||||
|
#
|
||||||
|
|
||||||
|
# The folder where Transmission stores its config and .torrent files
|
||||||
|
# TR_HOME=/var/transmission/config
|
||||||
|
|
||||||
|
# The folder where Transmission stores downloads
|
||||||
|
# TR_DOWNLOAD=/var/transmission/downloads
|
||||||
|
|
||||||
|
# The port Transmission uses to connect to other peers
|
||||||
|
# TR_PORT=54318
|
||||||
|
|
||||||
|
# The name of the user that runs transmission-daemon and owns the files
|
||||||
|
# TR_USERNAME=nobody
|
||||||
|
|
||||||
|
# Login credentials for the Web- and the RPC-interface
|
||||||
|
# - default: leave empty to disable access authentication
|
||||||
|
# REMOTE_USER=""
|
||||||
|
# REMOTE_PASS=""
|
||||||
|
# - alternative: set a user name and password
|
||||||
|
#REMOTE_USER=admin
|
||||||
|
#REMOTE_PASS=password
|
||||||
|
|
||||||
|
#
|
||||||
|
# ----- ADVANCED OPTIONS -----
|
||||||
|
#
|
||||||
|
|
||||||
|
# Acces control lists
|
||||||
|
# (machines/networks allowed/denied to control transmission -- comma separated)
|
||||||
|
# TR_ACL="+127.0.0.1"
|
||||||
|
|
||||||
|
# Enable use of block lists
|
||||||
|
# (read the Wiki about what else needs to be done)
|
||||||
|
# TR_BLOCK=no
|
||||||
|
|
||||||
|
# Control port used
|
||||||
|
#CTL_PORT=9091
|
||||||
|
|
||||||
|
# Initial speed limits (in K/s)
|
||||||
|
# default: no limits? 100/100 seems to be the hardcoded default
|
||||||
|
# TR_UP_SPEED=unlimited
|
||||||
|
# TR_DN_SPEED=unlimited
|
||||||
|
|
||||||
|
# Peer exchange
|
||||||
|
# TR_PX=no
|
||||||
|
|
||||||
|
# Port mapping using NAT/UPnP
|
||||||
|
# TR_PMAP=no
|
||||||
|
|
||||||
|
# Encryption
|
||||||
|
# Any of :
|
||||||
|
# TR_ENCRYPT=tolerated
|
||||||
|
# TR_ENCRYPT=prefered
|
||||||
|
# TR_ENCRYPT=required
|
41
net-p2p/transmission/transmission-1.34.ebuild
Normal file
41
net-p2p/transmission/transmission-1.34.ebuild
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
inherit autotools eutils
|
||||||
|
|
||||||
|
DESCRIPTION="BitTorrent client"
|
||||||
|
HOMEPAGE="http://www.transmissionbt.com/"
|
||||||
|
SRC_URI="http://download.transmissionbt.com/transmission/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
|
||||||
|
IUSE="gtk libnotify"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.16
|
||||||
|
>=net-misc/curl-7.15.0
|
||||||
|
>=dev-libs/openssl-0.9.8
|
||||||
|
gtk? ( >=x11-libs/gtk+-2.6
|
||||||
|
>=dev-libs/dbus-glib-0.72 )
|
||||||
|
libnotify? ( >=x11-libs/libnotify-0.4.4 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/gettext
|
||||||
|
>=dev-util/pkgconfig-0.19
|
||||||
|
gtk? ( >=dev-util/intltool-0.35 )"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
econf $(use_enable gtk) $(use_enable libnotify) --with-wx-config=no || die "configure failed"
|
||||||
|
emake || die "build failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make DESTDIR="${D}" install || die "install failed"
|
||||||
|
dodoc AUTHORS NEWS
|
||||||
|
|
||||||
|
doinitd "${FILESDIR}"/transmission
|
||||||
|
newconfd "${FILESDIR}"/transmission-confd transmission
|
||||||
|
diropts -m 755 -o nobody -g nogroup
|
||||||
|
dodir /var/transmission/config
|
||||||
|
dodir /var/transmission/downloads
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user