summaryrefslogtreecommitdiff
path: root/dcron
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2011-05-03 13:17:32 +0200
committerJuergen Daubert <jue@jue.li>2011-05-03 13:17:32 +0200
commitba0e2eb615d08203bb7584064ad45e24adf6be58 (patch)
tree7b608a17356e6ecce4e19bd36564aad6b4b47d61 /dcron
parent9e0346b452f334900ffe294dbd4b7264dec3dd9e (diff)
downloadcore-ba0e2eb615d08203bb7584064ad45e24adf6be58.tar.gz
core-ba0e2eb615d08203bb7584064ad45e24adf6be58.tar.xz
dcron: update to 4.5
Diffstat (limited to 'dcron')
-rw-r--r--dcron/.md5sum3
-rw-r--r--dcron/Pkgfile8
-rw-r--r--dcron/dcron.diff22
3 files changed, 4 insertions, 29 deletions
diff --git a/dcron/.md5sum b/dcron/.md5sum
index 3ca009e2..dc52d980 100644
--- a/dcron/.md5sum
+++ b/dcron/.md5sum
@@ -1,5 +1,4 @@
59a2ec9d1fe95f2a8b16814c2efbb8e7 crond
3596a4fa9cf63bdf130fd533ca7703d4 crontab
-02d848ba043a9df5bf2102a9f4bc04bd dcron-4.4.tar.gz
-384d0dbf3523058338ad2103114f8adc dcron.diff
+078833f3281f96944fc30392b1888326 dcron-4.5.tar.gz
d80b27b1b9532890136c14d30e2a0d2b runjobs
diff --git a/dcron/Pkgfile b/dcron/Pkgfile
index 26e24339..5e9c99a0 100644
--- a/dcron/Pkgfile
+++ b/dcron/Pkgfile
@@ -3,16 +3,14 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=dcron
-version=4.4
-release=2
+version=4.5
+release=1
source=(http://www.jimpryor.net/linux/releases/$name-$version.tar.gz \
- dcron.diff crontab runjobs crond)
+ crontab runjobs crond)
build() {
cd $name-$version
- patch -p1 -i $SRC/dcron.diff
-
make PREFIX=/usr
make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install
diff --git a/dcron/dcron.diff b/dcron/dcron.diff
deleted file mode 100644
index a37adbdf..00000000
--- a/dcron/dcron.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/database.c b/database.c
---- a/database.c
-+++ b/database.c
-@@ -410,6 +410,7 @@ SynchronizeFile(const char *dpath, const char *fileName, const char *userName)
- break;
- case 5:
- line.cl_Freq = MONTHLY_FREQ;
-+ break;
- case 6:
- line.cl_Freq = YEARLY_FREQ;
- /* else line.cl_Freq will remain 0 */
-diff --git a/database.c b/database.c
---- a/database.c
-+++ b/database.c
-@@ -258,6 +258,7 @@ ReadTimestamps(const char *user)
- if (ptr && (*ptr == 0 || *ptr == '\n'))
- /* strptime uses current seconds when seconds not specified? anyway, we don't get round minutes */
- tm.tm_sec = 0;
-+ tm.tm_isdst = -1;
- sec = mktime(&tm);
- if (sec == (time_t)-1) {
- printlogf(LOG_ERR, "failed parsing timestamp for user %s job %s\n", file->cf_UserName, line->cl_JobName);

Generated by cgit