<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://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="07fb763082c21e9e597b39aac6413302e3aa7c97" type="targz">http://web.mit.edu/kerberos/dist/krb5/1.15/krb5-1.15.tar.gz</Archive>

        <BuildDependencies>
            <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="0">fix-python-detection.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="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>

    <History>
        <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>
