From 3c4c857f8eae9fcda72e4edcb417eb95fb5f444a Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Sat, 13 Nov 2004 01:00:47 +0000 Subject: [PATCH] Respect LDFLAGS, so we can append -Wl,-z,-now to fix QA security notices. Marking stable on x86. --- sys-apps/at/ChangeLog | 6 +++++- sys-apps/at/Manifest | 10 +++++----- sys-apps/at/at-3.1.8-r10.ebuild | 17 +++++++++++++---- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/sys-apps/at/ChangeLog b/sys-apps/at/ChangeLog index beea72760b40..3b30c976c41b 100644 --- a/sys-apps/at/ChangeLog +++ b/sys-apps/at/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/at # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/ChangeLog,v 1.19 2004/10/08 12:17:00 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/ChangeLog,v 1.20 2004/11/13 01:00:47 ka0ttic Exp $ + + 12 Nov 2004; Aaron Walker at-3.1.8-r10.ebuild: + Respect LDFLAGS, so we can append -Wl,-z,-now to fix QA security notices. + Marking stable on x86. 08 Oct 2004; Aaron Walker metadata.xml: Updated metadata to reflect new cron herd. diff --git a/sys-apps/at/Manifest b/sys-apps/at/Manifest index 4eb4e786cbe6..15e666e12de8 100644 --- a/sys-apps/at/Manifest +++ b/sys-apps/at/Manifest @@ -2,8 +2,8 @@ Hash: SHA1 MD5 23f7b1fdcfc5d77a348f6d7fea97fc14 at-3.1.8-r9.ebuild 1344 -MD5 e990cb7c661ae307fb0970ec9c587e08 at-3.1.8-r10.ebuild 1578 -MD5 803c8a5cbd45e8e60a4d0b5c9892bae1 ChangeLog 2797 +MD5 0cca9afeea7da7a203e03bdf3d9b4f72 at-3.1.8-r10.ebuild 1870 +MD5 fec7c1b25237ee178beb947331630752 ChangeLog 2969 MD5 9c8fdf815ce980c230d763b496d4d088 metadata.xml 158 MD5 f189f039555f37eb1a0792837d33ea04 files/at-3.1.8-longuser.patch 723 MD5 b1f01b7f45cd50b24b40694c623ecc53 files/digest-at-3.1.8-r9 63 @@ -13,7 +13,7 @@ MD5 b1f01b7f45cd50b24b40694c623ecc53 files/digest-at-3.1.8-r10 63 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBZoVEEZCkKN40op4RAkeXAJ9UxGx9CCfMrmDi6hiO+2ujLXAKqQCggYJY -G8MkOydgynXRW0i0IqU2k+M= -=owCh +iD8DBQFBlVzIEZCkKN40op4RAobUAJ9EI+dZtfoJvKmnKA2sqB9R9i3mjwCgnMx6 +YXdXTzS+MjQogCsfKZnnDAo= +=/0Dv -----END PGP SIGNATURE----- diff --git a/sys-apps/at/at-3.1.8-r10.ebuild b/sys-apps/at/at-3.1.8-r10.ebuild index 9f1d1fab874b..f79878cc6d15 100644 --- a/sys-apps/at/at-3.1.8-r10.ebuild +++ b/sys-apps/at/at-3.1.8-r10.ebuild @@ -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/at/at-3.1.8-r10.ebuild,v 1.7 2004/09/03 21:03:23 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/at-3.1.8-r10.ebuild,v 1.8 2004/11/13 01:00:47 ka0ttic Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Queues jobs for later execution" HOMEPAGE="ftp://jurix.jura.uni-sb.de/pub/jurix/source/chroot/appl/at/" @@ -10,7 +10,7 @@ SRC_URI="mirror://debian/pool/main/a/at/at_${PV}-11.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ppc ~sparc alpha ~amd64 ~ia64 ~ppc64" +KEYWORDS="x86 ppc ~sparc alpha ~amd64 ~ia64 ~ppc64" IUSE="" DEPEND="virtual/libc @@ -21,19 +21,28 @@ RDEPEND="virtual/libc src_unpack() { unpack ${A} && cd ${S} || die "error unpacking" + # respect LDFLAGS + sed -i "s/\(@LIBS@\)/@LDFLAGS@ \1/" Makefile.in || \ + die "sed Makefile.in failed" + # Fix bug 33696 by allowing usernames longer than 8 chars, # thanks to Yuval Kogman for the patch epatch ${FILESDIR}/at-3.1.8-longuser.patch } src_compile() { + # QA security notice fix; see "[gentoo-core] Heads up changes in suid + # handling with portage >=51_pre21" for more details. + append-ldflags -Wl,-z,now + ./configure --host=${CHOST/-pc/} --sysconfdir=/etc/at \ --with-jobdir=/var/cron/atjobs \ --with-atspool=/var/cron/atspool \ --with-etcdir=/etc/at \ --with-daemon_username=at \ --with-daemon_groupname=at || die - emake || die + + emake LDFLAGS="${LDFLAGS}" || die } src_install() { -- 2.26.2