head	1.14;
access;
symbols
	RELENG_8_4:1.14.0.2
	RELENG_9_1_0_RELEASE:1.13.2.1.4.2
	RELENG_9_1:1.13.2.1.0.4
	RELENG_9_1_BP:1.13.2.1
	RELENG_8_3_0_RELEASE:1.12.2.1.8.1
	RELENG_8_3:1.12.2.1.0.8
	RELENG_8_3_BP:1.12.2.1
	RELENG_9_0_0_RELEASE:1.13.2.1.2.1
	RELENG_9_0:1.13.2.1.0.2
	RELENG_9_0_BP:1.13.2.1
	RELENG_9:1.13.0.2
	RELENG_9_BP:1.13
	RELENG_7_4_0_RELEASE:1.7.2.1.10.1
	RELENG_8_2_0_RELEASE:1.12.2.1.6.1
	RELENG_7_4:1.7.2.1.0.10
	RELENG_7_4_BP:1.7.2.1
	RELENG_8_2:1.12.2.1.0.6
	RELENG_8_2_BP:1.12.2.1
	RELENG_8_1_0_RELEASE:1.12.2.1.4.1
	RELENG_8_1:1.12.2.1.0.4
	RELENG_8_1_BP:1.12.2.1
	RELENG_7_3_0_RELEASE:1.7.2.1.8.1
	RELENG_7_3:1.7.2.1.0.8
	RELENG_7_3_BP:1.7.2.1
	RELENG_8_0_0_RELEASE:1.12.2.1.2.1
	RELENG_8_0:1.12.2.1.0.2
	RELENG_8_0_BP:1.12.2.1
	RELENG_8:1.12.0.2
	RELENG_8_BP:1.12
	RELENG_7_2_0_RELEASE:1.7.2.1.6.1
	RELENG_7_2:1.7.2.1.0.6
	RELENG_7_2_BP:1.7.2.1
	RELENG_7_1_0_RELEASE:1.7.2.1.4.1
	RELENG_6_4_0_RELEASE:1.3.2.3.6.1
	RELENG_7_1:1.7.2.1.0.4
	RELENG_7_1_BP:1.7.2.1
	RELENG_6_4:1.3.2.3.0.6
	RELENG_6_4_BP:1.3.2.3
	RELENG_7_0_0_RELEASE:1.7.2.1
	RELENG_6_3_0_RELEASE:1.3.2.3
	RELENG_7_0:1.7.2.1.0.2
	RELENG_7_0_BP:1.7.2.1
	RELENG_6_3:1.3.2.3.0.4
	RELENG_6_3_BP:1.3.2.3
	RELENG_7:1.7.0.2
	RELENG_7_BP:1.7
	RELENG_6_2_0_RELEASE:1.3.2.3
	RELENG_6_2:1.3.2.3.0.2
	RELENG_6_2_BP:1.3.2.3
	RELENG_6:1.3.0.2;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.01.49.20;	author svnexp;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2010.01.02.09.58.07;	author ed;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2009.07.19.17.25.24;	author kensmith;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2009.04.19.16.17.13;	author rwatson;	state Exp;
branches;
next	1.10;

1.10
date	2009.01.14.10.44.16;	author rwatson;	state Exp;
branches;
next	1.9;

1.9
date	2008.12.31.11.12.24;	author rwatson;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.19.10.37.34;	author rwatson;	state Exp;
branches;
next	1.7;

1.7
date	2007.05.21.02.49.03;	author deischen;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	2007.04.23.14.46.59;	author rwatson;	state Exp;
branches;
next	1.5;

1.5
date	2006.09.25.11.53.58;	author rwatson;	state Exp;
branches;
next	1.4;

1.4
date	2006.09.19.08.30.34;	author rwatson;	state Exp;
branches;
next	1.3;

1.3
date	2006.09.01.05.21.45;	author rwatson;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2006.06.05.12.53.44;	author rwatson;	state Exp;
branches;
next	1.1;

1.1
date	2006.02.02.10.05.39;	author rwatson;	state Exp;
branches;
next	;

1.14.2.1
date	2012.11.17.01.49.20;	author svnexp;	state dead;
branches;
next	1.14.2.2;

