Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/ifplugd: ChangeLog ifplugd-0.28-r9.ebuild
Date: Wed, 28 Dec 2011 14:47:16
Message-Id: 20111228144706.A2C8E2004B@flycatcher.gentoo.org
1 scarabeus 11/12/28 14:47:06
2
3 Modified: ChangeLog ifplugd-0.28-r9.ebuild
4 Log:
5 Cleanup a bit to eapi4
6
7 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.53 sys-apps/ifplugd/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ifplugd/ChangeLog?rev=1.53&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ifplugd/ChangeLog?rev=1.53&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ifplugd/ChangeLog?r1=1.52&r2=1.53
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v
19 retrieving revision 1.52
20 retrieving revision 1.53
21 diff -u -r1.52 -r1.53
22 --- ChangeLog 28 Dec 2011 14:41:56 -0000 1.52
23 +++ ChangeLog 28 Dec 2011 14:47:06 -0000 1.53
24 @@ -1,6 +1,9 @@
25 # ChangeLog for sys-apps/ifplugd
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.52 2011/12/28 14:41:56 lxnay Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.53 2011/12/28 14:47:06 scarabeus Exp $
29 +
30 + 28 Dec 2011; Tomáš Chvátal <scarabeus@g.o> ifplugd-0.28-r9.ebuild:
31 + Cleanup a bit to eapi4
32
33 28 Dec 2011; Fabio Erculiani <lxnay@g.o> ifplugd-0.28-r9.ebuild:
34 seems to work on ~arm
35
36
37
38 1.7 sys-apps/ifplugd/ifplugd-0.28-r9.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild?rev=1.7&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild?rev=1.7&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild?r1=1.6&r2=1.7
43
44 Index: ifplugd-0.28-r9.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v
47 retrieving revision 1.6
48 retrieving revision 1.7
49 diff -u -r1.6 -r1.7
50 --- ifplugd-0.28-r9.ebuild 28 Dec 2011 14:41:56 -0000 1.6
51 +++ ifplugd-0.28-r9.ebuild 28 Dec 2011 14:47:06 -0000 1.7
52 @@ -1,6 +1,8 @@
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v 1.6 2011/12/28 14:41:56 lxnay Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v 1.7 2011/12/28 14:47:06 scarabeus Exp $
57 +
58 +EAPI=4
59
60 inherit eutils
61
62 @@ -19,33 +21,29 @@
63 RDEPEND=">=dev-libs/libdaemon-0.5
64 >=sys-apps/baselayout-1.12"
65
66 -src_unpack() {
67 - unpack ${A}
68 - cd "${S}"
69 +src_prepare() {
70 epatch "${FILESDIR}/${P}-nlapi.diff"
71 epatch "${FILESDIR}/${P}-interface.patch"
72 epatch "${FILESDIR}/${P}-strictalias.patch"
73 epatch "${FILESDIR}/${P}-noip.patch"
74 }
75
76 -src_compile() {
77 - econf $(use_enable doc lynx) \
78 +src_configure() {
79 + econf \
80 + $(use_enable doc lynx) \
81 --with-initdir=/etc/init.d \
82 --disable-xmltoman \
83 - --disable-subversion \
84 - || die "econf failed"
85 - emake || die "emake failed"
86 + --disable-subversion
87 }
88
89 src_install() {
90 - make DESTDIR="${D}" install || die "make install failed"
91 + default
92
93 # Remove init.d configuration as we no longer use it
94 rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}"
95
96 - dodir "/etc/${PN}"
97 exeinto "/etc/${PN}"
98 - newexe "${FILESDIR}/${PN}.action" "${PN}.action" || die
99 + newexe "${FILESDIR}/${PN}.action" "${PN}.action"
100
101 cd "${S}/doc"
102 dodoc README SUPPORTED_DRIVERS