<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sudo</Name>
        <Homepage>http://www.sudo.ws/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Sudo</License>
        <IsA>app:console</IsA>
        <Summary>Allows restricted root access for specified users</Summary>
        <Description>sudo allows certain users/groups to run commands with root user privileges.</Description>
        <Archive sha1sum="1a3eea53e256fa0f43c0f986ce2bae016709e761" type="targz">https://www.sudo.ws/sudo/dist/sudo-1.8.19.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>nss-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency versionFrom="2.1.26">cyrus-sasl-devel</Dependency>
            <Dependency versionFrom="2.4.41">openldap-client</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>sudo</Name>
        <RuntimeDependencies>
            <Dependency>nss</Dependency>
            <Dependency>audit</Dependency>
            <Dependency>pam</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency versionFrom="2.1.26">cyrus-sasl</Dependency>
            <Dependency versionFrom="2.4.41">openldap-client</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/sudo.conf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/run/sudo</Path>
            <Path fileType="data">/var/db/sudo</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0440" target="/etc/sudoers">sudoers</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/sudoers.orig">sudoers</AdditionalFile>
            <AdditionalFile owner="root" permission="0600" target="/etc/pam.d/sudo">sudo.pamd</AdditionalFile>
            <AdditionalFile owner="root" permission="0600" target="/etc/pam.d/sudo-i">sudo-i.pamd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/sudo.conf">sudo.tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-01-25</Date>
            <Version>1.8.19</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-09-26</Date>
            <Version>1.8.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilnux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-15</Date>
            <Version>1.8.16</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-16</Date>
            <Version>1.8.16</Version>
            <Comment>Version bump. Add sudoers.orig for live user privileges</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-10</Date>
            <Version>1.8.13</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
