summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-09-17 13:49:39 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-09-17 13:49:39 +0000
commit7b0cb94f2ce08512398c597c9524d711656fb4d3 (patch)
treef3b82adcf7a53b5f287ed5394172452b4e8e36a3 /app-misc/secure-delete
parentfix for #27434 (diff)
downloadgentoo-2-7b0cb94f2ce08512398c597c9524d711656fb4d3.tar.gz
gentoo-2-7b0cb94f2ce08512398c597c9524d711656fb4d3.tar.bz2
gentoo-2-7b0cb94f2ce08512398c597c9524d711656fb4d3.zip
fix for #27434
Diffstat (limited to 'app-misc/secure-delete')
-rw-r--r--app-misc/secure-delete/ChangeLog7
-rw-r--r--app-misc/secure-delete/Manifest4
-rw-r--r--app-misc/secure-delete/files/digest-secure-delete-3.01
-rw-r--r--app-misc/secure-delete/secure-delete-3.0.ebuild42
4 files changed, 51 insertions, 3 deletions
diff --git a/app-misc/secure-delete/ChangeLog b/app-misc/secure-delete/ChangeLog
index 4b4b1cdca230..c8b2bc37758f 100644
--- a/app-misc/secure-delete/ChangeLog
+++ b/app-misc/secure-delete/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/secure-delete
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/ChangeLog,v 1.3 2003/02/12 05:06:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/ChangeLog,v 1.4 2003/09/17 13:49:35 aliz Exp $
+
+*secure-delete-3.0 (17 Sep 2003)
+
+ 17 Sep 2003; Daniel Ahlberg <aliz@gentoo.org> secure-delete-3.0.ebuild :
+ Version bump to fix #27434.
*secure-delete-2.3 (29 Oct 2002)
diff --git a/app-misc/secure-delete/Manifest b/app-misc/secure-delete/Manifest
index 7bc6c6c4d267..7e12621e55f0 100644
--- a/app-misc/secure-delete/Manifest
+++ b/app-misc/secure-delete/Manifest
@@ -1,5 +1,5 @@
-MD5 914991c7097c41d937836355f2e295b1 ChangeLog 564
+MD5 ac8c80108a613cb0d6510c7ef43e6fc5 ChangeLog 702
MD5 0a27fdb35fd636a90389543b6ff53cea secure-delete-2.3.ebuild 1141
-MD5 4b161e82cb89bf7d74a3c5c55e204504 secure-delete-3.0.ebuild 1072
+MD5 e059f976d9ecadee839f180165bd786b secure-delete-3.0.ebuild 1127
MD5 2acdb58717304e1f14e0b04ba5a95fb3 files/digest-secure-delete-2.3 68
MD5 1bee983c8785c87d868a02f06c49e29d files/digest-secure-delete-3.0 68
diff --git a/app-misc/secure-delete/files/digest-secure-delete-3.0 b/app-misc/secure-delete/files/digest-secure-delete-3.0
new file mode 100644
index 000000000000..26868210b64a
--- /dev/null
+++ b/app-misc/secure-delete/files/digest-secure-delete-3.0
@@ -0,0 +1 @@
+MD5 bbb4640652ca74e97d9484101ae0cea4 secure_delete-3.0.tar.gz 63126
diff --git a/app-misc/secure-delete/secure-delete-3.0.ebuild b/app-misc/secure-delete/secure-delete-3.0.ebuild
new file mode 100644
index 000000000000..986a085844dc
--- /dev/null
+++ b/app-misc/secure-delete/secure-delete-3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/secure-delete/secure-delete-3.0.ebuild,v 1.1 2003/09/17 13:49:35 aliz Exp $
+
+DESCRIPTION="Secure file/disk/swap/memory erasure utlities"
+HOMEPAGE="http://www.thc.org/"
+SRC_URI="http://www.thc.org/releases/${PN//-/_}-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND=">=sys-apps/sed-4"
+
+S="${WORKDIR}/${PN//-/_}-${PV}"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ sed -i \
+ -e "s|^OPT=-O2|OPT=${CFLAGS} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64|" \
+ -e "s|^INSTALL_DIR=.*|INSTALL_DIR=${D}/usr/bin|" \
+ -e "s|^MAN_DIR=.*|MAN_DIR=${D}/usr/share/man|" \
+ -e "s|^DOC_DIR=.*|DOC_DIR=${D}/usr/share/doc/${PF}|" \
+ Makefile
+
+ sed -i \
+ -e 's|mktemp|mkstemp|g' \
+ sfill.c
+}
+
+src_compile() {
+ make || die "compile problem"
+}
+
+src_install() {
+ make install || die
+ dodoc secure_delete.doc usenix6-gutmann.doc
+}
+
+pkg_postinst() {
+ einfo "sfill and srm are useless on journalling filesystems, such as reiserfs or XFS."
+ einfo "See documentation for more information."
+}