|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
To build audit from github, cd to the place where you want everything to be.
|
|
Packit |
f0d170 |
Then do this:
|
|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
git clone https://github.com/linux-audit/audit-userspace.git
|
|
Packit |
f0d170 |
cd audit-userspace
|
|
Packit |
f0d170 |
./autogen.sh
|
|
Packit |
f0d170 |
./configure
|
|
Packit |
f0d170 |
make dist
|
|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
This will result in a tar file. This can then be used with the packaging
|
|
Packit |
f0d170 |
system for your OS. This is the recommended way to do it.
|
|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
If you do not want use a packaging system, read the options from
|
|
Packit |
f0d170 |
./configure --help and choose appropriately. For example, you may want
|
|
Packit |
f0d170 |
to do something like this as root:
|
|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin \
|
|
Packit |
f0d170 |
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \
|
|
Packit |
f0d170 |
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec \
|
|
Packit |
f0d170 |
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man \
|
|
Packit |
f0d170 |
--infodir=/usr/share/info --sbindir=/sbin --libdir=/lib64 \
|
|
Packit |
f0d170 |
--with-python=yes --with-python3=yes --with-libwrap --enable-tcp=yes \
|
|
Packit |
f0d170 |
--enable-gssapi-krb5=yes --with-arm --with-aarch64 --with-libcap-ng=yes \
|
|
Packit |
f0d170 |
--without-golang --enable-systemd
|
|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
make
|
|
Packit |
f0d170 |
make install
|
|
Packit |
f0d170 |
|
|
Packit |
f0d170 |
|