commit:     7ee72ed741f4bbb55a1a604990978b4681f1826a
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 00:17:25 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 01:30:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee72ed7

app-crypt/bcwipe: eapi bump

Package-Manager: portage-2.3.3

 app-crypt/bcwipe/bcwipe-1.9.13.ebuild                | 20 +++++++++-----------
 .../bcwipe/files/bcwipe-1.9.7-fix_warnings.patch     |  8 ++++----
 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 fb4be6d..fc56e2c 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 f24a6ac..e2b9eed 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 ac91518..e4c5cff 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

Reply via email to