diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/wifi-radar |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/wifi-radar')
-rw-r--r-- | net-wireless/wifi-radar/Manifest | 5 | ||||
-rw-r--r-- | net-wireless/wifi-radar/metadata.xml | 5 | ||||
-rw-r--r-- | net-wireless/wifi-radar/wifi-radar-2.0.8-r2.ebuild | 69 |
3 files changed, 79 insertions, 0 deletions
diff --git a/net-wireless/wifi-radar/Manifest b/net-wireless/wifi-radar/Manifest new file mode 100644 index 000000000000..11d237cd12d9 --- /dev/null +++ b/net-wireless/wifi-radar/Manifest @@ -0,0 +1,5 @@ +DIST wifi-radar-2.0.s08.tar.bz2 62781 SHA256 37479325556f1ce6d9309cb7906dcbd1b4e53e6e80616b6617556de7a6512f32 SHA512 8b14a227c4e1e60f05c981b51777dcb5318a1dda2026bc32e9fd761adb0a4243caabd7444768630ad54258f9f065f4c7cc73e9d8b17bc2ccd98f63f3119ce584 WHIRLPOOL c754028e32db1088c6311bb350fc6d591967391cd43cc8d24771e9c8333a2463e6c0877ff3133e2433a00c2bc4572540b4474f6bb6c59ac9ae113532c12dfe54 +EBUILD wifi-radar-2.0.8-r2.ebuild 1758 SHA256 bca36380192da90e028d4996a70148ec6dfe97da7dff8cc3c012e5f917dab6c8 SHA512 e4551a4c495b86b63bf928d295e65701130493cb28a03d8ef010517ce717bdf1e9dbdc95741677982abcb9fb471bbbf1c7b62280f3f39b667754db078b4932b2 WHIRLPOOL 66df50819c0aba7e6e2ed1cc0320c335b40361bd54a065af788e37e66f978e59af8b312fa9bb34285c92311825af1a09c97f8407a881fdba145da825345b954e +MISC ChangeLog 2541 SHA256 739156066a751e237a2b6eb1098141598d33cf7b964ba895321daa79712cc69a SHA512 f757ac47e99bc512dd2e9e96b1f0a015bb7b6161edefec2966fd3215963bfd4014b8d6743a9841402793734cbcd6782896db2a584d1d61bf91d2e0077f746e48 WHIRLPOOL f665323f81777651efe7b45d91e8d1def11d35247cfa28de8c40bafe7b24b2bbb6b42ec5e65c38bda9a27746715aa1b57e5e6f1ae0270ad70f13649014901412 +MISC ChangeLog-2015 5695 SHA256 5f9be50127e8187bf6397907fa1879d3c7fdd3b771a816ef1d2a2bde2b1b33f3 SHA512 7671fa9d871fd868142b3e1ea3f2b2052e462d119bbd082d2e9b73f643410f55097dd73cb4931caf1d3a6e6f62de1a026f2e3f4438d6d15b6c179dc565e22021 WHIRLPOOL 756d3a9e2071451c90977337fb7ec86ac07ea2b4c2c86b441f5a29296b9f046e6ceeb7ce4abb2cf6ab5483cf26bc7cb1eee31023bf71e516b3225701b87c5793 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/net-wireless/wifi-radar/metadata.xml b/net-wireless/wifi-radar/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-wireless/wifi-radar/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/net-wireless/wifi-radar/wifi-radar-2.0.8-r2.ebuild b/net-wireless/wifi-radar/wifi-radar-2.0.8-r2.ebuild new file mode 100644 index 000000000000..186495aa75b3 --- /dev/null +++ b/net-wireless/wifi-radar/wifi-radar-2.0.8-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils versionator python-single-r1 readme.gentoo + +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.tuxfamily.org/" +SRC_URI="${HOMEPAGE}pub/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + app-admin/sudo + >=dev-python/pygtk-2.16.0-r1[${PYTHON_USEDEP}] + >=net-wireless/wireless-tools-29 + || ( net-misc/dhcpcd net-misc/dhcp net-misc/pump ) +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Remember to edit configuration file /etc/${PN}.conf to suit your needs. +To use ${PN} with a normal user (with sudo) add: +%users ALL = /usr/sbin/${PN} +in your /etc/sudoers. Also, find the line saying: +Defaults env_reset +and modify it as follows: +Defaults env_keep=DISPLAY + +Then launch ${PN}.sh +" + +src_prepare() { + sed -i "s:/etc/wpa_supplicant.conf:/etc/wpa_supplicant/wpa_supplicant.conf:" ${PN} || die + sed -i -e "s:/sbin/ifconfig:/bin/ifconfig:" ${PN} || die + python_fix_shebang . +} + +src_install() { + dosbin ${PN} + dobin ${PN}.sh + doicon -s scalable pixmaps/${PN}.svg + doicon -s 32 pixmaps/wifi_radar_32x32.png + doicon pixmaps/${PN}.png + make_desktop_entry ${PN}.sh "WiFi Radar" ${PN} Network + + doman man/man1/${PN}.1 man/man5/${PN}.conf.5 + + cd docs + dodoc BUGS CREDITS DEVELOPER_GUIDELINES HISTORY README README.WPA-Mini-HOWTO.txt TODO + keepdir /etc/${PN} + + readme.gentoo_create_doc +} |