summaryrefslogtreecommitdiff
path: root/contrib/splicex
diff options
context:
space:
mode:
authorresdb <resdb@d3v11-VM.(none)>2011-10-22 17:49:18 -0500
committerresdb <resdb@d3v11-VM.(none)>2011-10-22 17:49:18 -0500
commitd7ca60f5e49cd59c0b7e17d50f5f197e2bae94c5 (patch)
treea01b9890f12257206f374224f5872bb1b3f2352e /contrib/splicex
parent3cf0a3944dcbd1569895309265127f0abf285bb0 (diff)
downloadresdb-d7ca60f5e49cd59c0b7e17d50f5f197e2bae94c5.tar.gz
resdb-d7ca60f5e49cd59c0b7e17d50f5f197e2bae94c5.zip
splicex stuff
Diffstat (limited to 'contrib/splicex')
-rw-r--r--contrib/splicex/Makefile4
-rw-r--r--contrib/splicex/Makefile.save71
-rwxr-xr-xcontrib/splicex/configure15
3 files changed, 82 insertions, 8 deletions
diff --git a/contrib/splicex/Makefile b/contrib/splicex/Makefile
index 51a9a72..1f5e5ac 100644
--- a/contrib/splicex/Makefile
+++ b/contrib/splicex/Makefile
@@ -1,8 +1,8 @@
#!/usr/bin/make -f
install-deb:
- make preclean-deb
./configure
+ make preclean-deb
mkdir DEBIAN/splicex
mkdir DEBIAN/splicex/DEBIAN
mkdir DEBIAN/splicex/usr
@@ -30,8 +30,8 @@ install-deb:
rm -rf DEBIAN/splicex DEBIAN/splicex.deb
install:
- make preclean
./configure
+ make preclean
cp LINUX/splicex.cp /usr/bin/splicex
cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow
rm -rf LINUX/*.cp
diff --git a/contrib/splicex/Makefile.save b/contrib/splicex/Makefile.save
new file mode 100644
index 0000000..4929ed2
--- /dev/null
+++ b/contrib/splicex/Makefile.save
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+install-deb:
+ make clean
+ ./configure
+ mkdir DEBIAN/splicex
+ mkdir DEBIAN/splicex/DEBIAN
+ mkdir DEBIAN/splicex/usr
+ mkdir DEBIAN/splicex/usr/bin
+ 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
+ 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
+ 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
+ dpkg-deb --build DEBIAN/splicex
+ dpkg -i DEBIAN/splicex.deb
+ rm -rf DEBIAN/splicex DEBIAN/splicex.deb
+
+install:
+ make clean
+ ./configure
+ make uninstall
+ cp LINUX/splicex.cp /usr/bin/splicex
+ cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow
+ rm -rf LINUX/*.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
+ 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
+
+uninstall:
+ rm -rf /etc/splicex
+ rm -f /usr/bin/splicex
+ rm -f /usr/bin/splicex-deshadow
+
+clean:
+ rm DEBIAN/splicex DEBIAN/*.deb -rf
+
+preclean:
+ rm -rf /etc/splicex
+ rm -f /usr/bin/splicex
+ rm -f /usr/bin/splicex-deshadow rm -rf /etc/splicex
+ rm -f /usr/bin/splicex
+ rm -f /usr/bin/splicex-deshadow
+
+update:
+ wget http://www.d3v11.ano/splicex.tgz
+ tar -xvf ../splicex.tgz --directory='../'
+ rm ../splicex.tgz
diff --git a/contrib/splicex/configure b/contrib/splicex/configure
index f274981..4637910 100755
--- a/contrib/splicex/configure
+++ b/contrib/splicex/configure
@@ -1,6 +1,4 @@
#!/bin/bash
-clear
-
echo "
__________ _ _ __ __ ______
/ / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
@@ -12,6 +10,11 @@ echo "
.:Brute Force Utilities For GNU/Linux:.
"
+if [[ $(id -u) != 0 ]]; then
+ echo 'root privileges required!..Quiting...'
+ exit 1
+fi
+
sleep 1
echo 'CONFIGURE: '
sleep 1
@@ -24,12 +27,12 @@ sleep 1
echo -ne '.'
if which python >/dev/null; then
sleep 1
- echo -ne 'python found :-)'
+ echo -ne ' python found :-)'
echo
sleep 1
else
sleep 1
- echo -ne 'python not found. Quiting... :-('
+ echo -ne ' python not found. Quiting... :-('
echo
exit 1
fi
@@ -43,12 +46,12 @@ sleep 1
echo -ne '.'
if which man >/dev/null; then
sleep 1
- echo -ne 'man found :-)'
+ echo -ne ' man found :-)'
echo
sleep 1
else
sleep 1
- echo -ne 'man not found. Quiting... :-('
+ echo -ne ' man not found. Quiting... :-('
echo
exit 1
fi