summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2008-12-30 20:20:14 +0000
committerChristoph Mende <angelos@gentoo.org>2008-12-30 20:20:14 +0000
commit8c35a4c9aab24e7eabfde0e52ec4f33542dd8443 (patch)
tree1898e54114e9912a8a7761096fc12bcbcd2d9146 /app-misc/secure-delete
parentStable on sparc, security bug #242696 (diff)
downloadhistorical-8c35a4c9aab24e7eabfde0e52ec4f33542dd8443.tar.gz
historical-8c35a4c9aab24e7eabfde0e52ec4f33542dd8443.tar.bz2
historical-8c35a4c9aab24e7eabfde0e52ec4f33542dd8443.zip
QA: Respect CC (bug 243670), prevent stripping (bug 240043)
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'app-misc/secure-delete')
-rw-r--r--app-misc/secure-delete/ChangeLog6
-rw-r--r--app-misc/secure-delete/Manifest14
-rw-r--r--app-misc/secure-delete/secure-delete-3.1.ebuild17
3 files changed, 26 insertions, 11 deletions
diff --git a/app-misc/secure-delete/ChangeLog b/app-misc/secure-delete/ChangeLog
index 8415894454ab..b3032839d1e0 100644
--- a/app-misc/secure-delete/ChangeLog
+++ b/app-misc/secure-delete/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/secure-delete
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/ChangeLog,v 1.25 2008/03/28 15:01:53 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/ChangeLog,v 1.26 2008/12/30 20:20:14 angelos Exp $
+
+ 30 Dec 2008; Christoph Mende <angelos@gentoo.org>
+ secure-delete-3.1.ebuild:
+ QA: Respect CC (bug 243670), prevent stripping (bug 240043)
28 Mar 2008; nixnut <nixnut@gentoo.org> secure-delete-3.1.ebuild:
Stable on ppc wrt bug 214944
diff --git a/app-misc/secure-delete/Manifest b/app-misc/secure-delete/Manifest
index c58f405ae84d..03c3bc7e66f2 100644
--- a/app-misc/secure-delete/Manifest
+++ b/app-misc/secure-delete/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX secure-delete-3.1-do-not-use-the-kernel-module.patch 1493 RMD160 3a33fdf3361768d5c6af93def4bd50b9a53c08e3 SHA1 044569e03af0ac63fab8bd67c4142a2fe7a5d9db SHA256 76e2987c590f0e40455d0d4aec87fca97a7b55ae348fc8d9eeeacaec4b665849
DIST secure_delete-3.1.tar.gz 62073 RMD160 923807f99bcc7eed7f0e7f8823ef110b2d0070bc SHA1 ce6391003587b37bd3713a967de04de1f0759107 SHA256 a9d846d1dce3f1bdf13bbb306e8596bc1f263198a086f6beecd90ccf7bddf8d5
-EBUILD secure-delete-3.1.ebuild 1433 RMD160 b8ee7fe8d0ace3ab67e4f57adcf3b6c6b38f8449 SHA1 b630afd267bdbaacf6ac2a4fda376c68471329ef SHA256 e3cc2c2df7257702a21e193429e6bfe1218d90e87ee86618fcdf51d870519bf4
-MISC ChangeLog 2978 RMD160 0120c24a96eb2ffb848f13c27031aa429f9e0fc1 SHA1 11c29258dd397cc685a1e8a917d8737209f74ca0 SHA256 1eebb2ab36042a42d394ea0d2a2f114c39808de072d908fe34ff1039fb10f49f
+EBUILD secure-delete-3.1.ebuild 1495 RMD160 2599ecbc68441132249dbc9f3d982f735daf2e0e SHA1 bc9dded6cb6c86dff2ba8b27b89b0ea279a62fd5 SHA256 5570ecc752ae254279d855e70d289ffee9cdf5a9248a1f245797a69f98673b71
+MISC ChangeLog 3122 RMD160 9a6aa61497b9bf740fe7db7aa1a5611b8ffc82e0 SHA1 6bb1b0b85a7753ae9907ebc83ca2dab69ee58f99 SHA256 699bef257ba97192c315435767462760ecae533f20ab5aa6554b11d85be4abff
MISC metadata.xml 314 RMD160 25181cde297628576a9545bea3a76601485bfaf3 SHA1 ac16b621acf5a22b64859e3323d466fb556fc4c8 SHA256 736baab77aea9c4da199c01e3cd6877c271bd02357ff9b41b537a2232c6e96d7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklagoYACgkQKhnDs22gwa9wAQCgoECD66FZgLyOmwErsoGh/6mf
+AwwAnj9ejWGv91NWtZfXMtSgzliP2FBD
+=fLN9
+-----END PGP SIGNATURE-----
diff --git a/app-misc/secure-delete/secure-delete-3.1.ebuild b/app-misc/secure-delete/secure-delete-3.1.ebuild
index 0f35e33f90e7..f35b19e6f788 100644
--- a/app-misc/secure-delete/secure-delete-3.1.ebuild
+++ b/app-misc/secure-delete/secure-delete-3.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/secure-delete-3.1.ebuild,v 1.8 2008/03/28 15:01:53 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/secure-delete-3.1.ebuild,v 1.9 2008/12/30 20:20:14 angelos Exp $
-inherit eutils
+inherit eutils toolchain-funcs
MY_P=${PN//-/_}-${PV}
S=${WORKDIR}/${MY_P}
@@ -15,9 +15,7 @@ SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE=""
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- !app-misc/srm"
+RDEPEND="!app-misc/srm"
src_unpack() {
unpack ${A}
@@ -28,21 +26,24 @@ src_unpack() {
-e 's|mktemp|mkstemp|g' \
sfill.c
+ sed -i -e "/strip/d" Makefile
+
# the kernel module will not compile without smp support and there is no
# good way to ensure that a user has it
epatch "${FILESDIR}"/${PN}-3.1-do-not-use-the-kernel-module.patch
}
src_compile() {
- make OPT="${CFLAGS} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" || die
+ emake -j1 OPT="${CFLAGS} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \
+ CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
- make \
+ emake \
INSTALL_DIR="${D}"/usr/bin \
MAN_DIR="${D}"/usr/share/man \
DOC_DIR="${D}"/usr/share/doc/${PF} \
- install || die "compile problem"
+ install || die "emake install failed"
dodoc secure_delete.doc usenix6-gutmann.doc
}