diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-03 14:49:20 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2010-09-03 14:49:20 +0000 |
commit | 6239b8550e099ffa807c20f73c8f3df632fda841 (patch) | |
tree | 1a3e65ae109cbf7cd985aec153876c4f420bd64e | |
parent | whitespace (diff) | |
download | gentoo-2-6239b8550e099ffa807c20f73c8f3df632fda841.tar.gz gentoo-2-6239b8550e099ffa807c20f73c8f3df632fda841.tar.bz2 gentoo-2-6239b8550e099ffa807c20f73c8f3df632fda841.zip |
Version bump, closing bug #327947.
(Portage version: 2.1.8.3/cvs/Linux i686)
-rw-r--r-- | net-wireless/wifi-radar/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/wifi-radar/wifi-radar-2.0.8.ebuild | 58 |
2 files changed, 65 insertions, 2 deletions
diff --git a/net-wireless/wifi-radar/ChangeLog b/net-wireless/wifi-radar/ChangeLog index 395ae0adfdb5..d21853ca2972 100644 --- a/net-wireless/wifi-radar/ChangeLog +++ b/net-wireless/wifi-radar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/wifi-radar -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifi-radar/ChangeLog,v 1.21 2009/01/14 16:33:25 s4t4n Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifi-radar/ChangeLog,v 1.22 2010/09/03 14:49:20 s4t4n Exp $ + +*wifi-radar-2.0.8 (03 Sep 2010) + + 03 Sep 2010; Michele Noberasco <s4t4n@gentoo.org> wifi-radar-2.0.8.ebuild: + Version bump, closing bug #327947. 14 Jan 2009; Michele Noberasco <s4t4n@gentoo.org> wifi-radar-1.9.8-r1.ebuild, wifi-radar-1.9.9.ebuild: diff --git a/net-wireless/wifi-radar/wifi-radar-2.0.8.ebuild b/net-wireless/wifi-radar/wifi-radar-2.0.8.ebuild new file mode 100644 index 000000000000..ec97ea8885d9 --- /dev/null +++ b/net-wireless/wifi-radar/wifi-radar-2.0.8.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wifi-radar/wifi-radar-2.0.8.ebuild,v 1.1 2010/09/03 14:49:20 s4t4n Exp $ + +inherit eutils versionator + +MY_PV="$(get_version_component_range 1-2)" +MY_PL="$(get_version_component_range 3)" +MY_PL="s0${MY_PL}" +MY_PV="${MY_PV}.${MY_PL}" + +DESCRIPTION="WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles." +HOMEPAGE="http://wifi-radar.berlios.de/" +SRC_URI="mirror://berlios/wifi-radar/wifi-radar-${MY_PV}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="svg" + +RDEPEND=">=dev-python/pygtk-2.16.0-r1 + >=net-wireless/wireless-tools-29 + virtual/dhcpc" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_install () +{ + dosbin wifi-radar + dosed "s:/etc/wpa_supplicant.conf:/etc/wpa_supplicant/wpa_supplicant.conf:" /usr/sbin/wifi-radar + dobin wifi-radar.sh + if use svg; then + doicon pixmaps/wifi-radar.svg + make_desktop_entry wifi-radar.sh "WiFi Radar" wifi-radar Network + else + doicon pixmaps/wifi-radar.png + make_desktop_entry wifi-radar.sh "WiFi Radar" wifi-radar Network + fi + + doman man/man1/wifi-radar.1 man/man5/wifi-radar.conf.5 + + cd docs + dodoc BUGS CREDITS DEVELOPER_GUIDELINES HISTORY README README.WPA-Mini-HOWTO.txt TODO +} + +pkg_postinst() +{ + einfo "Remember to edit configuration file /etc/wifi-radar.conf to suit your needs..." + echo + einfo "To use wifi-radar with a normal user (with sudo) add:" + einfo "%users ALL = /usr/sbin/wifi-radar" + einfo "in your /etc/sudoers. Also, find the line saying:" + einfo "Defaults env_reset" + einfo "and modify it as follows:" + einfo "Defaults env_keep=DISPLAY" + echo + einfo "Then launch wifi-radar.sh" + echo +} |