diff options
author | resdb <resdb@d3v11-VM.(none)> | 2011-10-23 08:31:11 -0500 |
---|---|---|
committer | resdb <resdb@d3v11-VM.(none)> | 2011-10-23 08:31:11 -0500 |
commit | 2fe5a821b2294011fee4a080ccf231a64268168e (patch) | |
tree | 713126f779a680823811b90d6a0b0c6695a5f00c /contrib | |
parent | b48c8d39a6db39c5a9e5cab9b8f9efea2873f914 (diff) | |
download | resdb-2fe5a821b2294011fee4a080ccf231a64268168e.tar.gz resdb-2fe5a821b2294011fee4a080ccf231a64268168e.zip |
SpliceX improvements
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/splicex/.configure | 86 | ||||
-rw-r--r-- | contrib/splicex/Makefile | 52 | ||||
-rw-r--r-- | contrib/splicex/src/manual (renamed from contrib/splicex/LINUX/manual) | 0 | ||||
-rwxr-xr-x | contrib/splicex/src/splicex-deshadow.py (renamed from contrib/splicex/LINUX/splicex-deshadow.py) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.ALL (renamed from contrib/splicex/SPLICEX/splicex.ALL) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.L (renamed from contrib/splicex/SPLICEX/splicex.L) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.LN (renamed from contrib/splicex/SPLICEX/splicex.LN) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.LS (renamed from contrib/splicex/SPLICEX/splicex.LS) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.N (renamed from contrib/splicex/SPLICEX/splicex.N) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.NS (renamed from contrib/splicex/SPLICEX/splicex.NS) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.S (renamed from contrib/splicex/SPLICEX/splicex.S) | 0 | ||||
-rw-r--r-- | contrib/splicex/src/splicex.list (renamed from contrib/splicex/SPLICEX/splicex.list) | 0 | ||||
-rwxr-xr-x | contrib/splicex/src/splicex.py (renamed from contrib/splicex/LINUX/splicex.py) | 0 |
13 files changed, 112 insertions, 26 deletions
diff --git a/contrib/splicex/.configure b/contrib/splicex/.configure new file mode 100755 index 0000000..03d882e --- /dev/null +++ b/contrib/splicex/.configure @@ -0,0 +1,86 @@ +#!/bin/bash +clear +echo -e "\033[1;31m + __________ _ _ __ __ ______ + / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / + / / / /\___ \| '_ \| | |/ __/ _ \\\\\\ / / / / / + / / / / ___) | |_) | | | (_| __// \\ / / / / + /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/ + |_| + \033[1;33m + .:Brute Force Utilities For GNU/Linux:. + \033[0;0m + + SpliceX is free software: you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. + + SpliceX is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. <http://www.gnu.org/licenses/> + +" + +if [[ $(id -u) != 0 ]]; then + echo 'root privileges required!..Quiting...' + exit 1 +fi + +sleep .3 +echo 'CONFIGURE: ' +sleep .3 +echo -ne 'checking for python' +sleep .3 +echo -ne '.' +sleep .3 +echo -ne '.' +sleep .3 +echo -ne '.' +if which python >/dev/null; then + sleep .3 + echo -ne ' python found :-)' + echo + sleep .3 +else + sleep .3 + echo -ne ' python not found. Quiting... :-(' + echo + exit 1 +fi + +echo -ne 'checking for man' +sleep .3 +echo -ne '.' +sleep .3 +echo -ne '.' +sleep .3 +echo -ne '.' +if which man >/dev/null; then + sleep .3 + echo -ne ' man found :-)' + echo + sleep .3 +else + sleep .3 + echo -ne ' man not found. Quiting... :-(' + echo + exit 1 +fi + +PYPATH=`which python` +echo "configuring splicex for $PYPATH" +sleep .3 +echo -ne '.' +sleep .3 +echo -ne '.' +sleep .3 +echo -ne '.' +sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >src/splicex.cp +sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >src/splicex-deshadow.cp +echo "configured...continuing \`make install'" +sleep .3 +echo +echo 'INSTALL: ' +sleep .3 diff --git a/contrib/splicex/Makefile b/contrib/splicex/Makefile index 1f5e5ac..f860f81 100644 --- a/contrib/splicex/Makefile +++ b/contrib/splicex/Makefile @@ -1,7 +1,7 @@ #!/usr/bin/make -f install-deb: - ./configure + ./.configure make preclean-deb mkdir DEBIAN/splicex mkdir DEBIAN/splicex/DEBIAN @@ -10,44 +10,44 @@ install-deb: mkdir DEBIAN/splicex/etc mkdir DEBIAN/splicex/etc/splicex cp DEBIAN/control DEBIAN/splicex/DEBIAN/control - cp LINUX/splicex.cp DEBIAN/splicex/usr/bin/splicex - cp LINUX/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow - rm -rf LINUX/*.cp + cp src/splicex.cp DEBIAN/splicex/usr/bin/splicex + cp src/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow + rm -rf src/*.cp chmod +x DEBIAN/splicex/usr/bin/splicex chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow - cp SPLICEX/splicex.list DEBIAN/splicex/etc/splicex/splicex.list - cp LINUX/manual DEBIAN/splicex/etc/splicex/splicex.1 + cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list + cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 gzip DEBIAN/splicex/etc/splicex/splicex.1 - cp SPLICEX/splicex.L DEBIAN/splicex/etc/splicex/splicex.L - cp SPLICEX/splicex.N DEBIAN/splicex/etc/splicex/splicex.N - cp SPLICEX/splicex.S DEBIAN/splicex/etc/splicex/splicex.S - cp SPLICEX/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN - cp SPLICEX/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS - cp SPLICEX/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS - cp SPLICEX/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL + cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L + cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N + cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S + cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN + cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS + cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS + cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL dpkg-deb --build DEBIAN/splicex dpkg -i DEBIAN/splicex.deb rm -rf DEBIAN/splicex DEBIAN/splicex.deb install: - ./configure + ./.configure make preclean - cp LINUX/splicex.cp /usr/bin/splicex - cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow - rm -rf LINUX/*.cp + cp src/splicex.cp /usr/bin/splicex + cp src/splicex-deshadow.cp /usr/bin/splicex-deshadow + rm -rf src/*.cp chmod +x /usr/bin/splicex chmod +x /usr/bin/splicex-deshadow mkdir /etc/splicex - cp SPLICEX/splicex.list /etc/splicex/splicex.list - cp LINUX/manual /etc/splicex/splicex.1 + cp src/splicex.list /etc/splicex/splicex.list + cp src/manual /etc/splicex/splicex.1 gzip /etc/splicex/splicex.1 - cp SPLICEX/splicex.L /etc/splicex/splicex.L - cp SPLICEX/splicex.N /etc/splicex/splicex.N - cp SPLICEX/splicex.S /etc/splicex/splicex.S - cp SPLICEX/splicex.LN /etc/splicex/splicex.LN - cp SPLICEX/splicex.LS /etc/splicex/splicex.LS - cp SPLICEX/splicex.NS /etc/splicex/splicex.NS - cp SPLICEX/splicex.ALL /etc/splicex/splicex.ALL + cp src/splicex.L /etc/splicex/splicex.L + cp src/splicex.N /etc/splicex/splicex.N + cp src/splicex.S /etc/splicex/splicex.S + cp src/splicex.LN /etc/splicex/splicex.LN + cp src/splicex.LS /etc/splicex/splicex.LS + cp src/splicex.NS /etc/splicex/splicex.NS + cp src/splicex.ALL /etc/splicex/splicex.ALL uninstall: rm -rf /etc/splicex diff --git a/contrib/splicex/LINUX/manual b/contrib/splicex/src/manual index 9ad0b66..9ad0b66 100644 --- a/contrib/splicex/LINUX/manual +++ b/contrib/splicex/src/manual diff --git a/contrib/splicex/LINUX/splicex-deshadow.py b/contrib/splicex/src/splicex-deshadow.py index c8e11ec..c8e11ec 100755 --- a/contrib/splicex/LINUX/splicex-deshadow.py +++ b/contrib/splicex/src/splicex-deshadow.py diff --git a/contrib/splicex/SPLICEX/splicex.ALL b/contrib/splicex/src/splicex.ALL index bf23f3e..bf23f3e 100644 --- a/contrib/splicex/SPLICEX/splicex.ALL +++ b/contrib/splicex/src/splicex.ALL diff --git a/contrib/splicex/SPLICEX/splicex.L b/contrib/splicex/src/splicex.L index 0ca0e52..0ca0e52 100644 --- a/contrib/splicex/SPLICEX/splicex.L +++ b/contrib/splicex/src/splicex.L diff --git a/contrib/splicex/SPLICEX/splicex.LN b/contrib/splicex/src/splicex.LN index 6fa4170..6fa4170 100644 --- a/contrib/splicex/SPLICEX/splicex.LN +++ b/contrib/splicex/src/splicex.LN diff --git a/contrib/splicex/SPLICEX/splicex.LS b/contrib/splicex/src/splicex.LS index 114bb87..114bb87 100644 --- a/contrib/splicex/SPLICEX/splicex.LS +++ b/contrib/splicex/src/splicex.LS diff --git a/contrib/splicex/SPLICEX/splicex.N b/contrib/splicex/src/splicex.N index e53eaa1..e53eaa1 100644 --- a/contrib/splicex/SPLICEX/splicex.N +++ b/contrib/splicex/src/splicex.N diff --git a/contrib/splicex/SPLICEX/splicex.NS b/contrib/splicex/src/splicex.NS index 070c8f1..070c8f1 100644 --- a/contrib/splicex/SPLICEX/splicex.NS +++ b/contrib/splicex/src/splicex.NS diff --git a/contrib/splicex/SPLICEX/splicex.S b/contrib/splicex/src/splicex.S index 5d2948b..5d2948b 100644 --- a/contrib/splicex/SPLICEX/splicex.S +++ b/contrib/splicex/src/splicex.S diff --git a/contrib/splicex/SPLICEX/splicex.list b/contrib/splicex/src/splicex.list index 6a6017a..6a6017a 100644 --- a/contrib/splicex/SPLICEX/splicex.list +++ b/contrib/splicex/src/splicex.list diff --git a/contrib/splicex/LINUX/splicex.py b/contrib/splicex/src/splicex.py index 674e3ef..674e3ef 100755 --- a/contrib/splicex/LINUX/splicex.py +++ b/contrib/splicex/src/splicex.py |