This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 7c42d6855321cb3247e476235fbc7538cb81f479 (commit) from d6d19d9280b1232629ed21643b2646e98d01fcaf (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 7c42d6855321cb3247e476235fbc7538cb81f479 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Thu Aug 26 18:47:39 2010 +0200
Ipfireseeder: open also 35700 udp in external access. Ipfireseeder: autorestart at reconnect.
-----------------------------------------------------------------------
Summary of changes: lfs/ipfireseeder | 2 +- src/initscripts/init.d/ipfireseeder | 1 + src/paks/ipfireseeder/install.sh | 3 +++ src/paks/ipfireseeder/uninstall.sh | 8 ++++++++ src/paks/ipfireseeder/update.sh | 2 +- 5 files changed, 14 insertions(+), 2 deletions(-)
Difference in files: diff --git a/lfs/ipfireseeder b/lfs/ipfireseeder index 3d1a32f..a0921c6 100644 --- a/lfs/ipfireseeder +++ b/lfs/ipfireseeder @@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ipfireseeder -PAK_VER = 13 +PAK_VER = 14
DEPS = "rtorrent"
diff --git a/src/initscripts/init.d/ipfireseeder b/src/initscripts/init.d/ipfireseeder index def3292..5ce5cdf 100644 --- a/src/initscripts/init.d/ipfireseeder +++ b/src/initscripts/init.d/ipfireseeder @@ -30,6 +30,7 @@ case "${1}" in evaluate_retval if ! grep -q "35700:35700" /var/ipfire/xtaccess/config ; then echo "tcp,0.0.0.0/0,35700:35700,on,0.0.0.0,IPFireSeeder" >> /var/ipfire/xtaccess/config + echo "udp,0.0.0.0/0,35700:35700,on,0.0.0.0,IPFireSeeder" >> /var/ipfire/xtaccess/config /usr/local/bin/setxtaccess fi ;; diff --git a/src/paks/ipfireseeder/install.sh b/src/paks/ipfireseeder/install.sh index 76f1efe..81abf5a 100644 --- a/src/paks/ipfireseeder/install.sh +++ b/src/paks/ipfireseeder/install.sh @@ -23,4 +23,7 @@ # . /opt/pakfire/lib/functions.sh extract_files +ln -s ../../ipfireseeder /etc/rc.d/init.d/networking/red.up/90-S-ipfireseeder +ln -s ../../ipfireseeder /etc/rc.d/init.d/networking/red.down/01-K-ipfireseeder + start_service --delay 90 --background ${NAME} diff --git a/src/paks/ipfireseeder/uninstall.sh b/src/paks/ipfireseeder/uninstall.sh index 973a2f9..888c701 100644 --- a/src/paks/ipfireseeder/uninstall.sh +++ b/src/paks/ipfireseeder/uninstall.sh @@ -31,4 +31,12 @@ cat /opt/pakfire/db/rootfiles/ipfireseeder | \ mv /opt/pakfire/db/rootfiles/ipfireseeder.tmp \ /opt/pakfire/db/rootfiles/ipfireseeder
+grep -v "IPFireSeeder" /var/ipfire/xtaccess/config > /var/ipfire/xtaccess/config.tmp +mv /var/ipfire/xtaccess/config.tmp /var/ipfire/xtaccess/config +chown nobody:nobody /var/ipfire/xtaccess/config +chmod 644 /var/ipfire/xtaccess/config + +rm -f /etc/rc.d/rc?.d/???ipfireseeder +rm -f /etc/rc.d/init.d/networking/red.*/??-?-ipfireseeder + remove_files diff --git a/src/paks/ipfireseeder/update.sh b/src/paks/ipfireseeder/update.sh index 10b3490..89c40d0 100644 --- a/src/paks/ipfireseeder/update.sh +++ b/src/paks/ipfireseeder/update.sh @@ -22,5 +22,5 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh -/etc/init.d/ipfireseeder stop +./uninstall.sh ./install.sh
hooks/post-receive -- IPFire 2.x development tree