blob: cdae2073264171eff51ef39e802cf13ddb37f3ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/wipe/wipe-2.1.0.ebuild,v 1.6 2003/09/05 12:10:36 msterret Exp $
DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
SRC_URI="mirror://sourceforge/wipe/${P}.tar.bz2"
HOMEPAGE="http://wipe.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/glibc
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
sed -i -e '28 i\#include <errno.h>' ${S}/rand.c || die "sed rand.c failed"
}
src_compile() {
econf || die "econf failed"
emake || die "compile problem"
}
src_install() {
dobin wipe
doman wipe.1
dodoc copyright CHANGES README TODO TESTING
}
pkg_postinst() {
einfo "Note that wipe is useless on journalling filesystems, such as reiserfs or XFS."
einfo "See documentation for more info."
}
|