[Lunar-commits] <moonbase> cronie: Initial import, a fork of vixie-cron by redhat

Stefan Wold ratler at lunar-linux.org
Thu Jun 26 11:12:11 CEST 2008


commit 0bd564014b5e7b0aa941849b4f39122b932069c6
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Thu Jun 26 11:12:11 2008 +0200

    cronie: Initial import, a fork of vixie-cron by redhat
---
 zbeta/cronie/BUILD        |   28 ++++++++++++++++++++++++++++
 zbeta/cronie/CONFIGURE    |    1 +
 zbeta/cronie/CONFLICTS    |    3 +++
 zbeta/cronie/DETAILS      |   34 ++++++++++++++++++++++++++++++++++
 zbeta/cronie/init.d/crond |   23 +++++++++++++++++++++++
 zbeta/cronie/pam.d/crond  |    8 ++++++++
 6 files changed, 97 insertions(+), 0 deletions(-)

diff --git a/zbeta/cronie/BUILD b/zbeta/cronie/BUILD
new file mode 100644
index 0000000..5671a4b
--- /dev/null
+++ b/zbeta/cronie/BUILD
@@ -0,0 +1,28 @@
+(
+
+  patch_it $SOURCE4 1 &&
+  patch_it $SOURCE5 1 &&
+  patch_it $SOURCE6 1 &&
+  patch_it $SOURCE7 1 &&
+
+  if module_installed Linux-PAM; then
+    OPTS+=" --with-pam"
+  fi &&
+
+  sedit '/^dist_pam_DATA/d' Makefile.am &&
+  aclocal           &&
+  autoheader        &&
+  automake -a       &&
+  autoconf          &&
+
+  default_build &&
+
+  chmod 6711 /usr/bin/crontab &&
+
+  mkdir -p /etc/cron.{daily,hourly,weekly,monthly,d} &&
+  install -m 755 $SOURCE_CACHE/$SOURCE2 /usr/bin/run-parts &&
+  [ -e /etc/config.d/crond ] || install -m 644 $SOURCE_DIRECTORY/crond.sysconfig /etc/config.d/crond &&
+  [ -e /etc/crontab ] || install -m 644 $SOURCE_CACHE/$SOURCE3 /etc/crontab &&
+  touch /etc/cron.deny
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/cronie/CONFIGURE b/zbeta/cronie/CONFIGURE
new file mode 100644
index 0000000..0fe6872
--- /dev/null
+++ b/zbeta/cronie/CONFIGURE
@@ -0,0 +1 @@
+mquery ENABLE_INOTIFY "Enable inotify support?" n --with-inotify
diff --git a/zbeta/cronie/CONFLICTS b/zbeta/cronie/CONFLICTS
new file mode 100644
index 0000000..4d01551
--- /dev/null
+++ b/zbeta/cronie/CONFLICTS
@@ -0,0 +1,3 @@
+conflicts fcron &&
+conflicts hc-cron &&
+conflicts vixie-cron
diff --git a/zbeta/cronie/DETAILS b/zbeta/cronie/DETAILS
new file mode 100644
index 0000000..4e1bf44
--- /dev/null
+++ b/zbeta/cronie/DETAILS
@@ -0,0 +1,34 @@
+          MODULE=cronie
+         VERSION=1.1
+          SOURCE=${MODULE}-${VERSION}.tar.gz
+         SOURCE2=run-parts-0.2
+         SOURCE3=crontab-0.1
+         SOURCE4=cronie-1.1-keycreatecon.patch
+         SOURCE5=cronie-1.1-logging.patch
+         SOURCE6=cronie-1.1-cleanup.patch
+         SOURCE7=cronie-1.1-inotify-fixes.patch
+      SOURCE_URL=http://mmaslano.fedorapeople.org/cronie/
+     SOURCE2_URL=$PATCH_URL
+     SOURCE3_URL=$PATCH_URL
+     SOURCE4_URL=$PATCH_URL
+     SOURCE5_URL=$PATCH_URL
+     SOURCE6_URL=$PATCH_URL
+     SOURCE7_URL=$PATCH_URL
+      SOURCE_VFY=sha1:1c15d98e4417c4c38f365794bd4fb2053c6145e0
+     SOURCE2_VFY=sha1:94d6d2d782e088bd379991c2899054d01802baab
+     SOURCE3_VFY=sha1:152be3e3a358d70eabe10957c3c6ba0651e5b7e9
+     SOURCE4_VFY=sha1:8a05f7f45209c927851c3a0198f7c2a50b6ae9f7
+     SOURCE5_VFY=sha1:87b962566e237f4603d0b805e77fc132e6010d16
+     SOURCE6_VFY=sha1:07f88c42f636f3d6ebdc8668c9d4064b32e9a58c
+     SOURCE7_VFY=sha1:bb69c7ecf4011ce542ee7df7d6935daf0a215109
+      MAINTAINER=ratler at lunar-linux.org
+        WEB_SITE="https://fedorahosted.org/cronie"
+         ENTERED=20080626
+         UPDATED=20080626
+           SHORT="Cron daemon for executing programs at set times"
+cat <<EOF
+Cronie contains the standard UNIX daemon crond that runs specified
+programs at scheduled times and related tools. It is based on the
+original cron and has security and configuration enhancements like
+the ability to use pam and SELinux.
+EOF
diff --git a/zbeta/cronie/init.d/crond b/zbeta/cronie/init.d/crond
new file mode 100755
index 0000000..5bba984
--- /dev/null
+++ b/zbeta/cronie/init.d/crond
@@ -0,0 +1,23 @@
+#! /bin/bash
+#
+# cronie       Start/Stop the cron clock daemon.
+#
+# chkconfig: 2345 90 10
+# description: cron is a standard UNIX program that runs user-specified \
+#              programs at periodic scheduled times. cronie adds a \
+#              number of features to the basic UNIX cron, including better \
+#              security and more powerful configuration options.
+# config: /etc/crontab
+# pidfile: /var/run/crond.pid
+# processname: crond
+
+# config settings
+[ -f /etc/config.d/crond ] && . /etc/config.d/crond
+
+# validate mail
+t=${CRON_VALIDATE_MAILRCPTS:-UNSET}
+[ "$t" != "UNSET" ] && export CRON_VALIDATE_MAILRCPTS="$t"
+
+ARGS=${CRONDARGS}
+
+. /lib/lsb/init-functions
diff --git a/zbeta/cronie/pam.d/crond b/zbeta/cronie/pam.d/crond
new file mode 100644
index 0000000..3268532
--- /dev/null
+++ b/zbeta/cronie/pam.d/crond
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth       sufficient pam_rootok.so
+auth       required   pam_env.so
+auth       include    system-auth
+account    required   pam_access.so
+account    include    system-auth
+session    required   pam_loginuid.so
+session    include    system-auth


More information about the Lunar-commits mailing list