diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 02:17:25 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:30:51 +0200 |
commit | 7ee72ed741f4bbb55a1a604990978b4681f1826a (patch) | |
tree | aaf755f2471c98017587bcd8259ed29df3de08b9 | |
parent | app-crypt/libu2f-host: eapi bump (diff) | |
download | gentoo-7ee72ed741f4bbb55a1a604990978b4681f1826a.tar.gz gentoo-7ee72ed741f4bbb55a1a604990978b4681f1826a.tar.bz2 gentoo-7ee72ed741f4bbb55a1a604990978b4681f1826a.zip |
app-crypt/bcwipe: eapi bump
Package-Manager: portage-2.3.3
-rw-r--r-- | app-crypt/bcwipe/bcwipe-1.9.13.ebuild | 20 | ||||
-rw-r--r-- | app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch | 8 | ||||
-rw-r--r-- | app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch | 4 |
3 files changed, 15 insertions, 17 deletions
diff --git a/app-crypt/bcwipe/bcwipe-1.9.13.ebuild b/app-crypt/bcwipe/bcwipe-1.9.13.ebuild index fb4be6d4c74e..fc56e2c790bc 100644 --- a/app-crypt/bcwipe/bcwipe-1.9.13.ebuild +++ b/app-crypt/bcwipe/bcwipe-1.9.13.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI="6" inherit eutils versionator @@ -21,12 +21,12 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86" DEPEND="" RDEPEND="" -S="${WORKDIR}/${PN}-${MY_PV}" +PATCHES=( + "${FILESDIR}/${PN}-1.9.7-fix_warnings.patch" + "${FILESDIR}/${PN}-1.9.8-fix-flags.patch" +) -src_prepare() { - epatch "${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 @@ -37,13 +37,11 @@ src_test() { src_install() { default - if use doc ; then - dohtml -r ../bcwipe-help - fi + 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}/html/bcwipe-help/wu_licen.htm" + ewarn "full details /usr/share/doc/${PF}/bcwipe-help/wu_licen.htm" } diff --git a/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch b/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch index f24a6acdb600..e2b9eed3b3eb 100644 --- a/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch +++ b/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch @@ -1,5 +1,5 @@ ---- schemes.c -+++ schemes.c +--- a/schemes.c ++++ b/schemes.c @@ -15,6 +15,7 @@ * *******************************************************************/ @@ -8,8 +8,8 @@ #include <stdlib.h> #include <stdio.h> #include <errno.h> ---- wipe.c -+++ wipe.c +--- a/wipe.c ++++ b/wipe.c @@ -42,6 +42,7 @@ #include <sys/ioctl.h> #include <signal.h> diff --git a/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch b/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch index ac91518e0270..e4c5cff39ed1 100644 --- a/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch +++ b/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch @@ -1,5 +1,5 @@ ---- Makefile.in 2011-02-23 01:07:29.841894634 +0100 -+++ Makefile.in 2011-02-23 01:07:46.626793943 +0100 +--- a/Makefile.in 2011-02-23 01:07:29.841894634 +0100 ++++ b/Makefile.in 2011-02-23 01:07:46.626793943 +0100 @@ -174,7 +174,7 @@ bcwipe_SOURCES = wipe.c wipe.h options.c options.h schemes.c schemes.h sha1.c sha1.h sha1random.c sha1random.h log.c log.h standard.h rand.h rand.c prng.c man_MANS = bcwipe.1 |