1.14.2.2
date	2013.03.28.13.02.56;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.13.2.1.2.1
	1.13.2.1.4.1;
next	1.13.2.2;

1.13.2.2
date	2012.11.17.11.36.16;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.13.2.1.2.2;

1.13.2.1.2.2
date	2012.11.17.08.36.17;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.13.2.1.4.2;

1.13.2.1.4.2
date	2012.11.17.08.47.06;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.12.2.1.2.1
	1.12.2.1.4.1
	1.12.2.1.6.1
	1.12.2.1.8.1;
next	1.12.2.2;

1.12.2.2
date	2012.11.17.10.36.01;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.12.2.1.8.2;

1.12.2.1.8.2
date	2012.11.17.08.24.42;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	2007.10.27.16.35.46;	author rwatson;	state Exp;
branches
	1.7.2.1.4.1
	1.7.2.1.6.1
	1.7.2.1.8.1
	1.7.2.1.10.1;
next	1.7.2.2;

1.7.2.2
date	2012.11.17.08.01.50;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1.4.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.7.2.1.6.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.7.2.1.8.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.7.2.1.10.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.7.2.1.10.2;

1.7.2.1.10.2
date	2012.11.17.08.16.41;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	2006.09.02.16.21.26;	author rwatson;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2006.09.22.08.38.02;	author rwatson;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2006.09.29.22.47.50;	author rwatson;	state Exp;
branches
	1.3.2.3.6.1;
next	1.3.2.4;

1.3.2.4
date	2012.11.17.07.39.36;	author svnexp;	state Exp;
branches;
next	;

1.3.2.3.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switching exporter and resync
@
text
@#
# $FreeBSD: head/lib/libbsm/Makefile 201381 2010-01-02 09:58:07Z ed $
#

OPENBSMDIR=		${.CURDIR}/../../contrib/openbsm
LIBBSMDIR=		${OPENBSMDIR}/libbsm

LIB=		bsm
SHLIB_MAJOR=	3

.PATH:		${LIBBSMDIR}
.PATH:		${OPENBSMDIR}/bsm
.PATH:		${OPENBSMDIR}/man

SRCS=	bsm_audit.c							\
	bsm_class.c							\
	bsm_control.c							\
	bsm_domain.c							\
	bsm_errno.c							\
	bsm_event.c							\
	bsm_fcntl.c							\
	bsm_flags.c							\
	bsm_io.c							\
	bsm_mask.c							\
	bsm_notify.c							\
	bsm_socket_type.c						\
	bsm_token.c							\
	bsm_user.c							\
	bsm_wrappers.c

#
# Must use BSM include files from within the contrib area, not the system.
#
CFLAGS+=	-I${OPENBSMDIR} -I${LIBBSMDIR}

WARNS?=		1

INCS=		audit_uevents.h libbsm.h
INCSDIR=	${INCLUDEDIR}/bsm

MAN=	libbsm.3							\
	au_class.3							\
	au_control.3							\
	au_domain.3							\
	au_errno.3							\
	au_event.3							\
	au_fcntl_cmd.3							\
	au_free_token.3							\
	au_io.3								\
	au_mask.3							\
	au_open.3							\
	au_socket_type.3						\
	au_token.3							\
	au_user.3							\
	audit_submit.3

#
# It seems like maybe some of these should be installed separately, since
# they're not all libbsm parts.
#
MAN+=	audit.2								\
	audit.log.5							\
	audit_class.5							\
	audit_control.5							\
	audit_event.5							\
	audit_user.5							\
	audit_warn.5							\
	auditctl.2							\
	auditon.2							\
	getaudit.2							\
	getauid.2							\
	setaudit.2							\
	setauid.2

