mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 01:07:21 +01:00
1b3c07bed6
Move auditing runtime (auditd, etc.) into the new FreeBSD-audit package. Also move the runtime OpenBSM manual pages from libbsm into auditd so they get installed with the right package. Add an UPDATING entry noting the new packages. Reviewed by: imp, manu Pull Request: https://github.com/freebsd/freebsd-src/pull/1197
33 lines
710 B
Makefile
33 lines
710 B
Makefile
#
|
|
#
|
|
|
|
OPENBSMDIR= ${SRCTOP}/contrib/openbsm
|
|
_LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
|
|
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
|
|
|
|
PACKAGE= audit
|
|
LIB= auditd
|
|
|
|
.PATH: ${_LIBAUDITDDIR}
|
|
|
|
SRCS= auditd_lib.c
|
|
|
|
#
|
|
# Must use BSM include files from within the contrib area, not the system.
|
|
#
|
|
CFLAGS+= -I${OPENBSMDIR} -I${_LIBBSMDIR}
|
|
|
|
WARNS?= 3
|
|
PRIVATELIB= true
|
|
|
|
MAN=
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
# Disable -Wcast-align. Casting res->ai_addr in auditd_set_host triggers this
|
|
# warning, but it's ok because res->ai_addr must've originally pointed to a
|
|
# sockaddr_in or sockaddr_in6 anyway.
|
|
# Better would be to disable this warning in just that one function, but GCC
|
|
# 4.2 can't do that :( .
|
|
CWARNFLAGS.auditd_lib.c+= -Wno-cast-align
|