<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>shadow</Name>
        <Homepage>https://github.com/shadow-maint/shadow</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <Summary>Utilities to deal with user accounts</Summary>
        <Description>The Shadow password file utilities package includes programs necessary to convert traditional V7 *NIX password files to the SVR4 shadow password format, and additional tools to maintain password and group files (that work with both shadow and non-shadow passwords).</Description>
        <Archive sha1sum="8921a4b3f43c80adba4eb240590e0f29b8cff80a" type="tarxz">https://github.com/shadow-maint/shadow/releases/download/4.18.0/shadow-4.18.0.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="pisi-shadowbase.sh" permission="0755">pisi-shadowbase.sh</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>pam-devel</Dependency>
            <Dependency>cracklib-devel</Dependency>
            <Dependency>acl-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>attr-devel</Dependency>
            <Dependency>libxcrypt-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">uk3.patch</Patch> -->
            <!--Patch level="1">fedora/shadow-4.8-crypt_h.patch</Patch>
            <Patch level="1">fedora/shadow-4.8-goodname.patch</Patch>
            <Patch level="1">fedora/shadow-4.8-ignore-login-prompt.patch</Patch>
            <Patch level="1">fedora/shadow-4.8-long-entry.patch</Patch>
            <Patch level="1">fedora/shadow-4.8.1-audit-update.patch</Patch>
            <Patch level="1">fedora/shadow-4.8.1-check-local-groups.patch</Patch>
            <Patch level="1">fedora/shadow-4.8.1-commonio-force-lock-file-sync.patch</Patch>
            <Patch level="1">fedora/shadow-4.8.1-manfix.patch</Patch>
            <Patch level="1">fedora/shadow-4.8.1-useradd-man-clarification.patch</Patch>
            <Patch level="1">shadow-strncpy-usage.patch</Patch>
            <Patch level="1">xstrdup.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>shadow</Name>
        <RuntimeDependencies>
            <Dependency>acl</Dependency>
            <Dependency>attr</Dependency>
            <Dependency>pam</Dependency>
            <Dependency>audit</Dependency>
            <Dependency>cracklib</Dependency>
            <Dependency versionFrom="4.4.38">libxcrypt</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/bin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
        <AdditionalFiles>
            <!--AdditionalFile owner="root" permission="0600" target="/etc/securetty">securetty</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/login">pam.d/login</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/other">pam.d/other</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/passwd">pam.d/passwd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/shadow">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/chage">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/chsh">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/chfn">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/chpasswd">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/newusers">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/useradd">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/userdel">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/usermod">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/groupadd">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/groupdel">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/groupmod">pam.d/shadow</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/su">pam.d/su</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/pam.d/system-auth">pam.d/system-auth</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/login.defs">login.defs</AdditionalFile-->
            <AdditionalFile owner="root" permission="0600" target="/etc/default/useradd">default/useradd</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="32">
            <Date>2025-11-06</Date>
            <Version>4.18.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="31">
            <Date>2025-10-30</Date>
            <Version>4.18.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="30">
            <Date>2025-09-23</Date>
            <Version>4.18.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="29">
            <Date>2025-01-13</Date>
            <Version>4.17.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="28">
            <Date>2025-01-04</Date>
            <Version>4.17.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="27">
            <Date>2024-05-26</Date>
            <Version>4.15.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2024-03-07</Date>
            <Version>4.14.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2024-02-16</Date>
            <Version>4.14.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2024-02-13</Date>
            <Version>4.14.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2024-01-16</Date>
            <Version>4.14.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2024-01-10</Date>
            <Version>4.14.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2023-10-31</Date>
            <Version>4.14.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2023-10-06</Date>
            <Version>4.14.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2023-08-17</Date>
            <Version>4.14.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2022-11-11</Date>
            <Version>4.13</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2022-09-28</Date>
            <Version>4.12.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-08-25</Date>
            <Version>4.12.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-08-19</Date>
            <Version>4.12.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2022-08-15</Date>
            <Version>4.12.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-10-21</Date>
            <Version>4.8.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-09-10</Date>
            <Version>4.8.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-06-03</Date>
            <Version>4.8.1</Version>
            <Comment>Shadow rebuild.</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-02-18</Date>
            <Version>4.8.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-12-09</Date>
            <Version>4.8.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-06-15</Date>
            <Version>4.8.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
		<Update release="7">
            <Date>2019-12-23</Date>
            <Version>4.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-11-28</Date>
            <Version>4.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-15</Date>
            <Version>4.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-12-02</Date>
            <Version>4.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
         <Update release="3">
            <Date>2017-01-26</Date>
            <Version>4.2.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>4.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-11</Date>
            <Version>4.2.1</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