MLINKS=	libbsm.3 bsm.3							\
	au_class.3 getauclassent.3					\
	au_class.3 getauclassent_r.3					\
	au_class.3 getauclassnam.3					\
	au_class.3 getauclassnam_3.3					\
	au_class.3 setauclass.3						\
	au_class.3 endauclass.3						\
	au_control.3 setac.3						\
	au_control.3 endac.3						\
	au_control.3 getacdir.3						\
	au_control.3 getacmin.3						\
	au_control.3 getacfilesz.3					\
	au_control.3 getacflg.3						\
	au_control.3 getacna.3						\
	au_control.3 getacpol.3						\
	au_control.3 au_poltostr.3					\
	au_control.3 au_strtopol.3					\
	au_domain.3 au_bsm_to_domain.3					\
	au_domain.3 au_domain_to_bsm.3					\
	au_errno.3 au_bsm_to_errno.3					\
	au_errno.3 au_errno_to_bsm.3					\
	au_errno.3 au_strerror.3					\
	au_event.3 setauevent.3						\
	au_event.3 endauevent.3						\
	au_event.3 getauevent.3						\
	au_event.3 getauevent_r.3					\
	au_event.3 getauevnam.3						\
	au_event.3 getauevnam_r.3					\
	au_event.3 getauevnum.3						\
	au_event.3 getauevnum_r.3					\
	au_event.3 getauevnonam.3					\
	au_event.3 getauevnonam_r.3					\
	au_fcntl_cmd.3 au_bsm_to_fcntl_cmd.3				\
	au_fcntl_cmd.3 au_fcntl_cmd_t_bsm.3				\
	au_io.3	au_fetch_tok.3						\
	au_io.3	au_print_tok.3						\
	au_io.3	au_read_rec.3						\
	au_mask.3 au_preselect.3					\
	au_mask.3 getauditflagsbin.3					\
	au_mask.3 getauditflagschar.3					\
	au_open.3 au_close.3						\
	au_open.3 au_close_buffer.3					\
	au_open.3 au_close_token.3					\
	au_open.3 au_write.3						\
	au_socket_type.3 au_bsm_to_socket_type.3			\
	au_socket_type.3 au_socket_type_to_bsm.3			\
	au_token.3 au_to_arg32.3					\
	au_token.3 au_to_arg64.3					\
	au_token.3 au_to_arg.3						\
	au_token.3 au_to_attr64.3					\
	au_token.3 au_to_data.3						\
	au_token.3 au_to_exit.3						\
	au_token.3 au_to_groups.3					\
	au_token.3 au_to_newgroups.3					\
	au_token.3 au_to_in_addr.3					\
	au_token.3 au_to_in_addr_ex.3					\
	au_token.3 au_to_ip.3						\
	au_token.3 au_to_ipc.3						\
	au_token.3 au_to_ipc_perm.3					\
	au_token.3 au_to_iport.3					\
	au_token.3 au_to_opaque.3					\
	au_token.3 au_to_file.3						\
	au_token.3 au_to_text.3						\
	au_token.3 au_to_path.3						\
	au_token.3 au_to_process32.3					\
	au_token.3 au_to_process64.3					\
	au_token.3 au_to_process.3					\
	au_token.3 au_to_process32_ex.3					\
	au_token.3 au_to_process64_ex.3					\
	au_token.3 au_to_process_ex.3					\
	au_token.3 au_to_return32.3					\
	au_token.3 au_to_return64.3					\
	au_token.3 au_to_return.3					\
	au_token.3 au_to_seq.3						\
	au_token.3 au_to_sock_inet32.3					\
	au_token.3 au_to_sock_inet128.3					\
	au_token.3 au_to_sock_inet.3					\
	au_token.3 au_to_subject32.3					\
	au_token.3 au_to_subject64.3					\
	au_token.3 au_to_subject.3					\
	au_token.3 au_to_subject32_ex.3					\
	au_token.3 au_to_subject64_ex.3					\
	au_token.3 au_to_subject_ex.3					\
	au_token.3 au_to_me.3						\
	au_token.3 au_to_exec_args.3					\
	au_token.3 au_to_exec_env.3					\
	au_token.3 au_to_header.3					\
	au_token.3 au_to_header32.3					\
	au_token.3 au_to_header64.3					\
	au_token.3 au_to_trailer.3					\
	au_token.3 au_to_zonename.3					\
	au_user.3 setauuser.3						\
	au_user.3 endauuser.3						\
	au_user.3 getauuserent.3					\
	au_user.3 getauuserent_r.3					\
	au_user.3 getauusernam.3					\
	au_user.3 getauusernam_R.3					\
	au_user.3 au_user_mask.3					\
	au_user.3 getfauditflags.3					\
	getaudit.2 getaudit_addr.2					\
	setaudit.2 setaudit_addr.2

