head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	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	2000.07.06.14.15.52;	author sada;	state Exp;
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
@Upgrade to 1.3.1, beta version.

PR:	18964
Submitted by:	Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
@
text
@--- Makefile.orig	Tue May  4 01:31:00 1999
+++ Makefile	Thu May 11 19:44:50 2000
@@@@ -10,11 +10,11 @@@@
 ###
 
 # destination directory for final executables
-DESTDIR = /usr/local/bin/tw
-DATADIR = /var/tripwire
+DESTDIR = /usr/local/bin
+DATADIR = /var/adm/tcheck
 
 # destination for man pages
-MANDIR  = /usr/man		# This needs to change to reflect the path
+MANDIR  = /usr/local/man	# This needs to change to reflect the path
                         # on your system
 
 # system utilities
@@@@ -109,10 +109,8 @@@@
 	$(INSTALL) -d $(DESTDIR)
 	(cd src; make INSTALL=$(INSTALL) DESTDIR=$(DESTDIR) install)
 	(cd man; make INSTALL=$(INSTALL) MANDIR=$(MANDIR) install)
-	(cd configs; $(INSTALL) -m 444 tw.config $(DESTDIR))
-	chmod 555 $(DESTDIR)
 	$(INSTALL) -m 0755 -d $(DATADIR)
-	$(INSTALL) -m 444 tests/tw.db_TEST $(DATADIR)
+	(cd configs; $(INSTALL) -m 444 tw.config $(DATADIR))
 
 test:	all
 	(cd tests; make HOSTNAME=$(HOSTNAME) DIST=$(DIST) SHELL=$(SHELL) \
@


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
@d1 4
a4 45
*** 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
 #
d6 5
a10 2
-CFLAGS = -O
+#CFLAGS = -O
d12 4
a15 5
 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 $<
d17 10
a26 4
-install:	tripwire
+install:	tripwire siggen
 	$(INSTALL) tripwire $(DESTDIR)
+	$(INSTALL) siggen $(DESTDIR)
d28 2
a29 2
 clean:
 	-rm -f $(OFILES) config.lex.c config.pre.c y.tab.c lex.yy.c help.c \
@


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
@@
