Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/wicd: wicd-1.5.7-r1.ebuild ChangeLog wicd-1.5.7.ebuild
Date: Fri, 26 Dec 2008 16:51:53
Message-Id: E1LGFuh-00088h-Cc@stork.gentoo.org
1 darkside 08/12/26 16:51:51
2
3 Modified: ChangeLog
4 Added: wicd-1.5.7-r1.ebuild
5 Removed: wicd-1.5.7.ebuild
6 Log:
7 Add rdepend on pm-utils and drop ~ppc keyword because they don't have pm-utils yet. If you don't use pm-utils-1.2.3, you will end up with problems like bug 252306
8 (Portage version: 2.2_rc18/cvs/Linux 2.6.27.10 x86_64)
9
10 Revision Changes Path
11 1.28 net-misc/wicd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 22 Dec 2008 21:26:59 -0000 1.27
24 +++ ChangeLog 26 Dec 2008 16:51:51 -0000 1.28
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-misc/wicd
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.27 2008/12/22 21:26:59 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.28 2008/12/26 16:51:51 darkside Exp $
30 +
31 +*wicd-1.5.7-r1 (26 Dec 2008)
32 +
33 + 26 Dec 2008; Jeremy Olexa <darkside@g.o> -wicd-1.5.7.ebuild,
34 + +wicd-1.5.7-r1.ebuild:
35 + Add rdepend on pm-utils and drop ~ppc keyword because they don't have
36 + pm-utils yet. If you don't use pm-utils-1.2.3, you will end up with problems
37 + like bug 252306
38
39 *wicd-1.5.7 (22 Dec 2008)
40
41
42
43
44 1.1 net-misc/wicd/wicd-1.5.7-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.5.7-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.5.7-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: wicd-1.5.7-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.5.7-r1.ebuild,v 1.1 2008/12/26 16:51:51 darkside Exp $
54
55 inherit distutils eutils
56
57 DESCRIPTION="A lightweight wired and wireless network manager for Linux"
58 HOMEPAGE="http://wicd.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE=""
65
66 DEPEND=""
67 RDEPEND="dev-python/dbus-python
68 dev-python/pygtk
69 || (
70 net-misc/dhcpcd
71 net-misc/dhcp
72 net-misc/pump
73 )
74 net-wireless/wireless-tools
75 net-wireless/wpa_supplicant
76 || (
77 sys-apps/net-tools
78 sys-apps/ethtool
79 )
80 || ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu )
81 >=sys-power/pm-utils-1.2.3"
82
83 src_compile() {
84 ${python} ./setup.py configure --no-install-init --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
85 distutils_src_compile
86 }
87
88 src_install() {
89 DOCS="CHANGES"
90 distutils_src_install
91 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
92 keepdir /var/lib/wicd/configurations || die "keepdir failed, critical for this app"
93 }
94
95 pkg_postinst() {
96 distutils_pkg_postinst
97
98 elog "You may need to restart the dbus service after upgrading wicd."
99 echo
100 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
101 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
102 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
103 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
104 }