.include <bsd.lib.mk>
@


1.14.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:56 +0000
@
text
@d1 177
@


1.14.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 175
#
# $FreeBSD: releng/8.4/lib/libbsm/Makefile 195767 2009-07-19 17:25:24Z kensmith $
#

OPENBSMDIR=		${.CURDIR}/../../contrib/openbsm
LIBBSMDIR=		${OPENBSMDIR}/libbsm

LIB=		bsm
SHLIB_MAJOR=	3

.PATH:		${LIBBSMDIR}
.PATH:		${OPENBSMDIR}/bsm
.PATH:		${OPENBSMDIR}/man

SRCS=	bsm_audit.c							\
	bsm_class.c							\
	bsm_control.c							\
	bsm_domain.c							\
	bsm_errno.c							\
	bsm_event.c							\
	bsm_fcntl.c							\
	bsm_flags.c							\
	bsm_io.c							\
	bsm_mask.c							\
	bsm_notify.c							\
	bsm_socket_type.c						\
	bsm_token.c							\
	bsm_user.c							\
	bsm_wrappers.c

#
# Must use BSM include files from within the contrib area, not the system.
#
CFLAGS+=	-I${OPENBSMDIR} -I${LIBBSMDIR}

INCS=		audit_uevents.h libbsm.h
INCSDIR=	${INCLUDEDIR}/bsm

MAN=	libbsm.3							\
	au_class.3							\
	au_control.3							\
	au_domain.3							\
	au_errno.3							\
	au_event.3							\
	au_fcntl_cmd.3							\
	au_free_token.3							\
	au_io.3								\
	au_mask.3							\
	au_open.3							\
	au_socket_type.3						\
	au_token.3							\
	au_user.3							\
	audit_submit.3

#
# It seems like maybe some of these should be installed separately, since
# they're not all libbsm parts.
#
MAN+=	audit.2								\
	audit.log.5							\
	audit_class.5							\
	audit_control.5							\
	audit_event.5							\
	audit_user.5							\
	audit_warn.5							\
	auditctl.2							\
	auditon.2							\
	getaudit.2							\
	getauid.2							\
	setaudit.2							\
	setauid.2

