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: ChangeLog wicd-1.6.0_beta2.ebuild wicd-1.6.0_beta1.ebuild
Date: Tue, 26 May 2009 14:51:52
Message-Id: E1M8y0N-0005oj-09@stork.gentoo.org
1 darkside 09/05/26 14:51:50
2
3 Modified: ChangeLog
4 Added: wicd-1.6.0_beta2.ebuild
5 Removed: wicd-1.6.0_beta1.ebuild
6 Log:
7 Version bump, misc bug fixes
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.44 net-misc/wicd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 14 May 2009 14:55:35 -0000 1.43
24 +++ ChangeLog 26 May 2009 14:51:50 -0000 1.44
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/wicd
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.43 2009/05/14 14:55:35 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.44 2009/05/26 14:51:50 darkside Exp $
30 +
31 +*wicd-1.6.0_beta2 (26 May 2009)
32 +
33 + 26 May 2009; Jeremy Olexa <darkside@g.o> -wicd-1.6.0_beta1.ebuild,
34 + +wicd-1.6.0_beta2.ebuild:
35 + Version bump, misc bug fixes
36
37 *wicd-1.6.0_beta1 (14 May 2009)
38
39
40
41
42 1.1 net-misc/wicd/wicd-1.6.0_beta2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.6.0_beta2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.6.0_beta2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: wicd-1.6.0_beta2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.6.0_beta2.ebuild,v 1.1 2009/05/26 14:51:50 darkside Exp $
52
53 EAPI="2"
54
55 inherit distutils eutils
56
57 MY_P=${P/_beta/b}
58
59 DESCRIPTION="A lightweight wired and wireless network manager for Linux"
60 HOMEPAGE="http://wicd.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE="ioctl libnotify ncurses"
67
68 DEPEND=""
69 RDEPEND="
70 dev-python/dbus-python
71 dev-python/pygtk
72 || (
73 net-misc/dhcpcd
74 net-misc/dhcp
75 net-misc/pump
76 )
77 net-wireless/wireless-tools
78 net-wireless/wpa_supplicant
79 || (
80 sys-apps/net-tools
81 sys-apps/ethtool
82 )
83 || (
84 x11-misc/ktsuss
85 x11-libs/gksu
86 kde-base/kdesu
87 )
88 >=sys-power/pm-utils-1.1.1
89 ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl )
90 libnotify? ( dev-python/notify-python )
91 ncurses? ( >=dev-python/urwid-0.9.8.4 )
92 "
93
94 S="${WORKDIR}/${MY_P}"
95
96 src_compile() {
97 local myconf
98 use ncurses || myconf="${myconf} --no-install-ncurses"
99 use libnotify || myconf="${myconf} --no-use-notifications"
100 ${python} ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf}
101 distutils_src_compile
102 }
103
104 src_install() {
105 DOCS="CHANGES"
106 distutils_src_install
107 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
108 keepdir /var/lib/wicd/configurations || die "keepdir failed, critical for this app"
109 }
110
111 pkg_postinst() {
112 distutils_pkg_postinst
113
114 elog "You may need to restart the dbus service after upgrading wicd."
115 echo
116 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
117 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
118 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
119 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
120 }