From: Michael Tremer Date: Sun, 23 Aug 2009 20:17:04 +0000 (+0200) Subject: Remove fcron. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bc2dbcde42e52579d75190c9f7b5e73064f79b8;p=ipfire-3.x.git Remove fcron. --- diff --git a/config/fcron/crontab b/config/fcron/crontab deleted file mode 100644 index 66e473f9a..000000000 --- a/config/fcron/crontab +++ /dev/null @@ -1,15 +0,0 @@ -# -# crontab for ipfire -# -SHELL=/bin/bash -PATH=/sbin:/bin:/usr/sbin:/usr/bin -MAILTO=root -HOME=/ - -# Do all jobs in this directories -*/1 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.minutely -*/5 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.cyclic -01 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.hourly -&nice(10),bootrun 25 1 * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.daily -&nice(10),bootrun 47 2 * * 0 test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.weekly -&nice(10),bootrun 52 3 1 * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.monthly diff --git a/config/fcron/minutely/loadstat b/config/fcron/minutely/loadstat deleted file mode 100644 index 9c6fdb968..000000000 --- a/config/fcron/minutely/loadstat +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/perl - -use RRDs; -my $LOAD = ''; -my $CMD = "awk '{print \$1\":\"\$2\":\"\$3}' < /proc/loadavg"; -$LOAD=`$CMD`; -chomp($LOAD); -RRDs::update ("/var/log/rrd/load.rrd", - "-t", "load1:load5:load15", - "N:$LOAD"); - -my $ERROR = RRDs::error; -print "$ERROR\n" if $ERROR; diff --git a/lfs/fcron b/lfs/fcron deleted file mode 100644 index 20328b59e..000000000 --- a/lfs/fcron +++ /dev/null @@ -1,106 +0,0 @@ -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # -# # -# 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 . # -# # -############################################################################### - -############################################################################### -# Definitions -############################################################################### - -include Config - -PKG_NAME = fcron -PKG_VER = 3.0.4 -PKG_REL = 0 - -THISAPP = $(PKG_NAME)-$(PKG_VER) -DL_FILE = $(THISAPP).src.tar.gz -DIR_APP = $(DIR_SRC)/$(THISAPP) - -OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) - -MAINTAINER = -GROUP = System/Daemons -CORE = yes -EXTRA = no -DEBUG = no -BUILD_DEPS = -DEPS = pam vim - -URL = http://fcron.free.fr/ -LICENSE = GPLv2+ -SHORT_DESC = A task scheduler. - -define LONG_DESC - Fcron is a scheduler. It aims at replacing Vixie Cron, so it implements most \ - of its functionalities. \ - But contrary to Vixie Cron, fcron does not need your system to be up 7 days \ - a week, 24 hours a day: it also works well with systems which are \ - not running neither all the time nor regularly (contrary to anacrontab). \ - In other words, fcron does both the job of Vixie Cron and anacron, but does \ - even more and better :)) ... -endef - -############################################################################### -# Top-level Rules -############################################################################### - -objects = $(DL_FILE) - -download: $(objects) - -info: - $(DO_PKG_INFO) - -install: $(OBJECT) - -packages: $(PACKAGES) - -$(PACKAGES): $(OBJECT) - @$(DO_PACKAGE) - -$(objects): - @$(LOAD) - -############################################################################### -# Installation Details -############################################################################### - -$(OBJECT): $(objects) - @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && \ - ./configure \ - $(CONFIGURE_ARCH) \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --without-sendmail \ - --with-boot-install=no - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) - cd $(DIR_APP) && make install - - mkdir -p /etc/fcron.minutely /etc/fcron.cyclic /etc/fcron.hourly \ - /etc/fcron.daily /etc/fcron.weekly /etc/fcron.monthly - - fcrontab $(DIR_CONFIG)/$(PKG_NAME)/crontab - - $(INSTALL_INITSCRIPT) - @rm -rf $(DIR_APP) - @$(POSTBUILD) diff --git a/make.sh b/make.sh index 6c63526b9..84f0e5f96 100755 --- a/make.sh +++ b/make.sh @@ -345,7 +345,6 @@ ipfire_build() { ### Building some important tools # ipfire_make ulogd2 - ipfire_make fcron ipfire_make which ipfire_make screen ipfire_make rrdtool diff --git a/src/initscripts/extras/fcron.conf b/src/initscripts/extras/fcron.conf deleted file mode 100644 index 13a0711ec..000000000 --- a/src/initscripts/extras/fcron.conf +++ /dev/null @@ -1,9 +0,0 @@ -description "Start the cron daemon" -author "IPFire Team" - -start on stopped mountfs -stop on shutdown or reboot - -exec /usr/sbin/fcron -y -b -expect fork -respawn diff --git a/src/rootfiles/core/fcron b/src/rootfiles/core/fcron deleted file mode 100644 index c6bfbd8d8..000000000 --- a/src/rootfiles/core/fcron +++ /dev/null @@ -1,92 +0,0 @@ -etc/fcron.allow -etc/fcron.conf -etc/fcron.cyclic -etc/fcron.daily -etc/fcron.deny -etc/fcron.hourly -etc/fcron.minutely -etc/fcron.monthly -etc/fcron.weekly -etc/init/fcron.conf -etc/pam.d/fcron -etc/pam.d/fcrontab -#usr/bin/fcrondyn -#usr/bin/fcronsighup -usr/bin/fcrontab -usr/sbin/fcron -#usr/share/doc/fcron-3.0.4 -#usr/share/doc/fcron-3.0.4/en -#usr/share/doc/fcron-3.0.4/en/HTML -#usr/share/doc/fcron-3.0.4/en/HTML/LEGALNOTICE.html -#usr/share/doc/fcron-3.0.4/en/HTML/changes.html -#usr/share/doc/fcron-3.0.4/en/HTML/faq.html -#usr/share/doc/fcron-3.0.4/en/HTML/fcron.8.html -#usr/share/doc/fcron-3.0.4/en/HTML/fcron.conf.5.html -#usr/share/doc/fcron-3.0.4/en/HTML/fcrondyn.1.html -#usr/share/doc/fcron-3.0.4/en/HTML/fcrontab.1.html -#usr/share/doc/fcron-3.0.4/en/HTML/fcrontab.5.html -#usr/share/doc/fcron-3.0.4/en/HTML/fdl.html -#usr/share/doc/fcron-3.0.4/en/HTML/gpl.html -#usr/share/doc/fcron-3.0.4/en/HTML/how-and-why.html -#usr/share/doc/fcron-3.0.4/en/HTML/index.html -#usr/share/doc/fcron-3.0.4/en/HTML/install.html -#usr/share/doc/fcron-3.0.4/en/HTML/manpages.html -#usr/share/doc/fcron-3.0.4/en/HTML/readme.html -#usr/share/doc/fcron-3.0.4/en/HTML/relnotes.html -#usr/share/doc/fcron-3.0.4/en/HTML/thanks.html -#usr/share/doc/fcron-3.0.4/en/HTML/todo.html -#usr/share/doc/fcron-3.0.4/en/HTML/using-fcron.html -#usr/share/doc/fcron-3.0.4/en/txt -#usr/share/doc/fcron-3.0.4/en/txt/changes.txt -#usr/share/doc/fcron-3.0.4/en/txt/faq.txt -#usr/share/doc/fcron-3.0.4/en/txt/gpl.txt -#usr/share/doc/fcron-3.0.4/en/txt/install.txt -#usr/share/doc/fcron-3.0.4/en/txt/readme.txt -#usr/share/doc/fcron-3.0.4/en/txt/relnotes.txt -#usr/share/doc/fcron-3.0.4/en/txt/thanks.txt -#usr/share/doc/fcron-3.0.4/en/txt/todo.txt -#usr/share/doc/fcron-3.0.4/fr -#usr/share/doc/fcron-3.0.4/fr/HTML -#usr/share/doc/fcron-3.0.4/fr/HTML/LEGALNOTICE.html -#usr/share/doc/fcron-3.0.4/fr/HTML/changes.html -#usr/share/doc/fcron-3.0.4/fr/HTML/faq.html -#usr/share/doc/fcron-3.0.4/fr/HTML/fcron.8.html -#usr/share/doc/fcron-3.0.4/fr/HTML/fcron.conf.5.html -#usr/share/doc/fcron-3.0.4/fr/HTML/fcrondyn.1.html -#usr/share/doc/fcron-3.0.4/fr/HTML/fcrontab.1.html -#usr/share/doc/fcron-3.0.4/fr/HTML/fcrontab.5.html -#usr/share/doc/fcron-3.0.4/fr/HTML/fdl.html -#usr/share/doc/fcron-3.0.4/fr/HTML/gpl.html -#usr/share/doc/fcron-3.0.4/fr/HTML/how-and-why.html -#usr/share/doc/fcron-3.0.4/fr/HTML/index.html -#usr/share/doc/fcron-3.0.4/fr/HTML/install.html -#usr/share/doc/fcron-3.0.4/fr/HTML/manpages.html -#usr/share/doc/fcron-3.0.4/fr/HTML/readme.html -#usr/share/doc/fcron-3.0.4/fr/HTML/relnotes.html -#usr/share/doc/fcron-3.0.4/fr/HTML/thanks.html -#usr/share/doc/fcron-3.0.4/fr/HTML/todo.html -#usr/share/doc/fcron-3.0.4/fr/HTML/using-fcron.html -#usr/share/doc/fcron-3.0.4/fr/txt -#usr/share/doc/fcron-3.0.4/fr/txt/changes.txt -#usr/share/doc/fcron-3.0.4/fr/txt/faq.txt -#usr/share/doc/fcron-3.0.4/fr/txt/gpl.txt -#usr/share/doc/fcron-3.0.4/fr/txt/install.txt -#usr/share/doc/fcron-3.0.4/fr/txt/readme.txt -#usr/share/doc/fcron-3.0.4/fr/txt/relnotes.txt -#usr/share/doc/fcron-3.0.4/fr/txt/thanks.txt -#usr/share/doc/fcron-3.0.4/fr/txt/todo.txt -#usr/share/man/fr/man1/fcrondyn.1 -#usr/share/man/fr/man1/fcrontab.1 -#usr/share/man/fr/man3/bitstring.3 -#usr/share/man/fr/man5/fcron.conf.5 -#usr/share/man/fr/man5/fcrontab.5 -#usr/share/man/fr/man8/fcron.8 -#usr/share/man/man1/fcrondyn.1 -#usr/share/man/man1/fcrontab.1 -#usr/share/man/man3/bitstring.3 -#usr/share/man/man5/fcron.conf.5 -#usr/share/man/man5/fcrontab.5 -#usr/share/man/man8/fcron.8 -var/spool/fcron -var/spool/fcron/new.root -var/spool/fcron/root.orig