Gentoo Archives: gentoo-commits

From: "Roy Marples (uberlord)" <uberlord@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: Fri, 02 Nov 2007 11:16:48
Message-Id: E1InuW2-00068p-HF@stork.gentoo.org
1 uberlord 07/11/02 11:16:42
2
3 Modified: ChangeLog
4 Added: ifplugd-0.28-r9.ebuild
5 Log:
6 ifplugd now works on kernels without IP, #197791 thanks to Alon Bar-Lev.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.46 sys-apps/ifplugd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ifplugd/ChangeLog?rev=1.46&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ifplugd/ChangeLog?rev=1.46&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ifplugd/ChangeLog?r1=1.45&r2=1.46
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v
19 retrieving revision 1.45
20 retrieving revision 1.46
21 diff -u -r1.45 -r1.46
22 --- ChangeLog 26 Jul 2007 10:37:21 -0000 1.45
23 +++ ChangeLog 2 Nov 2007 11:16:41 -0000 1.46
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/ifplugd
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.45 2007/07/26 10:37:21 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.46 2007/11/02 11:16:41 uberlord Exp $
29 +
30 +*ifplugd-0.28-r9 (02 Nov 2007)
31 +
32 + 02 Nov 2007; Roy Marples <uberlord@g.o>
33 + +files/ifplugd-0.28-noip.patch, +ifplugd-0.28-r9.ebuild:
34 + ifplugd now works on kernels without IP, #197791 thanks to Alon Bar-Lev.
35
36 26 Jul 2007; Roy Marples <uberlord@g.o> ifplugd-0.28-r8.ebuild:
37 RDEPEND on baselayout-1.12, #186418 thanks to Cameron Maxwell.
38
39
40
41 1.1 sys-apps/ifplugd/ifplugd-0.28-r9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ifplugd-0.28-r9.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v 1.1 2007/11/02 11:16:41 uberlord Exp $
51
52 inherit eutils
53
54 DESCRIPTION="Brings up/down ethernet ports automatically with cable detection"
55 HOMEPAGE="http://0pointer.de/lennart/projects/ifplugd/"
56 SRC_URI="http://0pointer.de/lennart/projects/ifplugd/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~x86"
61 IUSE="doc"
62
63 DEPEND="dev-util/pkgconfig
64 doc? ( www-client/lynx )
65 >=dev-libs/libdaemon-0.5"
66 RDEPEND=">=dev-libs/libdaemon-0.5
67 >=sys-apps/baselayout-1.12"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}/${P}-nlapi.diff"
73 epatch "${FILESDIR}/${P}-interface.patch"
74 epatch "${FILESDIR}/${P}-strictalias.patch"
75 epatch "${FILESDIR}/${P}-noip.patch"
76 }
77
78 src_compile() {
79 econf $(use_enable doc lynx) \
80 --with-initdir=/etc/init.d \
81 --disable-xmltoman \
82 --disable-subversion \
83 || die "econf failed"
84 emake || die "emake failed"
85 }
86
87 src_install() {
88 make DESTDIR="${D}" install || die "make install failed"
89
90 # Remove init.d configuration as we no longer use it
91 rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}"
92
93 dodir "/etc/${PN}"
94 exeinto "/etc/${PN}"
95 newexe "${FILESDIR}/${PN}.action" "${PN}.action" || die
96
97 cd "${S}/doc"
98 dodoc README SUPPORTED_DRIVERS
99 use doc && dohtml *.html *.css
100 }
101
102 pkg_postinst() {
103 # Warn about old init script
104 einfo "baselayout now starts ifplugd automatically on wired interfaces"
105 einfo "If you do not want this behaviour then add !plug to your modules"
106 einfo "in /etc/conf.d/net like so"
107 einfo " modules=( \"!plug\" )"
108
109 if [ -e "${ROOT}/etc/init.d/ifplugd" -o -e "${ROOT}/etc/conf.d/ifplugd" ] ; then
110 echo
111 ewarn "You should stop the ifplugd service now and remove its init"
112 ewarn "script and config file"
113 if [ "${ROOT}" = "/" ] ; then
114 ewarn " /etc/init.d/ifplugd stop"
115 ewarn " rc-update del ifplugd"
116 ewarn " rm -f /etc/{conf,init}.d/ifplugd"
117 fi
118 fi
119 }
120
121
122
123 --
124 gentoo-commits@g.o mailing list