Files
gentoo/app-crypt/bcwipe/bcwipe-1.9.13.ebuild
Alon Bar-Lev 50aa79e726 app-crypt/bcwipe: fix digest
Closes: https://bugs.gentoo.org/show_bug.cgi?id=684062
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
2019-04-22 09:10:48 +03:00

34 lines
800 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PV="$(ver_rs 2- -)"
DESCRIPTION="Secure file removal utility"
HOMEPAGE="https://www.jetico.com/"
SRC_URI="https://www.jetico.com/linux/BCWipe-${MY_PV}.tar.gz"
LICENSE="bestcrypt"
SLOT="0"
KEYWORDS="amd64 ~arm ppc x86"
RESTRICT="mirror bindist"
PATCHES=(
"${FILESDIR}/${PN}-1.9.7-fix_warnings.patch"
"${FILESDIR}/${PN}-1.9.8-fix-flags.patch"
)
S="${WORKDIR}/${PN}-${MY_PV}"
src_test() {
echo "abc123" >> testfile
./bcwipe -f testfile || die "bcwipe test failed"
[[ -f testfile ]] && die "test file still exists. bcwipe should have deleted it"
}
pkg_postinst() {
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
ewarn "http://www.jetico.com/"
}