<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mit-kerberos</Name>
        <Homepage>http://web.mit.edu/kerberos/www/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>MIT Kerberos Library</Summary>
        <Description>Kerberos is a network authentication protocol. It is designed to provide strong authentication for client/server applications by using secret-key cryptography.</Description>
        <Archive sha1sum="3e383bbe88cbed56bdad4ba655c40abf0e961cf7" type="targz">https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python3</Dependency>
            <Dependency>keyutils</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>e2fsprogs-devel</Dependency>
            <!-- FIXME: openldap-client requires mit-kerberos too -->
            <!-- disable for now for the circular dep
            <Dependency>openldap-client</Dependency>
            -->
        </BuildDependencies>
        <Patches>
<!--             <Patch level="0">krb5-config_LDFLAGS.patch</Patch> -->
            <!--<Patch level="1">mit-krb5-1.12_uninitialized.patch</Patch> -->
            <Patch level="0">rebuild-configure-scripts.patch</Patch>
            <!--Patch level="1">CVE-2018-5729-5730.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>mit-kerberos</Name>
        <RuntimeDependencies>
            <Dependency>keyutils</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>e2fsprogs</Dependency>
            <!-- FIXME: This introduces a circular dep
            <Dependency>openldap-client</Dependency>
            -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/run/krb5kdc</Path>
<!--             <Path fileType="header">/usr/include</Path> -->
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="data">/var/lib</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/krb5.conf">krb5.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/kdc.conf">kdc.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>mit-kerberos-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for mit-kerberos</Summary>
        <RuntimeDependencies>
            <Dependency release="current">mit-kerberos</Dependency>
            <Dependency>openssl-devel</Dependency>
<!--             <Dependency>e2fsprogs-devel</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="15">
            <Date>2024-12-17</Date>
            <Version>1.21.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2024-07-10</Date>
            <Version>1.21.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2023-08-16</Date>
            <Version>1.21.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2023-07-11</Date>
            <Version>1.21.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2023-06-07</Date>
            <Version>1.21.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2022-12-06</Date>
            <Version>1.20.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-09-26</Date>
            <Version>1.20</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2022-05-28</Date>
            <Version>1.20</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-11-07</Date>
            <Version>1.17</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-08</Date>
            <Version>1.17</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-12-31</Date>
            <Version>1.16</Version>
            <Comment>Version bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-26</Date>
            <Version>1.15</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.15</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>1.13.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
         <Update release="1">
            <Date>2015-04-23</Date>
            <Version>1.13.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
