blob: 0055a53c1b56557d284d1a29ec361b01d66df710 (
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
36
|
# Copyright 1999-2004 Gentoo Foundation
# 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.9 2004/06/24 22:37:57 agriffis 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"
IUSE=""
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."
}
|