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: metadata.xml ChangeLog wicd-1.6.0.ebuild wicd-1.6.0_beta3.ebuild
Date: Fri, 05 Jun 2009 15:33:19
Message-Id: E1MCbPx-00065r-4m@stork.gentoo.org
1 darkside 09/06/05 15:33:17
2
3 Modified: metadata.xml ChangeLog
4 Added: wicd-1.6.0.ebuild
5 Removed: wicd-1.6.0_beta3.ebuild
6 Log:
7 Version bump, 1.6.0 final, new USE flag to allow ppc64 keyword
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 net-misc/wicd/metadata.xml
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 14 May 2009 14:55:35 -0000 1.3
24 +++ metadata.xml 5 Jun 2009 15:33:17 -0000 1.4
25 @@ -9,5 +9,7 @@
26 <flag name='ioctl'>Installs additional python libraries to use as a backend.
27 This will improve speed but is experimental.</flag>
28 <flag name='ncurses'>Installs a ncurses UI</flag>
29 + <flag name='pm-utils'>Installs the pm-utils hooks for suspend/resume and
30 + requires <pkg>sys-power/pm-utils</pkg></flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.46 net-misc/wicd/ChangeLog
37
38 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.46&view=markup
39 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.46&content-type=text/plain
40 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.45&r2=1.46
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v
45 retrieving revision 1.45
46 retrieving revision 1.46
47 diff -u -r1.45 -r1.46
48 --- ChangeLog 28 May 2009 03:40:04 -0000 1.45
49 +++ ChangeLog 5 Jun 2009 15:33:17 -0000 1.46
50 @@ -1,6 +1,12 @@
51 # ChangeLog for net-misc/wicd
52 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.45 2009/05/28 03:40:04 darkside Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.46 2009/06/05 15:33:17 darkside Exp $
55 +
56 +*wicd-1.6.0 (05 Jun 2009)
57 +
58 + 05 Jun 2009; Jeremy Olexa <darkside@g.o> metadata.xml,
59 + -wicd-1.6.0_beta3.ebuild, +wicd-1.6.0.ebuild:
60 + Version bump, 1.6.0 final, new USE flag to allow ppc64 keyword
61
62 *wicd-1.6.0_beta3 (28 May 2009)
63
64
65
66
67 1.1 net-misc/wicd/wicd-1.6.0.ebuild
68
69 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.6.0.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.6.0.ebuild?rev=1.1&content-type=text/plain
71
72 Index: wicd-1.6.0.ebuild
73 ===================================================================
74 # Copyright 1999-2009 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.6.0.ebuild,v 1.1 2009/06/05 15:33:17 darkside Exp $
77
78 EAPI="2"
79
80 inherit distutils eutils
81
82 DESCRIPTION="A lightweight wired and wireless network manager for Linux"
83 HOMEPAGE="http://wicd.sourceforge.net/"
84 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
85
86 LICENSE="GPL-2"
87 SLOT="0"
88 KEYWORDS="~amd64 ~ppc ~x86"
89 IUSE="ioctl libnotify ncurses +pm-utils"
90
91 DEPEND=""
92 RDEPEND="
93 dev-python/dbus-python
94 dev-python/pygtk
95 || (
96 net-misc/dhcpcd
97 net-misc/dhcp
98 net-misc/pump
99 )
100 net-wireless/wireless-tools
101 net-wireless/wpa_supplicant
102 || (
103 sys-apps/net-tools
104 sys-apps/ethtool
105 )
106 || (
107 x11-misc/ktsuss
108 x11-libs/gksu
109 kde-base/kdesu
110 )
111 >=sys-power/pm-utils-1.1.1
112 ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
113 libnotify? ( dev-python/notify-python )
114 ncurses? ( >=dev-python/urwid-0.9.8.4 )
115 pm-utils? ( >=sys-power/pm-utils-1.1.1 )
116 "
117
118 src_compile() {
119 local myconf
120 use libnotify || myconf="${myconf} --no-use-notifications"
121 use ncurses || myconf="${myconf} --no-install-ncurses"
122 use pm-utils || myconf="${myconf} --no-install-pmutils"
123 ${python} ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
124 distutils_src_compile
125 }
126
127 src_install() {
128 DOCS="CHANGES"
129 distutils_src_install
130 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
131 keepdir /var/lib/wicd/configurations || die "keepdir failed, critical for this app"
132 }
133
134 pkg_postinst() {
135 distutils_pkg_postinst
136
137 elog "You may need to restart the dbus service after upgrading wicd."
138 echo
139 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
140 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
141 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
142 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
143 elog
144 ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
145 ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf
146 "
147 }