]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ipfireseeder: removed.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Nov 2012 12:03:55 +0000 (13:03 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Nov 2012 12:03:55 +0000 (13:03 +0100)
config/rootfiles/common/armv5tel/initscripts
config/rootfiles/common/i586/initscripts
config/rootfiles/packages/ipfireseeder [deleted file]
lfs/ipfireseeder [deleted file]
make.sh
src/initscripts/init.d/ipfireseeder [deleted file]
src/paks/ipfireseeder/install.sh [deleted file]
src/paks/ipfireseeder/uninstall.sh [deleted file]
src/paks/ipfireseeder/update.sh [deleted file]

index ccb7bfb33892b6452fc92150cc1870f08e8d8d61..770c4f729ac8daf0b5d813e95be672dfc480c9ec 100644 (file)
@@ -36,7 +36,6 @@ etc/rc.d/init.d/halt
 #etc/rc.d/init.d/hostapd
 #etc/rc.d/init.d/icecream
 #etc/rc.d/init.d/imspector
-#etc/rc.d/init.d/ipfireseeder
 etc/rc.d/init.d/ipsec
 #etc/rc.d/init.d/lcd4linux
 #etc/rc.d/init.d/lcr
index 653060f72237f611564af15cb6ab931c45189556..cd61860146c06cddded1f0ab4a68958b939c66d3 100644 (file)
@@ -37,7 +37,6 @@ etc/rc.d/init.d/halt
 #etc/rc.d/init.d/hostapd
 #etc/rc.d/init.d/icecream
 #etc/rc.d/init.d/imspector
-#etc/rc.d/init.d/ipfireseeder
 etc/rc.d/init.d/ipsec
 #etc/rc.d/init.d/lcd4linux
 #etc/rc.d/init.d/lcr
diff --git a/config/rootfiles/packages/ipfireseeder b/config/rootfiles/packages/ipfireseeder
deleted file mode 100644 (file)
index 0577ade..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-etc/rc.d/init.d/ipfireseeder
-#var/ipfire/seeder
-var/ipfire/seeder/ipfire-2.9.MACHINE-full-core51.iso.torrent
-#var/log/seeder
-var/log/seeder/info
diff --git a/lfs/ipfireseeder b/lfs/ipfireseeder
deleted file mode 100644 (file)
index 8834bbc..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2011  IPFire Team  <info@ipfire.org>                          #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-VER        = 1.00
-
-THISAPP    = ipfireseeder-$(VER)
-DL_FILE    = ipfire-2.9.i586-full-core51.iso.torrent
-
-DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
-TARGET     = $(DIR_INFO)/$(THISAPP)
-SUP_ARCH   = i586
-PROG       = ipfireseeder
-PAK_VER    = 27
-
-DEPS       = "rtorrent"
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_MD5 = fa40cd03e4b0a11f8f703595a5c01a76
-
-install : $(TARGET)
-
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
-md5 : $(subst %,%_MD5,$(objects))
-
-dist: 
-       @$(PAK)
-
-###############################################################################
-# Downloading, checking, md5sum
-###############################################################################
-
-$(patsubst %,$(DIR_CHK)/%,$(objects)) :
-       @$(CHECK)
-
-$(patsubst %,$(DIR_DL)/%,$(objects)) :
-       @$(LOAD)
-
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-       @$(PREBUILD)
-       -mkdir -p /var/log/seeder /var/ipfire/seeder
-       cp -vf $(DIR_DL)/$(DL_FILE) /var/ipfire/seeder
-       echo "Folder for IPFireseeder data" > /var/log/seeder/info
-       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 55684d5742aaa0011feaed6e3e160378f9ddecb1..691a8d9299238909a0c261e9c271363a8417310e 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -624,7 +624,6 @@ buildipfire() {
   ipfiremake libsigc++
   ipfiremake libtorrent
   ipfiremake rtorrent
-  ipfiremake ipfireseeder
   ipfiremake rsync
   ipfiremake tcpwrapper
   ipfiremake libevent
diff --git a/src/initscripts/init.d/ipfireseeder b/src/initscripts/init.d/ipfireseeder
deleted file mode 100644 (file)
index 5ce5cdf..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-########################################################################
-# Begin $rc_base/init.d/ipfireseeder
-#
-# Description : This is a script that starts the torrent-seeder on your
-#                                                              local IPFire.
-#
-# Authors     : Michael Tremer (mitch@ipfire.org)
-#
-# Version     : 01.00
-#
-# Notes       :
-#
-########################################################################
-
-. /etc/sysconfig/rc
-. ${rc_functions}
-
-case "${1}" in
-       start)
-               boot_mesg "Starting IPFire Seeder..."
-               cd /var/log/seeder
-               # loadproc 
-               screen -dmS seeder /usr/bin/rtorrent -o port_range=35700-35700 \
-                       -o download_rate=180 -o upload_rate=15 \
-                       -o min_peers=10 -o max_peers=30 \
-                       -o min_peers_seed=1 -o max_peers_seed=5 \
-                       -o max_uploads=3 \
-                       /var/ipfire/seeder/*.torrent &
-               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
-               ;;
-               
-       stop)
-               boot_mesg "Stopping IPFire Seeder..."
-               killproc /usr/bin/rtorrent
-               ;;
-
-       reload)
-               boot_mesg "Reloading IPFire Seeder..."
-               reloadproc /usr/bin/rtorrent
-               ;;
-
-       restart)
-               ${0} stop
-               sleep 1
-               ${0} start
-               ;;
-
-       status)
-               statusproc /usr/bin/rtorrent
-               ;;
-
-       *)
-               echo "Usage: ${0} {start|stop|reload|restart|status}"
-               exit 1
-               ;;
-esac
-
-# End $rc_base/init.d/ipfireseeder
diff --git a/src/paks/ipfireseeder/install.sh b/src/paks/ipfireseeder/install.sh
deleted file mode 100644 (file)
index 81abf5a..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-############################################################################
-#                                                                          #
-# This file is part of the IPFire Firewall.                                #
-#                                                                          #
-# IPFire is free software; you can redistribute it and/or modify           #
-# it under the terms of the GNU General Public License as published by     #
-# the Free Software Foundation; either version 2 of the License, or        #
-# (at your option) any later version.                                      #
-#                                                                          #
-# IPFire is distributed in the hope that it will be useful,                #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
-# GNU General Public License for more details.                             #
-#                                                                          #
-# You should have received a copy of the GNU General Public License        #
-# along with IPFire; if not, write to the Free Software                    #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
-#                                                                          #
-# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
-#                                                                          #
-############################################################################
-#
-. /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
deleted file mode 100644 (file)
index 888c701..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-############################################################################
-#                                                                          #
-# This file is part of the IPFire Firewall.                                #
-#                                                                          #
-# IPFire is free software; you can redistribute it and/or modify           #
-# it under the terms of the GNU General Public License as published by     #
-# the Free Software Foundation; either version 2 of the License, or        #
-# (at your option) any later version.                                      #
-#                                                                          #
-# IPFire is distributed in the hope that it will be useful,                #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
-# GNU General Public License for more details.                             #
-#                                                                          #
-# You should have received a copy of the GNU General Public License        #
-# along with IPFire; if not, write to the Free Software                    #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
-#                                                                          #
-# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
-#                                                                          #
-############################################################################
-#
-. /opt/pakfire/lib/functions.sh
-stop_service ${NAME}
-
-#prevent erasing the downloaded data at uninstall/update
-cat /opt/pakfire/db/rootfiles/ipfireseeder | \
-    grep -v "var/ipfire/seeder" | \
-    grep -v "var/log/seeder" > /opt/pakfire/db/rootfiles/ipfireseeder.tmp
-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
deleted file mode 100644 (file)
index 89c40d0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-############################################################################
-#                                                                          #
-# This file is part of the IPFire Firewall.                                #
-#                                                                          #
-# IPFire is free software; you can redistribute it and/or modify           #
-# it under the terms of the GNU General Public License as published by     #
-# the Free Software Foundation; either version 2 of the License, or        #
-# (at your option) any later version.                                      #
-#                                                                          #
-# IPFire is distributed in the hope that it will be useful,                #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
-# GNU General Public License for more details.                             #
-#                                                                          #
-# You should have received a copy of the GNU General Public License        #
-# along with IPFire; if not, write to the Free Software                    #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
-#                                                                          #
-# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
-#                                                                          #
-############################################################################
-#
-. /opt/pakfire/lib/functions.sh
-./uninstall.sh
-./install.sh