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
commit37f5c55285c94626a55f8bfeac1f6c3a29657e69 (patch)
tree80785eb0fe3aa5d9d5d704e6e0b5407cc13dcb91 /app-misc/secure-delete
parentStraight to stable revbump for EAPI2, needed by releng (diff)
downloadgentoo-2-37f5c55285c94626a55f8bfeac1f6c3a29657e69.tar.gz
gentoo-2-37f5c55285c94626a55f8bfeac1f6c3a29657e69.tar.bz2
gentoo-2-37f5c55285c94626a55f8bfeac1f6c3a29657e69.zip
QA: Respect CC (bug 243670), prevent stripping (bug 240043)
(Portage version: 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/secure-delete-3.1.ebuild17
2 files changed, 14 insertions, 9 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/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
}