All versions now respect LDFLAGS, which leads to all versions now appending -Wl,...
authorAaron Walker <ka0ttic@gentoo.org>
Mon, 11 Oct 2004 14:19:17 +0000 (14:19 +0000)
committerAaron Walker <ka0ttic@gentoo.org>
Mon, 11 Oct 2004 14:19:17 +0000 (14:19 +0000)
sys-apps/fcron/ChangeLog
sys-apps/fcron/Manifest
sys-apps/fcron/fcron-2.0.0-r4.ebuild
sys-apps/fcron/fcron-2.0.1.ebuild
sys-apps/fcron/fcron-2.9.4.ebuild
sys-apps/fcron/fcron-2.9.5.ebuild
sys-apps/fcron/files/fcron-2.0.0-configure.diff [moved from sys-apps/fcron/files/2.9.4-braindead-configure-check.patch with 52% similarity]
sys-apps/fcron/files/fcron-2.0.0-gentoo.diff [deleted file]
sys-apps/fcron/files/fcron-2.9.5-configure.diff [deleted file]
sys-apps/fcron/files/fcron.conf-2.9.5 [new file with mode: 0644]
sys-apps/fcron/metadata.xml

index 440676c89cdcadaa5edaecc79d60c9ccebf8ff02..a7a9a04953e7baa29ac93dce412bd9099b7cf864 100644 (file)
@@ -1,6 +1,16 @@
 # ChangeLog for sys-apps/fcron
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.30 2004/10/09 07:53:50 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/ChangeLog,v 1.31 2004/10/11 14:19:17 ka0ttic Exp $
+
+  11 Oct 2004; Aaron Walker <ka0ttic@gentoo.org> metadata.xml,
+  -files/2.9.4-braindead-configure-check.patch,
+  +files/fcron-2.0.0-configure.diff, -files/fcron-2.0.0-gentoo.diff,
+  -files/fcron-2.9.5-configure.diff, +files/fcron.conf-2.9.5,
+  fcron-2.0.0-r4.ebuild, fcron-2.0.1.ebuild, fcron-2.9.4.ebuild,
+  fcron-2.9.5.ebuild:
+  All versions now respect LDFLAGS, which leads to all versions now appending
+  -Wl,-z,now for the setuid QA notice. Removed duplicate patches. Added missing
+  sample config for 2.9.5. Also, updated metadata to reflect new cron herd.
 
 *fcron-2.9.5 (09 Oct 2004)
 
index 9e63a30c29f88b1b2e63219f1c5b747b30111895..ec8b95ace4c3ab84040bad60c5485d4b5dd3edb0 100644 (file)
@@ -1,23 +1,32 @@
-MD5 f1473e29d6627b7440ebe83124ff3512 fcron-2.0.0-r4.ebuild 2134
-MD5 65f2376d0c7376a23e37396fb3bdfdaf fcron-2.0.1.ebuild 2149
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 1d2217d4cb545987ea3729bdfbfa34a7 fcron-2.9.5.ebuild 2784
-MD5 020a8397134cfcfbc8057d5060e607cb fcron-2.9.4.ebuild 2869
-MD5 82d970b15c6050280074c2b973f001aa ChangeLog 4273
-MD5 618ee227782ad9a3939c89e932eb2d2e files/fcron.pam 296
-MD5 f659349d3f24fa1b57684af8f495efe6 files/fcrontab.pam 506
-MD5 f5fbd4d1733d97b08034756b0e9bf3c2 files/fcron-2.0.0-gentoo.diff 492
-MD5 2d4d092f7a76917183b5d8086d871e67 files/fcron.allow 375
-MD5 7e9a6dd8e9a4e482d7b6bf33d1f9881b files/fcron.conf 747
-MD5 068bd306e10da92d3c159ee12be338bb files/digest-fcron-2.9.4 67
-MD5 4ca5f2b70a7519c6390c5b23c9d058b4 files/digest-fcron-2.0.0-r4 67
-MD5 fdf5c18f2b46001e9a6c1bf561e49676 files/digest-fcron-2.0.1 67
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 364c9a4a861c1a4b92ee5a5fd7f8a3f0 fcron-2.0.1.ebuild 2409
+MD5 df0ac43022acdd5cded9cdf086312719 fcron-2.9.4.ebuild 2956
+MD5 bf70b2d5bfca86650565d966109dcdab fcron-2.0.0-r4.ebuild 2392
+MD5 ae26f2f2d02d77ea2a5bd83fbc25a57b fcron-2.9.5.ebuild 2895
+MD5 8833b450d230b0e57997d0eb5ff22b45 ChangeLog 4838
+MD5 9c8fdf815ce980c230d763b496d4d088 metadata.xml 158
+MD5 8331ba4de4f67517afa3af7c269bab22 files/fcron.conf-2.9.4 681
+MD5 8331ba4de4f67517afa3af7c269bab22 files/fcron.conf-2.9.5 681
 MD5 52572ff759db2d68e16f8cbc46fc6cd9 files/crontab 833
