head	1.26;
access;
symbols
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.24
	RELEASE_7_2_0:1.24
	RELEASE_7_1_0:1.24
	RELEASE_6_4_0:1.24
	RELEASE_5_EOL:1.24
	RELEASE_7_0_0:1.24
	RELEASE_6_3_0:1.24
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.18
	RELEASE_5_4_0:1.18
	RELEASE_4_11_0:1.16
	RELEASE_5_3_0:1.15
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.26
date	2010.07.01.22.54.18;	author araujo;	state dead;
branches;
next	1.25;

1.25
date	2010.06.05.22.14.41;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2007.10.17.08.35.03;	author johans;	state Exp;
branches;
next	1.23;

1.23
date	2007.10.17.07.04.29;	author johans;	state Exp;
branches;
next	1.22;

1.22
date	2007.10.17.06.46.20;	author johans;	state Exp;
branches;
next	1.21;

1.21
date	2007.05.25.23.02.15;	author kris;	state Exp;
branches;
next	1.20;

1.20
date	2006.05.13.04.14.58;	author edwin;	state Exp;
branches;
next	1.19;

1.19
date	2005.11.03.11.54.39;	author vs;	state Exp;
branches;
next	1.18;

1.18
date	2005.02.10.10.53.00;	author sem;	state Exp;
branches;
next	1.17;

1.17
date	2005.01.31.00.35.52;	author girgen;	state Exp;
branches;
next	1.16;

1.16
date	2004.11.03.23.51.15;	author leeym;	state Exp;
branches;
next	1.15;

1.15
date	2004.09.17.22.47.10;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2004.05.28.11.48.29;	author anders;	state Exp;
branches;
next	1.13;

1.13
date	2004.05.28.11.25.00;	author anders;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.05.12.20.58;	author kris;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.04.05.08.42;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2003.11.09.10.06.00;	author anders;	state Exp;
branches;
next	1.9;

1.9
date	2003.05.08.05.20.30;	author foxfair;	state Exp;
branches;
next	1.8;

1.8
date	2003.05.06.06.53.44;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	2003.03.07.06.10.38;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2003.01.04.15.53.39;	author seanc;	state Exp;
branches;
next	1.5;

1.5
date	2002.11.24.09.03.28;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.04.01.30.04;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.07.00.06.12;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2002.06.30.20.26.07;	author anders;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.24.15.32.45;	author anders;	state Exp;
branches;
next	;


desc
@@


1.26
log
@- Development has been discontinued.

PR:		ports/148261
Submitted by:	Anderson Eduardo <anderson@@secover.com.br> (maintainer)
Feature safe:	yes
@
text
@# New ports collection makefile for:	audit
# Date created:				24 March 2002
# Whom:					anders
#
# $FreeBSD: ports/security/audit/Makefile,v 1.25 2010/06/05 22:14:41 miwi Exp $
#

PORTNAME=	audit
PORTVERSION=	1.0
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES=	http://www1.corest.com/download/audit/ \
		ftp://ftp.stack.nl/pub/users/johans/audit/
DISTNAME=	${PORTNAME}-v${PORTVERSION}beta-src

MAINTAINER=	anderson@@secover.com.br
COMMENT=	Tools for remote and centralized audit data collection

OPTIONS=	MYSQL "With MySQL support" off \
		PGSQL "With PostGreSQL support" off

MAKE_ARGS=	CFLAGS+="-fPIC -DPIC"

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

USE_GMAKE=	yes
USE_LDCONFIG=	${PREFIX}/lib/alat

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-audit-libdir=${PREFIX}/lib/alat
MANCOMPRESSED=	yes
MAN1=	audit.1
MAN8=	auditd.8

PORTDOCS=	COPYING README TODO
FIXPREFIX_CONF=	src/include/audconf.h src/auditd/auditd.8
LIBVERSION=	1

.include <bsd.port.pre.mk>

.if defined(WITH_MYSQL)
USE_MYSQL=	yes
.endif
.if defined(WITH_PGSQL)
USE_PGSQL=	yes
.endif

.if defined(WITH_MYSQL)
CONFIGURE_ARGS+=	--with-mysql \
			--with-mysql-libdir=${LOCALBASE}/lib/mysql \
			--with-mysql-incdir=${LOCALBASE}/include
PLIST_SUB+=	MYSQL=''
.else
PLIST_SUB+=	MYSQL='@@comment '
.endif
.if defined(WITH_PGSQL)
CONFIGURE_ARGS+=	--with-pgsql \
			--with-pgsql-libdir=${LOCALBASE}/lib \
			--with-pgsql-incdir=${LOCALBASE}/include
PLIST_SUB+=	PGSQL=''
.else
PLIST_SUB+=	PGSQL='@@comment '
.endif

