1 |
commit: d3877c1c71c6fcb906ac00534d47b74831404a2d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 23:03:33 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 23:06:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3877c1c |
7 |
|
8 |
sys-apps/netplug: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/netplug/netplug-1.2.9.2-r1.ebuild | 63 ------------------------------ |
14 |
1 file changed, 63 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/netplug/netplug-1.2.9.2-r1.ebuild b/sys-apps/netplug/netplug-1.2.9.2-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 969fd2dbc4d..00000000000 |
19 |
--- a/sys-apps/netplug/netplug-1.2.9.2-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,63 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="Brings up/down ethernet ports automatically with cable detection" |
30 |
-HOMEPAGE="https://www.red-bean.com/~bos/" |
31 |
-SRC_URI="https://www.red-bean.com/~bos/netplug/${P}.tar.bz2" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="amd64 arm ~mips ppc sparc x86" |
36 |
-IUSE="debug doc" |
37 |
- |
38 |
-DEPEND="doc? ( app-text/ghostscript-gpl |
39 |
- media-gfx/graphviz )" |
40 |
-RDEPEND="" |
41 |
- |
42 |
-src_prepare() { |
43 |
- # Remove debug flags from CFLAGS |
44 |
- if ! use debug; then |
45 |
- sed -i -e "s/ -ggdb3//" Makefile || die |
46 |
- fi |
47 |
- |
48 |
- # Remove -O3 and -Werror from CFLAGS |
49 |
- sed -i -e "s/ -O3//" -e "s/ -Werror//" Makefile || die |
50 |
- |
51 |
- # Remove nested functions, #116140 |
52 |
- epatch "${FILESDIR}/${PN}-1.2.9-remove-nest.patch" |
53 |
- |
54 |
- # Ignore wireless events |
55 |
- epatch "${FILESDIR}/${PN}-1.2.9-ignore-wireless.patch" |
56 |
-} |
57 |
- |
58 |
-src_compile() { |
59 |
- tc-export CC |
60 |
- emake CC="${CC}" |
61 |
- |
62 |
- if use doc; then |
63 |
- emake -C docs/ |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-src_install() { |
68 |
- into / |
69 |
- dosbin netplugd |
70 |
- doman man/man8/netplugd.8 |
71 |
- |
72 |
- dodir /etc/netplug.d |
73 |
- exeinto /etc/netplug.d |
74 |
- newexe "${FILESDIR}/netplug-2" netplug |
75 |
- |
76 |
- dodir /etc/netplug |
77 |
- echo "eth*" > "${D}"/etc/netplug/netplugd.conf || die |
78 |
- |
79 |
- dodoc ChangeLog NEWS README TODO |
80 |
- |
81 |
- if use doc; then |
82 |
- dodoc docs/state-machine.ps |
83 |
- fi |
84 |
-} |