head	1.23;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.20
	RELEASE_5_5_0:1.20
	RELEASE_6_0_0:1.20
	RELEASE_5_4_0:1.19
	RELEASE_4_11_0:1.19
	RELEASE_5_3_0:1.19
	RELEASE_4_10_0:1.19
	RELEASE_5_2_1:1.18
	RELEASE_5_2_0:1.18
	RELEASE_4_9_0:1.18
	RELEASE_5_1_0:1.18
	RELEASE_4_8_0:1.18
	RELEASE_5_0_0:1.16
	RELEASE_4_7_0:1.14
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.13
	RELEASE_4_4_0:1.13
	RELEASE_4_3_0:1.13
	RELEASE_4_2_0:1.12
	RELEASE_4_1_1:1.12
	RELEASE_4_1_0:1.12
	RELEASE_3_5_0:1.11
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.6
	RELEASE_3_3_0:1.6
	RELEASE_3_2_0:1.4
	RELEASE_3_1_0:1.4
	RELEASE_2_2_8:1.3
	RELEASE_3_0_0:1.3
	RELEASE_2_2_7:1.3
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.2
	RELEASE_2_2_2:1.2
	jgreco_1_0:1.1.1.1
	JGRECO:1.1.1;
locks; strict;
comment	@# @;


1.23
date	2013.03.19.15.07.16;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2010.12.15.21.02.52;	author cy;	state Exp;
branches;
next	1.20;

1.20
date	2005.05.13.23.49.46;	author cy;	state Exp;
branches;
next	1.19;

1.19
date	2004.02.07.04.14.39;	author cy;	state Exp;
branches;
next	1.18;

1.18
date	2003.03.07.06.10.50;	author ade;	state Exp;
branches;
next	1.17;

1.17
date	2003.02.22.16.12.23;	author nork;	state Exp;
branches;
next	1.16;

1.16
date	2002.11.10.16.47.59;	author lioux;	state Exp;
branches;
next	1.15;

1.15
date	2002.11.07.05.46.02;	author cy;	state Exp;
branches;
next	1.14;

1.14
date	2002.02.20.14.47.04;	author cy;	state Exp;
branches;
next	1.13;

1.13
date	2001.01.16.17.32.22;	author sobomax;	state Exp;
branches;
next	1.12;

1.12
date	2000.07.06.14.15.51;	author sada;	state Exp;
branches;
next	1.11;

1.11
date	2000.06.02.03.18.52;	author will;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.29.02.27.40;	author steve;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.19.06.06.43;	author cpiazza;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.21.08.19.11;	author mharo;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.09.18.30.43;	author cpiazza;	state Exp;
branches;
next	1.6;

1.6
date	99.08.31.01.51.56;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	99.08.22.18.59.57;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	98.12.01.08.33.29;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	98.04.07.17.42.21;	author jgreco;	state Exp;
branches;
next	1.2;

1.2
date	97.04.03.23.09.49;	author jgreco;	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.23
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
# $FreeBSD: head/security/tripwire-131/Makefile 314605 2013-03-18 21:56:30Z eadler $

PORTNAME=	tripwire
PORTVERSION=	1.3.1
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.cc.uoc.gr/system/security/tools/tripwire/ \
		ftp://ftp.uni-potsdam.de/pub/unix/tools/
DISTNAME=	Tripwire-${PORTVERSION}-1

MAINTAINER=	cy@@FreeBSD.org
COMMENT=	File system security and verification program

LATEST_LINK=	tripwire-131
MAN5=		tw.config.5
MAN8=		siggen.8 tripwire.8
NO_CDROM=	cannot be redistributed for more than the cost of duplication
NO_PACKAGE=	requires local database to be built
WRKSRC=		${WRKDIR}/tw_ASR_1.3.1_src

TWCONFIG?=	${FILESDIR}/tw.conf.freebsd2

.include <bsd.port.pre.mk>

pre-configure:
	@@ ${CP} ${FILESDIR}/conf-freebsd2.h ${WRKSRC}/configs
	@@ ${CP} ${TWCONFIG} ${WRKSRC}/configs/tw.conf.freebsd2

post-install:
	@@ ${MKDIR} /var/adm/tcheck
	@@ ${CP} ${TWCONFIG} /var/adm/tcheck/tw.config
.ifndef NO_DB_BUILD
	@@ ${ECHO} Creating tripwire database
	@@ (cd /var/adm/tcheck; tripwire -initialize)
.endif

.include <bsd.port.post.mk>
@


