summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-11-13 01:00:47 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-11-13 01:00:47 +0000
commit208371312f5df4fcd70a92a3d1b046d3ebaf8f5a (patch)
tree104c317542fecc249010e10d4180f3903435e148 /sys-apps/at
parentfix bug #71023 (Manifest recommit) (diff)
downloadgentoo-2-208371312f5df4fcd70a92a3d1b046d3ebaf8f5a.tar.gz
gentoo-2-208371312f5df4fcd70a92a3d1b046d3ebaf8f5a.tar.bz2
gentoo-2-208371312f5df4fcd70a92a3d1b046d3ebaf8f5a.zip
Respect LDFLAGS, so we can append -Wl,-z,-now to fix QA security notices. Marking stable on x86.
Diffstat (limited to 'sys-apps/at')
-rw-r--r--sys-apps/at/ChangeLog6
-rw-r--r--sys-apps/at/Manifest14
-rw-r--r--sys-apps/at/at-3.1.8-r10.ebuild17
3 files changed, 20 insertions, 17 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 <ka0ttic@gentoo.org> 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 <ka0ttic@gentoo.org> metadata.xml:
Updated metadata to reflect new cron herd.
diff --git a/sys-apps/at/Manifest b/sys-apps/at/Manifest
index 4eb4e786cbe6..37b4c0bbc00c 100644
--- a/sys-apps/at/Manifest
+++ b/sys-apps/at/Manifest
@@ -1,19 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-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 37b7340f55989db29c4c532506bf4d4f at-3.1.8-r10.ebuild 1871
+MD5 59ced7a0bb4da92da49fe7b142a4b698 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
MD5 342e834e06fdf58c877f1fc237f984de files/at.deny 121
MD5 1fbee35c5519e1bcedc01e63faa85931 files/atd.rc6 506
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
------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() {