diff options
Diffstat (limited to 'extra/syslinux')
-rw-r--r-- | extra/syslinux/.footprint | 176 | ||||
-rw-r--r-- | extra/syslinux/.md5sum | 2 | ||||
-rw-r--r-- | extra/syslinux/Makefile.patch | 81 | ||||
-rw-r--r-- | extra/syslinux/Pkgfile | 19 |
4 files changed, 278 insertions, 0 deletions
diff --git a/extra/syslinux/.footprint b/extra/syslinux/.footprint new file mode 100644 index 000000000..e25f3987c --- /dev/null +++ b/extra/syslinux/.footprint @@ -0,0 +1,176 @@ +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/extlinux +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gethostip +-rwxr-xr-x root/root usr/bin/isohybrid +-rwxr-xr-x root/root usr/bin/keytab-lilo +-rwxr-xr-x root/root usr/bin/lss16toppm +-rwxr-xr-x root/root usr/bin/md5pass +-rwxr-xr-x root/root usr/bin/mkdiskimage +-rwxr-xr-x root/root usr/bin/ppmtolss16 +-rwxr-xr-x root/root usr/bin/sha1pass +-rwxr-xr-x root/root usr/bin/syslinux +-rwxr-xr-x root/root usr/bin/syslinux2ansi +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/extlinux.1.gz +-rw-r--r-- root/root usr/man/man1/gethostip.1.gz +-rw-r--r-- root/root usr/man/man1/lss16toppm.1.gz +-rw-r--r-- root/root usr/man/man1/ppmtolss16.1.gz +-rw-r--r-- root/root usr/man/man1/syslinux.1.gz +-rw-r--r-- root/root usr/man/man1/syslinux2ansi.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/syslinux/ +-rw-r--r-- root/root usr/share/syslinux/altmbr.bin +-rw-r--r-- root/root usr/share/syslinux/altmbr_c.bin +-rw-r--r-- root/root usr/share/syslinux/altmbr_f.bin +-rw-r--r-- root/root usr/share/syslinux/chain.c32 +-rw-r--r-- root/root usr/share/syslinux/cmd.c32 +drwxr-xr-x root/root usr/share/syslinux/com32/ +-rw-r--r-- root/root usr/share/syslinux/com32/com32.ld +drwxr-xr-x root/root usr/share/syslinux/com32/include/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/alloca.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/assert.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/bitsize/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/bitsize/limits.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/bitsize/stddef.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/bitsize/stdint.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/bitsize/stdintconst.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/bitsize/stdintlimits.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/colortbl.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/com32.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/console.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/cpufeature.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/ctype.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/dev.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/dirent.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/elf.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/endian.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/errno.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/fcntl.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/gplinclude/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/README +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/cpuid.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/gplinclude/dmi/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_base_board.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_battery.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_bios.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_chassis.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_ipmi.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_memory.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_processor.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/dmi/dmi_system.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/gplinclude/vpd/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/gplinclude/vpd/vpd.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/inttypes.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/klibc/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/klibc/archsetjmp.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/klibc/compiler.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/klibc/diverr.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/klibc/endian.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/klibc/extern.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/klibc/sysconfig.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/limits.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/math.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/minmax.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/netinet/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/netinet/in.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/png.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/pngconf.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/setjmp.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/stdarg.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/stdbool.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/stddef.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/stdint.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/stdio.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/stdlib.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/string.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/sys/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/cpu.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/elf32.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/elf64.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/elfcommon.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/fpu.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/io.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/pci.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/stat.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/time.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/times.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/sys/types.h +drwxr-xr-x root/root usr/share/syslinux/com32/include/syslinux/ +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/adv.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/advconst.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/align.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/boot.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/bootpm.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/bootrm.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/config.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/features.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/idle.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/io.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/keyboard.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/linux.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/loadfile.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/memscan.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/movebits.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/pxe.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/reboot.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/resolve.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/vesacon.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/video.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/syslinux/zio.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/time.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/tinyjpeg.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/unistd.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/zconf.h +-rw-r--r-- root/root usr/share/syslinux/com32/include/zlib.h +-rw-r--r-- root/root usr/share/syslinux/com32/libcom32.a +-rw-r--r-- root/root usr/share/syslinux/com32/libcom32gpl.a +-rw-r--r-- root/root usr/share/syslinux/com32/libutil_com.a +-rw-r--r-- root/root usr/share/syslinux/com32/libutil_lnx.a +-rw-r--r-- root/root usr/share/syslinux/config.c32 +-rw-r--r-- root/root usr/share/syslinux/copybs.com +-rw-r--r-- root/root usr/share/syslinux/cpuidtest.c32 +-rw-r--r-- root/root usr/share/syslinux/dmitest.c32 +-rw-r--r-- root/root usr/share/syslinux/elf.c32 +-rw-r--r-- root/root usr/share/syslinux/ethersel.c32 +-rw-r--r-- root/root usr/share/syslinux/gfxboot.com +-rw-r--r-- root/root usr/share/syslinux/gptmbr.bin +-rw-r--r-- root/root usr/share/syslinux/gptmbr_c.bin +-rw-r--r-- root/root usr/share/syslinux/gptmbr_f.bin +-rw-r--r-- root/root usr/share/syslinux/gpxelinux.0 +-rw-r--r-- root/root usr/share/syslinux/hdt.c32 +-rw-r--r-- root/root usr/share/syslinux/ifcpu64.c32 +-rw-r--r-- root/root usr/share/syslinux/isohdpfx.bin +-rw-r--r-- root/root usr/share/syslinux/isohdpfx_c.bin +-rw-r--r-- root/root usr/share/syslinux/isohdpfx_f.bin +-rw-r--r-- root/root usr/share/syslinux/isohdppx.bin +-rw-r--r-- root/root usr/share/syslinux/isohdppx_c.bin +-rw-r--r-- root/root usr/share/syslinux/isohdppx_f.bin +-rw-r--r-- root/root usr/share/syslinux/isolinux-debug.bin +-rw-r--r-- root/root usr/share/syslinux/isolinux.bin +-rw-r--r-- root/root usr/share/syslinux/kbdmap.c32 +-rw-r--r-- root/root usr/share/syslinux/linux.c32 +-rw-r--r-- root/root usr/share/syslinux/mboot.c32 +-rw-r--r-- root/root usr/share/syslinux/mbr.bin +-rw-r--r-- root/root usr/share/syslinux/mbr_c.bin +-rw-r--r-- root/root usr/share/syslinux/mbr_f.bin +-rw-r--r-- root/root usr/share/syslinux/memdisk +-rw-r--r-- root/root usr/share/syslinux/memdump.com +-rw-r--r-- root/root usr/share/syslinux/meminfo.c32 +-rw-r--r-- root/root usr/share/syslinux/menu.c32 +-rw-r--r-- root/root usr/share/syslinux/pcitest.c32 +-rw-r--r-- root/root usr/share/syslinux/pmload.c32 +-rw-r--r-- root/root usr/share/syslinux/poweroff.com +-rw-r--r-- root/root usr/share/syslinux/pxechain.com +-rw-r--r-- root/root usr/share/syslinux/pxelinux.0 +-rw-r--r-- root/root usr/share/syslinux/reboot.c32 +-rw-r--r-- root/root usr/share/syslinux/rosh.c32 +-rw-r--r-- root/root usr/share/syslinux/sanboot.c32 +-rw-r--r-- root/root usr/share/syslinux/sdi.c32 +-rw-r--r-- root/root usr/share/syslinux/syslinux.com +-rw-r--r-- root/root usr/share/syslinux/vesainfo.c32 +-rw-r--r-- root/root usr/share/syslinux/vesamenu.c32 +-rw-r--r-- root/root usr/share/syslinux/vpdtest.c32 diff --git a/extra/syslinux/.md5sum b/extra/syslinux/.md5sum new file mode 100644 index 000000000..a3d3c9fda --- /dev/null +++ b/extra/syslinux/.md5sum @@ -0,0 +1,2 @@ +6e1582f679cc2c7effd152620b30afea Makefile.patch +c9f4e73e385c86b3a8faf9b615a04836 syslinux-3.82.tar.bz2 diff --git a/extra/syslinux/Makefile.patch b/extra/syslinux/Makefile.patch new file mode 100644 index 000000000..5375190ba --- /dev/null +++ b/extra/syslinux/Makefile.patch @@ -0,0 +1,81 @@ +--- Makefile.orig 2008-10-02 10:33:21.000000000 +0200 ++++ Makefile 2008-10-02 10:39:30.000000000 +0200 +@@ -39,7 +39,7 @@ BTARGET = version.gen version.h version + BOBJECTS = $(BTARGET) \ + mbr/mbr.bin mbr/gptmbr.bin \ + core/pxelinux.0 core/isolinux.bin core/isolinux-debug.bin \ +- gpxe/gpxelinux.0 dos/syslinux.com win32/syslinux.exe \ ++ gpxe/gpxelinux.0 dos/syslinux.com \ + $(MODULES) + + # BSUBDIRs build the on-target binary components. +@@ -49,7 +49,7 @@ BOBJECTS = $(BTARGET) \ + # files that depend only on the B phase, but may have to be regenerated + # for "make installer". + BSUBDIRS = codepage core memdisk modules com32 mbr memdump gpxe sample \ +- libinstaller dos win32 ++ libinstaller dos + ITARGET = + IOBJECTS = $(ITARGET) dos/copybs.com \ + utils/gethostip utils/isohybrid utils/mkdiskimage \ +@@ -57,27 +57,17 @@ IOBJECTS = $(ITARGET) dos/copybs.com \ + ISUBDIRS = libinstaller mtools linux extlinux utils + + # Things to install in /usr/bin +-INSTALL_BIN = mtools/syslinux +-# Things to install in /sbin +-INSTALL_SBIN = extlinux/extlinux ++INSTALL_BIN = mtools/syslinux extlinux/extlinux + # Things to install in /usr/lib/syslinux + INSTALL_AUX = core/pxelinux.0 gpxe/gpxelinux.0 core/isolinux.bin \ + core/isolinux-debug.bin \ +- dos/syslinux.com dos/copybs.com win32/syslinux.exe \ ++ dos/syslinux.com dos/copybs.com \ + mbr/mbr.bin mbr/gptmbr.bin \ +- $(MODULES) +-INSTALL_AUX_OPT = win32/syslinux.exe ++ com32/menu/*.c32 com32/modules/*.c32 + + # These directories manage their own installables + INSTALLSUBDIRS = com32 utils + +-# Things to install in /boot/extlinux +-EXTBOOTINSTALL = $(MODULES) +- +-# Things to install in /tftpboot +-NETINSTALLABLE = core/pxelinux.0 gpxe/gpxelinux.0 \ +- $(MODULES) +- + all: + $(MAKE) all-local + set -e ; for i in $(BSUBDIRS) $(ISUBDIRS) ; do $(MAKE) -C $$i $@ ; done +@@ -102,11 +92,8 @@ version.mk: version version.pl + local-install: installer + mkdir -m 755 -p $(INSTALLROOT)$(BINDIR) + install -m 755 -c $(INSTALL_BIN) $(INSTALLROOT)$(BINDIR) +- mkdir -m 755 -p $(INSTALLROOT)$(SBINDIR) +- install -m 755 -c $(INSTALL_SBIN) $(INSTALLROOT)$(SBINDIR) + mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR) + install -m 644 -c $(INSTALL_AUX) $(INSTALLROOT)$(AUXDIR) +- -install -m 644 -c $(INSTALL_AUX_OPT) $(INSTALLROOT)$(AUXDIR) + mkdir -m 755 -p $(INSTALLROOT)$(MANDIR)/man1 + install -m 644 -c man/*.1 $(INSTALLROOT)$(MANDIR)/man1 + : mkdir -m 755 -p $(INSTALLROOT)$(MANDIR)/man8 +@@ -115,15 +102,7 @@ local-install: installer + install: local-install + set -e ; for i in $(INSTALLSUBDIRS) ; do $(MAKE) -C $$i $@ ; done + +-netinstall: installer +- mkdir -p $(INSTALLROOT)$(TFTPBOOT) +- install -m 644 $(NETINSTALLABLE) $(INSTALLROOT)$(TFTPBOOT) +- +-extbootinstall: installer +- mkdir -m 755 -p $(INSTALLROOT)$(EXTLINUXDIR) +- install -m 644 $(EXTBOOTINSTALL) $(INSTALLROOT)$(EXTLINUXDIR) +- +-install-all: install netinstall extbootinstall ++install-all: install + + local-tidy: + rm -f *.o *.elf *_bin.c stupid.* patch.offset + diff --git a/extra/syslinux/Pkgfile b/extra/syslinux/Pkgfile new file mode 100644 index 000000000..1a2b323a6 --- /dev/null +++ b/extra/syslinux/Pkgfile @@ -0,0 +1,19 @@ +# Description: Permet de démarrer Linux sur une partition autre que Linux +# URL: http://syslinux.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: mtools, nasm + +name=syslinux +version=3.82 +release=1 +source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$name-$version.tar.bz2\ + Makefile.patch) + +build() { + cd $name-$version + sed -i "s|win32/syslinux.exe||g" Makefile +# patch -p0 -i $SRC/Makefile.patch + make + make INSTALLROOT=$PKG install +} |