0a9a4b5bd2
- Fix the Makefiles to obey the CC and CFLAGS settings - Fix patches/patch-ab to be PREFIX/LOCALBASE safe - Fix the post-install to not compress the gunzip and tripwire executables that go onto a floppy -- there is no support for the gzip-ed ELF binaries at all, and even for the older AOUT ones such support was optional - Replaces the /kernel with `sysctl -n kern.bootfile` in the tw.conf as the tw.conf.freebsd2 is copied into the right place. - Replace the use of mktemp(3) with tmpfile(3) (see patches/patch-mktemp). This also caused a removal of a few buffers (of size MAXPATHLEN+256) and quite a few strcpy and sprintf invocations. PR: 18634 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
*** 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 \
|