MLINKS=	libbsm.3 bsm.3							\
	au_class.3 getauclassent.3					\
	au_class.3 getauclassent_r.3					\
	au_class.3 getauclassnam.3					\
	au_class.3 getauclassnam_3.3					\
	au_class.3 setauclass.3						\
	au_class.3 endauclass.3						\
	au_control.3 setac.3						\
	au_control.3 endac.3						\
	au_control.3 getacdir.3						\
	au_control.3 getacmin.3						\
	au_control.3 getacfilesz.3					\
	au_control.3 getacflg.3						\
	au_control.3 getacna.3						\
	au_control.3 getacpol.3						\
	au_control.3 au_poltostr.3					\
	au_control.3 au_strtopol.3					\
	au_domain.3 au_bsm_to_domain.3					\
	au_domain.3 au_domain_to_bsm.3					\
	au_errno.3 au_bsm_to_errno.3					\
	au_errno.3 au_errno_to_bsm.3					\
	au_errno.3 au_strerror.3					\
	au_event.3 setauevent.3						\
	au_event.3 endauevent.3						\
	au_event.3 getauevent.3						\
	au_event.3 getauevent_r.3					\
	au_event.3 getauevnam.3						\
	au_event.3 getauevnam_r.3					\
	au_event.3 getauevnum.3						\
	au_event.3 getauevnum_r.3					\
	au_event.3 getauevnonam.3					\
	au_event.3 getauevnonam_r.3					\
	au_fcntl_cmd.3 au_bsm_to_fcntl_cmd.3				\
	au_fcntl_cmd.3 au_fcntl_cmd_t_bsm.3				\
	au_io.3	au_fetch_tok.3						\
	au_io.3	au_print_tok.3						\
	au_io.3	au_read_rec.3						\
	au_mask.3 au_preselect.3					\
	au_mask.3 getauditflagsbin.3					\
	au_mask.3 getauditflagschar.3					\
	au_open.3 au_close.3						\
	au_open.3 au_close_buffer.3					\
	au_open.3 au_close_token.3					\
	au_open.3 au_write.3						\
	au_socket_type.3 au_bsm_to_socket_type.3			\
	au_socket_type.3 au_socket_type_to_bsm.3			\
	au_token.3 au_to_arg32.3					\
	au_token.3 au_to_arg64.3					\
	au_token.3 au_to_arg.3						\
	au_token.3 au_to_attr64.3					\
	au_token.3 au_to_data.3						\
	au_token.3 au_to_exit.3						\
	au_token.3 au_to_groups.3					\
	au_token.3 au_to_newgroups.3					\
	au_token.3 au_to_in_addr.3					\
	au_token.3 au_to_in_addr_ex.3					\
	au_token.3 au_to_ip.3						\
	au_token.3 au_to_ipc.3						\
	au_token.3 au_to_ipc_perm.3					\
	au_token.3 au_to_iport.3					\
	au_token.3 au_to_opaque.3					\
	au_token.3 au_to_file.3						\
	au_token.3 au_to_text.3						\
	au_token.3 au_to_path.3						\
	au_token.3 au_to_process32.3					\
	au_token.3 au_to_process64.3					\
	au_token.3 au_to_process.3					\
	au_token.3 au_to_process32_ex.3					\
	au_token.3 au_to_process64_ex.3					\
	au_token.3 au_to_process_ex.3					\
	au_token.3 au_to_return32.3					\
	au_token.3 au_to_return64.3					\
	au_token.3 au_to_return.3					\
	au_token.3 au_to_seq.3						\
	au_token.3 au_to_sock_inet32.3					\
	au_token.3 au_to_sock_inet128.3					\
	au_token.3 au_to_sock_inet.3					\
	au_token.3 au_to_subject32.3					\
	au_token.3 au_to_subject64.3					\
	au_token.3 au_to_subject.3					\
	au_token.3 au_to_subject32_ex.3					\
	au_token.3 au_to_subject64_ex.3					\
	au_token.3 au_to_subject_ex.3					\
	au_token.3 au_to_me.3						\
	au_token.3 au_to_exec_args.3					\
	au_token.3 au_to_exec_env.3					\
	au_token.3 au_to_header.3					\
	au_token.3 au_to_header32.3					\
	au_token.3 au_to_header64.3					\
	au_token.3 au_to_trailer.3					\
	au_token.3 au_to_zonename.3					\
	au_user.3 setauuser.3						\
	au_user.3 endauuser.3						\
	au_user.3 getauuserent.3					\
	au_user.3 getauuserent_r.3					\
	au_user.3 getauusernam.3					\
	au_user.3 getauusernam_R.3					\
	au_user.3 au_user_mask.3					\
	au_user.3 getfauditflags.3					\
	getaudit.2 getaudit_addr.2					\
	setaudit.2 setaudit_addr.2

.include <bsd.lib.mk>
@


1.13
log
@SVN rev 201381 on 2010-01-02 09:58:07Z by ed

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.13.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/lib/libbsm/Makefile 201381 2010-01-02 09:58:07Z ed $
@


1.13.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.13.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/lib/libbsm/Makefile 201381 2010-01-02 09:58:07Z ed $
@


1.13.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.13.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/lib/libbsm/Makefile 201381 2010-01-02 09:58:07Z ed $
@


1.12
log
@SVN rev 195767 on 2009-07-19 17:25:24Z by kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE.  Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by:    kib
Approved by:    re (rwatson)
@
text
@d36 2
@


1.12.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.12.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/lib/libbsm/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.12.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/lib/libbsm/Makefile 195767 2009-07-19 17:25:24Z kensmith $
@


1.12.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.11
log
@SVN rev 191273 on 2009-04-19 16:17:13Z by rwatson

Merge OpenBSM 1.1 from OpenBSM vendor branch to head.

OpenBSM history for imported revision below for reference.

MFC after:      2 weeks
Sponsored by:   Apple, Inc.
Obtained from:  TrustedBSD Project

OpenBSM 1.1

- Change auditon(2) parameters and data structures to be 32/64-bit architecture
  independent.  Add more information to man page about auditon(2) parameters.
- Add wrapper functions for auditon(2) to use legacy commands when the new
  commands are not supported.
