| 1 |
|
| 2 |
To build audit from github, cd to the place where you want everything to be. |
| 3 |
Then do this: |
| 4 |
|
| 5 |
git clone https://github.com/linux-audit/audit-userspace.git |
| 6 |
cd audit-userspace |
| 7 |
autoreconf -v --install |
| 8 |
./configure |
| 9 |
make dist |
| 10 |
|
| 11 |
This will result in a tar file. This can then be used with the packaging |
| 12 |
system for your OS. This is the recommended way to do it. |
| 13 |
|
| 14 |
If you do not want use a packaging system, read the options from |
| 15 |
./configure --help and choose appropriately. For example, you may want |
| 16 |
to do something like this as root: |
| 17 |
|
| 18 |
./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin \ |
| 19 |
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \ |
| 20 |
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec \ |
| 21 |
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man \ |
| 22 |
--infodir=/usr/share/info --sbindir=/sbin --libdir=/lib64 \ |
| 23 |
--with-python3=yes --enable-gssapi-krb5=yes \ |
| 24 |
--with-arm --with-aarch64 --with-riscv --with-libcap-ng=yes \ |
| 25 |
--without-golang --enable-zos-remote \ |
| 26 |
--enable-experimental --with-io_uring |
| 27 |
|
| 28 |
make |
| 29 |
make check |
| 30 |
make install |
| 31 |
|
| 32 |
|