summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-11-21 22:39:53 +0100
committerSebastian Pipping <sping@gentoo.org>2015-11-21 22:39:53 +0100
commite4623ce8fee6ecef6024cd7b4f1bf1fa7e2b022d (patch)
treee9b979218afd7434c078173d8be577e44172b0f8 /app-crypt/bcwipe/bcwipe-1.9.13.ebuild
parent[QA] games-mods.eclass: Forbid EAPIs 3+ due to missing code, #540048 (diff)
downloadgentoo-e4623ce8fee6ecef6024cd7b4f1bf1fa7e2b022d.tar.gz
gentoo-e4623ce8fee6ecef6024cd7b4f1bf1fa7e2b022d.tar.bz2
gentoo-e4623ce8fee6ecef6024cd7b4f1bf1fa7e2b022d.zip
app-crypt/bcwipe: 1.9.13
Package-Manager: portage-2.2.24
Diffstat (limited to 'app-crypt/bcwipe/bcwipe-1.9.13.ebuild')
-rw-r--r--app-crypt/bcwipe/bcwipe-1.9.13.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-crypt/bcwipe/bcwipe-1.9.13.ebuild b/app-crypt/bcwipe/bcwipe-1.9.13.ebuild
new file mode 100644
index 000000000000..fb4be6d4c74e
--- /dev/null
+++ b/app-crypt/bcwipe/bcwipe-1.9.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils versionator
+
+MY_PV="$(replace_version_separator 2 -)"
+
+DESCRIPTION="Secure file removal utility"
+HOMEPAGE="http://www.jetico.com/"
+SRC_URI="https://www.jetico.com/linux/BCWipe-${MY_PV}.tar.gz
+ doc? ( http://www.jetico.com/linux/BCWipe.doc.tgz )"
+
+LICENSE="bestcrypt"
+SLOT="0"
+IUSE="doc"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.9.7-fix_warnings.patch \
+ "${FILESDIR}"/${PN}-1.9.8-fix-flags.patch
+}
+
+src_test() {
+ echo "abc123" >> testfile
+ ./bcwipe -f testfile || die "bcwipe test failed"
+ [[ -f testfile ]] && die "test file still exists. bcwipe should have deleted it"
+}
+
+src_install() {
+ default
+
+ if use doc ; then
+ dohtml -r ../bcwipe-help
+ fi
+}
+
+pkg_postinst() {
+ ewarn "The BestCrypt drivers are not free - Please purchace a license from "
+ ewarn "http://www.jetico.com/"
+ ewarn "full details /usr/share/doc/${PF}/html/bcwipe-help/wu_licen.htm"
+}