<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>syslinux</Name>
        <Homepage>http://syslinux.zytor.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>SysLinux, IsoLinux and PXELinux bootloader</Summary>
        <Description>Lightweight bootloaders for floppy media (SYSLINUX), network booting (PXELINUX), and bootable "El Torito" CD-ROMs (ISOLINUX). The project also includes MEMDISK, a tool to boot legacy operating systems (such as DOS) from nontraditional media; it is usually used in conjunction with PXELINUX and ISOLINUX.</Description>
        <Archive sha1sum="1bea76b97b4e32a017dd4168e819934b7c6592cc" type="tarxz">https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>nasm</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>dosfstools</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>efibootmgr-devel</Dependency>
            <Dependency>gptfdisk</Dependency>
            <Dependency>upx</Dependency><!--1-->
            <Dependency>libutil-linux-devel</Dependency>
            <Dependency>util-linux</Dependency>
        </BuildDependencies>
        <Patches>
            <!--Patch level="1">0001-Add-install-all-target-to-top-side-of-HAVE_FIRMWARE.patch</Patch>
            <Patch level="1">0035-SYSAPPEND-Fix-space-stripping.patch</Patch-->
            <Patch level="1">gcc-fix-alignment.patch</Patch>
            <Patch level="1">dont-guess-alignment.patch</Patch>
            <Patch level="1">btrfs-fix.patch</Patch>
            <Patch>syslinux.git-138e850fab106b5235178848b3e0d33e25f4d3a2.patch</Patch><!--kbd patch-->
            <Patch>syslinux.git-83aad4f.patch</Patch><!--set-base patch-->
            <Patch>syslinux.git-0a2dbb3.patch</Patch><!--set-mod patch-->
            <Patch>syslinux-6.03-sysmacros.patch</Patch>
<!--             <Patch>syslinux-6.02-add-fno-stack-protector.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>syslinux</Name>
        <RuntimeDependencies>
            <Dependency>mtools</Dependency>
            <Dependency>libutil-linux</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>efibootmgr</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>dosfstools</Dependency>
            <Dependency>gptfdisk</Dependency>
            <Dependency>perl-Crypt-PasswdMD5</Dependency>
            <Dependency>perl-Digest-SHA1</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/syslinux</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/usr/lib/syslinux/isolinux.cfg" permission="0644" owner="root">pisi-iso/isolinux.cfg</AdditionalFile>
            <AdditionalFile target="/usr/lib/syslinux/background.png" permission="0644" owner="root">pisi-iso/background.png</AdditionalFile>
            <!--AdditionalFile target="/usr/bin/syslinux-install_update" permission="0755" owner="root">syslinux-install_update</AdditionalFile-->
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-29</Date>
            <Version>6.03</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>6.03</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-02</Date>
            <Version>6.03</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
