--- /dev/null
+fcron for Debian
+$Id: README.Debian,v 1.1 2004-01-29 10:32:15 thib Exp $
+-----------------------------------------------------------------
+
+While in principle this would be possible, the Debian package of fcron does
+not try to supersede cron. Note, however, that it has to play dirty with
+anacron so as to hijack control of /etc/cron.{daily,weekly,monthly} from
+cron even if anacron is not installed in the system.
+
+This is done symlinking /usr/sbin/anacron to /bin/true, and unfortunately
+causes the fcron package to conflict with the anacron package. If you just
+removed (as opposed to purging) the anacron package to install fcron,
+anacron's initscript might still try to activate anacron. This is harmless,
+do NOT file bugs against anacron because of it!
+
+I'm working with upstream to make fcron more secure (although it looks
+fairly secure as is). If you don't want to worry about any possible
+security holes, remove the suid permission from fcrontab (using either
+suidregister or dpkg-statoverride), and do not install fcrontabs for
+anyone other than root.
+
+ -- Henrique M. Holschuh <hmh@debian.org>, Mon, 11 Dec 2000 20:14:13 -0200
--- /dev/null
+* PAMify fcron (ongoing)
+* Get rid of anacron hack.
+* Security audit entire package.
+* Add the notion of system-wide fcrontab, a la
+ /etc/crontab and get rid of /var/spool/fcron/
+ root.orig in the package.
+* Deal well with uid 0 != root (name not root)
+* add logcheck.ignore files
--- /dev/null
+fcron (2.9.4-2) unstable; urgency=high
+
+ * Accidentally uploaded a version compiled with debugging code, so this
+ version has a correct compile.
+
+ -- Russell Coker <russell@coker.com.au> Thu, 4 Jan 2004 22:31:00 +1100
+
+fcron (2.9.4-1) unstable; urgency=high
+
+ * New upstream with SE Linux. Upstream has old SE Linux so patched for new
+ SE Linux.
+
+ -- Russell Coker <russell@coker.com.au> Thu, 4 Jan 2004 22:25:00 +1100
+
+fcron (2.9.3-3) unstable; urgency=high
+
+ * Added patch for ./configure checking for SE Linux from Torsten Knodt
+ <tk-debian@datas-world.de>. Also added the SE Linux patch.
+ Closes: #193610
+
+ -- Russell Coker <russell@coker.com.au> Sat, 17 May 2003 13:55:00 +1000
+
+fcron (2.9.3-2) unstable; urgency=high
+
+ * Changes for warnings, I think it fixes #169451.
+
+ -- Russell Coker <russell@coker.com.au> Sun, 17 Nov 2002 14:12:00 +0100
+
+fcron (2.9.3-1) unstable; urgency=high
+
+ * New upstream version.
+
+ -- Russell Coker <russell@coker.com.au> Sat, 2 Nov 2002 22:09:00 +0100
+
+fcron (2.9.2-2) unstable; urgency=high
+
+ * Made it not try to use -lsecure for non-SE systems.
+ Closes: #163680
+
+ * Added fcrondyn to package.
+ Closes: #163808
+
+ * This is a 2.x.x release.
+ Closes: #112146
+
+ -- Russell Coker <russell@coker.com.au> Sat, 26 Oct 2002 21:25:00 +0200
+
+fcron (2.9.2-1) unstable; urgency=high
+
+ * New upstream version.
+
+ * Temporarily taking over maintenance.
+
+ -- Russell Coker <russell@coker.com.au> Sun, 6 Oct 2002 07:14:00 +0200
+
+fcron (1.0.3-5) unstable; urgency=high
+
+ * Fix infinite loop on midmontly code. Thanks to Guy Geens
+ <ggeens@iname.com> for the patch (closes: #143497)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Thu, 18 Apr 2002 16:45:55 -0300
+
+fcron (1.0.3-4) unstable; urgency=high
+
+ * Merge in new es, fr, ru templates (closes: #136099, #136484, #137646)
+ * Fix bug in code that showed up with the glibc nice() fix (closes: #143044)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Tue, 16 Apr 2002 10:49:17 -0300
+
+fcron (1.0.3-3) unstable; urgency=high
+
+ * SECURITY FIX: Close /tmp exploitable race in fcrontab. Thanks to
+ Colin Phipps <cph@cph.demon.co.uk> for reporting the bug and
+ supplying a patch (closes: #102930)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Fri, 6 Jul 2001 22:22:42 -0300
+
+fcron (1.0.3-2) unstable; urgency=low
+
+ * Do not abort postinst if dpkg-statoverride returns non-zero
+ status (closes: #100905)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Wed, 20 Jun 2001 02:24:19 -0300
+
+fcron (1.0.3-1) unstable; urgency=medium
+
+ * New upstream source:
+ - Fixes a crash when truncating long messages (not exploitable)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sun, 15 Apr 2001 16:41:02 -0300
+
+fcron (1.0.2-4) unstable; urgency=low
+
+ * Restore default umask settings before running a job. Do note that not
+ setting the umask explicitly in a cronjob that creates files sensitive
+ to it IS asking for trouble, though (closes: #93123)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 7 Apr 2001 23:59:10 -0300
+
+fcron (1.0.2-3) unstable; urgency=low
+
+ * Make sure postinst and postrm will exit with status 0
+ upon successful completion
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sun, 1 Apr 2001 02:10:14 -0300
+
+fcron (1.0.2-2) unstable; urgency=low
+
+ * Build-depends only in mail-transport-agent, as autobuilders will not
+ use the OR dependency
+ * Trash dpkg-statoverride entries on purge
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Wed, 14 Mar 2001 15:00:45 -0300
+
+fcron (1.0.2-1) unstable; urgency=low
+
+ * New upstream source
+ - Fixes bootrun option
+ - shell variables containing "_" are now accepted.
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 10 Mar 2001 23:25:39 -0300
+
+fcron (1.0.1-1) unstable; urgency=low
+
+ * New upstream source
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Mon, 26 Feb 2001 17:53:46 -0300
+
+fcron (1.0.0-1) unstable; urgency=low
+
+ * New upstream source
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Mon, 26 Feb 2001 09:29:13 -0300
+
+fcron (0.9.5-3) unstable; urgency=low
+
+ * Added german template. Thanks go to Joerg Rieger
+ (closes: #84261). This would have been done much sooner,
+ if I had actually received the report from the BTS.
+ * Fixed lintian warnings, and added lintian override file
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Thu, 22 Feb 2001 22:47:34 -0300
+
+fcron (0.9.5-2) unstable; urgency=low
+
+ * Better handling of dpkg-overriding in postinst
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 3 Feb 2001 21:52:15 -0200
+
+fcron (0.9.5-1) unstable; urgency=high
+
+ * Converted to dpkg-statoverride instead of suidregister
+ * New upstream version
+ * Upstream fixed a severe security hole (another local root exploit)
+ * Minor updates to bring package up-to-date with policy 3.5.0.0
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Wed, 31 Jan 2001 10:44:43 -0200
+
+fcron (0.9.4-1) unstable; urgency=high
+
+ * New upstream version
+ * Real fix for local root exploit in fcrontab
+ * Re-enables user crontabs disabled by 0.9.3-5 to -7
+ * Root fcrontab protected against non-root access at filesystem level.
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sun, 31 Dec 2000 22:41:34 -0200
+
+fcron (0.9.3-7) unstable; urgency=low
+
+ * Fixed sendmail invoke path, and build-depends
+ (closes: #79414)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Tue, 12 Dec 2000 10:15:00 -0200
+
+fcron (0.9.3-6) unstable; urgency=high
+
+ * Make sure the security workaround is enabled
+ by suidunregistering fcrontab.
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sun, 10 Dec 2000 00:23:40 -0200
+
+fcron (0.9.3-5) unstable; urgency=high
+
+ * Disable fcrontab for users, as it is currently a local root exploit.
+ I'll reenable it after a fix is ready and tested.
+ * All user fcrontabs are moved to /var/spool/fcron/rxdisabled to make
+ sure they're not run until the fix is ready.
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 9 Dec 2000 16:21:36 -0200
+
+fcron (0.9.3-4) unstable; urgency=low
+
+ * Fixed double negative in package description
+ * Fixed bogus .orig.tar.gz source
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Fri, 8 Dec 2000 18:31:20 -0200
+
+fcron (0.9.3-3) unstable; urgency=low
+
+ * Added postinst message (using debconf) to
+ reduce probability of bogus bug reports against
+ anacron.
+ * First upload to Debian (closes: #76497)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Wed, 6 Dec 2000 21:56:42 -0200
+
+fcron (0.9.3-2) unstable; urgency=low
+
+ * Fixed maintainer address in control file
+ * Changed package description in control file
+ * Better Depends: line
+ * Better init.d script reload behaviour, now it
+ will freshen up saved uid/gids in fcrontabs.
+ * Updated README.Debian
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 2 Dec 2000 22:03:45 -0200
+
+fcron (0.9.3-1) unstable; urgency=low
+
+ * Initial Package. (Closes: #76497)
+
+ -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 11 Nov 2000 23:10:37 -0200
--- /dev/null
+/var/spool/fcron/systab.orig
--- /dev/null
+#! /bin/sh
+# Debconf config file for fcron
+# $Id: config,v 1.1 2004-01-29 10:31:56 thib Exp $
+
+set -e
+. /usr/share/debconf/confmodule
+
+# Babysit users who don't read README.Debian
+db_title fcron
+db_input high fcron/anacronwarn || true
+db_go
+
+exit 0
--- /dev/null
+Source: fcron
+Section: admin
+Priority: extra
+Maintainer: Russell Coker <russell@coker.com.au>
+Build-Depends: debhelper (>= 4.1.16), mail-transport-agent, libpam0g-dev, libselinux1-dev (>= 1.2-1.1)
+Standards-Version: 3.5.9
+
+Package: fcron
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, debconf, system-log-daemon, mail-transport-agent, adduser (>=3.25), dpkg (>>1.8.3)
+Conflicts: anacron, suidmanager (<< 0.50)
+Description: cron-like scheduler with extended capabilities
+ Fcron is a scheduler. It implements most of Vixie Cron's 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 running
+ neither all the time nor regularly.
+ .
+ Fcron also includes a useful system of options, such as: run jobs one by
+ one, run jobs at fcron's startup if they should have been run during system
+ down time, a better management of the mailing of outputs, set a nice value
+ for a job...
--- /dev/null
+This package was debianized by Henrique M. Holschuh <hmh@debian.org> on
+Sat, 11 Nov 2000 23:10:37 -0200.
+
+It was downloaded from http://fcron.free.fr/
+
+Upstream Author: Thibault GODOUET <fcron@free.fr>
+
+fcron is Copyright (c) 2000 by Thibault Godouet <fcron@free.fr>, and it is
+released under the terms of the GNU General Public License:
+
+ 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 2, or (at your option) any
+ later version.
+
+The GPL may be found in /usr/share/common-licenses/GPL on a Debian system.
--- /dev/null
+!bootrun(true),nice(15),serial(true)
+%daily * 3-6 run-parts --report /etc/cron.daily
+%weekly * 3-6 run-parts --report /etc/cron.weekly
+%monthly * 3-6 * run-parts --report /etc/cron.monthly
--- /dev/null
+usr/bin
+usr/sbin
+var/spool/fcron
+etc/pam.d
--- /dev/null
+#!/bin/sh
+#
+# fcron-update-crontabs
+#
+# Copyright (c) 2000 Thibault Godouet
+# Released under the same license as the fcron program.
+# $Id: fcron-update-crontabs,v 1.1 2004-01-29 10:31:24 thib Exp $
+
+fcrontabdir=/var/spool/fcron
+
+test -d ${fcrontabdir} || exit 0
+
+# Recompile all crontabs
+for FILE in ${fcrontabdir}/* ; do
+ if test -f ${FILE} ; then
+ FCRONTAB=`basename "${FILE}" | \
+ sed "s|\..*orig|| ; s|new\..*|| ; s|fcrontab\.sig|| ; s|rm\..*||"`
+ ( test ! -z "${FCRONTAB}" && fcrontab -u "${FCRONTAB}" -z ) || echo -n ""
+ fi
+done
--- /dev/null
+.TH FCRON-UPDATE-CRONTABS 8
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+fcron-update-crontabs \- refreshes all fcron crontabs
+.SH SYNOPSIS
+.B fcron-update-crontabs
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR fcron-update-crontabs
+command.
+fcron keeps its crontabs in a binary format, which needs to be
+recompiled from their text source when fcron is updated or when
+a userid referenced in the crontabs changes.
+.B fcron-update-crontabs
+can be used to recompile all fcron crontabs installed in the
+system.
+.PP
+.SH "SEE ALSO"
+.BR fcron (8),
+.BR fcrontab (1),
+.BR fcrontab (1),
+.BR fcrontab (5).
+.SH AUTHOR
+This manual page was written by Henrique M. Holschuh <hmh@rcm.org.br>,
+for the Debian GNU/Linux system (but may be used by others).
--- /dev/null
+#! /bin/sh
+#
+# fcron fcron is a scheduler especially useful for people \
+# who are not running their system all the time.
+#
+# Initscript by Henrique M. Holschuh <hmh@debian.org>.
+#
+# Based in /etc/init.d/skeleton:
+# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+# Modified for Debian GNU/Linux
+# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# $Id: init,v 1.1 2004-01-29 10:31:05 thib Exp $
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/fcron
+NAME=fcron
+DESC=fcron
+
+startdaemon () {
+ start-stop-daemon --start --quiet "$@" --pidfile /var/run/$NAME.pid --exec ${DAEMON} -- -b
+}
+
+stopdaemon () {
+ start-stop-daemon --stop --quiet "$@" --pidfile /var/run/$NAME.pid --exec ${DAEMON}
+}
+
+test -x $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ startdaemon
+ echo "${NAME}."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ stopdaemon --oknodo
+ echo "${NAME}."
+ ;;
+ reload|force-reload)
+ echo "Reloading $DESC configuration files."
+ stopdaemon --signal 1
+ update-fcron-crontabs >/dev/null 2>&1
+ ;;
+ restart)
+ echo -n "Restarting $DESC: "
+ stopdaemon
+ sleep 1
+ startdaemon
+ echo "${NAME}."
+ ;;
+# restart-if-running)
+# echo -n "Stopping $DESC if it is running: "
+# if start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid --exec ${DAEMON} ; then
+# echo "${NAME}."
+# echo -n "Restarting $DESC: "
+# startdaemon
+# echo "${NAME}."
+# else
+# echo "(not running)."
+# fi
+# ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
--- /dev/null
+fcron: non-standard-dir-perm var/spool/fcron/ 0770 != 0755
+fcron: file-in-unusual-dir var/spool/fcron/systab.orig
+fcron: link-to-undocumented-manpage usr/share/man/man8/anacron.8.gz
--- /dev/null
+#! /bin/sh
+# postinst script for fcron
+# $Id: postinst,v 1.1 2004-01-29 10:31:51 thib Exp $
+
+set -e
+. /usr/share/debconf/confmodule
+db_stop
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ configure)
+ #
+ # Create user fcron and chown spool
+ #
+ cd /var/spool/fcron
+ adduser --system --group --home /var/spool/fcron --no-create-home --disabled-password fcron >/dev/null 2>&1
+ chown fcron:fcron /var/spool/fcron
+ # add dpkg-statoverride here after dpkg 1.9.x is out
+
+ #
+ # Reenable local user fcrontabs removed by 0.9.3-5..7
+ #
+ [ -d /var/spool/fcron/rxdisabled ] && {
+ echo "Trying to reenable fcrontabs disabled by security patch..."
+ userftb=
+ for i in `find /var/spool/fcron/rxdisabled -type f \
+ ! -name '.*' -maxdepth 1 -print0 | xargs -0` ; do
+ fcrontabname="`basename ${i}`"
+ # we can salvage only uncompiled fcrontabs
+ if [ "${fcrontabname%.orig}" != "${fcrontabname}" ] ; then
+ if [ ! -e /var/spool/fcron/${fcrontabname} ] ; then
+ mv /var/spool/fcron/rxdisabled/${fcrontabname} /var/spool/fcron/
+ userftb="${userftb} ${fcrontabname%.orig}"
+ fi
+ else
+ rm -f "${i}" || true
+ fi
+ done
+ if rmdir /var/spool/fcron/rxdisabled >/dev/null 2>&1 ; then
+ [ "${userftb}" != "" ] && echo "Reinstaled fcrontabs for user(s): " ${userftb}
+ else
+ echo "Failed to reinstall all previously disabled user fcrontabs."
+ echo "Please check /var/spool/fcron and /var/spool/fcron/rxdisabled manually,"
+ echo "and remove the rxdisabled subdirectory when done."
+ fi
+ }
+
+ #
+ # Ensures correct owner and group for all fcrontabs
+ #
+ find /var/spool/fcron -type f ! -name '*.*' -exec chown root:root {} \;
+ find /var/spool/fcron -type f ! -name 'root.*' -name '*.*' -exec chown fcron:fcron {} \;
+ chown root:fcron root.* *.root >/dev/null 2>&1 || true
+
+ #
+ # Setgid/setuid fcrontab binary
+ #
+ OVERRIDEN=
+ OVERRIDEN=`dpkg-statoverride --list /usr/bin/fcrontab` || true
+ [ "${OVERRIDEN}" = "" ] && dpkg-statoverride --update --add fcron fcron 6755 /usr/bin/fcrontab
+ OVERRIDEN=
+ OVERRIDEN=`dpkg-statoverride --list /usr/bin/fcronsighup` || true
+ [ "${OVERRIDEN}" = "" ] && dpkg-statoverride --update --add root fcron 4750 /usr/bin/fcronsighup
+
+ #
+ # Makes sure we have no version incompatibilities on compiled
+ # fcrontabs
+ #
+ fcron-update-crontabs >/dev/null 2>&1
+ chgrp fcron /etc/fcron.conf /etc/fcron.allow /etc/fcron.deny
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#! /bin/sh
+# postrm script for fcron
+# $Id: postrm,v 1.1 2004-01-29 10:32:21 thib Exp $
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ purge)
+
+ # Purge fcrontabs
+ rm -rf /var/spool/fcron || true
+
+ # Purge statoverrides
+ dpkg-statoverride --remove /usr/bin/fcrontab || true
+ dpkg-statoverride --remove /usr/bin/fcronsighup || true
+
+ # Remove user fcron
+ userdel fcron || true
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+if [ "$1" = remove -a -e /etc/suid.conf ] && \
+ command -v suidunregister >/dev/null 2>&1; then
+ suidunregister -s fcron /usr/bin/fcrontab
+fi
+exit 0
--- /dev/null
+#!/bin/sh
+
+FILE=/var/spool/fcron/root.orig
+
+if [ -f $FILE ]; then
+ grep -v "/etc/cron.\(daily\)\|\(weekly\)\|\(monthly\)" $FILE > $FILE.new
+ mv $FILE.new $FILE
+fi
+
+#DEBHELPER#
--- /dev/null
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+# Modified for package fcron
+# $Id: rules,v 1.1 2004-01-29 10:31:20 thib Exp $
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+# Enable debug package build if DEB_BUILD_OPTIONS contains debug
+CONFFLAGS =
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CONFFLAGS += --with-debug
+endif
+
+configure-stamp: configure
+ dh_testdir
+ ./configure --prefix=/usr --with-mandir=/usr/share/man --with-docdir=/usr/share/doc --with-editor=/usr/bin/sensible-editor --with-spooldir=/var/spool/fcron --with-etcdir=/etc --with-sendmail=/usr/sbin/sendmail $(CONFFLAGS) --with-selinux=yes
+
+ touch configure-stamp
+
+configure:
+ autoconf
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean: configure
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -$(MAKE) clean
+ -$(RM) -f config.cache config.log config.status config.h Makefile
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ #$(MAKE) install prefix=`pwd`/debian/tmp/usr
+
+ install -m 755 fcron `pwd`/debian/fcron/usr/sbin
+ install -m 755 fcrontab fcronsighup fcrondyn `pwd`/debian/fcron/usr/bin
+ install files/fcron.deny files/fcron.allow `pwd`/debian/fcron/etc
+ install files/fcron.conf `pwd`/debian/fcron/etc
+ install -m 644 files/fcrontab.pam `pwd`/debian/fcron/etc/pam.d/fcrontab
+ install -m 644 files/fcron.pam `pwd`/debian/fcron/etc/pam.d/fcron
+
+ install -m 755 debian/fcron-update-crontabs `pwd`/debian/fcron/usr/sbin
+
+ # root's default crontab
+ install -m 640 debian/crontab.root `pwd`/debian/fcron/var/spool/fcron/systab.orig
+
+ # lintian overrides
+ install -D -m 644 debian/lintian `pwd`/debian/fcron/usr/share/lintian/overrides/fcron
+
+ # add anacron hack
+ ln -s /bin/true `pwd`/debian/fcron/usr/sbin/anacron
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+ dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installpam
+ dh_installinit -- defaults 89 11
+# dh_installcron
+ dh_installmanpages bitstring.3
+# dh_installinfo
+ dh_installchangelogs
+ dh_link
+ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ dh_strip
+endif
+ dh_compress
+ dh_fixperms
+ chmod 640 `pwd`/debian/fcron/etc/fcron.allow `pwd`/debian/fcron/etc/fcron.deny
+ chmod 640 `pwd`/debian/fcron/etc/fcron.conf
+ chmod 770 `pwd`/debian/fcron/var/spool/fcron
+ #dh_suidregister
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- /dev/null
+Template: fcron/anacronwarn
+Type: note
+Description: Warning: interactions with anacron!
+ If you have the anacron package in the 'removed' but not 'purged'
+ state (i.e. anacron configuration files are still around the system),
+ the fcron package will cause harmless side effects, such as reports
+ of anacron being started at boot up.
+ .
+ DO NOT FILE BUGS AGAINST ANACRON IF YOU HAVE FCRON INSTALLED IN THE
+ SYSTEM. They will be either reassigned to fcron to be summarily closed
+ by me, or summarily closed by the anacron maintainer himself.
+ .
+ More information about this issue is available in
+ /usr/share/doc/fcron/README.Debian
--- /dev/null
+Template: fcron/anacronwarn
+Type: note
+Description-de: Warnung: Wechselwirkungen mit anacron !
+ Wenn Sie das anachron Packet im 'removed' aber nicht im 'purged' Status
+ haben (z.B. es befinden sich noch irgendwo im System anacron Konfigurations
+ Dateien ), kann es sein, dass das fcron Paket einige harmlose Seiteneffekte
+ aufweist, z.B. Meldungen das anacron beim booten gestartet wurde.
+ .
+ MELDEN SIE KEINE ANACRON BUGS, WENN SIE ES MIT FCRON ZUSAMMEN INSTALLIERT
+ HABEN. Diese werden entweder fcron zugeschrieben um von mir geschlossen zu
+ werden oder vom direkt anacron Maintainer geschlossen.
+ .
+ Weiter Informationen finden Sie in
+ /usr/share/doc/fcron/README.Debian
--- /dev/null
+Template: fcron/anacronwarn
+Type: note
+Description: Warning: interactions with anacron!
+ If you have the anacron package in the 'removed' but not 'purged' state
+ (i.e. anacron configuration files are still around the system), the fcron
+ package will cause harmless side effects, such as reports of anacron being
+ started at boot up.
+ .
+ DO NOT FILE BUGS AGAINST ANACRON IF YOU HAVE FCRON INSTALLED IN THE
+ SYSTEM. They will be either reassigned to fcron to be summarily closed by
+ me, or summarily closed by the anacron maintainer himself.
+ .
+ More information about this issue is available in
+ /usr/share/doc/fcron/README.Debian
+Description-es: Aviso sobre las interacciones con anacron.
+ Si ha borrado el paquete anacron pero no lo ha purgado, sus ficheros de
+ configuración aún se encuentran en el sistema y pueden provocar efectos
+ colaterales en fcron y comportamientos extraños, como que parezca que se
+ ha iniciado anacron al arrancar.
+ .
+ NO ENVÍE INFORMES DE ERROR CONTRA ANACRON SI TIENE FCRON INSTALADO EN EL
+ SISTEMA. Serán reasignados a fcron y cerrados inmediatamente, o bien
+ los cerrará el propio mantenedor de anacron.
+ .
+ Puede encontrar más información en /usr/share/doc/fcron/README.Debian.
--- /dev/null
+Template: fcron/anacronwarn
+Type: note
+Description: Warning: interactions with anacron!
+ If you have the anacron package in the 'removed' but not 'purged' state
+ (i.e. anacron configuration files are still around the system), the fcron
+ package will cause harmless side effects, such as reports of anacron being
+ started at boot up.
+ .
+ DO NOT FILE BUGS AGAINST ANACRON IF YOU HAVE FCRON INSTALLED IN THE
+ SYSTEM. They will be either reassigned to fcron to be summarily closed by
+ me, or summarily closed by the anacron maintainer himself.
+ .
+ More information about this issue is available in
+ /usr/share/doc/fcron/README.Debian
+Description-fr: Attention : interférences avec anacron !
+ Si le paquet anacron a été supprimé (« removed ») mais non purgé
+ (« purged ») -- ce qui signifie que les fichiers de configuration
+ d'anacron sont toujours présents --, fcron fera des actions
+ inattendues mais sans conséquence, telles que des rapports disant
+ qu'anacron est lancé au démarrage.
+ .
+ N'EFFECTUEZ PAS DE RAPPORT DE BOGUE CONTRE ANACRON SI VOUS AVEZ FCRON
+ INSTALLÉ SUR VOTRE SYSTÈME. Il sera soit réassigné à fcron et fermé
+ sans autre forme de procès par moi-même, soit fermé directement par le
+ responsable d'anacron.
+ .
+ Vous pouvez consulter /usr/share/doc/fcron/README.Debian pour plus
+ d'informations.
--- /dev/null
+Template: fcron/anacronwarn
+Type: note
+Description-pt_BR: Aviso: interações com anacron!
+ Se você removeu o pacote anacron mas deixou seus arquivos de
+ configuração no sistema (ou seja, não usou "purge"), o pacote fcron
+ irá causar efeitos colaterais inofensivos, tais como anacron dizendo
+ que foi ativado durante a inicialização do sistema.
+ .
+ NÃO REGISTRE DEFEITOS (bugs) CONTRA O PACOTE ANACRON SE VOCÊ INSTALOU
+ O PACOTE FCRON. Eles serão sumariamente deletados ou por mim, ou pelo
+ responsável pelo pacote anacron.
+ .
+ Mais informações sobre o problema podem ser encontradas em
+ /usr/share/doc/fcron/README.Debian
--- /dev/null
+Template: fcron/anacronwarn
+Type: note
+Description: Warning: interactions with anacron!
+ If you have the anacron package in the 'removed' but not 'purged' state
+ (i.e. anacron configuration files are still around the system), the fcron
+ package will cause harmless side effects, such as reports of anacron being
+ started at boot up.
+ .
+ DO NOT FILE BUGS AGAINST ANACRON IF YOU HAVE FCRON INSTALLED IN THE
+ SYSTEM. They will be either reassigned to fcron to be summarily closed by
+ me, or summarily closed by the anacron maintainer himself.
+ .
+ More information about this issue is available in
+ /usr/share/doc/fcron/README.Debian
+Description-ru: ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ×ÚÁÉÍÏÄÅÊÓÔ×ÉÑ Ó anacron!
+ åÓÌÉ ×Ù ÉÍÅÅÔÅ ÐÁËÅÔ anacron × ÓÏÓÔÏÑÎÉÉ 'removed', ÎÏ ÎÅ 'purged'
+ (Ô.Å. ÎÁÓÔÒÏÅÞÎÙÅ ÆÁÊÌÙ anacron ÏÓÔÏÀÔÓÑ × ÓÉÓÔÅÍÅ), ÔÏ ÐÒÉ ÐÁËÅÔÅ
+ fcron ÍÏÇÕÔ ×ÏÚÎÉËÁÔØ ÓÔÏÒÏÎÎÉÅ ÜÆÆÅËÔÙ, ÔÁËÉÅ ËÁË ÏÔÞÅÔÙ anacron ÐÒÉ
+ ÚÁÇÒÕÚËÅ ÓÉÓÔÅÍÙ.
+ .
+ îå óþéôáêôå üôé æáêìù ïûéâëáíé ANACRON, ÅÓÌÉ Õ ×ÁÓ ÷ óéóôåíå
+ õóôáîï÷ìåî FCRON. þÔÏÂÙ ÉÚÂÁ×ÉÔØÓÑ ÏÔ ÜÔÏÊ ÐÒÏÂÌÅÍÙ, ÏÎÉ ÂÕÄÕÔ ÌÉÂÏ
+ ÐÅÒÅÎÁÚÎÁÞÅÎÙ fcron ÍÎÏÀ, ÉÌÉ ÚÁËÒÙÔÙ ÓÁÍÉÍ ÓÏÐÒÏ×ÏÖÄÁÀÝÉÍ anacron.
+ .
+ âÏÌØÛÅ ÉÎÆÏÒÍÁÃÉÉ Ï ÜÔÏÊ ÐÒÏÂÌÅÍÅ ÄÏÓÔÕÐÎÏ × ÆÁÊÌÅ
+ /usr/share/doc/fcron/README.Debian
+