head	1.2;
access;
symbols
	RELENG_9:1.1.0.2;
locks; strict;
comment	@# @;


1.2
date	2013.04.20.00.35.21;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.12.01.15.13.13;	author svnexp;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2012.12.01.15.13.13;	author svnexp;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2012.12.18.14.34.50;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249657
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#
# $FreeBSD: head/usr.sbin/auditdistd/Makefile 249657 2013-04-19 19:45:00Z ed $
#

OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/auditdistd

# Addition of auditdistd because otherwise generated parse.c can't find
# auditdistd.h.  This seems like a makefile non-feature.
CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd

NO_WFORMAT=
NO_WMISSING_VARIABLE_DECLARATIONS=

PROG=	auditdistd
SRCS=	auditdistd.c
SRCS+=	parse.y pjdlog.c
SRCS+=	proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
SRCS+=	receiver.c
SRCS+=	sandbox.c sender.c subr.c
SRCS+=	token.l trail.c
MAN=	auditdistd.8 auditdistd.conf.5

DPADD=	${LIBL} ${LIBPTHREAD} ${LIBUTIL}
LDADD=	-ll -lpthread -lutil
DPADD+=	${LIBCRYPTO} ${LIBSSL}
LDADD+=	-lcrypto -lssl

YFLAGS+=-v

CLEANFILES=parse.c parse.h parse.output

.include <bsd.prog.mk>
@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243752
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/usr.sbin/auditdistd/Makefile 243752 2012-12-01 15:11:46Z rwatson $
d13 1
@


1.1.2.1
log
@file Makefile was added on branch RELENG_9 on 2012-12-18 14:34:50 +0000
@
text
@d1 32
@


1.1.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244398
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244398 | rwatson | 2012-12-18 14:32:53 +0000 (Tue, 18 Dec 2012) | 29 lines
## SVN ##
## SVN ## Merge r244181 from head to stable/9:
## SVN ##
## SVN ##   Fix the location of auditdistd configuration file.
## SVN ##
## SVN ##   Reported by:    Johan Hendriks <joh.hendriks@@gmail.com>
## SVN ##
## SVN ## Merge remaining unmerged portions of r243752 from head to stable/9; parts
## SVN ## adding the new 'auditdistd' user were previously merged in r243947:
## SVN ##
## SVN ##   Merge a number of changes required to hook up OpenBSM 1.2-alpha2's
## SVN ##   auditdistd (distributed audit daemon) to the build:
## SVN ##
## SVN ##   - Manual cross references
## SVN ##   - Makefile for auditdistd
## SVN ##   - rc.d script, rc.conf entrie
## SVN ##   - New group and user for auditdistd; associated aliases, etc.
## SVN ##
## SVN ##   The audit trail distribution daemon provides reliable,
## SVN ##   cryptographically protected (and sandboxed) delivery of audit tails
## SVN ##   from live clients to audit server hosts in order to both allow
## SVN ##   centralised analysis, and improve resilience in the event of client
## SVN ##   compromises: clients are not permitted to change trail contents
## SVN ##   after submission.
## SVN ##
## SVN ##   Submitted by:   pjd
## SVN ##   Sponsored by:   The FreeBSD Foundation (auditdistd)
## SVN ##
## SVN ## Obtained from:	TrustedBSD Project
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@a0 32
#
# $FreeBSD: stable/9/usr.sbin/auditdistd/Makefile 243752 2012-12-01 15:11:46Z rwatson $
#

OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/auditdistd

# Addition of auditdistd because otherwise generated parse.c can't find
# auditdistd.h.  This seems like a makefile non-feature.
CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd

NO_WFORMAT=

PROG=	auditdistd
SRCS=	auditdistd.c
SRCS+=	parse.y pjdlog.c
SRCS+=	proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
SRCS+=	receiver.c
SRCS+=	sandbox.c sender.c subr.c
SRCS+=	token.l trail.c
MAN=	auditdistd.8 auditdistd.conf.5

DPADD=	${LIBL} ${LIBPTHREAD} ${LIBUTIL}
LDADD=	-ll -lpthread -lutil
DPADD+=	${LIBCRYPTO} ${LIBSSL}
LDADD+=	-lcrypto -lssl

YFLAGS+=-v

CLEANFILES=parse.c parse.h parse.output

.include <bsd.prog.mk>
@


