<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pam</Name>
        <Homepage>http://www.kernel.org/pub/linux/libs/pam/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>PAM</License>
        <IsA>library</IsA>
        <Summary>Pluggable Authentication Modules</Summary>
        <Description>PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policy without having to recompile programs that handle authentication.</Description>
        <Archive sha1sum="50625c6b5e3c9b89d105c1e820ae434c90f6013c" type="targz">https://github.com/linux-pam/linux-pam/archive/v1.7.0.tar.gz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="pisi-pambase.sh" permission="0755">pisi-pambase.sh</AdditionalFile>
            <!--AdditionalFile target="dlopen.sh" permission="0755">dlopen.sh</AdditionalFile>
            <AdditionalFile target="dlopen-test.sh" permission="0755">dlopen-test.sh</AdditionalFile-->
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>meson</Dependency>
            <Dependency versionFrom="2.0.0">libnsl-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>libtirpc-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">glibc.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>pam</Name>
        <RuntimeDependencies>
            <Dependency>audit</Dependency>
            <Dependency>libnsl</Dependency>
            <Dependency>libtirpc</Dependency>
<!--             <Dependency>libxcrypt</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="data">/var/run/console</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/limit.d/90-nproc.conf">90-nproc.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/pam.conf">pam.tmpfiles</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="postInstall.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>pam-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for pam</Summary>
        <RuntimeDependencies>
            <Dependency release="current">pam</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="16">
            <Date>2024-11-21</Date>
            <Version>1.7.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="15">
            <Date>2024-07-06</Date>
            <Version>1.6.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2024-01-19</Date>
            <Version>1.6.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2023-06-13</Date>
            <Version>1.5.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2022-12-31</Date>
            <Version>1.5.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-09-28</Date>
            <Version>1.5.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-10-21</Date>
            <Version>1.5.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-09-17</Date>
            <Version>1.5.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-06-03</Date>
            <Version>1.5.1</Version>
            <Comment>PAM rebuild.</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2021-04-29</Date>
            <Version>1.5.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-12-25</Date>
            <Version>1.5.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2019-12-23</Date>
            <Version>1.3.1</Version>
            <Comment>Rebuild</Comment>
            <Name>idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-15</Date>
            <Version>1.3.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-24</Date>
            <Version>1.3.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>1.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-05</Date>
            <Version>1.2.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
