head	1.3;
access;
symbols
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.1.1.1
	RELEASE_3_4_0:1.1.1.1
	RELEASE_3_3_0:1.1.1.1
	RELEASE_3_2_0:1.1.1.1
	RELEASE_3_1_0:1.1.1.1
	RELEASE_2_2_8:1.1.1.1
	RELEASE_3_0_0:1.1.1.1
	RELEASE_2_2_7:1.1.1.1
	RELEASE_2_2_6:1.1.1.1
	RELEASE_2_2_5:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	jgreco_1_0:1.1.1.1
	JGRECO:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2002.03.01.01.47.15;	author cy;	state dead;
branches;
next	1.2;

1.2
date	2000.05.29.02.27.44;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	97.04.01.04.44.00;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.04.01.04.44.00;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Update from 1.2 (academic source release) to 2.3.1-2 (open source Linux
release).  In relation to Tripwire 1.x, 2.x is a complete rewrite.

PR:		ports/29137
Submitted by:	nectar (first review), cjc (second review)
@
text
@*** 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 \
@


1.2
log
@- Fix some of the compiler warnings (see patches/patch-warnings)
- 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>
@
text
@@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
*** Makefile.orig	Mon Jul 25 10:59:41 1994
d4 10
a13 16
*** 12,21 ****
  ###
  
  # destination directory for final executables
! DESTDIR = /secureplace/bin
  
  # destination for man pages
! MANDIR  = /usr/man
  
  # system utilities
  LEX	= lex
--- 12,21 ----
  ###
  
  # destination directory for final executables
! DESTDIR = /usr/local/bin
d15 3
a17 2
  # destination for man pages
! MANDIR  = /usr/local/man
d19 2
a20 2
  # system utilities
  LEX	= lex
d39 24
@


1.1.1.1
log
@Initial import of Joe Greco's tripwire port.

Submitted by:	jgreco@@ns.sol.net
@
text
@@
