summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-09-03 21:22:27 +0000
committerDonny Davies <woodchip@gentoo.org>2001-09-03 21:22:27 +0000
commit9ec4a45cd85dde21f06df9d375b3d440737d4ba8 (patch)
tree3c585f793db708c415e4710584db69358beba85f /app-admin
parentNew baselayout (diff)
downloadgentoo-2-9ec4a45cd85dde21f06df9d375b3d440737d4ba8.tar.gz
gentoo-2-9ec4a45cd85dde21f06df9d375b3d440737d4ba8.tar.bz2
gentoo-2-9ec4a45cd85dde21f06df9d375b3d440737d4ba8.zip
finshed. rc5 and rc6 versions
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/fcron/fcron-1.1.1-r6.ebuild67
-rw-r--r--app-admin/fcron/files/fcron.rc64
2 files changed, 69 insertions, 2 deletions
diff --git a/app-admin/fcron/fcron-1.1.1-r6.ebuild b/app-admin/fcron/fcron-1.1.1-r6.ebuild
new file mode 100644
index 000000000000..500c89429c6c
--- /dev/null
+++ b/app-admin/fcron/fcron-1.1.1-r6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Jerry A! <jerry@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fcron/fcron-1.1.1-r6.ebuild,v 1.1 2001/09/03 21:22:27 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A replacement for vcron"
+
+SRC_URI="http://fcron.free.fr/${P}.src.tar.gz"
+HOMEPAGE="http://fcron.free.fr/"
+
+DEPEND="virtual/glibc virtual/mta"
+
+src_compile() {
+ if [ ! -d "/etc/fcron" ]; then
+ mkdir /etc/fcron
+ fi
+
+ try ./configure --prefix=/usr --host=${CHOST} \
+ --with-etcdir=/etc/fcron \
+ --with-piddir=/var/run \
+ --with-spooldir=/var/spool/fcron \
+ --with-sendmail=/usr/sbin/sendmail \
+ --with-username=cron \
+ --with-groupname=cron \
+ --with-cflags="${CFLAGS}"
+
+ try emake
+}
+
+src_install() {
+ dodir /etc/fcron
+ dodir /usr/bin
+ dodir /usr/sbin
+ dodir /usr/share/man{1,8}
+ dodir /var/spool/fcron
+
+ fperms 0770 /var/spool/fcron
+ fowners root.cron /var/spool/fcron
+
+ insinto /usr/bin
+ insopts -o cron -g cron -m 6111
+ doins fcrontab
+
+ insopts -o root -g root -m 6111
+ doins fcronsighup
+
+ insinto /usr/sbin
+ insopts -o root -g root -m 0110
+ doins fcron
+
+ cd ${S}/files
+ insinto /etc/fcron
+ insopts -m 0640 -o root -g cron
+ doins fcron.conf fcron.allow fcron.deny
+
+ cd ${S}/doc
+ dodoc CHANGES README LICENSE MANIFEST VERSION
+ docinto html
+ dodoc *.html
+
+ doman *.{1,8}
+
+ insinto /etc/init.d
+ insopts -m 0755
+ newins ${FILESDIR}/fcron.rc6 fcron
+}
diff --git a/app-admin/fcron/files/fcron.rc6 b/app-admin/fcron/files/fcron.rc6
index 0c607aab6dad..8160c54b1f83 100644
--- a/app-admin/fcron/files/fcron.rc6
+++ b/app-admin/fcron/files/fcron.rc6
@@ -5,13 +5,13 @@ depend() {
}
start() {
- ebegin "Starting fcron..."
+ ebegin "Starting fcron"
start-stop-daemon --start --quiet --exec /usr/sbin/fcron
eend $?
}
stop() {
- ebegin "Stopping fcron..."
+ ebegin "Stopping fcron"
start-stop-daemon --stop --quiet --pidfile /var/run/fcron.pid --exec /usr/sbin/fcron
eend $?
}