Added debug to IUSE for --with-debug configure option; also updated fcron-2.0.0-confi...
authorAaron Walker <ka0ttic@gentoo.org>
Sun, 25 Sep 2005 15:54:52 +0000 (15:54 +0000)
committerAaron Walker <ka0ttic@gentoo.org>
Sun, 25 Sep 2005 15:54:52 +0000 (15:54 +0000)
Package-Manager: portage-2.0.52-r1

sys-process/fcron/ChangeLog
sys-process/fcron/Manifest
sys-process/fcron/fcron-3.0.0.ebuild
sys-process/fcron/files/fcron-2.0.0-configure.diff

index c514274e5971cc4cad59c5f6e6ec60afce6d44b4..1daf34c544dd3b28dae0ea8a0ba1e8cc498dce3a 100644 (file)
@@ -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)
 
index 2ced6ec2348c8e3d160a9a3fb7b3e0e1983962c0..000de82ce48ff31701da196e9ab43613dd9017ce 100644 (file)
@@ -1,10 +1,10 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 3ce78e0f10f1ce10414c94f8b702e03a fcron-3.0.0.ebuild 2924
+MD5 e683aa2d43df1ac25b58b95ee94f7243 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 5025c6a6abc77624e86be083fb5e9619 ChangeLog 9304
 MD5 bd1deeb53b2b8e05397238a5479c74cc metadata.xml 251
 MD5 c5be641f3ac32d16043211c7f2d39af3 fcron-2.9.7.ebuild 2924
 MD5 92d3b4a42f3e88041e50bb552b9104fd files/crontab 832
@@ -12,13 +12,13 @@ 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
+iD8DBQFDNsh/EZCkKN40op4RAn1FAJ4kOHrB0YWWWEBH7K6jDIPYslWTWgCglXpU
+euYRUQrB4s1+QQzlegfFNkc=
+=RboR
 -----END PGP SIGNATURE-----
index e25d5dece42172e0cca764eeb4d40d9eed375ef2..ae32372a4b511d6bf1d1d980ddfbf76120b6d693 100644 (file)
@@ -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
 }
index 096bc1a4ab301694c25cb89ab68321761541a062..b2c9ed983f1e04a9a0ab97174257c6f84cc5b57a 100644 (file)
@@ -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
      ;;
    *)
      ;;
    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