diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /net-wireless/wifite/files |
Added ebuilds for kogaion desktop
Diffstat (limited to 'net-wireless/wifite/files')
-rw-r--r-- | net-wireless/wifite/files/wifite-2-noupgrade.patch | 11 | ||||
-rw-r--r-- | net-wireless/wifite/files/wifite-noupgrade.patch | 21 |
2 files changed, 32 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': 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 |