diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/bcwipe/bcwipe-1.9.13.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/bcwipe/bcwipe-1.9.13.ebuild')
-rw-r--r-- | app-crypt/bcwipe/bcwipe-1.9.13.ebuild | 46 |
1 files changed, 46 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..21e09193785c --- /dev/null +++ b/app-crypt/bcwipe/bcwipe-1.9.13.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit 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="" + +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" +} + +src_install() { + default + + use doc && dodoc -r ../bcwipe-help +} + +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}/bcwipe-help/wu_licen.htm" +} |