forked from linux-audit/audit-userspace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build instructions to mention how to do it from github
- Loading branch information
1 parent
e5f6172
commit 0b2a316
Showing
1 changed file
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|