annotate contrib/splicex/configure @ 682:a785c7cf4b6a draft

splicex stuff
author resdb <resdb@d3v11-VM.(none)>
date Sat, 22 Oct 2011 17:49:18 -0500
parents 14a390660911
children 39369594be19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
1 #!/bin/bash
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
2 echo "
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
3 __________ _ _ __ __ ______
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
4 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
5 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / /
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
6 / / / / ___) | |_) | | | (_| __// \\ / / / /
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
7 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
8 |_|
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
9
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
10 .:Brute Force Utilities For GNU/Linux:.
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
11 "
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
12
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
13 if [[ $(id -u) != 0 ]]; then
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
14 echo 'root privileges required!..Quiting...'
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
15 exit 1
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
16 fi
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
17
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
18 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
19 echo 'CONFIGURE: '
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
20 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
21 echo -ne 'checking for python'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
22 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
23 echo -ne '.'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
24 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
25 echo -ne '.'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
26 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
27 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
28 if which python >/dev/null; then
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
29 sleep 1
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
30 echo -ne ' python found :-)'
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
31 echo
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
32 sleep 1
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
33 else
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
34 sleep 1
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
35 echo -ne ' python not found. Quiting... :-('
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
36 echo
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
37 exit 1
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
38 fi
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
39
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
40 echo -ne 'checking for man'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
41 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
42 echo -ne '.'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
43 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
44 echo -ne '.'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
45 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
46 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
47 if which man >/dev/null; then
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
48 sleep 1
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
49 echo -ne ' man found :-)'
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
50 echo
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
51 sleep 1
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
52 else
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
53 sleep 1
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
54 echo -ne ' man not found. Quiting... :-('
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
55 echo
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
56 exit 1
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
57 fi
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
58
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
59 PYPATH=`which python`
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
60 echo "configuring splicex for $PYPATH"
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
61 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
62 echo -ne '.'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
63 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
64 echo -ne '.'
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
65 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
66 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
67 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
68 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
69 echo "configured...continuing \`make install'"
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
70 sleep 1
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
71 echo
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
72 echo 'INSTALL: '
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
73 sleep 1