Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/wvdial/, net-dialup/wvdial/files/
Date: Wed, 24 Aug 2016 13:52:10
Message-Id: 1472046715.854141d9a5af3f44006b51f562df64b0f07a5bf3.pacho@gentoo
1 commit: 854141d9a5af3f44006b51f562df64b0f07a5bf3
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 13:46:22 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 13:51:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854141d9
7
8 net-dialup/wvdial: Fix homepage (#551380 by jstein), eapi bump, use readme.gentoo eclass
9
10 Package-Manager: portage-2.3.0
11
12 net-dialup/wvdial/files/wvdial-1.61-destdir.patch | 8 ++--
13 net-dialup/wvdial/wvdial-1.61.ebuild | 46 ++++++++++++-----------
14 2 files changed, 28 insertions(+), 26 deletions(-)
15
16 diff --git a/net-dialup/wvdial/files/wvdial-1.61-destdir.patch b/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
17 index 61f8cf7..ceea400 100644
18 --- a/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
19 +++ b/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
20 @@ -1,6 +1,6 @@
21 === modified file 'Makefile.in'
22 ---- Makefile.in 2010-05-27 13:08:26 +0000
23 -+++ Makefile.in 2010-05-27 13:08:41 +0000
24 +--- a/Makefile.in 2010-05-27 13:08:26 +0000
25 ++++ b/Makefile.in 2010-05-27 13:08:41 +0000
26 @@ -3,7 +3,7 @@
27 WVPACKAGE_TARNAME=@PACKAGE_TARNAME@
28 WVPACKAGE_VERSION=@PACKAGE_VERSION@
29 @@ -21,8 +21,8 @@
30
31
32 === modified file 'config.defaults.mk'
33 ---- config.defaults.mk 2010-05-27 13:08:26 +0000
34 -+++ config.defaults.mk 2010-05-27 13:43:03 +0000
35 +--- a/config.defaults.mk 2010-05-27 13:08:26 +0000
36 ++++ b/config.defaults.mk 2010-05-27 13:43:03 +0000
37 @@ -13,7 +13,7 @@
38 LIBS_PAM=-lpam
39 LIBS_TCL=
40
41 diff --git a/net-dialup/wvdial/wvdial-1.61.ebuild b/net-dialup/wvdial/wvdial-1.61.ebuild
42 index 0966c4f..f86fb4d 100644
43 --- a/net-dialup/wvdial/wvdial-1.61.ebuild
44 +++ b/net-dialup/wvdial/wvdial-1.61.ebuild
45 @@ -1,13 +1,12 @@
46 -# Copyright 1999-2012 Gentoo Foundation
47 +# Copyright 1999-2016 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Id$
50
51 -EAPI="3"
52 -
53 -inherit eutils
54 +EAPI=6
55 +inherit readme.gentoo-r1
56
57 DESCRIPTION="Excellent program to automatically configure PPP sessions"
58 -HOMEPAGE="http://alumnit.ca/wiki/?WvDial"
59 +HOMEPAGE="https://code.google.com/archive/p/wvstreams/"
60 SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz"
61
62 LICENSE="LGPL-2"
63 @@ -17,31 +16,34 @@ IUSE=""
64
65 COMMON_DEPEND=">=net-libs/wvstreams-4.4"
66 DEPEND="${COMMON_DEPEND}
67 - virtual/pkgconfig"
68 + virtual/pkgconfig
69 +"
70 RDEPEND="${COMMON_DEPEND}
71 - net-dialup/ppp"
72 -
73 -src_prepare() {
74 - epatch "${FILESDIR}/${P}-destdir.patch"
75 - epatch "${FILESDIR}/${P}-as-needed.patch"
76 - epatch "${FILESDIR}/${P}-parallel-make.patch"
77 -}
78 -
79 + net-dialup/ppp:=
80 +"
81 +
82 +PATCHES=(
83 + "${FILESDIR}/${P}-destdir.patch"
84 + "${FILESDIR}/${P}-as-needed.patch"
85 + "${FILESDIR}/${P}-parallel-make.patch"
86 +)
87 +
88 +DOC_CONTENTS="
89 + Use wvdialconf to automagically generate a configuration file.
90 + Users have to be member of the dialout AND the uucp group to use
91 + wvdial
92 +"
93 +
94 src_configure() {
95 # Hand made configure...
96 ./configure || die
97 }
98
99 src_install() {
100 - emake "DESTDIR=${ED}" install || die "make install failed"
101 - dodoc CHANGES FAQ MENUS README TODO || die
102 + default
103 + readme.gentoo_create_doc
104 }
105
106 pkg_postinst() {
107 - elog
108 - elog "Use wvdialconf to automagically generate a configuration file."
109 - elog
110 - elog "Users have to be member of the dialout AND the uucp group"
111 - elog "to use wvdial!"
112 - elog
113 + readme.gentoo_print_elog
114 }