]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/openbsm/INSTALL
Remove spurious newline
[FreeBSD/FreeBSD.git] / contrib / openbsm / INSTALL
1 OpenBSM Build and Installation Instructions
2
3 OpenBSM is currently built using autoconf and automake, which should allow
4 for building on a range of operating systems, including FreeBSD, Mac OS X,
5 and Linux.  Some components are built only if appropriate kernel audit
6 support is found.  Typical builds will be performed using:
7
8     ./configure
9     make
10
11 On Linux systems, OpenSSL headers may have to be installed to support
12 encryption of on-the-wire audit streams using auditdistd; the following
13 appears to work on Ubuntu:
14
15     sudo apt-get install libssl-dev
16
17 Similarly, Mac OS X systems will require OpenSSL support:
18
19     brew install openssl
20
21 Mac OS X systems will similarly require setting CFLAGS and LDFLAGS to notify
22 configure of the location of the OpenSSL headers and library:
23
24     CFLAGS=-I/usr/local/opt/openssl/include                     \
25     LDFLAGS=-L/usr/local/opt/openssl/lib                        \
26     configure
27
28 To install the library, binaries, and man pages, use:
29
30     make install
31
32 The OpenBSM install will not install files in /etc; these have to be
33 manually installed or merged.  Currently, the locations of these files are
34 not configurable.
35
36 You may wish to specify that the OpenBSM components not be installed in the
37 base system, rather in a specific directory.  This may be done using the
38 --prefix argument to configure.  If installing to a specific directory,
39 remember to update your library path so that when running tools from that
40 directory the correct libbsm is used:
41
42     ./configure --prefix=/home/rwatson/openbsm
43     make
44     make install
45     LD_LIBRARY_PATH=/home/rwatson/openbsm/libbsm ; export LD_LIBRARY_PATH