summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-04 21:33:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-04 21:33:51 +0000
commit2116a0f73473f5c509196f8139fbf6db1d148daa (patch)
treed5a0c2263838cfb478d4b97ec9f2b3b1c487c3e2 /sys-process/dcron/files
parentold (diff)
downloadgentoo-2-2116a0f73473f5c509196f8139fbf6db1d148daa.tar.gz
gentoo-2-2116a0f73473f5c509196f8139fbf6db1d148daa.tar.bz2
gentoo-2-2116a0f73473f5c509196f8139fbf6db1d148daa.zip
Version bump.
(Portage version: 2.1.2_pre2)
Diffstat (limited to 'sys-process/dcron/files')
-rw-r--r--sys-process/dcron/files/dcron-3.2-pidfile.patch20
-rw-r--r--sys-process/dcron/files/digest-dcron-2.9-r42
-rw-r--r--sys-process/dcron/files/digest-dcron-3.23
3 files changed, 25 insertions, 0 deletions
diff --git a/sys-process/dcron/files/dcron-3.2-pidfile.patch b/sys-process/dcron/files/dcron-3.2-pidfile.patch
new file mode 100644
index 000000000000..9ef687746909
--- /dev/null
+++ b/sys-process/dcron/files/dcron-3.2-pidfile.patch
@@ -0,0 +1,20 @@
+write out a pidfile
+
+--- dcron/main.c
++++ dcron/main.c
+@@ -120,8 +120,14 @@
+ perror("fork");
+ exit(1);
+ }
+- if (pid > 0)
++ if (pid > 0) {
++ FILE *fp;
++ if ((fp = fopen("/var/run/cron.pid", "w")) != NULL) {
++ fprintf(fp, "%d\n", pid);
++ fclose(fp);
++ }
+ exit(0);
++ }
+ }
+
+ /*
diff --git a/sys-process/dcron/files/digest-dcron-2.9-r4 b/sys-process/dcron/files/digest-dcron-2.9-r4
index bf4decff8ad3..757aa6f6435e 100644
--- a/sys-process/dcron/files/digest-dcron-2.9-r4
+++ b/sys-process/dcron/files/digest-dcron-2.9-r4
@@ -1 +1,3 @@
MD5 120fb2ca3d91496b32df0ab01dcaec5e dcron29.tgz 15608
+RMD160 99fb2c6bf686531b8e76464cb0b240e7ceaef881 dcron29.tgz 15608
+SHA256 118876c6e7a6b9cdcfd028536493f4d6ccb1b6cdf0d90352528aa7ca1e308f9a dcron29.tgz 15608
diff --git a/sys-process/dcron/files/digest-dcron-3.2 b/sys-process/dcron/files/digest-dcron-3.2
new file mode 100644
index 000000000000..3a289eb33583
--- /dev/null
+++ b/sys-process/dcron/files/digest-dcron-3.2
@@ -0,0 +1,3 @@
+MD5 c2c816deb389b4bfb00761f26afe3efd dcron32.tgz 22184
+RMD160 202036b917fd4fd48fe0a7d057d7dc5ae4c64ac5 dcron32.tgz 22184
+SHA256 3236828eeead5ca3f4c4abef1c0ad0305582158eb5492aac6d34912e407f5318 dcron32.tgz 22184