Skip to content

Commit

Permalink
Update build instructions to mention how to do it from github
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-steve-grubb committed Oct 4, 2017
1 parent e5f6172 commit 0b2a316
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions INSTALL.tmp
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
To build the package, try this: rpmbuild --rebuild audit-1.7.5-1.src.rpm
substituting the proper version.

If you insist on doing it the hard way:
./configure --sbindir=/sbin --with-python=yes --with-libwrap --enable-gssapi-krb5=yes --with-libcap-ng=yes
To build audit from github, cd to the place where you want everything to be.
Then do this:

git clone https://github.com/linux-audit/audit-userspace.git
cd audit-userspace
./autogen.sh
./configure
make dist

This will result in a tar file. This can then be used with the packaging
system for your OS. This is the recommended way to do it.

If you do not want use a packaging system, read the options from
./configure --help and choose appropriately. For example, you may want
to do something like this as root:

./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin \
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share \
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec \
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man \
--infodir=/usr/share/info --sbindir=/sbin --libdir=/lib64 \
--with-python=yes --with-python3=yes --with-libwrap --enable-tcp=yes \
--enable-gssapi-krb5=yes --with-arm --with-aarch64 --with-libcap-ng=yes \
--without-golang --enable-systemd

make
make install

If you want to do this from a git copy, precede the above with:
./autogen.sh

0 comments on commit 0b2a316

Please sign in to comment.