-MD5 54d34efc5c1c41481d4605e38ddba3a8 files/fcron.rc6 705
+MD5 7e9a6dd8e9a4e482d7b6bf33d1f9881b files/fcron.conf 747
 MD5 d450e99144dc943526cd370c2b3a87e1 files/fcron.deny 377
+MD5 fdf5c18f2b46001e9a6c1bf561e49676 files/digest-fcron-2.0.1 67
+MD5 068bd306e10da92d3c159ee12be338bb files/digest-fcron-2.9.4 67
 MD5 36ac9fab5fd89ba7f8f9a1900d5562fc files/digest-fcron-2.9.5 67
-MD5 f74287027182d448b6022db116d87d24 files/2.9.4-braindead-configure-check.patch 366
-MD5 f74287027182d448b6022db116d87d24 files/fcron-2.9.5-configure.diff 366
 MD5 b53d17ddba7360bc230a94a0537b4395 files/fcron-2.0.0-gcc34.diff 251
+MD5 618ee227782ad9a3939c89e932eb2d2e files/fcron.pam 296
+MD5 54d34efc5c1c41481d4605e38ddba3a8 files/fcron.rc6 705
+MD5 bebebfe6bc1ce39b1703b624f2be567e files/fcron-2.0.0-configure.diff 390
+MD5 2d4d092f7a76917183b5d8086d871e67 files/fcron.allow 375
+MD5 f659349d3f24fa1b57684af8f495efe6 files/fcrontab.pam 506
 MD5 d69c448b972f28fe669f2d70b7bf4c5b files/fcron-2.9.4-selinuxupdate.diff 6902
-MD5 8331ba4de4f67517afa3af7c269bab22 files/fcron.conf-2.9.4 681
+MD5 4ca5f2b70a7519c6390c5b23c9d058b4 files/digest-fcron-2.0.0-r4 67
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBapZvEZCkKN40op4RAuQ8AJ9OB91+yxxaOYDcv54KpMiJDdt1BwCglLvi
+RqizbI4NOCwvotU6iYJvfTw=
+=Nvg4
+-----END PGP SIGNATURE-----
index 0c32b23238e01e88437f4b4a075c60c7164087c2..f1dfaa23aeb2543c007d028c2f4ae01cca35411d 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.0-r4.ebuild,v 1.7 2004/09/04 21:31:29 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.0-r4.ebuild,v 1.8 2004/10/11 14:19:17 ka0ttic Exp $
 
-inherit eutils
+inherit eutils flag-o-matic
 
 DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
 HOMEPAGE="http://fcron.free.fr/"
