Source: audit
Priority: optional
Maintainer: Laurent Bigonville <bigon@debian.org>
Build-Depends: debhelper-compat (= 13),
               dh-exec,
               dh-python <!nopython>,
#               dh-golang,
               dpkg-dev (>= 1.16.1~),
               dpkg-dev (>= 1.22.5),
               libcap-ng-dev,
# audit sources embed their own patched version of libev
#               libev-dev,
               libkrb5-dev,
               libldap2-dev <!pkg.audit.noldap>,
               libwrap0-dev,
               linux-libc-dev (>= 5.9~),
               python3-all-dev:any <!nopython>,
               libpython3-all-dev <!nopython>,
               swig
Build-Depends-Indep: golang-any
Standards-Version: 4.7.2
Section: libs
Homepage: https://people.redhat.com/sgrubb/audit/
Vcs-Git: https://salsa.debian.org/debian/audit.git
Vcs-Browser: https://salsa.debian.org/debian/audit
Rules-Requires-Root: binary-targets

Package: auditd
Section: admin
Architecture: linux-any
Depends: libaudit1 (= ${binary:Version}),
         libauparse0t64 (= ${binary:Version}),
         mawk | gawk,
         ${misc:Depends},
         ${shlibs:Depends}
Suggests: audispd-plugins
Breaks: audispd-plugins (<< 1:3.0~)
Pre-Depends: ${misc:Pre-Depends}
Description: User space tools for security auditing
 This package contains the user space utilities for storing and searching the
 audit records generated by the audit subsystem in the Linux kernel.
 .
 Also contains the audit dispatcher "audisp".

Package: libauparse0t64
Provides: ${t64:Provides}
Replaces: libauparse0
Breaks: libauparse0 (<< ${source:Version})
Architecture: linux-any
Pre-Depends: ${misc:Pre-Depends}
Depends: libaudit1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Multi-Arch: same
Description: Dynamic library for parsing security auditing
 This package contains the dynamic libraries needed for applications to use the
 audit framework. It is used to monitor systems for security related events.
 .
 This package contains the libauparse0t64 library.

Package: libauparse-dev
Section: libdevel
Architecture: linux-any
Depends: libauparse0t64 (= ${binary:Version}), ${misc:Depends}
Multi-Arch: same
Description: Header files and static library for the libauparse0t64 library
 This package contains the static libraries and header files needed for
 parsing security events.

Package: libaudit1
Architecture: linux-any
Pre-Depends: ${misc:Pre-Depends}
Depends: libaudit-common (>= ${source:Version}),
         ${misc:Depends},
         ${shlibs:Depends}
Multi-Arch: same
Description: Dynamic library for security auditing
 This package contains the dynamic libraries needed for applications to use the
 audit framework. It is used to monitor systems for security related events.

Package: libaudit-common
Architecture: all
Depends: ${misc:Depends}
Multi-Arch: foreign
Description: Dynamic library for security auditing - common files
 This package contains the libaudit.conf configuration file needed by libaudit
 and the associated manpage.

Package: libaudit-dev
Section: libdevel
Architecture: linux-any
Depends: libaudit1 (= ${binary:Version}), libcap-ng-dev, ${misc:Depends}
Multi-Arch: same
Description: Header files and static library for security auditing
 This package contains the static libraries and header files needed for
 developing applications that need to use the audit framework libraries.

Package: python3-audit
Section: python
Architecture: linux-any
Depends: libaudit1 (= ${binary:Version}),
         libauparse0t64 (= ${binary:Version}),
         ${misc:Depends},
         ${python3:Depends},
         ${shlibs:Depends}
Provides: ${python3:Provides}
Build-Profiles: <!nopython>
Description: Python3 bindings for security auditing
 The package contains the Python3 bindings for libaudit and libauparse, which
 are used to monitor systems for security related events. Python can be used to
 parse and process the security event messages.

Package: golang-redhat-audit-dev
Section: golang
Architecture: all
Depends: ${misc:Depends}
Multi-Arch: foreign
Description: Go client bindings for the libaudit library
 The package contains the Go bindings to libaudit that only allows for logging
 audit events.
 .
 This package contains the source.

Package: audispd-plugins
Section: admin
Architecture: linux-any
Depends: auditd (= ${binary:Version}),
         libauparse0t64 (= ${binary:Version}),
         ${misc:Depends},
         ${shlibs:Depends}
Build-Profiles: <!pkg.audit.noldap>
Description: Plugins for the audit event dispatcher
 This package provides plugins for the real-time interface to the audit system,
 audispd. These plugins can do things like relay events to remote machines or
 analyze events for suspicious behavior.

Package: libauplugin1
Architecture: linux-any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Multi-Arch: same
Description: Dynamic library for auditd plugins
 This package contains the dynamic libraries needed for the auditd plugins.

Package: libauplugin-dev
Section: libdevel
Architecture: linux-any
Depends: libauplugin1 (= ${binary:Version}), ${misc:Depends}
Multi-Arch: same
Description: Header files and static library for auditd plugins
 This package contains the static libraries and header files needed for
 developing auditd plugins.
