Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/netplug/
Date: Wed, 31 Aug 2022 07:18:19
Message-Id: 1661929821.924de02a6cb3651036cf7749dc4eeab87b3dc623.asturm@gentoo
1 commit: 924de02a6cb3651036cf7749dc4eeab87b3dc623
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 07:10:21 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 07:10:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924de02a
7
8 sys-apps/netplug: drop 1.2.9.2-r2
9
10 Closes: https://bugs.gentoo.org/867556
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sys-apps/netplug/netplug-1.2.9.2-r2.ebuild | 70 ------------------------------
14 1 file changed, 70 deletions(-)
15
16 diff --git a/sys-apps/netplug/netplug-1.2.9.2-r2.ebuild b/sys-apps/netplug/netplug-1.2.9.2-r2.ebuild
17 deleted file mode 100644
18 index a3713b1e7b79..000000000000
19 --- a/sys-apps/netplug/netplug-1.2.9.2-r2.ebuild
20 +++ /dev/null
21 @@ -1,70 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -inherit 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 ppc64 sparc x86"
36 -IUSE="debug doc"
37 -
38 -DEPEND="doc? ( app-text/ghostscript-gpl
39 - media-gfx/graphviz )"
40 -RDEPEND=""
41 -
42 -PATCHES=(
43 - # Remove nested functions, #116140
44 - "${FILESDIR}/${PN}-1.2.9-remove-nest.patch"
45 -
46 - # Ignore wireless events
47 - "${FILESDIR}/${PN}-1.2.9-ignore-wireless.patch"
48 -
49 - # Fix DOWNANDOUT problem #599400
50 - "${FILESDIR}/${P}-downandout.patch"
51 -)
52 -
53 -src_prepare() {
54 - # Remove debug flags from CFLAGS
55 - if ! use debug; then
56 - sed -i -e "s/ -ggdb3//" Makefile || die
57 - fi
58 -
59 - # Remove -O3 and -Werror from CFLAGS
60 - sed -i -e "s/ -O3//" -e "s/ -Werror//" Makefile || die
61 -
62 - default
63 -}
64 -
65 -src_compile() {
66 - tc-export CC
67 - emake CC="${CC}"
68 -
69 - if use doc; then
70 - emake -C docs/
71 - fi
72 -}
73 -
74 -src_install() {
75 - into /
76 - dosbin netplugd
77 - doman man/man8/netplugd.8
78 -
79 - dodir /etc/netplug.d
80 - exeinto /etc/netplug.d
81 - newexe "${FILESDIR}/netplug-2" netplug
82 -
83 - dodir /etc/netplug
84 - echo "eth*" > "${D}"/etc/netplug/netplugd.conf || die
85 -
86 - dodoc ChangeLog NEWS README TODO
87 -
88 - if use doc; then
89 - dodoc docs/state-machine.ps
90 - fi
91 -}