annotate contrib/splicex/configure @ 687:f471a2bca6ff draft

splicex improvements made
author resdb <resdb@d3v11-VM.(none)>
date Sun, 23 Oct 2011 06:59:13 -0500
parents 39369594be19
children
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
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
3 echo -e "\033[1;31m
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
4 __________ _ _ __ __ ______
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
5 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
6 / / / /\___ \| '_ \| | |/ __/ _ \\\\\\ / / / / /
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
7 / / / / ___) | |_) | | | (_| __// \\ / / / /
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
8 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
9 |_|
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
10 \033[1;33m
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
11 .:Brute Force Utilities For GNU/Linux:.
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
12 \033[0;0m
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
13
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
14 SpliceX is free software: you can redistribute it and/or modify it under
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
15 the terms of the GNU General Public License as published by the Free
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
16 Software Foundation, either version 3 of the License, or (at your option)
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
17 any later version.
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
18
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
19 SpliceX is distributed in the hope that it will be useful, but WITHOUT
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
22 for more details. <http://www.gnu.org/licenses/>
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
23
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
24 "
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
25
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
26 if [[ $(id -u) != 0 ]]; then
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
27 echo 'root privileges required!..Quiting...'
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
28 exit 1
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
29 fi
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
30
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
31 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
32 echo 'CONFIGURE: '
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
33 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
34 echo -ne 'checking for python'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
35 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
36 echo -ne '.'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
37 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
38 echo -ne '.'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
39 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
40 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
41 if which python >/dev/null; then
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
42 sleep .3
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
43 echo -ne ' python found :-)'
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
44 echo
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
45 sleep .3
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
46 else
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
47 sleep .3
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
48 echo -ne ' python not found. Quiting... :-('
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
49 echo
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
50 exit 1
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
51 fi
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
52
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
53 echo -ne 'checking for man'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
54 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
55 echo -ne '.'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
56 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
57 echo -ne '.'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
58 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
59 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
60 if which man >/dev/null; then
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
61 sleep .3
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
62 echo -ne ' man found :-)'
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
63 echo
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
64 sleep .3
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
65 else
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
66 sleep .3
682
a785c7cf4b6a splicex stuff
resdb <resdb@d3v11-VM.(none)>
parents: 681
diff changeset
67 echo -ne ' man not found. Quiting... :-('
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
68 echo
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
69 exit 1
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
70 fi
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
71
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
72 PYPATH=`which python`
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
73 echo "configuring splicex for $PYPATH"
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
74 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
75 echo -ne '.'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
76 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
77 echo -ne '.'
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
78 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
79 echo -ne '.'
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
80 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
81 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
82 echo "configured...continuing \`make install'"
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
83 sleep .3
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
84 echo
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 679
diff changeset
85 echo 'INSTALL: '
687
f471a2bca6ff splicex improvements made
resdb <resdb@d3v11-VM.(none)>
parents: 685
diff changeset
86 sleep .3