post-patch:
	${REINPLACE_CMD} -e "s@@Linux@@FreeBSD@@g" ${WRKSRC}/configure
	(${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec \
		${REINPLACE_CMD} -e \
		"s!^LIB=\(.*\).{VERSION}!LIB=\1${LIBVERSION}!" {} \;)
	${REINPLACE_CMD} -e "s@@AUDIT_VERSION@@\"${LIBVERSION}\"@@g" \
		${WRKSRC}/src/lib/modules.c
.for f in ${FIXPREFIX_CONF}
	${REINPLACE_CMD} -e "s@@/etc/auditd.conf@@${PREFIX}/etc/auditd.conf@@g" \
		${WRKSRC}/${f}
.endfor

post-install:
	${INSTALL_DATA}	${WRKSRC}/auditd.conf ${PREFIX}/etc/auditd.conf.sample
.if !defined(NOPORTDOCS)
	${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

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


1.25
log
@- Pass maintainership to submitter

PR:		147478
Submitted by:	Anderson Eduardo <anderson@@secover.com.br>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.24
log
@- Update patchfiles to match latest release (Nov 2001)
- Fix MASTER_SITES (adding local mirror)

The old master sites referenced distinct distfiles with the same filename.
Primary site carries the latest version which includes minor bugfixes.
Patches in previous commit were broken as they matched the older release.
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.23
log
@- Fix Makefile, update distinfo, bump portrevision (forgotten in prev commit)
@
text
@d13 1
a13 2
		http://www2.corest.com/download/audit/ \
		ftp://ftp.nuug.no/pub/anders/distfiles/
d24 1
a24 1
WRKSRC=		${WRKDIR}/${PORTNAME}-v${PORTVERSION}beta
@


1.22
log
@- Fix build with gcc 4.2
- Fix plist now that all libraries build
@
text
@d10 1
a10 1
PORTREVISION=	2
d25 17
a48 6
WRKSRC=		${WRKDIR}/${PORTNAME}-v${PORTVERSION}beta

USE_GMAKE=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-audit-libdir=${PREFIX}/lib/alat
a64 9
MANCOMPRESSED=	yes
MAN1=	audit.1
MAN8=	auditd.8

PORTDOCS=	COPYING README TODO
FIXPREFIX_CONF=	src/include/audconf.h src/auditd/auditd.8
LIBVERSION=	1

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


1.21
log
@BROKEN with gcc 4.2
@
text
@a63 4
.if ${OSVERSION} >= 700042
BROKEN=		Broken with gcc 4.2
.endif

@


1.20
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d64 4
@


1.19
log
@Drop INSTALLS_SHLIB/LDCONFIG_DIRS: Local shlibs are dlopened
@
text
@a34 1
USE_REINPLACE=	yes
@


1.18
log
@- Unbreak on amd64

PR:		ports/77328
Submitted by:	Johan van Selst <johans(at)stack.nl>
@
text
@a54 2
INSTALLS_SHLIB=	yes
LDCONFIG_DIRS=	%%PREFIX%%/lib/alat
@


1.17
log
@Split the postgresql ports into a server and a client part.

All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@@ (kris), ade & sean (mentors)
@
text
@d23 2
a66 4
.if ${ARCH} == "amd64"
BROKEN=		"Does not compile on amd64"
.endif

@


1.16
log
@- add patch files and unbreak this port
- utilize PORTDOCS and USE_MYSQL
@
text
@d27 1
a27 2
POSTGRESQL_PORT?=	databases/postgresql7
LIB_DEPENDS+=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
@


1.15
log
@BROKEN: Broken pkg-plist

Approved by:	portmgr (self)
@
text
@d20 2
a21 1
BROKEN=		Broken pkg-plist
d24 1
a24 1
LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
d60 1
a60 1
DOCS=	COPYING README TODO
d86 1
a86 1
.for f in ${DOCS}
@


1.14
log
@Update MASTER_SITES to reflect actual corest.com webservers.

PR:		67149
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d20 2
@


1.13
log
@Give up maintaining audit.
@
text
@d12 2
a13 1
MASTER_SITES=	http://www.corest.com/download/audit/ \
@


1.12
log
@BROKEN on amd64: Does not compile
@
text
@d16 1
a16 1
MAINTAINER=	anders@@FreeBSD.org
@


1.11
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d60 6
d87 1
a87 1
.include <bsd.port.mk>
@


1.10
log
@Update main download site in MASTER_SITES to a working URL.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.9
log
@PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Fix pkg-plist to make this port buildable.

MAINTAINER timeout ~= 48hrs.
No objection (silently) by:	portmgr
@
text
@d12 1
a12 1
MASTER_SITES=	http://community.corest.com/pub/audit/ \
@


1.8
log
@BROKEN: Bad pkg-plist
@
text
@a18 2
BROKEN=		"Bad pkg-plist"

@


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

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d19 2
@


1.6
log
@Chase libpq version bump.
@
text
@d17 1
@


1.5
log
@Make security/audit compiling on -current again
Noticed by: bento

PR:		ports/45667
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d22 2
a23 1
LIB_DEPENDS+=	pq.2:${PORTSDIR}/databases/postgresql7
@


1.4
log
@PERL -> REINPLACE
Noticed by: bento
@
text
@d10 1
d62 1
a62 1
		"s@@^LIB=(.*){VERSION}@@SOVERSION=\t${LIBVERSION}\nLIB=\1\{SOVERSION\}@@" {} \;)
@


1.3
log
@Install a group wheel directory mode 755, not 775.

Noticed by:	bento
@
text
@d27 1
d58 3
a60 2
	${PERL} -pi -e "s@@Linux@@FreeBSD@@g" ${WRKSRC}/configure
	(${FIND} ${WRKSRC}/src/modules -name Makefile.in -exec ${PERL} -pi -e \
d62 1
a62 1
	${PERL} -pi -e "s@@AUDIT_VERSION@@\"${LIBVERSION}\"@@g" \
d65 1
a65 1
	${PERL} -pi -e "s@@/etc/auditd.conf@@${PREFIX}/etc/auditd.conf@@g" \
@


1.2
log
@This port needs USE_GMAKE, at least on -current.

Submitted by:	petef
@
text
@d70 1
a70 1
	${INSTALL} -d -o root -g wheel -m 0775 ${DOCSDIR}
@


1.1
log
@Add audit, tools for remote and centralized audit data collection.
@
text
@d26 2
@

