summaryrefslogtreecommitdiff
path: root/net-wireless/wifite/files/wifite-2-noupgrade.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/wifite/files/wifite-2-noupgrade.patch')
-rw-r--r--net-wireless/wifite/files/wifite-2-noupgrade.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/wifite/files/wifite-2-noupgrade.patch b/net-wireless/wifite/files/wifite-2-noupgrade.patch
new file mode 100644
index 00000000..6d3ff971
--- /dev/null
+++ b/net-wireless/wifite/files/wifite-2-noupgrade.patch
@@ -0,0 +1,11 @@
+--- wifite.orig 2012-05-29 08:53:04.321780000 +0800
++++ wifite 2012-05-29 08:54:03.546779995 +0800
+@@ -521,7 +521,7 @@
+ exit_gracefully(1)
+
+ elif args[i] == '-upgrade' or args[i] == '-update':
+- upgrade()
++ print 'The direct upgrade of this binary has been disabled. Please use a package manager instead'
+ exit(0)
+
+ elif args[i] == '-cracked':