summaryrefslogtreecommitdiff
path: root/security/tripwire12/files/patch-ab
blob: 7dcf3348984fa528c24b61aca629b1c54f2cc7f2 (plain) (blame)
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
54
55
56
57
58
59
60
61
62
*** Makefile	Mon Jul 25 10:59:41 1994
--- Makefile	Thu Jan  2 12:04:35 1997
***************
*** 34,36 ****
  # you can use ANSI C if you like, but K&R is equally fine.
! CC     = cc			# common
  #CC     = gcc			# also common
--- 34,36 ----
  # you can use ANSI C if you like, but K&R is equally fine.
! #CC     = cc			# common
  #CC     = gcc			# also common
***************
*** 38,40 ****
  
! CFLAGS = -O			# common 
  #CFLAGS = -g 			# common 
--- 38,40 ----
  
! #CFLAGS = -O			# common 
  #CFLAGS = -g 			# common 
***************
*** 60,66 ****
  #CPP	= /lib/cpp		# on older systems
  
  # make sure libraries are not linked dynamically (as a security measure)
! LDFLAGS=			# common
  #LDFLAGS= -non_shared		# OSF/1
  #LDFLAGS= -Bstatic		# SunOS 4 (cannot statically link tripwire
                            	#          on Solaris 2.3)
--- 60,67 ----
  #CPP	= /lib/cpp		# on older systems
  
  # make sure libraries are not linked dynamically (as a security measure)
! LDFLAGS= -static
! #LDFLAGS=			# common
  #LDFLAGS= -non_shared		# OSF/1
  #LDFLAGS= -Bstatic		# SunOS 4 (cannot statically link tripwire
                            	#          on Solaris 2.3)


--- src/Makefile.orig	Mon Jul 25 10:40:54 1994
+++ src/Makefile	Sun May 28 15:52:25 2000
@@ -3,7 +3,7 @@
 # 	Tripwire build
 #
 
-CFLAGS = -O
+#CFLAGS = -O
 
 OFILES = 	config.parse.o main.o list.o ignorevec.o dbase.build.o \
 		utils.o preen.o preen.interp.o preen.report.o \
@@ -103,8 +103,9 @@
 .c.o:
 	$(CC) $(CFLAGS) -c $<
 
-install:	tripwire
+install:	tripwire siggen
 	$(INSTALL) tripwire $(DESTDIR)
+	$(INSTALL) siggen $(DESTDIR)
 
 clean:
 	-rm -f $(OFILES) config.lex.c config.pre.c y.tab.c lex.yy.c help.c \