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.5.3-r2.ebuild wicd-1.5.3-r1.ebuild wicd-1.5.1.ebuild
Date: Thu, 09 Oct 2008 05:21:58
Message-Id: E1KnnyE-0001ev-6a@stork.gentoo.org
1 darkside 08/10/09 05:21:54
2
3 Modified: ChangeLog
4 Added: wicd-1.5.3-r2.ebuild
5 Removed: wicd-1.5.3-r1.ebuild wicd-1.5.1.ebuild
6 Log:
7 Fix up deps to be more proper on net-misc/wicd
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo x86_64)
9
10 Revision Changes Path
11 1.13 net-misc/wicd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 29 Sep 2008 22:07:21 -0000 1.12
24 +++ ChangeLog 9 Oct 2008 05:21:54 -0000 1.13
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.12 2008/09/29 22:07:21 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.13 2008/10/09 05:21:54 darkside Exp $
30 +
31 +*wicd-1.5.3-r2 (09 Oct 2008)
32 +
33 + 09 Oct 2008; Jeremy Olexa <darkside@g.o> -wicd-1.5.1.ebuild,
34 + -wicd-1.5.3-r1.ebuild, +wicd-1.5.3-r2.ebuild:
35 + Fix deps, I was not including a graphical su program in the rdeps so one
36 + could not bring up the scripts dialog. Fix this by depending on ktsuss,
37 + gksu, or kdesu. Also, need to depend on python, obvious. Remove old version
38
39 *wicd-1.5.3-r1 (29 Sep 2008)
40
41
42
43
44 1.1 net-misc/wicd/wicd-1.5.3-r2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.5.3-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/wicd/wicd-1.5.3-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: wicd-1.5.3-r2.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.3-r2.ebuild,v 1.1 2008/10/09 05:21:54 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 ~ppc ~x86"
64 IUSE=""
65
66 DEPEND="dev-lang/python"
67 RDEPEND="dev-python/dbus-python
68 dev-python/pygtk
69 || (
70 net-misc/dhcp
71 net-misc/dhcpcd
72 net-misc/pump
73 )
74 net-wireless/wireless-tools
75 net-wireless/wpa_supplicant
76 || (
77 sys-apps/ethtool
78 sys-apps/net-tools
79 )
80 || ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu )
81 ${DEPEND}"
82
83 src_unpack() {
84 distutils_src_unpack
85 # patch to install new man page - submitted upstream
86 epatch "${FILESDIR}/${P}-wicd-client-manpage.patch"
87
88 # discussing with upstream
89 sed -i 's/gksu/gksudo/' wicd/{misc,gui}.py
90
91 }
92
93 src_compile() {
94 ${python} ./setup.py configure --no-install-init --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
95 distutils_src_compile
96 }
97
98 src_install() {
99 DOCS="CHANGES"
100 distutils_src_install
101 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
102 }
103
104 pkg_postinst() {
105 distutils_pkg_postinst
106
107 elog "You may need to restart the dbus service after upgrading wicd."
108 echo
109 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
110 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
111 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
112 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
113 }