summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-07-28 20:52:47 +0000
committerThilo Bangert <bangert@gentoo.org>2009-07-28 20:52:47 +0000
commit66cb76922b875a7ae8a70ac073caa02c22cc9d55 (patch)
tree8f35319808b4453b0e64cc9c42a90e2edef841c5 /sys-process/cronie
parentVersion bump. (diff)
downloadgentoo-2-66cb76922b875a7ae8a70ac073caa02c22cc9d55.tar.gz
gentoo-2-66cb76922b875a7ae8a70ac073caa02c22cc9d55.tar.bz2
gentoo-2-66cb76922b875a7ae8a70ac073caa02c22cc9d55.zip
version bump -- all patches upstream - yeah
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'sys-process/cronie')
-rw-r--r--sys-process/cronie/ChangeLog7
-rw-r--r--sys-process/cronie/cronie-1.4.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/sys-process/cronie/ChangeLog b/sys-process/cronie/ChangeLog
index 7d85b484b336..852252ffa369 100644
--- a/sys-process/cronie/ChangeLog
+++ b/sys-process/cronie/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/cronie
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.4 2009/05/14 16:39:31 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.5 2009/07/28 20:52:47 bangert Exp $
+
+*cronie-1.4 (28 Jul 2009)
+
+ 28 Jul 2009; Thilo Bangert <bangert@gentoo.org> +cronie-1.4.ebuild:
+ version bump
14 May 2009; Thilo Bangert <bangert@gentoo.org> cronie-1.2.ebuild,
cronie-1.3.ebuild:
diff --git a/sys-process/cronie/cronie-1.4.ebuild b/sys-process/cronie/cronie-1.4.ebuild
new file mode 100644
index 000000000000..9f6df8c52ba1
--- /dev/null
+++ b/sys-process/cronie/cronie-1.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.ebuild,v 1.1 2009/07/28 20:52:47 bangert Exp $
+
+EAPI="2"
+
+inherit cron eutils
+
+DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron."
+SRC_URI="https://fedorahosted.org/releases/c/r/cronie/${P}.tar.gz"
+HOMEPAGE="https://fedorahosted.org/cronie/wiki"
+
+LICENSE="ISC BSD BSD-2"
+KEYWORDS="~x86"
+IUSE="inotify pam"
+
+DEPEND="pam? ( virtual/pam )"
+RDEPEND="${DEPEND}"
+
+#cronie supports /etc/crontab
+CRON_SYSTEM_CRONTAB="yes"
+
+src_configure() {
+ SPOOL_DIR="/var/spool/cron/crontabs" econf \
+ $(use_with inotify ) \
+ $(use_with pam ) \
+ --with-daemon_username=cron \
+ --with-daemon_groupname=cron \
+ || die "econf failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "install failed"
+
+ docrondir
+ fowners root:cron /usr/bin/crontab
+ fperms 2750 /usr/bin/crontab
+
+ insinto /etc
+ newins "${FILESDIR}/${PN}-1.2-crontab" crontab
+ newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
+
+ keepdir /etc/cron.d
+ newinitd "${FILESDIR}/${PN}-1.2-initd" cronie
+ dodoc NEWS AUTHORS README
+}
+
+pkg_postinst() {
+ cron_pkg_postinst
+}