<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>cyrus-sasl</Name>
        <Homepage>http://asg.web.cmu.edu/sasl/</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>as-is</License>
        <IsA>library</IsA>
        <IsA>service</IsA>
        <Summary>The Cyrus SASL (Simple Authentication and Security Layer)</Summary>
        <Description>cyrus-sasl is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols. To use SASL, a protocol includes a command for identifying and authenticating a user to a server and for optionally negotiating protection of subsequent protocol interactions.</Description>
        <Archive sha1sum="fbfe6f298b0d2efcdab6a40bf47e16d003ae5dc6" type="targz">http://cyrusimap.org/releases/cyrus-sasl-2.1.27.tar.gz</Archive>
        <BuildDependencies>
            <!--Dependency>mit-kerberos</Dependency-->
            <Dependency>mariadb-bin-lib</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">cyrus-sasl-2.1.27-autotools_fixes.patch</Patch>
            <Patch level="1">cyrus-sasl-2.1.27-avoid_pic_overwrite.patch</Patch>
            <Patch level="1">cyrus-sasl-2.1.27-doc_build_fix.patch</Patch>
            <Patch level="1">cyrus-sasl-2.1.27-as_needed.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>cyrus-sasl</Name>
        <RuntimeDependencies>
            <!--Dependency>mit-kerberos</Dependency-->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/cyrus-sasl.conf</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/cyrus-sasl-2</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/etc/conf.d/saslauthd" permission="0755" owner="root">saslauthd.confd</AdditionalFile>
            <AdditionalFile target="/etc/pam.d/saslauthd" permission="0755" owner="root">saslauthd.pam</AdditionalFile>
            <AdditionalFile target="/etc/init.d/saslauthd" permission="0755" owner="root">saslauthd2.rc7</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/lib/tmpfiles.d/cyrus-sasl.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <SCOM script="service.py">System.Service</SCOM>
            <SCOM script="package.py">System.Package</SCOM>
        </Provides>
    </Package>

    <Package>
        <Name>cyrus-sasl-devel</Name>
        <Summary>Development files for cyrus-sasl</Summary>
        <RuntimeDependencies>
            <Dependency release="current">cyrus-sasl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="doc">/usr/share/doc/cyrus-sasl/*.txt</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2019-09-13</Date>
            <Version>2.1.27</Version>
            <Comment>First release</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
