blob: 48ec5dcfa2a56e68e235de16d7f105a0315c5287 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
--- makesnortsam.sh.orig 2005-01-25 07:49:43.432290588 -0500
+++ makesnortsam.sh 2005-01-25 07:51:53.722343371 -0500
@@ -11,15 +11,13 @@
# Under Solaris, the OPSEC stuff is linked dynamically.
# On other platforms, statically.
-
+source ${ROOT}sbin/functions.sh
systype=`uname`
case "$1" in
[oO][pP][sS][eE][cC])
- echo "-------------------------------------------------------------------------------"
- echo "Building SnortSam (release) with OPSEC libraries"
- echo "-------------------------------------------------------------------------------"
+ einfo "Building SnortSam (release) with OPSEC libraries"
rm -f snortsam
rm -f snortsam-debug
@@ -58,9 +56,7 @@
esac
- echo "-------------------------------------------------------------------------------"
- echo "Building SnortSam (debug) with OPSEC libraries"
- echo "-------------------------------------------------------------------------------"
+ einfo "Building SnortSam (debug) with OPSEC libraries"
rm -f *.o
@@ -97,9 +93,7 @@
cd ..
;;
*)
- echo "-------------------------------------------------------------------------------"
- echo "Building SnortSam (release)"
- echo "-------------------------------------------------------------------------------"
+ einfo "Building SnortSam (release)"
rm -f snortsam
rm -f snortsam-debug
@@ -138,9 +132,7 @@
esac
- echo "-------------------------------------------------------------------------------"
- echo "Building SnortSam (debug)"
- echo "-------------------------------------------------------------------------------"
+ einfo "Building SnortSam (debug)"
rm -f *.o
|