#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
#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
+++ /dev/null
-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
+++ /dev/null
-###############################################################################
-# #
-# 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)
ipfiremake libsigc++
ipfiremake libtorrent
ipfiremake rtorrent
- ipfiremake ipfireseeder
ipfiremake rsync
ipfiremake tcpwrapper
ipfiremake libevent
+++ /dev/null
-#!/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
+++ /dev/null
-#!/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}
+++ /dev/null
-#!/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
+++ /dev/null
-#!/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