# HG changeset patch # User Christophe Lincoln # Date 1230126929 -3600 # Node ID fe3b7cbf1a7ffed731f136041b5e5a891d2eb6e5 # Parent 39ce1b3aaf1cabb04f7ec7bedf41f7158d0aad20 transmission-web: we dont need a web server, standalone: http://localhost:9091 diff -r 39ce1b3aaf1c -r fe3b7cbf1a7f transmission-web/receipt --- a/transmission-web/receipt Wed Dec 24 14:29:57 2008 +0100 +++ b/transmission-web/receipt Wed Dec 24 14:55:29 2008 +0100 @@ -5,7 +5,7 @@ CATEGORY="network" SHORT_DESC="Transmission web interface." MAINTAINER="pankso@slitaz.org" -DEPENDS="transmission lighttpd" +DEPENDS="transmission" WANTED="transmission" WEB_SITE="http://www.transmissionbt.com/" @@ -19,37 +19,9 @@ post_install() { - # Configure lighttpd server - if [ -f $1/etc/lighttpd/lighttpd.conf ]; then - if ! grep -q /usr/share/transmission/web/ $1/etc/lighttpd/lighttpd.conf; then - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/transmission/" => "/usr/share/transmission/web/",|g' -i $1/etc/lighttpd/lighttpd.conf - if [ -z "$1" ]; then - # Start Web server. - /etc/init.d/lighttpd stop - /etc/init.d/lighttpd start - fi - fi - fi - # Configure apache server - if [ -f $1/etc/apache/httpd.conf ]; then - if [ ! -f $1/etc/apache/conf.d/transmission ]; then - cat > $1/etc/apache/conf.d/transmission < - Alias /transmission /usr/share/transmission/web - - - DirectoryIndex index.html - Options +FollowSymLinks - AllowOverride None - Order allow,deny - Allow from all - -EOT - if [ -z "$1" ]; then - # Start Web server. - /etc/init.d/apache stop - /etc/init.d/apache start - fi - fi - fi + # Info message + echo " +You must activate the web interface throught Transmission and then +connect to: http://localhost:9091" + echo "" }