<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>bash</Name>
        <Homepage>http://www.gnu.org/software/bash/bash.html</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>The standard GNU Bourne again shell</Summary>
        <Description>Bash is the GNU Project's Bourne Again SHell, a complete implementation of the IEEE POSIX and Open Group shell specification with interactive command line editing, csh-like features such as history substitution.</Description>
        <Archive sha1sum="d116b469b9e6ea5264a74661d3a4c797da7f997b" type="targz">mirrors://gnu/bash/bash-5.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ncurses-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Official Patches -->

			<Patch level="0">official/bash50-001.patch</Patch>
			<Patch level="0">official/bash50-002.patch</Patch>
			<Patch level="0">official/bash50-003.patch</Patch>
			<Patch level="0">official/bash50-004.patch</Patch>
			<Patch level="0">official/bash50-005.patch</Patch>
			<Patch level="0">official/bash50-006.patch</Patch>
			<Patch level="0">official/bash50-007.patch</Patch>
			<Patch level="0">official/bash50-008.patch</Patch>
			<Patch level="0">official/bash50-009.patch</Patch>
			<Patch level="0">official/bash50-010.patch</Patch>
			<Patch level="0">official/bash50-011.patch</Patch>
			<Patch level="0">official/bash50-012.patch</Patch>
			<Patch level="0">official/bash50-013.patch</Patch>
			<Patch level="0">official/bash50-014.patch</Patch>
			<Patch level="0">official/bash50-015.patch</Patch>
			<Patch level="0">official/bash50-016.patch</Patch>
			<Patch level="0">official/bash50-017.patch</Patch>
			<Patch level="0">official/bash50-018.patch</Patch>			

        <!-- Fedora patches -->
            <Patch level="1">fedora/bash-2.02-security.patch</Patch>
            <Patch level="1">fedora/bash-2.03-paths.patch</Patch>
            <Patch level="1">fedora/bash-2.03-profile.patch</Patch>
<!--             <Patch level="1">fedora/bash-2.05a-interpreter.patch</Patch> -->
            <Patch level="1">fedora/bash-2.05b-debuginfo.patch</Patch>
            <Patch level="1">fedora/bash-2.05b-manso.patch</Patch>
            <Patch level="1">fedora/bash-2.05b-pgrp_sync.patch</Patch>
<!--             <Patch level="1">fedora/bash-2.05b-xcc.patch</Patch> -->
            <Patch level="1">fedora/bash-3.2-audit.patch</Patch>
            <Patch level="1">fedora/bash-3.2-ssh_source_bash.patch</Patch>
            <!--Patch level="1">fedora/bash-bashbug.patch</Patch>
            <Patch level="1">fedora/bash-infotags.patch</Patch>
            <Patch level="1">fedora/bash-requires.patch</Patch-->
            <Patch level="1">fedora/bash-setlocale.patch</Patch>
<!--             <Patch level="1">fedora/bash-tty-tests.patch</Patch>             -->
<!--             <Patch level="1">fedora/bash-4.0-nobits.patch</Patch> -->
            <Patch level="1">fedora/bash-4.1-examples.patch</Patch>            
            <Patch level="1">fedora/bash-4.1-broken_pipe.patch</Patch>
            <Patch level="1">fedora/bash-4.2-rc2-logout.patch</Patch>
<!--             <Patch level="1">fedora/bash-4.2-coverity.patch</Patch> -->
            <Patch level="1">fedora/bash-4.1-defer-sigchld-trap.patch</Patch>
            <Patch level="1">fedora/bash-4.2-manpage_trap.patch</Patch>
            <Patch level="1">fedora/bash-4.2-size_type.patch</Patch>
            <Patch level="1">fedora/bash-4.3-man-ulimit.patch</Patch>
<!--             <Patch level="1">fedora/bash-4.3-noecho.patch</Patch> -->
            <Patch level="1">fedora/bash-4.3-memleak-lc_all.patch</Patch>
            <Patch level="1">fedora/bash-4.4-no-loadable-builtins.patch</Patch>
            
        </Patches>
    </Source>

    <Package>
        <Name>bash</Name>
        <RuntimeDependencies>
            <Dependency>ncurses</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/bin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/bash/bashrc">bashrc</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/profile.d/command-not-found.sh">command-not-found.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
		<Update release="9">
            <Date>2020-12-09</Date>
            <Version>5.0.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
		<Update release="8">
            <Date>2019-12-11</Date>
            <Version>5.0.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2018-11-28</Date>
            <Version>4.4.18</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-15</Date>
            <Version>4.4.11</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-01-29</Date>
            <Version>4.4.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-01-06</Date>
            <Version>4.3_p48</Version>
            <Comment>Rebuild with new toolchain.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-12</Date>
            <Version>4.3_p48</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>4.3_p39</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-28</Date>
            <Version>4.3_p39</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