1.22
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	tripwire 1.3.1
# Date created:		Fri Mar 19 18:29:18 1999
# Whom:			Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
#
# $FreeBSD: head/security/tripwire-131/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d17 2
a18 2
NO_CDROM=	"cannot be redistributed for more than the cost of duplication"
NO_PACKAGE=	"requires local database to be built"
@


1.21
log
@Master sites update.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@Remove code to create a tripwire floppy disk. As FreeBSD no longer supports
gzipped binaries and since systems with larger data stores, it is no
longer reasonable to expect to fit the tripwire binary and database onto
a single floppy disk.

PR:		80978
@
text
@d11 2
a28 4
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE='Please read http://www.tripwiresecurity.com/ for details of how to obtain the Tripwire source.  Put the file ${DISTNAME}${EXTRACT_SUFX} into the directory ${DISTDIR} and run make again.'
.endif

@


1.19
log
@Define unique LATEST_LINK.

Reported by:	kris
@
text
@a40 14
.if defined(TRIPWIRE_FLOPPY) && ${TRIPWIRE_FLOPPY} == YES
	@@ disklabel -w -B /dev/rfd0c fd1440
	@@ newfs -u 0 -t 0 -i 196608 -m 0 -T minimum -o space /dev/rfd0c
	@@ mount /dev/fd0c /mnt
	@@ ${GZIP_CMD} < ${PREFIX}/bin/tripwire > /mnt/tripwire
	@@ ${CP} -p /var/adm/tcheck/tw.config /mnt/tw.config
	@@ ${GZIP_CMD} < /var/adm/tcheck/databases/tw.db_`hostname` \
		> /mnt/tw.db_`hostname`.gz
	@@ ${CP} -p ${FILESDIR}/twcheck /mnt/twcheck
	@@ ${GZIP_CMD} < /usr/bin/gunzip > /mnt/gunzip
	@@ ${CHMOD} 555 /mnt/tripwire /mnt/gunzip /mnt/twcheck
	@@ umount /mnt
	@@ ${ECHO} Do not forget to remove and write-protect the floppy.
.endif
@


1.18
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d16 1
@


1.17
log
@Remove RESTRICTED tag for crypto stuff.

Approved by:	kris (implicitly)
@
text
@d14 1
@


1.16
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@a18 1
RESTRICTED=	"contains crypto class algorithms"
@


1.15
log
@Use PORTCOMMENT.
@
text
@a14 2
PORTCOMMENT=	File system security and verification program

@


1.14
log
@Add configuration options to Tripwire 1.3.1 install:
- Add the TWCONFIG variable to install a user defined tw.config instead
  of the one supplied with the port.
- Add the NO_DB_BUILD variable to skip the database build during install
  for users upgrading or reinstalling the port who wish to use an existing
  or previously installed Tripwire database.

Change MAINTAINER from me (Cy.Schubert@@uumail.gov.bc.ca) to
me (cy@@FreeBSD.org).

PR:             ports/35127
Submitted by:   cjc
@
text
@d15 2
@


1.13
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/tripwire-131/Makefile,v 1.12 2000/07/06 14:15:51 sada Exp $
d13 1
a13 1
MAINTAINER=	Cy.Schubert@@uumail.gov.bc.ca
d22 2
d32 1
a32 1
	@@ ${CP} ${FILESDIR}/tw.conf.freebsd2 ${WRKSRC}/configs/tw.conf.freebsd2
d36 2
a37 1
	@@ ${CP} ${FILESDIR}/tw.conf.freebsd2 /var/adm/tcheck/tw.config
d53 1
@


1.12
log
@Upgrade to 1.3.1, beta version.

PR:	18964
Submitted by:	Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
@
text
@d5 1
a5 1
# $FreeBSD$
d8 1
a8 1
PORTNAME=       tripwire
@


1.11
log
@Remove redundant/inappropriate CATEGORIES.  People need to start reading
the Porter's Handbook.  :-)
@
text
@d1 3
a3 3
# New ports collection makefile for:	tripwire
# Date created:		31 Mar 1997
# Whom:			Joe Greco <jgreco@@ns.sol.net>
d5 1
a5 1
# $FreeBSD: ports/security/tripwire/Makefile,v 1.10 2000/05/29 02:27:40 steve Exp $
d8 2
a9 2
PORTNAME=	tripwire
PORTVERSION=	1.2
d11 1
a11 2
MASTER_SITES=	ftp://ftp.fu-berlin.de/unix/security/tripwire/
EXTRACT_SUFX=	.tar.Z
d13 1
a13 1
MAINTAINER=	jgreco@@ns.sol.net
d20 1
d22 1
a22 2
post-extract:
	@@ (cd ${WRKDIR}; tar xpf T1.2.tar)
