From owner-p4-projects@FreeBSD.ORG Sun Apr 24 16:03:03 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9AE1616A4D0; Sun, 24 Apr 2005 16:03:03 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FEBD16A4CE for ; Sun, 24 Apr 2005 16:03:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F04B43D53 for ; Sun, 24 Apr 2005 16:03:03 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3OG33r4091450 for ; Sun, 24 Apr 2005 16:03:03 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3OG32Dj091447 for perforce@freebsd.org; Sun, 24 Apr 2005 16:03:02 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sun, 24 Apr 2005 16:03:02 GMT Message-Id: <200504241603.j3OG32Dj091447@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 75887 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 16:03:04 -0000 http://perforce.freebsd.org/chv.cgi?CH=75887 Change 75887 by rwatson@rwatson_paprika on 2005/04/24 16:02:29 Build instructions. Note also Darwin problem with a nested include of the older sys/audit.h from sys/proc.h, which can result in build problems due to conflicts with newer bsm/audit.h. Affected files ... .. //depot/projects/trustedbsd/openbsm/README#4 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/README#4 (text+ko) ==== @@ -23,6 +23,29 @@ and minor tweaks, it should build without problems on a broad range of POSIX-like systems. + Building + +OpenBSM is currently built using a series of BSD make files which should +work on both FreeBSD and Darwin. One known issue is that versions of +Darwin prior to 10.3.8 have a nested include of "sys/audit.h" from +"sys/proc.h", which can result in type definition conflicts. If running +with include files from an earlier version of Darwin, the nested include +must be manually removed in order that libbsm can be built, due to +potentially conflicting types resulting from an include of "sys/sysctl.h" +by that file. On Dariwn, the use of BSD make must be specified explicitly +by using "bsdmake" rather than "make", which on Darwin refers to GNU make. +Typical invocations from the OpenBSM tree root: + +FreeBSD + + % make + # make install + +Darwin + + % bsdmake + # bsdmake install + Credits The following organizations and individuals have contributed substantially