<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>patch</Name>
        <Homepage>http://www.gnu.org/software/patch/patch.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <PartOf>system.devel</PartOf>
        <Summary>Applies patch files</Summary>
        <Description>Patch takes a patch file generated by diff command, and applies it to the original files, thus producing patched files.</Description>
        <Archive sha1sum="6f64fa75993bdb285ac4ed6eca6c9212725bff91" type="tarxz">ftp://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>attr-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">fedora/patch-2.7.6-CVE-2018-17942.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-CVE-2018-6952-fix-swapping-fake-lines-in-pch_swap.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-CVE-2019-13636-symlinks.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-abort_when_cleaning_up_fails.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-allow-input-files-to-be-missing-for-ed-style-patches.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-avoid-invalid-memory-access-in-context-format-diffs.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-avoid-set_file_attributes-sign-conversion-warnings.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-crash-RLIMIT_NOFILE.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-failed_assertion.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-fix-segfault-with-mangled-rename-patch.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-improve_support_for_memory_leak_detection.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-make-debug-output-more-useful.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-test-suite-compatibility-fixes.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-fix-korn-shell-incompatibility.patch</Patch>
            <Patch level="1">fedora/patch-CVE-2018-1000156.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-CVE-2019-13638-invoked-ed-directly-instead-of-using-the-shell.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-check-of-return-value-of-fwrite.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-dont-leak-temporary-file-on-failed-multi-file-ed-style-patch.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-fix-ed-style-test-failure.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-switch-from-fork-execlp-to-execute.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-skip-ed-test-when-the-ed-utility-is-not-installed.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-cleanups-in-do_ed_script.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-avoid-warnings-gcc8.patch</Patch>
            <Patch level="1">fedora/patch-2.7.6-dont-leak-temporary-file-on-failed-ed-style-patch.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>patch</Name>
        <RuntimeDependencies>
            <Dependency>attr</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="10">
            <Date>2023-01-28</Date>
            <Version>2.7.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2022-05-10</Date>
            <Version>2.7.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-12-15</Date>
            <Version>2.7.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
		<Update release="7">
            <Date>2019-12-11</Date>
            <Version>2.7.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-07-17</Date>
            <Version>2.7.5</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>2.7.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-16</Date>
            <Version>2.7.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-07</Date>
            <Version>2.7.5</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>2.7.5</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-20</Date>
            <Version>2.7.5</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
