summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-02-23 11:17:41 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-02-23 11:17:41 +0000
commitf22a35caab4c9c7f31e648dcf2018d421d75a399 (patch)
tree19015832eee448cc04d093abcabe9df71c6e60ff /sys-apps
parentNew version and big cleanup. See ChangeLog for details. (diff)
downloadhistorical-f22a35caab4c9c7f31e648dcf2018d421d75a399.tar.gz
historical-f22a35caab4c9c7f31e648dcf2018d421d75a399.tar.bz2
historical-f22a35caab4c9c7f31e648dcf2018d421d75a399.zip
Patch vixie to use basename(argv[0]) instead of argv[0] for bug 82057. Thanks to Colin Kingsley for the patch.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/vixie-cron/ChangeLog10
-rw-r--r--sys-apps/vixie-cron/Manifest41
-rw-r--r--sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r6 (renamed from sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r5)0
-rw-r--r--sys-apps/vixie-cron/files/vixie-cron-4.1-basename.diff20
-rw-r--r--sys-apps/vixie-cron/vixie-cron-4.1-r6.ebuild (renamed from sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild)3
5 files changed, 57 insertions, 17 deletions
diff --git a/sys-apps/vixie-cron/ChangeLog b/sys-apps/vixie-cron/ChangeLog
index 0b2290f41ae0..13f4e41be8ba 100644
--- a/sys-apps/vixie-cron/ChangeLog
+++ b/sys-apps/vixie-cron/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/vixie-cron
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.55 2005/02/15 14:04:00 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/ChangeLog,v 1.56 2005/02/23 11:17:41 ka0ttic Exp $
+
+*vixie-cron-4.1-r6 (23 Feb 2005)
+
+ 23 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/vixie-cron-4.1-basename.diff, -vixie-cron-4.1-r5.ebuild,
+ +vixie-cron-4.1-r6.ebuild:
+ Patch vixie to use basename(argv[0]) instead of argv[0] for bug 82057.
+ Thanks to Colin Kingsley for the patch.
15 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r5.ebuild:
Fix dopamd invocation since the semantics were changed.
diff --git a/sys-apps/vixie-cron/Manifest b/sys-apps/vixie-cron/Manifest
index dfc04f3e6b30..525b7f9f11b7 100644
--- a/sys-apps/vixie-cron/Manifest
+++ b/sys-apps/vixie-cron/Manifest
@@ -1,22 +1,33 @@
-MD5 e164906586f50b0c7a14589b09a385c4 ChangeLog 12217
-MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 1985d806ba1556d197f4054765b6006e vixie-cron-3.0.1-r4.ebuild 2019
-MD5 10e6e5c36bab78f2ad1c22adb26c4931 vixie-cron-3.0.1-r5.ebuild 2202
-MD5 9429c13bd2dcdb47673b0b22bd51ab5f vixie-cron-4.1-r5.ebuild 2630
MD5 4e5ed3c4635165348d7e179e4276e0ed vixie-cron-4.1-r4.ebuild 3294
-MD5 5eab102dfecfc35810ab8cf50f95d0d3 files/cron.pam.d 123
-MD5 f9c762005dc744193babe199ba3fb297 files/crontab 604
+MD5 10e6e5c36bab78f2ad1c22adb26c4931 vixie-cron-3.0.1-r5.ebuild 2202
+MD5 a1556af135d77dd8ec786c13b3a57fab ChangeLog 12511
+MD5 e1119e1aff79c6b76b76702669f4777b vixie-cron-4.1-r6.ebuild 2670
+MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288
+MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220
MD5 90b7dda2ca0ecdd2f4dcd9764eaa2358 files/crontab-3.0.1-r4 617
-MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r4 144
-MD5 9d66b761d15afae9471d33509b712fe9 files/vixie-cron-3.0.1-close_stdin.diff 810
-MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854
-MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
-MD5 2790891d7be3833a500e5af547546b0d files/vixie-cron.rc6 526
+MD5 f9c762005dc744193babe199ba3fb297 files/crontab 604
MD5 de84c3326555349db053b4aa13c0805f files/crontab.5.diff 772
-MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r5 144
-MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r5 143
-MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220
+MD5 5eab102dfecfc35810ab8cf50f95d0d3 files/cron.pam.d 123
MD5 620b10c2982aed3071acd92d52e76d8e files/vixie-cron-4.1-pam.patch 1714
-MD5 08c5d571b72d52a2762b2c40639d6946 files/vixie-cron-4.1-commandline.patch 387
MD5 4c35adb745265e3008fe1999d6a18952 files/vixie-cron-4.1-selinux.diff 3557
+MD5 2790891d7be3833a500e5af547546b0d files/vixie-cron.rc6 526
+MD5 2e993fc2910f6f8d1453b3eb2dbe838c files/vixie-cron-4.1-basename.diff 479
+MD5 9d66b761d15afae9471d33509b712fe9 files/vixie-cron-3.0.1-close_stdin.diff 810
+MD5 08c5d571b72d52a2762b2c40639d6946 files/vixie-cron-4.1-commandline.patch 387
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r4 144
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r5 144
+MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854
MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r4 143
+MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r6 143
+MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCHGbhEZCkKN40op4RAijKAKCdtpTN6pMiEyVxbR6ZyAoeU6dPyQCgpZRP
+XkqerGT/HJlezvsYM6W8lac=
+=nzYU
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r5 b/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r6
index 23195713d1ae..23195713d1ae 100644
--- a/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r5
+++ b/sys-apps/vixie-cron/files/digest-vixie-cron-4.1-r6
diff --git a/sys-apps/vixie-cron/files/vixie-cron-4.1-basename.diff b/sys-apps/vixie-cron/files/vixie-cron-4.1-basename.diff
new file mode 100644
index 000000000000..c7930ddc4e97
--- /dev/null
+++ b/sys-apps/vixie-cron/files/vixie-cron-4.1-basename.diff
@@ -0,0 +1,20 @@
+diff --exclude='*~' -urN vixie-cron-4.1.orig/cron.c vixie-cron-4.1/cron.c
+--- vixie-cron-4.1.orig/cron.c 2005-02-23 02:05:30.730975808 -0500
++++ vixie-cron-4.1/cron.c 2005-02-23 02:07:13.233393072 -0500
+@@ -25,6 +25,7 @@
+
+ #define MAIN_PROGRAM
+
++#include <libgen.h>
+ #include "cron.h"
+
+ enum timejump { negative, small, medium, large };
+@@ -61,7 +62,7 @@
+ cron_db database;
+ int fd;
+
+- ProgramName = argv[0];
++ ProgramName = basename(argv[0]);
+
+ setlocale(LC_ALL, "");
+
diff --git a/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild b/sys-apps/vixie-cron/vixie-cron-4.1-r6.ebuild
index 7dd383244838..6f527b333ef3 100644
--- a/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild
+++ b/sys-apps/vixie-cron/vixie-cron-4.1-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r5.ebuild,v 1.3 2005/02/19 17:54:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/vixie-cron-4.1-r6.ebuild,v 1.1 2005/02/23 11:17:41 ka0ttic Exp $
inherit cron toolchain-funcs debug
@@ -32,6 +32,7 @@ src_unpack() {
epatch ${WORKDIR}/${P}-gentoo-${GENTOO_PATCH_REV}.patch
epatch ${FILESDIR}/crontab.5.diff
epatch ${FILESDIR}/${P}-commandline.patch
+ epatch ${FILESDIR}/${P}-basename.diff
use pam && epatch ${FILESDIR}/${P}-pam.patch
use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}