<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>postfix</Name>
        <Homepage>http://www.postfix.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>IPL-1</License>
        <IsA>service</IsA>
        <Summary>A fast and secure drop-in replacement for sendmail</Summary>
        <Description>Postfix is Wietse Venema's mailer that started life as an alternative to the widely-used Sendmail program.</Description>
        <Archive sha1sum="ce95aa5288735970abf806b719a09d517294e071" type="targz">http://de.postfix.org/ftpmirror/official/postfix-3.2.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>db-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>mit-kerberos</Dependency>
        </BuildDependencies>
        <Patches>
	    <!--<Patch level="1">postfix-alternatives.patch</Patch>-->
            <Patch level="1">postfix-large-fs.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>postfix</Name>
        <RuntimeDependencies>
            <Dependency>db</Dependency>
            <Dependency>pam</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>cyrus-sasl</Dependency>
            <Dependency>bind-libs</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>comar-api</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/var</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc/postfix/AAAREADME</Path>
            <Path fileType="doc">/usr/share/doc/postfix/COMPATIBILITY</Path>
            <Path fileType="doc">/usr/share/doc/postfix/HISTORY</Path>
            <Path fileType="doc">/usr/share/doc/postfix/LICENSE</Path>
            <Path fileType="doc">/usr/share/doc/postfix/RELEASE_NOTES</Path>
            <Path fileType="doc">/usr/share/doc/postfix/defaults</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/sasl2/smtpd.conf">smtpd.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0600" target="/etc/postfix/saslpass">saslpass</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/postfix/main.cf">main.cf</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/postfix/ssl/mkcert.sh">mkcert.sh</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/mail/aliases">aliases</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/mail/mailcap">mailcap</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/smtp">smtp.pam</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/pop">common.pam</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/imap">common.pam</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/doc/postfix/defaults/bounce.cf.tr">bounce.cf.tr</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>postfix-docs</Name>
        <Summary>Help files for postfix package</Summary>
        <RuntimeDependencies>
            <Dependency release="current">postfix</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-11</Date>
            <Version>3.2.0</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>3.1.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-27</Date>
            <Version>3.1.0</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