@@ -22,14 +22,20 @@ PROVIDE="virtual/cron"
 src_unpack() {
        unpack ${A}
        cd ${S}
-       epatch ${FILESDIR}/${P}-gentoo.diff
+       epatch ${FILESDIR}/${P}-configure.diff
        epatch ${FILESDIR}/${P}-gcc34.diff
        # fix LIBOBJS vs AC_LIBOBJ problem
        sed -i -e 's|LIBOBJS|AC_LIBOBJ|g' configure.in
+       # respect LDFLAGS
+       sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
        autoconf || die "autoconf problem"
 }
 
 src_compile() {
+       # QA security notice fix; see "[gentoo-core] Heads up changes in suid
+       # handing with portage >=51_pre21" for more details.
+       append-ldflags -Wl,-z,now
+
        econf \
                --with-username=cron \
                --with-groupname=cron \
index 4d98042027f8a676dfd04993e2abd0b1a7b6e149..e3c8b2366d385d6a09e19f10616939c03c313cbd 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.1.ebuild,v 1.1 2004/10/09 07:53:50 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.1.ebuild,v 1.2 2004/10/11 14:19:17 ka0ttic Exp $
 
-inherit eutils
+inherit eutils flag-o-matic
 
 DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
 HOMEPAGE="http://fcron.free.fr/"
@@ -22,14 +22,20 @@ PROVIDE="virtual/cron"
 src_unpack() {
        unpack ${A}
        cd ${S}
-       epatch ${FILESDIR}/${PN}-2.0.0-gentoo.diff
+       epatch ${FILESDIR}/${PN}-2.0.0-configure.diff
        epatch ${FILESDIR}/${PN}-2.0.0-gcc34.diff
        # fix LIBOBJS vs AC_LIBOBJ problem
        sed -i -e 's|LIBOBJS|AC_LIBOBJ|g' configure.in
+       # respect LDFLAGS
+       sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
        autoconf || die "autoconf problem"
 }
 
 src_compile() {
+       # QA security notice fix; see "[gentoo-core] Heads up changes in suid
+       # handing with portage >=51_pre21" for more details.
+       append-ldflags -Wl,-z,now
+
        econf \
                --with-username=cron \
                --with-groupname=cron \
index f6d0d826f0f4175f7aa54e55a38f178b47aa7d2c..257fd1bc23077f92496821f1b186a66447d8495c 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.9.4.ebuild,v 1.4 2004/09/03 21:03:23 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.9.4.ebuild,v 1.5 2004/10/11 14:19:17 ka0ttic Exp $
 
-inherit eutils
+inherit eutils flag-o-matic
 
 DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
 HOMEPAGE="http://fcron.free.fr/"
@@ -25,21 +25,28 @@ PROVIDE="virtual/cron"
 src_unpack() {
        unpack ${A}
        cd ${S}
-       epatch ${FILESDIR}/${PV}-braindead-configure-check.patch
-       use selinux && epatch ${FILESDIR}/fcron-2.9.4-selinuxupdate.diff
+
+       epatch ${FILESDIR}/${PN}-2.0.0-configure.diff
+       use selinux && epatch ${FILESDIR}/${P}-selinuxupdate.diff
+
+       # respect LDFLAGS
+       sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
+
        autoconf || die "autoconf failed"
 }
 
 src_compile() {
        local myconf=
-       use pam \
-               && myconf="${myconf} --with-pam=yes" \
-               || myconf="${myconf} --with-pam=no"
-       use doc && myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-       use selinux \
-               && myconf="${myconf} --with-selinux=yes" \
-               || myconf="${myconf} --with-selinux=no"
+       use doc && \
+               myconf="--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
+
+       # QA security notice fix; see "[gentoo-core] Heads up changes in suid
+       # handing with portage >=51_pre21" for more details.
+       append-ldflags -Wl,-z,now
+
        econf \
+               $(use_with pam) \
+               $(use_with selinux) \
                --with-username=cron \
                --with-groupname=cron \
                --with-piddir=/var/run \
index b3bbe647bdb4a2fbd87a8f2f171e91609e701204..d3c0650c9bae602f802c4682516d428fb2ef0767 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.9.5.ebuild,v 1.1 2004/10/09 07:53:50 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.9.5.ebuild,v 1.2 2004/10/11 14:19:17 ka0ttic Exp $
 
-inherit eutils
+inherit eutils flag-o-matic
 
 DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
 HOMEPAGE="http://fcron.free.fr/"
@@ -25,20 +25,24 @@ PROVIDE="virtual/cron"
 src_unpack() {
        unpack ${A}
        cd ${S}
-       epatch ${FILESDIR}/${P}-configure.diff
+       epatch ${FILESDIR}/${PN}-2.0.0-configure.diff
+       # respect LDFLAGS
+       sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
        autoconf || die "autoconf failed"
 }
 
 src_compile() {
        local myconf=
-       use pam \
-               && myconf="${myconf} --with-pam=yes" \
-               || myconf="${myconf} --with-pam=no"
-       use doc && myconf="${myconf} --with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
-       use selinux \
-               && myconf="${myconf} --with-selinux=yes" \
-               || myconf="${myconf} --with-selinux=no"
+       use doc && \
+               myconf="--with-dsssl-dir=/usr/share/sgml/stylesheets/dsssl/docbook"
+
+       # QA security notice fix; see "[gentoo-core] Heads up changes in suid
+       # handing with portage >=51_pre21" for more details.
+       append-ldflags -Wl,-z,now
+
        econf \
+               $(use_with pam) \
+               $(use_with selinux) \
                --with-username=cron \
                --with-groupname=cron \
                --with-piddir=/var/run \
similarity index 52%
rename from sys-apps/fcron/files/2.9.4-braindead-configure-check.patch
rename to sys-apps/fcron/files/fcron-2.0.0-configure.diff
index f12273022f72408ccdca1e09799e23cad8077e85..096bc1a4ab301694c25cb89ab68321761541a062 100644 (file)
@@ -1,12 +1,12 @@
---- configure.in.orig  2004-04-18 18:14:37.944027760 -0400
-+++ configure.in       2004-04-18 18:14:57.447062848 -0400
-@@ -254,13 +254,8 @@
+--- 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 @@
      fi
      ;;
    *)
 -    if test -d "$withval"; then
        etcdir="$withval"
-       AC_MSG_RESULT($withval)
+-      AC_MSG_RESULT($withval)
 -    else
 -      AC_MSG_ERROR([
 -Directory $withval does not exist])
diff --git a/sys-apps/fcron/files/fcron-2.0.0-gentoo.diff b/sys-apps/fcron/files/fcron-2.0.0-gentoo.diff
deleted file mode 100644 (file)
index aa6c036..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure.in.orig  Sun Jul  8 07:32:17 2001
-+++ configure.in       Sat Aug 25 14:36:05 2001
-@@ -201,13 +201,13 @@
-     fi
-     ;;
-   *)
--    if test -d "$withval"; then
-+#    if test -d "$withval"; then
-       etcdir="$withval"
--      AC_MSG_RESULT($withval)
--    else
--      AC_MSG_ERROR([
--Directory $withval does not exist])
--    fi
-+#      AC_MSG_RESULT($withval)
-+#    else
-+#      AC_MSG_ERROR([
-+#Directory $withval does not exist])
-+#    fi
-     ;;
-   esac ],
-   if test -d "/etc"; then
diff --git a/sys-apps/fcron/files/fcron-2.9.5-configure.diff b/sys-apps/fcron/files/fcron-2.9.5-configure.diff
deleted file mode 100644 (file)
index f122730..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.in.orig  2004-04-18 18:14:37.944027760 -0400
-+++ configure.in       2004-04-18 18:14:57.447062848 -0400
-@@ -254,13 +254,8 @@
-     fi
-     ;;
-   *)
--    if test -d "$withval"; then
-       etcdir="$withval"
-       AC_MSG_RESULT($withval)
--    else
--      AC_MSG_ERROR([
--Directory $withval does not exist])
--    fi
-     ;;
-   esac ],
-   if test -d "/etc"; then
diff --git a/sys-apps/fcron/files/fcron.conf-2.9.5 b/sys-apps/fcron/files/fcron.conf-2.9.5
new file mode 100644 (file)
index 0000000..24bb86a
--- /dev/null
@@ -0,0 +1,23 @@
+# fcron.conf - Configuration file for fcron(8) and fcrontab(1).
+#      See fcron.conf(5) for syntax and explanations.
+#
+# WARNING : this file must be owned by root:cron and 640.
+#
+
+# The spool directory where fcron stores its files
+fcrontabs      =       /var/spool/cron/fcrontabs
+
+# The locations of the pid file and the fifo file
+pidfile                =       /var/run/fcron.pid
+fifofile       =       /var/run/fcron.fifo
+
+# allow/deny files to determine which users are allowed to use fcrontab
+fcronallow     =       /etc/fcron/fcron.allow
+fcrondeny      =       /etc/fcron/fcron.deny
+
+# Location of the programs used by fcron
+shell          =       /bin/sh
+sendmail       =       /usr/sbin/sendmail
+
+# Location of the default editor for "fcrontab -e"
+editor         =       /bin/nano
index 96a2d586367db7ac21a29fd459fdc264e9bba260..3f399e92bcff7b90f24ccae895ede5adaea1a454 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>base-system</herd>
+       <herd>cron</herd>
 </pkgmetadata>