diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-05 18:07:27 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-05 18:07:27 +0000 |
commit | f54ebc4d312018e580be4c38dd9ea05c7bc49a78 (patch) | |
tree | 7de523ed7946c10e25281adc663143af9e29e5ac /net-misc/cnetworkmanager | |
parent | Version bump (diff) | |
download | historical-f54ebc4d312018e580be4c38dd9ea05c7bc49a78.tar.gz historical-f54ebc4d312018e580be4c38dd9ea05c7bc49a78.tar.bz2 historical-f54ebc4d312018e580be4c38dd9ea05c7bc49a78.zip |
Delete older ebuild.
Diffstat (limited to 'net-misc/cnetworkmanager')
-rw-r--r-- | net-misc/cnetworkmanager/cnetworkmanager-0.21-r1.ebuild | 27 | ||||
-rw-r--r-- | net-misc/cnetworkmanager/files/cnetworkmanager-0.21-wepwapfix.patch | 86 |
2 files changed, 0 insertions, 113 deletions
diff --git a/net-misc/cnetworkmanager/cnetworkmanager-0.21-r1.ebuild b/net-misc/cnetworkmanager/cnetworkmanager-0.21-r1.ebuild deleted file mode 100644 index a93c38858974..000000000000 --- a/net-misc/cnetworkmanager/cnetworkmanager-0.21-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cnetworkmanager/cnetworkmanager-0.21-r1.ebuild,v 1.2 2010/02/08 08:52:25 pva Exp $ - -EAPI=2 - -inherit eutils distutils - -DESCRIPTION="Command line interface for NetworkManager." -HOMEPAGE="http://vidner.net/martin/software/cnetworkmanager/" -SRC_URI="http://vidner.net/martin/software/cnetworkmanager/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~arm ~amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-lang/python-2.5 - >=dev-python/dbus-python-0.80.2 - >=dev-python/pygobject-2.14.0 - >=net-misc/networkmanager-0.7.0" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_prepare() { - # Fixes bug 281099 - epatch "${FILESDIR}"/${P}-wepwapfix.patch -} diff --git a/net-misc/cnetworkmanager/files/cnetworkmanager-0.21-wepwapfix.patch b/net-misc/cnetworkmanager/files/cnetworkmanager-0.21-wepwapfix.patch deleted file mode 100644 index 45c7870d2719..000000000000 --- a/net-misc/cnetworkmanager/files/cnetworkmanager-0.21-wepwapfix.patch +++ /dev/null @@ -1,86 +0,0 @@ -From: Martin Vidner <martin@vidner.net> -Date: Thu, 13 Aug 2009 21:31:51 +0000 (+0200) -Subject: Fixed the --wep-* and --wpa-* options (Gentoo#281099). -X-Git-Url: http://repo.or.cz/w/cnetworkmanager.git?a=commitdiff_plain - -Fixed the --wep-* and --wpa-* options (Gentoo#281099). - -The constructors had wrong super calls, duh. -And there was a typo in "ccmp". -http://bugs.gentoo.org/show_bug.cgi?id=281099 ---- - -diff --git a/Makefile b/Makefile -index 0ba0c93..5900426 100644 ---- a/Makefile -+++ b/Makefile -@@ -7,7 +7,7 @@ check: check-nonm - - check-nonm: - for T in `find . -name \*.py | xargs grep -l '>>>'`; do python $$T; done -- for T in test/test01*.py; do $$T; done -+ for T in test/test01*.py; do PYTHONPATH=. $$T; done - - install: - $(SETUP) install -diff --git a/networkmanager/applet/settings.py b/networkmanager/applet/settings.py -index bc22291..5ceacba 100644 ---- a/networkmanager/applet/settings.py -+++ b/networkmanager/applet/settings.py -@@ -104,7 +104,7 @@ class Wep(WiFi): - def __init__(self, ssid, key, hashed_key=""): - "One of key, hashed_key must be present" - -- super(WiFi, self).__init__(ssid) -+ super(Wep, self).__init__(ssid) - self["802-11-wireless"]["security"] = "802-11-wireless-security" - self["802-11-wireless-security"] = {} - self["802-11-wireless-security"]["key-mgmt"] = "none" -@@ -126,10 +126,10 @@ class WpaPsk(WiFi): - def __init__(self, ssid, key, hashed_key=""): - "One of key, hashed_key must be present" - -- super(WiFi, self).__init__(ssid) -+ super(WpaPsk, self).__init__(ssid) - self["802-11-wireless"]["security"] = "802-11-wireless-security" - self["802-11-wireless-security"] = {} -- self["802-11-wireless-security"]["group"] = ["tkip", "cselfp"] -+ self["802-11-wireless-security"]["group"] = ["tkip", "ccmp"] - self["802-11-wireless-security"]["pairwise"] = ["tkip", "ccmp"] - self["802-11-wireless-security"]["key-mgmt"] = "wpa-psk" - if hashed_key == "": -diff --git a/test/test01-nofail.py b/test/test01-nofail.py -index c4ca60c..a908e5d 100755 ---- a/test/test01-nofail.py -+++ b/test/test01-nofail.py -@@ -4,6 +4,8 @@ import subprocess - import sys - import unittest - -+import networkmanager.applet.settings as settings -+ - class NoFail(unittest.TestCase): - def callIt(self, params): - cmd = sys.path[0] + '/../cnetworkmanager' -@@ -19,5 +21,21 @@ class NoFail(unittest.TestCase): - def testHelp(self): - self.callIt("--help") - -+class SettingsFactory(unittest.TestCase): -+ def testWiFi(self): -+ ssid = "foo" -+ c = settings.WiFi(ssid) -+ -+ def testWep(self): -+ ssid = "foo" -+ c1 = settings.Wep(ssid, "wep_pass") -+ c2 = settings.Wep(ssid, "", "ffffffffffffffffffffffffff") -+ -+ def testWpa(self): -+ ssid = "foo" -+ c1 = settings.WpaPsk(ssid, "wep_pass") -+ c2 = settings.WpaPsk(ssid, "", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") -+ -+ - if __name__ == '__main__': - unittest.main() |