Skip to content

Commit 6efe4d7

Browse files
Add Requires.private to audit.pc file
1 parent 8ecc023 commit 6efe4d7

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Add io_uring support
77
- Add support for new FANOTIFY record fields
88
- Add keyword, this-hour, to ausearch/report start/end options
9+
- Add Requires.private to audit.pc file
910

1011
3.0.9
1112
- In auditd, release the async flush lock on stop

TODO

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Future roadmap (subject to change):
1313
* Support TLS PSK as remote logging transport
1414
* Add rule verify to detect mismatch between in-kernel and on-disk rules
1515
* audisp-remote, add config to say what home network is so laptops don't try if their not on a network that can reach the server.
16-
* Fix audit.pc.in to use Requires.private
1716
* Change ausearch to output name="" unless its a real null. (mount) ausearch-report.c, 523. FIXME
1817
* Fix SIGHUP for auditd network settings
1918
* Add ability to filter events in auditd

lib/audit.pc.in

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ Version: @VERSION@
99
Libs: -L${libdir} -laudit
1010
Libs.private: @CAPNG_LDADD@
1111
Cflags: -I${includedir}
12+
Requires.private: @CAPNG_PKG@

m4/cap-ng.m4

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ AC_DEFUN([LIBCAP_NG_PATH],
3333
AC_MSG_CHECKING(whether to use libcap-ng)
3434
if test x$CAPNG_LDADD != x ; then
3535
AC_DEFINE(HAVE_LIBCAP_NG,1,[libcap-ng support])
36+
CAPNG_PKG="libcap-ng"
37+
AC_SUBST(CAPNG_PKG)
3638
AC_MSG_RESULT(yes)
3739
else
3840
AC_MSG_RESULT(no)

0 commit comments

Comments
 (0)