blob: a3e8261f78f9a93e7e5361ed530f0dbe0ed3b20e (
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
|
# 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.10 2004/06/28 04:17:54 vapier Exp $
DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
HOMEPAGE="http://wipe.sourceforge.net/"
SRC_URI="mirror://sourceforge/wipe/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="virtual/libc
>=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_install() {
dobin wipe || die
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."
}
|