summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-09-25 15:54:52 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-09-25 15:54:52 +0000
commit7a342f52545c0e7890551a68535b35f3ab850411 (patch)
treef18508c15f1a5a225660f1134788c5e7ba8745d8 /sys-process
parentDon't let build override CC and CFLAGS, bug #106263. (diff)
downloadgentoo-2-7a342f52545c0e7890551a68535b35f3ab850411.tar.gz
gentoo-2-7a342f52545c0e7890551a68535b35f3ab850411.tar.bz2
gentoo-2-7a342f52545c0e7890551a68535b35f3ab850411.zip
Added debug to IUSE for --with-debug configure option; also updated fcron-2.0.0-configure.diff so configure doesn't override CFLAGS.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/fcron/ChangeLog7
-rw-r--r--sys-process/fcron/Manifest16
-rw-r--r--sys-process/fcron/fcron-3.0.0.ebuild12
-rw-r--r--sys-process/fcron/files/fcron-2.0.0-configure.diff24
4 files changed, 39 insertions, 20 deletions
diff --git a/sys-process/fcron/ChangeLog b/sys-process/fcron/ChangeLog
index c514274e5971..1daf34c544dd 100644
--- a/sys-process/fcron/ChangeLog
+++ b/sys-process/fcron/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/fcron
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.7 2005/09/12 01:34:45 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.8 2005/09/25 15:54:52 ka0ttic Exp $
+
+ 25 Sep 2005; Aaron Walker <ka0ttic@gentoo.org>
+ files/fcron-2.0.0-configure.diff, fcron-3.0.0.ebuild:
+ Added debug to IUSE for --with-debug configure option; also updated
+ fcron-2.0.0-configure.diff so configure doesn't override CFLAGS.
*fcron-3.0.0 (12 Sep 2005)
diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index 2ced6ec2348c..e2859fe3b990 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1,10 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 3ce78e0f10f1ce10414c94f8b702e03a fcron-3.0.0.ebuild 2924
+MD5 a8c11c68d386603f23e2181d27334c14 fcron-3.0.0.ebuild 3236
MD5 c1d0a2ed938718f4afbebd7581e4dbf4 fcron-2.0.2.ebuild 3132
MD5 013d69a3c71c5685c3c5cb79262dea8d fcron-2.9.5.1.ebuild 3402
-MD5 1845d1501db3bf7e3d80b13ddd4d5a57 ChangeLog 9061
+MD5 b3325b88cfba7753f56ad9f8e7a1d8e3 ChangeLog 9304
MD5 bd1deeb53b2b8e05397238a5479c74cc metadata.xml 251
MD5 c5be641f3ac32d16043211c7f2d39af3 fcron-2.9.7.ebuild 2924
MD5 92d3b4a42f3e88041e50bb552b9104fd files/crontab 832
@@ -12,13 +9,6 @@ MD5 d18b499ccc7338a352ccc5111a23e224 files/digest-fcron-2.0.2 67
MD5 64d9fabcf4bbba9191877ea7031fe575 files/digest-fcron-2.9.7 67
MD5 107084996cdd2f6e1f328317c09681c2 files/digest-fcron-3.0.0 67
MD5 b54804c4d3b4f7f16163fb5ce4496ae8 files/fcron.rc6 709
-MD5 bebebfe6bc1ce39b1703b624f2be567e files/fcron-2.0.0-configure.diff 390
+MD5 cb4f2a8ba719a085eaa3b67918fbd0f5 files/fcron-2.0.0-configure.diff 716
MD5 42d8a93754df65def4a3746bbc68e494 files/digest-fcron-2.9.5.1 69
MD5 e87691832e6f48a5aed1c6cf3b681bce files/fcron-2.9.5.1-fix-mail-output.diff 415
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDJNtkEZCkKN40op4RAi1zAJ4xCjmsSJ6zQuMP4c66ZZ+l/oceFgCghi28
-rC9fmB4SV1ji40vaMgRCjRY=
-=MnyU
------END PGP SIGNATURE-----
diff --git a/sys-process/fcron/fcron-3.0.0.ebuild b/sys-process/fcron/fcron-3.0.0.ebuild
index e25d5dece421..ae32372a4b51 100644
--- a/sys-process/fcron/fcron-3.0.0.ebuild
+++ b/sys-process/fcron/fcron-3.0.0.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-process/fcron/fcron-3.0.0.ebuild,v 1.1 2005/09/12 01:34:45 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.0.ebuild,v 1.2 2005/09/25 15:54:52 ka0ttic Exp $
inherit cron pam
@@ -10,7 +10,7 @@ SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~mips ~hppa ~amd64"
-IUSE="pam doc selinux"
+IUSE="debug doc pam selinux"
DEPEND="virtual/editor
doc? ( >=app-text/docbook-dsssl-stylesheets-1.77 )
@@ -51,6 +51,7 @@ src_compile() {
econf \
$(use_with pam) \
$(use_with selinux) \
+ $(use_with debug) \
--with-username=cron \
--with-groupname=cron \
--with-piddir=/var/run \
@@ -60,6 +61,7 @@ src_compile() {
--with-sendmail=/usr/sbin/sendmail \
--with-fcrondyn=yes \
--with-editor=${EDITOR} \
+ --with-shell=/bin/sh \
${myconf} \
|| die "Configure problem"
@@ -91,7 +93,7 @@ src_install() {
newinitd ${FILESDIR}/fcron.rc6 fcron || die "newinitd failed"
# doc stuff
- dodoc MANIFEST VERSION doc/txt/*.txt
+ dodoc MANIFEST VERSION doc/txt/*.txt script/check_system_crontabs
newdoc files/fcron.conf fcron.conf.sample
use doc && dohtml doc/HTML/*.html
dodoc ${FILESDIR}/crontab
@@ -102,5 +104,9 @@ src_install() {
pkg_postinst() {
einfo "Each user who uses fcron should be added to the cron group"
einfo "in /etc/group and also be added in /etc/fcron/fcron.allow"
+ einfo
+ einfo "It is possible to emulate vixie-cron's behavior with regards to /etc/crontab"
+ einfo "and /etc/cron.d. To do so, read the directions provided in the script,"
+ einfo "/usr/share/doc/${PF}/check_system_crontabs.gz."
cron_pkg_postinst
}
diff --git a/sys-process/fcron/files/fcron-2.0.0-configure.diff b/sys-process/fcron/files/fcron-2.0.0-configure.diff
index 096bc1a4ab30..b2c9ed983f1e 100644
--- a/sys-process/fcron/files/fcron-2.0.0-configure.diff
+++ b/sys-process/fcron/files/fcron-2.0.0-configure.diff
@@ -1,6 +1,6 @@
---- fcron-2.0.0.orig/configure.in 2004-10-11 08:37:50.840101374 -0400
-+++ fcron-2.0.0/configure.in 2004-10-11 09:47:14.310439574 -0400
-@@ -202,13 +202,7 @@
+--- configure.in.orig 2005-09-25 03:51:51.000000000 -0400
++++ configure.in 2005-09-25 03:55:50.000000000 -0400
+@@ -265,13 +265,7 @@
fi
;;
*)
@@ -14,3 +14,21 @@
;;
esac ],
if test -d "/etc"; then
+@@ -795,7 +789,7 @@
+ [ --with-debug=CFLAGS Use default debug flags or CFLAGS if given to compile fcron in debug mode.],
+ [ case "$withval" in
+ no)
+- cflags="-O2 -Wall"
++ cflags="-Wall"
+ debug="0"
+ ;;
+ yes)
+@@ -808,7 +802,7 @@
+ debug="1"
+ ;;
+ esac ],
+- cflags="-O2 -Wall"
++ cflags=""
+ debug="0"
+ )
+ DEBUG=$debug