annotate contrib/splicex/configure @ 685:39369594be19 draft

splicex manual fix
author resdb <resdb@d3v11-VM.(none)>
date Sun, 23 Oct 2011 02:59:08 -0500
parents a785c7cf4b6a
children f471a2bca6ff
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
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
2 clear
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
3 echo "
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
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
11 .:Brute Force Utilities For GNU/Linux:.
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
12 "
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
13
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
14 if [[ $(id -u) != 0 ]]; then
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
15 echo 'root privileges required!..Quiting...'
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
16 exit 1
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
17 fi
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
18
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
19 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
20 echo 'CONFIGURE: '
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
21 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
22 echo -ne 'checking for python'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
23 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
24 echo -ne '.'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
25 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
26 echo -ne '.'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
27 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
28 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
29 if which python >/dev/null; then
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
30 sleep .7
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
31 echo -ne ' python found :-)'
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
32 echo
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
33 sleep .7
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
34 else
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
35 sleep .7
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
36 echo -ne ' python not found. Quiting... :-('
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
37 echo
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
38 exit 1
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
39 fi
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
40
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
41 echo -ne 'checking for man'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
42 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
43 echo -ne '.'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
44 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
45 echo -ne '.'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
46 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
47 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
48 if which man >/dev/null; then
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
49 sleep .7
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
50 echo -ne ' man found :-)'
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
51 echo
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
52 sleep .7
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
53 else
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
54 sleep .7
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
55 echo -ne ' man not found. Quiting... :-('
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
56 echo
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
57 exit 1
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
58 fi
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
59
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
60 PYPATH=`which python`
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
61 echo "configuring splicex for $PYPATH"
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
62 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
63 echo -ne '.'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
64 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
65 echo -ne '.'
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
66 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
67 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
68 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
69 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
70 echo "configured...continuing \`make install'"
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
71 sleep .7
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
72 echo
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
73 echo 'INSTALL: '
685
39369594be19 splicex manual fix
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
74 sleep .7