d24 3
a26 3
post-patch:
	@@${PERL} -pi -e 's|/secureplace/bin|${PREFIX}/bin|g;' \
		-e 's|/usr/man|${PREFIX}/man|g;' ${WRKSRC}/Makefile
d30 1
a30 3
	@@ ${SED} s%/kernel%`sysctl -bn kern.bootfile`% \
		< ${FILESDIR}/tw.conf.freebsd2 \
		> ${WRKSRC}/configs/tw.conf.freebsd2
d35 1
a35 1
	# Creating tripwire database
a37 1
	# preparing the floppy
d40 2
a41 2
	mount /dev/fd0c /mnt
	# transferring things to the floppy
d45 2
a46 3
	@@ ${CP} -p ${FILESDIR}/twcheck /usr/bin/gunzip \
			${PREFIX}/bin/tripwire \
		/mnt/
d49 1
a49 1
	# Do not forget to remove and write-protect the floppy.
d52 1
a52 1
.include <bsd.port.mk>
@


1.10
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
@d5 1
a5 1
# $FreeBSD: ports/security/tripwire/Makefile,v 1.9 2000/05/19 06:06:43 cpiazza Exp $
d10 1
a10 1
CATEGORIES=	security net
@


1.9
log
@Update MASTER_SITES

PR:		18624
Submitted by:	Mikhail Teterin <mi@@aldan.algebra.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/tripwire/Makefile,v 1.8 2000/04/21 08:19:11 mharo Exp $
d23 5
a27 1
	@@ (cd ${WRKDIR}; tar xf T1.2.tar)
d31 3
a33 1
	@@ ${CP} ${FILESDIR}/tw.conf.freebsd2 ${WRKSRC}/configs/tw.conf.freebsd2
d38 1
a38 1
	@@ ${ECHO} Creating tripwire database
d41 1
d44 2
a45 2
	@@ mount /dev/fd0c /mnt
	@@ ${GZIP_CMD} < ${PREFIX}/bin/tripwire > /mnt/tripwire
d49 3
a51 2
	@@ ${CP} -p ${FILESDIR}/twcheck /mnt/twcheck
	@@ ${GZIP_CMD} < /usr/bin/gunzip > /mnt/gunzip
d54 1
a54 1
	@@ ${ECHO} Do not forget to remove and write-protect the floppy.
@


1.8
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/tripwire/Makefile,v 1.7 2000/04/09 18:30:43 cpiazza Exp $
d11 1
a11 1
MASTER_SITES=	ftp://coast.cs.purdue.edu/pub/COAST/Tripwire/
@


1.7
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/tripwire/Makefile,v 1.6 1999/08/31 01:51:56 peter Exp $
d9 1
a9 1
PORTVERSION= 	1.2
d11 1
a11 1
MASTER_SITES=   ftp://coast.cs.purdue.edu/pub/COAST/Tripwire/
@


1.6
log
@$Id$ -> $FreeBSD$
@
text
@a1 1
# Version required:     1.2
d5 1
a5 1
# $FreeBSD$
d8 2
a9 1
DISTNAME=       tripwire-1.2
@


1.5
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1998/12/01 08:33:29 asami Exp $
@


1.4
log
@work -> ${WRKDIR}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/04/07 17:42:21 jgreco Exp $
d44 1
a44 1
	@@ chmod 555 /mnt/tripwire /mnt/gunzip /mnt/twcheck
@


1.3
log
@Minor correction-

The CERT FTP site no longer contains Tripwire.  A little digging and
sleuthing reveals that Spaf has the stuff over at coast.cs.purdue.edu
anyways.  It appears that it might move again in the future, see

ftp://coast.cs.purdue.edu/pub/COAST/Tripwire/README-1297
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1997/04/03 23:09:49 jgreco Exp $
d23 1
a23 1
	@@ (cd work; tar xf T1.2.tar)
@


1.2
log
@Minor correction-

Changed floppy generation code to chmod gunzip to executable by a
better strategic location for the chmod command.  The former code
failed to do this, meaning gunzip couldn't be run from the floppy.

"Ooops".  Yes, I actually do use this code!  Honest!  :-)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1997/04/01 04:44:00 jdp Exp $
d11 1
a11 1
MASTER_SITES=   ftp://info.cert.org/pub/tools/tripwire/
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
a38 1
	@@ chmod 555 /mnt/tripwire
d44 1
@


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

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