Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e7a1462de94e6df103cbf2020299f09ab24a0f0e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e7a1462de94e6df103cbf2020299f09ab24a0f0e)
  • Date: Sun, 21 Mar 2010 15:06:23 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

utils/dcron/BUILD | 7 ++++++-
utils/dcron/DEPENDS | 10 ++--------
utils/dcron/DETAILS | 17 ++++++++++-------
utils/dcron/HISTORY | 10 ++++++++++
utils/dcron/INSTALL | 9 +++++++++
utils/dcron/PRE_BUILD | 9 ++++-----
utils/dcron/init.d/crond | 3 +++
utils/dcron/init.d/dcron.conf | 3 +++
8 files changed, 47 insertions(+), 21 deletions(-)

New commits:
commit e7a1462de94e6df103cbf2020299f09ab24a0f0e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

dcron: => 4.4

diff --git a/utils/dcron/BUILD b/utils/dcron/BUILD
index 8f58e6d..3cc7d47 100755
--- a/utils/dcron/BUILD
+++ b/utils/dcron/BUILD
@@ -1 +1,6 @@
-make
+create_group crontab &&
+
+make PREFIX="$INSTALL_ROOT/usr" \
+ CRONTABS="$INSTALL_ROOT/var/spool/cron" \
+ CRONSTAMPS="$INSTALL_ROOT/var/spool/cronstamps" \
+ CRONTAB_GROUP=crontab
diff --git a/utils/dcron/DEPENDS b/utils/dcron/DEPENDS
index f8af206..2bd256e 100755
--- a/utils/dcron/DEPENDS
+++ b/utils/dcron/DEPENDS
@@ -1,8 +1,2 @@
-optional_depends SENDMAIL \
- "" \
- "" \
- "for sending mail reports" &&
-optional_depends SYSTEM-LOGGER \
- "" \
- "" \
- "for logging through syslog"
+optional_depends SENDMAIL "" "" "for sending mail reports" &&
+optional_depends SYSTEM-LOGGER "" "" "for logging through syslog"
diff --git a/utils/dcron/DETAILS b/utils/dcron/DETAILS
index ca723e3..a0d7147 100755
--- a/utils/dcron/DETAILS
+++ b/utils/dcron/DETAILS
@@ -1,14 +1,17 @@
SPELL=dcron
- VERSION=2.3.3
- SOURCE="${SPELL}-${VERSION}.tar.gz"
-
SOURCE_URL[0]=http://www.ibiblio.org/pub/Linux/system/daemons/cron/${SOURCE}
-
SOURCE_HASH=sha512:4ab2aaf8a94317622fb42dad78b505ed02b1321aea49da433062a205a5f53db0fb78050b5453502ad20898d4e30e73bce0b820af10f3cb30d5f2d1912f5eb186
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE=""
+ VERSION=4.4
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://www.jimpryor.net/linux/releases/$SOURCE
+
SOURCE_HASH=sha512:d7af2f7705a024891babda394a8690ae9df86d92ca81c4a1a99780c49011bdb4e5fe6745713c3936b5f85552cc2705273ebcc962d3f851890a0999c7e0b80bc1
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.jimpryor.net/linux/dcron.html
LICENSE[0]=GPL
ENTERED=20071114
- SHORT="Yet another cron daemon."
+ SHORT="dillon's lightweight cron daemon"
cat << EOF
+This lightweight cron daemon aims to be simple and secure, with just enough
+features to stay useful.
+
Dillon's Cron is a multi-user cron written from scratch, similar to
vixie-cron
but with major differences. Attention is paid less to feature-creep and more
to usability and reliability.
diff --git a/utils/dcron/HISTORY b/utils/dcron/HISTORY
index 676dd61..af47a53 100644
--- a/utils/dcron/HISTORY
+++ b/utils/dcron/HISTORY
@@ -1,3 +1,13 @@
+2010-03-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 4.4; renewed source url and website;
+ updated description
+ * BUILD: change compile-time defaults to proper for the system
+ * PRE_BUILD: quoting paths; cleaned up
+ * DEPENDS: cleaned up
+ * INSTALL: added, to install config file
+ * init.d/crond: added CROND_ARGS
+ * init.d/dcron.conf: added, to configure command-line parameters
+
2009-04-26 Vlad Glagolev <stealth AT sourcemage.org>
* CONFLICTS: added

diff --git a/utils/dcron/INSTALL b/utils/dcron/INSTALL
new file mode 100755
index 0000000..4f2d900
--- /dev/null
+++ b/utils/dcron/INSTALL
@@ -0,0 +1,9 @@
+default_install &&
+
+chgrp crontab "$INSTALL_ROOT"/var/spool/cron{,stamps} &&
+chmod 2750 "$INSTALL_ROOT"/var/spool/cron{,stamps} &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/dcron.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/dcron"
+fi
diff --git a/utils/dcron/PRE_BUILD b/utils/dcron/PRE_BUILD
index c6fea50..e2651af 100755
--- a/utils/dcron/PRE_BUILD
+++ b/utils/dcron/PRE_BUILD
@@ -1,5 +1,4 @@
-default_pre_build &&
-cd $SOURCE_DIRECTORY &&
-sedit "s:/usr:${INSTALL_ROOT}/usr:g" Makefile &&
-sedit "s:/usr/man:/usr/share/man:g" Makefile &&
-sedit "s:-O2:$CFLAGS:" Makefile
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+sed -i "s:-O2:$CFLAGS:" Makefile
diff --git a/utils/dcron/init.d/crond b/utils/dcron/init.d/crond
index bb6d439..fbc0a32 100644
--- a/utils/dcron/init.d/crond
+++ b/utils/dcron/init.d/crond
@@ -1,6 +1,9 @@
#!/bin/bash

+. /etc/sysconfig/dcron
+
PROGRAM=/usr/sbin/crond
+ARGS="$DCRON_ARGS"
RUNLEVEL=3

. /etc/init.d/smgl_init
diff --git a/utils/dcron/init.d/dcron.conf b/utils/dcron/init.d/dcron.conf
new file mode 100644
index 0000000..3599b41
--- /dev/null
+++ b/utils/dcron/init.d/dcron.conf
@@ -0,0 +1,3 @@
+# For the arguments and description see crond(8)
+
+DCRON_ARGS=""



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e7a1462de94e6df103cbf2020299f09ab24a0f0e), Vlad Glagolev, 03/21/2010

Archive powered by MHonArc 2.6.24.

Top of Page