summaryrefslogtreecommitdiff
path: root/net-wireless/wifite/files/wifite-noupgrade.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/wifite/files/wifite-noupgrade.patch')
-rw-r--r--net-wireless/wifite/files/wifite-noupgrade.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-wireless/wifite/files/wifite-noupgrade.patch b/net-wireless/wifite/files/wifite-noupgrade.patch
new file mode 100644
index 00000000..2b2d03ff
--- /dev/null
+++ b/net-wireless/wifite/files/wifite-noupgrade.patch
@@ -0,0 +1,21 @@
+--- wifite.orig 2011-04-05 14:12:52.000000000 +0800
++++ wifite 2011-04-05 14:17:12.990000001 +0800
+@@ -1051,7 +1051,7 @@
+ print G+".;' ,;' ,;' `;, `;, `;, "
+ print G+":: :: : "+GR+"( )"+G+" : :: :: "+GR+"mass WEP/WPA cracker"
+ print G+"':. ':. ':. "+GR+"/_\\"+G+" ,:' ,:' ,:' "
+- print G+" ':. ':. "+GR+"/___\\"+G+" ,:' ,:' "+GR+"designed for backtrack4"
++ print G+" ':. ':. "+GR+"/___\\"+G+" ,:' ,:' "+GR+"designed for backtrack4, but we like Pentoo"
+ print G+" ':. "+GR+"/_____\\"+G+" ,:' "
+ print G+" "+GR+"/ \\"+G+" "
+ print W
+@@ -1104,8 +1104,7 @@
+
+ elif a == '-update' or a == '--update' or a == '-upgrade' or a == '--upgrade':
+ # upgrayedd
+- update()
+- subprocess.call(['rm','-rf',TEMPDIR])
++ print 'The direct upgrade of this binary has been disabled. Please use a package manager instead'
+ sys.exit(0)
+ elif a == '-v' or a == '-version' or a == '-V' or a == '--version' or a == 'version':
+ print GR+'[+] '+W+'current wifite revision: '+G+'r'+str(REVISION)+W