transmission better choice over ctorrent according to users voices
a lot of people confirmed that ctorrent is segfaulting to often and resource intensiv, they preferred transmission over ctorrent
transmission has a daemon mode which is quite excellent for headless embedded devices the webinterface is a real eyecandy
PATCH 1/1 introducing transmission bittorrent client
introduces version 2.04 of transmission,
it has an excellent web interface which runs on port 9091 per default, the patch provides two options, enable cli and/or remote component
the work is based on the patch from Kelvin Cheung
--- fs/skeleton/var/transmission | 1 + package/Config.in | 1 + package/transmission/Config.in | 23 +++++++++ package/transmission/S92transmission | 88 ++++++++++++++++++++++++++++++++++ package/transmission/transmission.mk | 32 ++++++++++++ 5 files changed, 145 insertions(+), 0 deletions(-) create mode 120000 fs/skeleton/var/transmission create mode 100755 package/transmission/Config.in create mode 100755 package/transmission/S92transmission create mode 100644 package/transmission/transmission.mk
fs/skeleton/var/transmission new file +1 -0
@@ -0,0 +1 @@ +../tmp
package/Config.in +1 -0
@@ -427,6 +427,7 @@ source "package/thttpd/Config.in" source "package/tinyhttpd/Config.in" endif source "package/tn5250/Config.in" +source "package/transmission/Config.in" source "package/ttcp/Config.in" source "package/udpcast/Config.in" source "package/vpnc/Config.in"
package/transmission/Config.in new file +23 -0
@@ -0,0 +1,23 @@ +config BR2_PACKAGE_TRANSMISSION + bool "transmission" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBEVENT + default n + help + transmission - Transmission BitTorrent Client + +config BR2_PACKAGE_TRANSMISSION_CLI + bool "transmissioncli" + depends on BR2_PACKAGE_TRANSMISSION + default no + help + Install transmission command line interface. + +config BR2_PACKAGE_TRANSMISSION_REMOTE + bool "transmission-remote" + depends on BR2_PACKAGE_TRANSMISSION + default yes + help + Install transmission remote management tool.
package/transmission/S92transmission new file +88 -0
88 lines not on this page · raw message
package/transmission/transmission.mk new file +32 -0
@@ -0,0 +1,32 @@ +############################################################# +# +# transmission +# +############################################################# +# +# +TRANSMISSION_VERSION=2.04 +TRANSMISSION_SOURCE=transmission-$(TRANSMISSION_VERSION).tar.bz2 +TRANSMISSION_SITE=http://mirrors.m0k.org/transmission/files/ +TRANSMISSION_LIBTOOL_PATCH=NO +TRANSMISSION_DEPENDENCIES= host-pkg-config host-intltool zlib openssl libcurl libevent + +TRANSMISSION_CONF_OPT = --prefix=/usr \ + --localstatedir=/var/transmission \ + --disable-gtk \ + --disable-libnotify \ + --enable-daemon \ + --with-zlib=$(STAGING_DIR) \ + $(DISABLE_NLS) \ + $(DISABLE_LARGEFILE) + +ifneq ($(BR2_PACKAGE_TRANSMISSION_CLI),y) +TRANSMISSION_CONF_OPT += --disable-cli +endif + +ifneq ($(BR2_PACKAGE_TRANSMISSION_REMOTE),y) +TRANSMISSION_CONF_OPT += --disable-remote +endif + + +$(eval $(call AUTOTARGETS,package,transmission))
Signature · 1 line
1.7.1
PATCH 1/1 introducing transmission bittorrent client
To be honest I post patch for transmission 4 months ago and also splashy package month ago
and the're still not in the release. Why?
Quoted 203 lines · Marcus Osdoba
introduces version 2.04 of transmission,
it has an excellent web interface which runs on port 9091 per default, the patch provides two options, enable cli and/or remote componentthe work is based on the patch from Kelvin Cheung
Signed-off-by Marcus Osdoba <[email protected]>---
?fs/skeleton/var/transmission ? ? ? ? | ? ?1 + ?package/Config.in ? ? ? ? ? ? ? ? ? ?| ? ?1 + ?package/transmission/Config.in ? ? ? | ? 23 +++++++++ ?package/transmission/S92transmission | ? 88 ++++++++++++++++++++++++++++++++++ ?package/transmission/transmission.mk | ? 32 ++++++++++++?5 files changed, 145 insertions(+), 0 deletions(-) ?create mode 120000
fs/skeleton/var/transmission?create mode 100755 package/transmission/Config.in ?create mode 100755 package/transmission/S92transmission ?create mode 100644package/transmission/transmission.mkfs/skeleton/var/transmission new file +1
-0@@ -0,0 +1 @@ +../tmppackage/Config.in +0
-0@@ -427,6 +427,7 @@ source "package/thttpd/Config.in"?source "package/tinyhttpd/Config.in"
?endif
?source "package/tn5250/Config.in"
+source "package/transmission/Config.in"
?source "package/ttcp/Config.in"
?source "package/udpcast/Config.in"
?source "package/vpnc/Config.in"package/transmission/Config.in new file +23
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_TRANSMISSION + ? ? ? bool "transmission" + ? ? ? select BR2_PACKAGE_ZLIB + ? ? ? select BR2_PACKAGE_OPENSSL + ? ? ? select BR2_PACKAGE_LIBCURL + ? ? ? select BR2_PACKAGE_LIBEVENT + ? ? ? default n + ? ? ? help + ? ? ? ? transmission - Transmission BitTorrent Client + +config BR2_PACKAGE_TRANSMISSION_CLI + ? ? ? bool "transmissioncli" + ? ? ? depends on BR2_PACKAGE_TRANSMISSION + ? ? ? default no + ? ? ? help + ? ? ? ? Install transmission command line interface. + +config BR2_PACKAGE_TRANSMISSION_REMOTE + ? ? ? bool "transmission-remote" + ? ? ? depends on BR2_PACKAGE_TRANSMISSION + ? ? ? default yes + ? ? ? help + ? ? ? ? Install transmission remote management tool.package/transmission/S92transmission new file +88
-0@@ -0,0 +1,88 @@ +#!/bin/sh +if [ ! -z "$2" ]; then + ? ? ? TRANSMISSION_ARGS="$2" +else + ? ? ? TRANSMISSION_ARGS="" +fi + +if [ ! -z "$3" ]; then + ? ? ? NET_INTERFACE="$3" +else + ? ? ? NET_INTERFACE="" +fi + +DESC="bittorrent client" +NAME=transmission-daemon +DAEMON=$(which $NAME) +SCRIPTNAME=/etc/init.d/$0 + +[ -x "$DAEMON" ] || exit 0 + +do_start() +{ + ? ? ? if [ ! -z "$NET_INTERFACE" ]; then + ? ? ? ? ? ? ? # poll network interface + ? ? ? ? ? ? ? IFCONFIG_OUTPUT=`ifconfig $NET_INTERFACE` + ? ? ? ? ? ? ? IP_ADDR=`expr match "$IFCONFIG_OUTPUT" '.*inet addr:\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*'` + ? ? ? ? ? ? ? while [ -z "$IP_ADDR" ] + ? ? ? ? ? ? ? do + ? ? ? ? ? ? ? ? ? ? ? sleep 5 + ? ? ? ? ? ? ? ? ? ? ? IFCONFIG_OUTPUT=`ifconfig $NET_INTERFACE` + ? ? ? ? ? ? ? ? ? ? ? IP_ADDR=`expr match "$IFCONFIG_OUTPUT" '.*inet addr:\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*'` + ? ? ? ? ? ? ? done + ? ? ? fi + ? ? ? if [ -z "$TRANSMISSION_ARGS" ]; then + ? ? ? ? ? ? ? start-stop-daemon -S -b -x ${DAEMON} + ? ? ? else + ? ? ? ? ? ? ? start-stop-daemon -S -b -x ${DAEMON} -- ${TRANSMISSION_ARGS} + ? ? ? fi + ? ? ? return $? +} + +do_stop() +{ + ? ? ? start-stop-daemon -K -b -x ${DAEMON} + ? ? ? return $? +} + +case "$1" in + ? ? ? start) + ? ? ? ? ? ? ? echo "Starting $DESC" "$NAME..." + ? ? ? ? ? ? ? do_start + ? ? ? ? ? ? ? case "$?" in + ? ? ? ? ? ? ? ? ? ? ? 0) echo " ? Start $DESC $NAME: SUCCESS" ;; + ? ? ? ? ? ? ? ? ? ? ? *) + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? echo " ? Start $DESC $NAME: FAILED" + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? exit 3 + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ;; + ? ? ? ? ? ? ? esac + ? ? ? ? ? ? ? ;; + ? ? ? stop) + ? ? ? ? ? ? ? echo "Stopping $DESC $NAME..." + ? ? ? ? ? ? ? do_stop + ? ? ? ? ? ? ? case "$?" in + ? ? ? ? ? ? ? ? ? ? ? 0) echo " ? Stop $DESC $NAME: SUCCESS" ;; + ? ? ? ? ? ? ? ? ? ? ? *) + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? echo " ? Stop $DESC $NAME: FAILED" + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? exit 3 + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ;; + ? ? ? ? ? ? ? esac + ? ? ? ? ? ? ? ;; + ? ? ? restart|force-reload) + ? ? ? ? ? ? ? echo "Restarting $DESC $NAME..." + ? ? ? ? ? ? ? do_stop + ? ? ? ? ? ? ? sleep 2 + ? ? ? ? ? ? ? do_start + ? ? ? ? ? ? ? case "$?" in + ? ? ? ? ? ? ? ? ? ? ? 0) echo " ? Restart $DESC $NAME: SUCCESS" ;; + ? ? ? ? ? ? ? ? ? ? ? *) + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? echo " ? Restart $DESC $NAME: FAILED: couldn't start $NAME" + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? exit 3 + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ;; + ? ? ? ? ? ? ? esac + ? ? ? ? ? ? ? ;; + ? ? ? *) + ? ? ? ? ? ? ? echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + ? ? ? ? ? ? ? exit 3 + ? ? ? ? ? ? ? ;; +esacpackage/transmission/transmission.mk new file +32
-1@@ -0,0 +1,32 @@ +############################################################# +# +# transmission +# +############################################################# +# +# +TRANSMISSION_VERSION=2.04 +TRANSMISSION_SOURCE=transmission-$(TRANSMISSION_VERSION).tar.bz2 +TRANSMISSION_SITE=http://mirrors.m0k.org/transmission/files/ +TRANSMISSION_LIBTOOL_PATCH=NO +TRANSMISSION_DEPENDENCIES= host-pkg-config host-intltool zlib openssl libcurl libevent + +TRANSMISSION_CONF_OPT = --prefix=/usr \ + ? ? ? ? ? ? ? ? ? ? ? --localstatedir=/var/transmission \ + ? ? ? ? ? ? ? ? ? ? ? --disable-gtk \ + ? ? ? ? ? ? ? ? ? ? ? --disable-libnotify \ + ? ? ? ? ? ? ? ? ? ? ? --enable-daemon \ + ? ? ? ? ? ? ? ? ? ? ? --with-zlib=$(STAGING_DIR) \ + ? ? ? ? ? ? ? ? ? ? ? $(DISABLE_NLS) \ + ? ? ? ? ? ? ? ? ? ? ? $(DISABLE_LARGEFILE) + +ifneq ($(BR2_PACKAGE_TRANSMISSION_CLI),y) +TRANSMISSION_CONF_OPT += --disable-cli +endif + +ifneq ($(BR2_PACKAGE_TRANSMISSION_REMOTE),y) +TRANSMISSION_CONF_OPT += --disable-remote +endif + + +$(eval $(call AUTOTARGETS,package,transmission)) --1.7.1
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Marek
Signature · 10 lines
as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
PATCH 1/1 introducing transmission bittorrent client
Hello Belisko,
Quoted 3 lines · On Fri, 10 Sep 2010 07:07:36 +0200 Belisko Marek <[email protected]>…
To be honest I post patch for transmission 4 months ago and also splashy package month ago
and the're still not in the release. Why?
We also have an enhancement bug since quite some time about
transmission: https://bugs.busybox.net/show_bug.cgi?id=743. Sorry about this delay/lack of reaction on those topics.
Belisko, Marcus, could you take the of those three proposals, and submit a new version of the patch ? I promess to take care of it and make sure it gets merged.
Thanks,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 introducing transmission bittorrent client
Hi,
Quoted 5 lines · Thomas Petazzoni
Hello Belisko,
On Fri, 10 Sep 2010 07:07:36 +0200
Belisko Marek <[email protected]> wrote:
Quoted 7 lines
Quoted 3 lines
To be honest I post patch for transmission 4 months ago and also splashy package month ago
and the're still not in the release. Why?We also have an enhancement bug since quite some time about
transmission: https://bugs.busybox.net/show_bug.cgi?id=743. Sorry about this delay/lack of reaction on those topics.
No problem about that but you have then more work for reading same (similar) patches.
Quoted 4 lines
Belisko, Marcus, could you take the of those three proposals, and submit a new version of the patch ? I promess to take care of it and make sure it gets merged.
Marcus could you please make update version and repost?
Quoted 14 lines
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Thanks,
Marek
Signature · 10 lines
as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
PATCH 1/1 introducing transmission bittorrent client
Am 10.09.2010 10:15, schrieb Belisko Marek:
Quoted 8 lines
Belisko, Marcus, could you take the of those three proposals, and submit a new version of the patch ? I promess to take care of it and make sure it gets merged.
Marcus could you please make update version and repost? Thanks,Marek
Hi,
I included Thomas' suggestions and the actual version I found in bugzilla. The test-build before sending is currently running....
Regards,
Marcus
PATCH 1/1 introducing transmission bittorrent client
In reply to Marcus OsdobaHello Marcus,
Quoted 1 line · On Thu, 9 Sep 2010 22:28:52 +0200 Marcus Osdoba…
fs/skeleton/var/transmission | 1 +
I'd prefer not to add this to the generic skeleton, and instead have the Transmission installation process create this symlink.
package/transmission/Config.in line 7
Quoted 10 lines
package/transmission/Config.in new file +7
-0@@ -0,0 +1,23 @@ +config BR2_PACKAGE_TRANSMISSION + bool "transmission" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBEVENT + default n
default n is not needed, as this is the default.
package/transmission/Config.in line 14
Quoted 7 lines
package/transmission/Config.in new file +7
-0+ help + transmission - Transmission BitTorrent Client + +config BR2_PACKAGE_TRANSMISSION_CLI + bool "transmissioncli" + depends on BR2_PACKAGE_TRANSMISSION + default no
Not needed.
package/transmission/Config.in line 21
Quoted 7 lines
package/transmission/Config.in new file +7
-0+ help + Install transmission command line interface. + +config BR2_PACKAGE_TRANSMISSION_REMOTE + bool "transmission-remote" + depends on BR2_PACKAGE_TRANSMISSION + default yes
I'm not sure "default yes" works, we use "default y" everywhere.
package/transmission/Config.in
Quoted 12 lines
package/transmission/Config.in new file +12
-0+ help + Install transmission remote management tool. + if [ ! -z "$NET_INTERFACE" ]; then + # poll network interface + IFCONFIG_OUTPUT=`ifconfig $NET_INTERFACE` + IP_ADDR=`expr match "$IFCONFIG_OUTPUT" '.*inet addr:\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*'` + while [ -z "$IP_ADDR" ] + do + sleep 5 + IFCONFIG_OUTPUT=`ifconfig $NET_INTERFACE` + IP_ADDR=`expr match "$IFCONFIG_OUTPUT" '.*inet addr:\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*'` + done
Hum, this will stall the boot process quite a bit. We don't have any other solution ?
(I think for the initial introduction of transmission to Buildroot, it's ok, since it won't be a regression, but in the long run, having such scripts doesn't really look nice).
Quoted 6 lines
+++
b/package/transmission/transmission.mkpackage/transmission/Config.in new file +4
-0@@ -0,0 +1,32 @@ +############################################################# +# +# transmission +#
package/transmission/Config.in line 14
Quoted 10 lines
package/transmission/Config.in new file +10
-0+############################################################# +# +# +TRANSMISSION_VERSION=2.04 +TRANSMISSION_SOURCE=transmission-$(TRANSMISSION_VERSION).tar.bz2 +TRANSMISSION_SITE=http://mirrors.m0k.org/transmission/files/ +TRANSMISSION_LIBTOOL_PATCH=NO +TRANSMISSION_DEPENDENCIES= host-pkg-config host-intltool zlib openssl libcurl libevent + +TRANSMISSION_CONF_OPT = --prefix=/usr \
Remove --prefix=/usr, that's the default.
package/transmission/Config.in line 21
Quoted 7 lines
package/transmission/Config.in new file +7
-0+ --localstatedir=/var/transmission \ + --disable-gtk \ + --disable-libnotify \ + --enable-daemon \ + --with-zlib=$(STAGING_DIR) \ + $(DISABLE_NLS) \ + $(DISABLE_LARGEFILE)
Remove $(DISABLE_NLS) and $(DISABLE_LARGEFILE), that's the default.
To know what the default options are, look at:
http://git.buildroot.net/buildroot/tree/package/Makefile.autotools.in#n88
The rest looks good to me.
Regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com