- Add default for 'expire-after' in audit_control to expire trail files when
  the audit directory is more than 10 megabytes ('10M').
- Interface to convert between local and BSM fcntl(2) command values has been
  added:  au_bsm_to_fcntl_cmd(3) and au_fcntl_cmd_to_bsm(3), along with
  definitions of constants in audit_fcntl.h.
- A bug, introduced in OpenBSM 1.1 alpha 4, in which AUT_RETURN32 tokens
  generated by audit_submit(3) were improperly encoded has been fixed.
- Fix example in audit_submit(3) man page.  Also, make it clear that we want
  the audit ID as the argument.
- A new audit event class 'aa', for post-login authentication and
  authorization events, has been added.
@
text
@d9 1
a9 1
SHLIB_MAJOR=	2
@


1.10
log
@SVN rev 187214 on 2009-01-14 10:44:16Z by rwatson

Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge).  Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.

OpenBSM history for imported revisions below for reference.

MFC after:      1 month
Sponsored by:   Apple Inc.
Obtained from:  TrustedBSD Project

OpenBSM 1.1 alpha 5

- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
  families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
  au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
  of constants in audit_domain.h and audit_socket_type.h.  This improves
  interoperability by converting local constant spaces, which vary by OS, to
  and from Solaris constants (where available) or OpenBSM constants for
  protocol domains not present in Solaris (a fair number).  These routines
  should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
  platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
  environment.
- When started by launchd, use the label com.apple.auditd rather than
  org.trustedbsd.auditd.
@
text
@d21 1
d45 1
d105 2
@


1.9
log
@SVN rev 186647 on 2008-12-31 11:12:24Z by rwatson

Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge).  Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.

OpenBSM history for imported revisions below for reference.

MFC after:      1 month
Sponsored by:   Apple Inc.
Obtained from:  TrustedBSD Project

OpenBSM 1.1 alpha 4

- With the addition of BSM error number mapping, we also need to map the
  local error number passed to audit_submit(3) to a BSM error number,
  rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
  more formal allocation scheme, and add some events allocated in Solaris
  that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
  directly, rather than requiring applications to map to the local error
  space, which might not be able to entirely represent the BSM error
  number space.
