/[gentoo-x86]/net-misc/wicd/wicd-1.5.6.ebuild
Gentoo

Contents of /net-misc/wicd/wicd-1.5.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Feb 26 22:39:42 2009 UTC (10 years, 9 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
remove old ebuilds affected by CVE-2009-0489
(Portage version: 2.1.6.7/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.5.6.ebuild,v 1.3 2008/12/05 02:12:29 darkside Exp $
4
5 inherit distutils eutils
6
7 DESCRIPTION="A lightweight wired and wireless network manager for Linux"
8 HOMEPAGE="http://wicd.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND="dev-python/dbus-python
18 dev-python/pygtk
19 || (
20 net-misc/dhcpcd
21 net-misc/dhcp
22 net-misc/pump
23 )
24 net-wireless/wireless-tools
25 net-wireless/wpa_supplicant
26 || (
27 sys-apps/net-tools
28 sys-apps/ethtool
29 )
30 || ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu )"
31
32 src_compile() {
33 ${python} ./setup.py configure --no-install-init --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
34 distutils_src_compile
35 }
36
37 src_install() {
38 DOCS="CHANGES"
39 distutils_src_install
40 newinitd "${FILESDIR}/wicd-init.d" wicd || die "newinitd failed"
41 keepdir /var/lib/wicd/configurations || die "keepdir failed, critical for this app"
42 }
43
44 pkg_postinst() {
45 distutils_pkg_postinst
46
47 elog "You may need to restart the dbus service after upgrading wicd."
48 echo
49 elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:"
50 elog "- Remove all net.* initscripts (except for net.lo) from all runlevels"
51 elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
52 elog "(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20