wok diff transmission-web/receipt @ rev 1934
Sylpheed upgrade to 2.6.0
author | hacker@aspic |
---|---|
date | Thu Dec 25 22:53:06 2008 +0100 (2008-12-25) |
parents | 6fde583951a3 |
children | 594e1cf79d49 |
line diff
1.1 --- a/transmission-web/receipt Thu Dec 11 19:45:59 2008 +0000 1.2 +++ b/transmission-web/receipt Thu Dec 25 22:53:06 2008 +0100 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Transmission web interface." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="transmission lighttpd" 1.8 +DEPENDS="transmission" 1.9 WANTED="transmission" 1.10 WEB_SITE="http://www.transmissionbt.com/" 1.11 1.12 @@ -19,37 +19,9 @@ 1.13 1.14 post_install() 1.15 { 1.16 - # Configure lighttpd server 1.17 - if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 1.18 - if ! grep -q /usr/share/transmission/web/ $1/etc/lighttpd/lighttpd.conf; then 1.19 - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/transmission/" => "/usr/share/transmission/web/",|g' -i $1/etc/lighttpd/lighttpd.conf 1.20 - if [ -z "$1" ]; then 1.21 - # Start Web server. 1.22 - /etc/init.d/lighttpd stop 1.23 - /etc/init.d/lighttpd start 1.24 - fi 1.25 - fi 1.26 - fi 1.27 - # Configure apache server 1.28 - if [ -f $1/etc/apache/httpd.conf ]; then 1.29 - if [ ! -f $1/etc/apache/conf.d/transmission ]; then 1.30 - cat > $1/etc/apache/conf.d/transmission <<EOT 1.31 -<IfModule mod_alias.c> 1.32 - Alias /transmission /usr/share/transmission/web 1.33 -</IfModule> 1.34 -<DirectoryMatch /usr/share/transmission/web> 1.35 - DirectoryIndex index.html 1.36 - Options +FollowSymLinks 1.37 - AllowOverride None 1.38 - Order allow,deny 1.39 - Allow from all 1.40 -</DirectoryMatch> 1.41 -EOT 1.42 - if [ -z "$1" ]; then 1.43 - # Start Web server. 1.44 - /etc/init.d/apache stop 1.45 - /etc/init.d/apache start 1.46 - fi 1.47 - fi 1.48 - fi 1.49 + # Info message 1.50 + echo " 1.51 +You must activate the web interface throught Transmission and then 1.52 +connect to: http://localhost:9091" 1.53 + echo "" 1.54 }