- Major auditd rewrite for launchd(8) support.  Add libauditd library
  that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
  (re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
  startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
  has been recovered from not being properly terminated.  This event is
  stored in the new audit trail file and includes the path of recovered
  audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
  auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
  calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.

OpenBSM 1.1 alpha 3

- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
  between BSM error numbers (largely the Solaris definitions) and local
  errno(2) values for 32-bit and 64-bit return tokens.  This is required
  as operating systems don't agree on some of the values of more recent
  error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
  total size for the token.  This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
@
text
@d18 1
d25 1
d41 1
d48 1
d88 2
d113 2
@


1.8
log
@Install getaudit_addr(2) and setaudit_addr(2) links to getaudit(2) and
setaudit(2).

MFC after:	3 days
Submitted by:	csjp
Obtained from:	TrustedBSD Project
@
text
@d18 1
d39 1
d84 3
@


1.7
log
@Bump library versions in preparation for 7.0.

Ok'd by:	kan
@
text
@d154 3
a156 1
	au_user.3 getfauditflags.3
@


1.7.2.1
log
@Merge Makefile:1.8 from HEAD to RELENG_7:

  Install getaudit_addr(2) and setaudit_addr(2) links to getaudit(2) and
  setaudit(2).

Approved by:	re (kensmith)
Submitted by:	csjp
Obtained from:	TrustedBSD Project
@
text
@d154 1
a154 3
	au_user.3 getfauditflags.3					\
	getaudit.2 getaudit_addr.2					\
	setaudit.2 setaudit_addr.2
@


1.7.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/lib/libbsm/Makefile 173069 2007-10-27 16:35:46Z rwatson $
@


1.7.2.1.10.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.7.2.1.10.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/lib/libbsm/Makefile 173069 2007-10-27 16:35:46Z rwatson $
@


1.7.2.1.8.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.7.2.1.6.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.7.2.1.4.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.6
log
@Add au_to_zonename.3 alias for au_token.3.

Obtained from:	TrustedBSD Project
@
text
@d9 1
a9 1
SHLIB_MAJOR=	1
@


1.5
log
@Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12
import.  Most of these should have existed previously, but didn't.

MFC after:	3 days
Obtained from:	TrustedBSD Project
@
text
@d146 1
@


1.4
log
@Hook up au_open.3 man page (and its symlinks), apparently missed during
initial OpenBSM merge.

Obtained from:	TrustedBSD Project
MFC after:	3 days
@
text
@d67 1
d69 1
d76 1
d79 3
d85 1
d87 1
d89 1
d91 1
a97 1
	au_open.3 au_write.3						\
d101 1
a101 6
	au_user.3 setauuser.3						\
	au_user.3 endauuser.3						\
	au_user.3 getauuserent.3					\
	au_user.3 getauusernam.3					\
	au_user.3 au_user_mask.3					\
	au_user.3 getfauditflags.3					\
a129 3
	au_token.3 au_to_socket.3					\
	au_token.3 au_to_socket_ex_32.3					\
	au_token.3 au_to_socket_ex_128.3				\
d145 9
a153 1
	au_token.3 au_to_trailer.3
@


1.3
log
@Remove curdir reference in libbsm build; this is not required as the
include path will already point to the populated include tree.  This
is left over from boot-strapping the build and install of libbsm
during the initial import and merge.

Obtained from:	TrustedBSD Project
Pointed out by:	ru
@
text
@d42 1
d88 4
@


1.3.2.1
log
@Merge src/lib/Makefile:1.211 and src/lib/libbsm/Makefile:1.2-1.3 from
HEAD to RELENG_6:

  Add libbsm to the library build.

Obtained from:	TrustedBSD Project
@
text
@@


1.3.2.2
log
@Merge Makefile:1.4 from HEAD to RELENG_6:

  Hook up au_open.3 man page (and its symlinks), apparently missed during
  initial OpenBSM merge.

  Obtained from:  TrustedBSD Project

Approved by:	re (mux)
@
text
@a41 1
	au_open.3							\
a86 4
	au_open.3 au_write.3						\
	au_open.3 au_close.3						\
	au_open.3 au_close_buffer.3					\
	au_open.3 au_close_token.3					\
@


1.3.2.3
log
@Merge Makefile:1.5 from HEAD to RELENG_6:

  Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12
  import.  Most of these should have existed previously, but didn't.

  Obtained from:  TrustedBSD Project

Approved by:	re (kensmith)
@
text
@a66 1
	au_class.3 getauclassent_r.3					\
a67 1
	au_class.3 getauclassnam_3.3					\
a73 1
	au_control.3 getacfilesz.3					\
a75 3
	au_control.3 getacpol.3						\
	au_control.3 au_poltostr.3					\
	au_control.3 au_strtopol.3					\
a78 1
	au_event.3 getauevent_r.3					\
a79 1
	au_event.3 getauevnam_r.3					\
a80 1
	au_event.3 getauevnum_r.3					\
a81 1
	au_event.3 getauevnonam_r.3					\
d88 1
d92 6
a97 1
	au_open.3 au_write.3						\
d126 3
d144 1
a144 9
	au_token.3 au_to_trailer.3					\
	au_user.3 setauuser.3						\
	au_user.3 endauuser.3						\
	au_user.3 getauuserent.3					\
	au_user.3 getauuserent_r.3					\
	au_user.3 getauusernam.3					\
	au_user.3 getauusernam_R.3					\
	au_user.3 au_user_mask.3					\
	au_user.3 getfauditflags.3
@


1.3.2.4
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/lib/libbsm/Makefile 162824 2006-09-29 22:47:50Z rwatson $
@


1.3.2.3.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.2
log
@Add audit_submit.3 to the set of man pages built and installed with
libbsm.  This interface is new as of OpenBSM 1.0 alpha 6.

Submitted by:	csjp
Obtained from:	TrustedBSD Project
@
text
@d30 1
a30 1
CFLAGS+=	-I${OPENBSMDIR} -I${LIBBSMDIR} -I${.CURDIR}/../../sys
@


1.1
log
@Add libbsm to the library build.

Obtained from:	TrustedBSD Project
@
text
@d43 2
a44 1
	au_user.3
@

