<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>audit</Name>
        <Homepage>http://people.redhat.com/sgrubb/audit/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <IsA>service</IsA>
        <Summary>User space tools for kernel auditing</Summary>
        <Description>audit contains the user space utilities for storing and searching the audit records generated by the audit subsystem in the Linux 2.6 kernel.</Description>
        <Archive sha1sum="6242beaff307d95f2b29f9d758dcf3bceddc0d8a" type="targz">http://people.redhat.com/sgrubb/audit/audit-3.1.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3-devel</Dependency>
            <Dependency>kernel-headers</Dependency>
            <Dependency>libcap-ng-devel</Dependency>
            <Dependency>tcp-wrappers-devel</Dependency>
            <Dependency>swig</Dependency>
<!--             <Dependency>openldap-client</Dependency> -->
        </BuildDependencies>
        <Patches>
            <Patch level="1">gentoo/audit-3.0.8-linux-headers-5.17.patch</Patch>
            <Patch level="1">gentoo/audit-3.0.8-musl-malloc.patch</Patch>
       </Patches>
    </Source>

    <Package>
        <Name>audit</Name>
        <RuntimeDependencies>
            <Dependency>libcap-ng</Dependency>
            <!--Dependency>openldap-client</Dependency-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/var/log/audit</Path>
            <Path fileType="data">/var/spool/audit</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>python-audit</Name>
        <Summary>Python bindings for audit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">audit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3*</Path>
        </Files>
    </Package>

    <Package>
        <Name>audit-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for audit</Summary>
        <RuntimeDependencies>
            <Dependency release="current">audit</Dependency>
            <Dependency>libcap-ng-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="11">
            <Date>2023-10-15</Date>
            <Version>3.1.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2023-06-15</Date>
            <Version>3.1.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-09-25</Date>
            <Version>3.0.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-10-21</Date>
            <Version>3.0.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-11-07</Date>
            <Version>2.8.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-04-28</Date>
            <Version>2.8.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2018-08-10</Date>
            <Version>2.8.4</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-01-15</Date>
            <Version>2.8.2</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-09-20</Date>
            <Version>2.7.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>2.3.7</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-21</Date>
            <Version>2.3.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
