head	1.15;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.12
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2010.03.20.14.43.55;	author miwi;	state Exp;
branches;
next	1.13;

1.13
date	2009.03.03.14.53.31;	author csjp;	state Exp;
branches;
next	1.12;

1.12
date	2005.10.12.03.37.55;	author csjp;	state Exp;
branches;
next	1.11;

1.11
date	2005.09.25.15.02.12;	author csjp;	state Exp;
branches;
next	1.10;

1.10
date	2005.09.21.04.20.28;	author csjp;	state Exp;
branches;
next	1.9;

1.9
date	2004.11.13.19.20.48;	author csjp;	state Exp;
branches;
next	1.8;

1.8
date	2004.08.06.14.59.10;	author petef;	state Exp;
branches;
next	1.7;

1.7
date	2004.07.26.21.13.22;	author krion;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.06.13.12.20;	author trevor;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.27.03.23.44;	author seanc;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.21.13.26.56;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.15.16.33.27;	author petef;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.22.04.29.22;	author petef;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.21.22.26.54;	author obraun;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:    termlog
# Date created:         20 August 2002
# Whom:                 C.S. Peron <bugs@@sqrt.ca>
#
# $FreeBSD: head/security/termlog/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	termlog
PORTVERSION=	2.5
PORTREVISION=	1
CATEGORIES=	security sysutils
MASTER_SITES=	http://www.seccuris.com/documents/downloads/
MASTER_SITE_SUBDIR=	termlog

MAINTAINER=	csjp@@FreeBSD.org
COMMENT=	Monitor or log multiple system terminals synchronously

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_RC_SUBR=	${PORTNAME}

MAN1=		termlog.1
PLIST_FILES=	bin/termlog

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/termlog ${PREFIX}/bin/termlog
	${INSTALL_MAN} ${WRKSRC}/termlog.1 ${MANPREFIX}/man/man1/termlog.1

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


1.14
log
@- Mark BROKEN on HEAD: fails to build with new utmpx

Reported by:	pointyhat
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@Add rc file for termlog.

PR:		129571
Submitted by:	Alex Keda
Approved by:	wxs
@
text
@d24 6
d34 1
a34 1
.include <bsd.port.mk>
@


1.12
log
@Fix a couple of problems on 64 bit platforms by importing 2.5:

Summary:

o Call va_start/va_end for each call to va_arg(). I have no idea why this
  works on i386 but it shouldn't. This un-busts termlog on 64 bit
  platforms.

o When allocating snp descriptors, allocate the proper size. Currently we
  are allocating sizeof(struct utmp) when we really should be allocating
  sizeof(struct snp_d). I can only imagine how this happen, but I am going
  to guess it was a cut-and-paste-o. This helps un-busts termlog on 64 bit
  architectures.

Fixes Submitted by:	Eirik ?verby

While we are here:

o Open tty line with O_NONBLOCK
o Close the line fd after we attach to it as we dont need it. This closes
  an fd leak.
o Remove comment about fd leak

Approved by:	kris
@
text
@d10 1
d19 1
@


1.11
log
@-Remove MANCOMPRESSED macro as it's not required
-Introduce do-install target which will use INSTALL_MAN and INSTALL_PROGRAM
 macros to install the files.

This should fix packet build failures.

Approved by:	kris
@
text
@d9 1
a9 1
PORTVERSION=	2.4
@


1.10
log
@Upgrade termlog. This fixes termlog on -CURRENT and hopefully the snp
fixes in -CURRENT will be MFC'ed to RELENG_6 so it will work on all
releases again.

Approved by:	petef
@
text
@d17 2
a19 1
MANCOMPRESSED=	yes
d22 4
@


1.9
log
@Update termlog from 2.0 to 2.2

This version introduces the following:
-Bug fixes around locking
-Enhanced jail support
-Ability to create log files with SF_APPEND flag
-cryptographic hashing algorithm was changed from md5 to sha1

Approved by:	seanc@@
@
text
@d9 1
a9 1
PORTVERSION=	2.2
@


1.8
log
@- update to 2.0
- update maintainer email
- update COMMENT & pkg-descr to match reality

Submitted by:	csjp
@
text
@d9 1
a9 1
PORTVERSION=	2.0
@


1.7
log
@Mark BROKEN: Runtime breakage exists.

Submitted by:	csjp at IRC
@
text
@d3 1
a3 1
# Whom:                 C.S. Peron <maneo@@bsdpro.com>
d9 1
a9 1
PORTVERSION=	1.0.3
d14 2
a15 4
MAINTAINER=	maneo@@bsdpro.com
COMMENT=	Monitor or log multiple system terminals synchronously (real-time)

BROKEN=		"Runtime breakage exists"
@


1.6
log
@Use PLIST_FILES (bento-tested, marcus-reviewed).
@
text
@d17 2
@


1.5
log
@Maintainer update to 1.0.3

PR:		ports/56018
Submitted by:	Chris S.J.Peron <maneo@@bsdpro.com> (maintainer)
@
text
@d19 1
@


1.4
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
@


1.3
log
@Update to 1.0.1, -current build fixes

PR:		42424
Submitted by:	maintainer
@
text
@d15 1
@


1.2
log
@Fix a last minute show stopper bug, re-roll the tarball + bump
PORTREVISION.

Submitted by:	maintainer (author)
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	1
d17 1
@


1.1
log
@Add termlog 1.0, monitor or log multiple system terminals
synchronously (real-time).

Submitted by:	Chris S.J. Peron <maneo@@bsdpro.com>
Approved by:	dwcjr (mentor)
@
text
@d10 1
@

