summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/syslinux/ChangeLog9
-rw-r--r--sys-boot/syslinux/Manifest30
-rw-r--r--sys-boot/syslinux/files/digest-syslinux-3.353
-rw-r--r--sys-boot/syslinux/files/syslinux-3.35-nopie.patch22
-rw-r--r--sys-boot/syslinux/files/syslinux-3.35-nossp.patch171
-rw-r--r--sys-boot/syslinux/syslinux-3.35.ebuild41
6 files changed, 268 insertions, 8 deletions
diff --git a/sys-boot/syslinux/ChangeLog b/sys-boot/syslinux/ChangeLog
index 5e603c47b2e1..d8900024e966 100644
--- a/sys-boot/syslinux/ChangeLog
+++ b/sys-boot/syslinux/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-boot/syslinux
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.28 2007/02/09 23:39:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.29 2007/02/09 23:52:51 vapier Exp $
+
+*syslinux-3.35 (09 Feb 2007)
+
+ 09 Feb 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/syslinux-3.35-nopie.patch, +files/syslinux-3.35-nossp.patch,
+ +syslinux-3.35.ebuild:
+ Version bump.
09 Feb 2007; Mike Frysinger <vapier@gentoo.org> syslinux-3.31.ebuild:
Remove pregenerated dependency files #155644 by Daniel Black.
diff --git a/sys-boot/syslinux/Manifest b/sys-boot/syslinux/Manifest
index 0fab65684023..3649518235f0 100644
--- a/sys-boot/syslinux/Manifest
+++ b/sys-boot/syslinux/Manifest
@@ -25,11 +25,20 @@ AUX syslinux-3.31-nossp.patch 7230 RMD160 35a134f0765f11b0fc57084e09e4959c9979d7
MD5 c16d9c5e4e90e770ecd49279df18a534 files/syslinux-3.31-nossp.patch 7230
RMD160 35a134f0765f11b0fc57084e09e4959c9979d716 files/syslinux-3.31-nossp.patch 7230
SHA256 22fff748fc850acd7467e7a92432801b43b41e98f5aab172701de6a392827ec7 files/syslinux-3.31-nossp.patch 7230
+AUX syslinux-3.35-nopie.patch 1183 RMD160 dfe706b7c0d9ff2dddcc88080af594d77e50bf43 SHA1 eee363ec51b248bba0e9774daca858955f9f8c83 SHA256 069fb6db5458440a1d4382f27ab528b280b19f7402d55f387424414dc88a19a4
+MD5 1222efb8063855a76f56c36b6cd0fd5b files/syslinux-3.35-nopie.patch 1183
+RMD160 dfe706b7c0d9ff2dddcc88080af594d77e50bf43 files/syslinux-3.35-nopie.patch 1183
+SHA256 069fb6db5458440a1d4382f27ab528b280b19f7402d55f387424414dc88a19a4 files/syslinux-3.35-nopie.patch 1183
+AUX syslinux-3.35-nossp.patch 7203 RMD160 79cc5731a6e514150dedda4567e4249ff3d5259d SHA1 7b8f406c869706e9f5b6c211ee4e059c216590e5 SHA256 836649d0c093e04e1541b9bf4256dbf09104aa150b454a019b2c73d545cbb0f1
+MD5 e841fe0d30b9dbd4a44ca3a4834de895 files/syslinux-3.35-nossp.patch 7203
+RMD160 79cc5731a6e514150dedda4567e4249ff3d5259d files/syslinux-3.35-nossp.patch 7203
+SHA256 836649d0c093e04e1541b9bf4256dbf09104aa150b454a019b2c73d545cbb0f1 files/syslinux-3.35-nossp.patch 7203
DIST syslinux-1.76.tar.gz 317136 RMD160 26285829b850a55ab7b0c5b3d0a0c6319c9ab869 SHA1 4d825114b3318566cd032e65f4ff754cca2c73fc SHA256 2ef0c8d03250f780139afe93d0758d5f121b81ae15b01edd625bb8a594e5e7a0
DIST syslinux-2.13.tar.bz2 421753 RMD160 fa11d68d2758b34b38d670f4866fb39eb4e246c4 SHA1 3c0bf23f35d91c5db7ad8976645ae86ab7320a85 SHA256 44aab24c05570e34a25e5192206098c3f220d7669be9cd9de9117d400a95c65e
DIST syslinux-3.11.tar.bz2 1253470 RMD160 38e75426f24f76eb85e3091317d2e9c997a774db SHA1 d04e012de1e6fed25083d1ba24d3c096493c2b3a SHA256 3baef57243c2475b46a913afe38bc7228ddc0297dfaa33e2213903eb9f130bd0
DIST syslinux-3.20.tar.bz2 1312757 RMD160 62af2508721515c21c642a13c3f9edfdd22bd07b SHA1 f086d9906241b2a90ba98bc3fa7b63176362482b SHA256 368a026df36a9afd73b9b98a036bb1de3aac041bb001633479b36cca86d4bca0
DIST syslinux-3.31.tar.bz2 1621330 RMD160 e3c9bac6b6a5970fc2adae7ca5f27d8413ea1a44 SHA1 ce564807f90602e25255f76dbd2bb806931c2c55 SHA256 57c4ca6e7836460297edcc45148373ec131157b29c184ee011b29ec491e010f0
+DIST syslinux-3.35.tar.bz2 1562254 RMD160 5496414de57dfa137eb70d214b8ca2f4c8aee04f SHA1 50fb685f4d49af8564a407062388ecbe2d9e4c2b SHA256 86026ede9cdaa29da5d9d5bc307f8552edf780179ab29ea21a9530d0e0176e9a
EBUILD syslinux-1.76.ebuild 760 RMD160 4af9451c06a5181b1669d2a0211ee5809d221528 SHA1 0875d9cf5e65ed403dc6beef7e2979394258417e SHA256 36185464249111439cf61edff2bfe5c1641fba22d8a1630e2f8e73511c6caca9
MD5 fad406869474fc3a7cfde4203eb896fe syslinux-1.76.ebuild 760
RMD160 4af9451c06a5181b1669d2a0211ee5809d221528 syslinux-1.76.ebuild 760
@@ -50,10 +59,14 @@ EBUILD syslinux-3.31.ebuild 1159 RMD160 e337d630e394c71a669253a1ea7cfa9258f0f151
MD5 6fc421b144ea0557979b446d2837326a syslinux-3.31.ebuild 1159
RMD160 e337d630e394c71a669253a1ea7cfa9258f0f151 syslinux-3.31.ebuild 1159
SHA256 0681ba058e5666f62fd576cb1a9272ee366f7c98fb69eeae99d8c14f0e44bbe6 syslinux-3.31.ebuild 1159
-MISC ChangeLog 5460 RMD160 a107b766b89fd8599c90e995db158051b60428ad SHA1 143d92d9f06954f7e4dbd2314fb57f22d3ab87f2 SHA256 113f486f8531bf0d7eebe334604c36f668bd44860d2e0977e80a761d65693e13
-MD5 6d7433d0de1f4bb0524b7081ef8f6e4d ChangeLog 5460
-RMD160 a107b766b89fd8599c90e995db158051b60428ad ChangeLog 5460
-SHA256 113f486f8531bf0d7eebe334604c36f668bd44860d2e0977e80a761d65693e13 ChangeLog 5460
+EBUILD syslinux-3.35.ebuild 1120 RMD160 bcfd072fbffd643b19748675b9d83a0221c3b69b SHA1 314cc2d8bb2696ef38d73d01e1747e2e2ad43ffb SHA256 baec2756c02307fe28ab28abc586227228acae185b87f35e831a3d35612751df
+MD5 7201c5823db692b0321b708cdac2c85e syslinux-3.35.ebuild 1120
+RMD160 bcfd072fbffd643b19748675b9d83a0221c3b69b syslinux-3.35.ebuild 1120
+SHA256 baec2756c02307fe28ab28abc586227228acae185b87f35e831a3d35612751df syslinux-3.35.ebuild 1120
+MISC ChangeLog 5652 RMD160 872140968ff284b51a4afd0d4ef890ee07bbf6e5 SHA1 a1509ab4497d2cad39f365db0369f1940591c4b9 SHA256 f144f79eb6d5552257fea31a8d37b7c1dacaf875474139e6842f5df529e20fea
+MD5 5d2fd34fed932455786d770881c9754e ChangeLog 5652
+RMD160 872140968ff284b51a4afd0d4ef890ee07bbf6e5 ChangeLog 5652
+SHA256 f144f79eb6d5552257fea31a8d37b7c1dacaf875474139e6842f5df529e20fea ChangeLog 5652
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -73,10 +86,13 @@ SHA256 88eca6bc6d0e16b330277935724816c0279b4258fc1b2bac5a32c815f6af5af3 files/di
MD5 ce480cd7e6c7be86c8d97503ea076413 files/digest-syslinux-3.31 247
RMD160 124f59c883f45f95b46e58490b8edff5ce034b95 files/digest-syslinux-3.31 247
SHA256 52adc5498a0e215b9db973a20bfbbd011e6ddd78dc9933c88abae3de4374ac95 files/digest-syslinux-3.31 247
+MD5 3f35cb8ce38d23611ab893cb274e9bbb files/digest-syslinux-3.35 247
+RMD160 26c33f5ac6e04ac36be1cde46597bdaaf23a5a7a files/digest-syslinux-3.35 247
+SHA256 4162874126286257908ce2f4bc78c57445bc56658a93f75927e0011e21ee3def files/digest-syslinux-3.35 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFFzQY68bi6rjpTunYRAlHRAKDUxzi/eAwb3E+LJpAOD675Ui/TkwCfXIOg
-7b6RRo0pnqKrgZ5++oTCk2w=
-=YQ1B
+iD8DBQFFzQlh8bi6rjpTunYRAp51AKCSpmtWkPkaoNz+jrXLvkuuED2HbwCgzJyR
+B07hif4Bl/tUbuHoZh8uycQ=
+=CGWT
-----END PGP SIGNATURE-----
diff --git a/sys-boot/syslinux/files/digest-syslinux-3.35 b/sys-boot/syslinux/files/digest-syslinux-3.35
new file mode 100644
index 000000000000..675a231ea155
--- /dev/null
+++ b/sys-boot/syslinux/files/digest-syslinux-3.35
@@ -0,0 +1,3 @@
+MD5 e6e1436a61bd024844426f5f7a9fd727 syslinux-3.35.tar.bz2 1562254
+RMD160 5496414de57dfa137eb70d214b8ca2f4c8aee04f syslinux-3.35.tar.bz2 1562254
+SHA256 86026ede9cdaa29da5d9d5bc307f8552edf780179ab29ea21a9530d0e0176e9a syslinux-3.35.tar.bz2 1562254
diff --git a/sys-boot/syslinux/files/syslinux-3.35-nopie.patch b/sys-boot/syslinux/files/syslinux-3.35-nopie.patch
new file mode 100644
index 000000000000..fb930577a6ee
--- /dev/null
+++ b/sys-boot/syslinux/files/syslinux-3.35-nopie.patch
@@ -0,0 +1,22 @@
+--- syslinux/com32/libutil/Makefile
++++ syslinux/com32/libutil/Makefile
+@@ -40,7 +40,7 @@
+ AR = ar
+ NASM = nasm
+ RANLIB = ranlib
+-CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include $(call gcc_ok,-fno-stack-protector,)
++CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-nopie,)
+ SFLAGS = $(M32) -D__COM32__ -march=i386
+ LDFLAGS = -T ../lib/com32.ld
+ LNXCFLAGS = -I./include -W -Wall -fno-stack-protector -O -g
+--- syslinux/dos/Makefile
++++ syslinux/dos/Makefile
+@@ -3,7 +3,7 @@
+ OBJCOPY = objcopy
+ OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
+ INCLUDES = -include code16.h -I. -I.. -I../libfat
+-CFLAGS = -m32 -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES) -fno-stack-protector
++CFLAGS = -m32 -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES) -fno-stack-protector -nopie
+ LDFLAGS = -T com16.ld
+ AR = ar
+ RANLIB = ranlib
diff --git a/sys-boot/syslinux/files/syslinux-3.35-nossp.patch b/sys-boot/syslinux/files/syslinux-3.35-nossp.patch
new file mode 100644
index 000000000000..9d52aaac36d3
--- /dev/null
+++ b/sys-boot/syslinux/files/syslinux-3.35-nossp.patch
@@ -0,0 +1,171 @@
+--- syslinux/Makefile
++++ syslinux/Makefile
+@@ -18,7 +18,7 @@
+ OSTYPE = $(shell uname -msr)
+ CC = gcc
+ INCLUDE =
+-CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
++CFLAGS = -W -Wall -fno-stack-protector -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+ PIC = -fPIC
+ LDFLAGS = -O2 -s
+ AR = ar
+@@ -194,8 +194,8 @@
+ $(LIB_SO): bootsect_bin.o ldlinux_bin.o syslxmod.o
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) -o $@ $^
+
+-gethostip: gethostip.o
+- $(CC) $(LDFLAGS) -o $@ $^
++gethostip: gethostip.c
++ $(CC) $(LDFLAGS) -o $@ $^ -fno-stack-protector
+
+ mkdiskimage: mkdiskimage.in mbr.bin bin2hex.pl
+ $(PERL) bin2hex.pl < mbr.bin | cat mkdiskimage.in - > $@
+--- syslinux/com32/lib/MCONFIG
++++ syslinux/com32/lib/MCONFIG
+@@ -23,7 +23,7 @@
+
+ REQFLAGS = -g -m32 -mregparm=3 -DREGPARM=3 -D__COM32__ -I. -I./sys -I../include
+ OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 \
+- -falign-labels=0 -ffast-math -fomit-frame-pointer
++ -falign-labels=0 -ffast-math -fomit-frame-pointer -fno-stack-protector
+ WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
+
+ CFLAGS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) \
+--- syslinux/com32/libutil/Makefile
++++ syslinux/com32/libutil/Makefile
+@@ -40,10 +40,10 @@ LD = ld -m elf_i386
+ AR = ar
+ NASM = nasm
+ RANLIB = ranlib
+-CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include
++CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -D__COM32__ -W -Wall -march=i386 -Os -fomit-frame-pointer -I./include -I../include $(call gcc_ok,-fno-stack-protector,)
+ SFLAGS = $(M32) -D__COM32__ -march=i386
+ LDFLAGS = -T ../lib/com32.ld
+-LNXCFLAGS = -I./include -W -Wall -O -g
++LNXCFLAGS = -I./include -W -Wall -O -g $(call gcc_ok,-fno-stack-protector,)
+ LNXSFLAGS = -g
+ LNXLDFLAGS = -g
+ OBJCOPY = objcopy
+--- syslinux/com32/modules/Makefile
++++ syslinux/com32/modules/Makefile
+@@ -25,8 +25,8 @@ LD = ld -m elf_i386
+ AR = ar
+ NASM = nasm
+ RANLIB = ranlib
+-CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
+-LNXCFLAGS = -W -Wall -O -g -I../libutil/include
++CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__ $(call gcc_ok,-fno-stack-protector,)
++LNXCFLAGS = -W -Wall -O -g -I../libutil/include $(call gcc_ok,-fno-stack-protector,)
+ LNXSFLAGS = -g
+ LNXLDFLAGS = -g
+ SFLAGS = -D__COM32__ -march=i386
+--- syslinux/com32/samples/Makefile
++++ syslinux/com32/samples/Makefile
+@@ -25,8 +25,8 @@ LD = ld -m elf_i386
+ AR = ar
+ NASM = nasm
+ RANLIB = ranlib
+-CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__
+-LNXCFLAGS = -W -Wall -O -g -I../libutil/include
++CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I../libutil/include -I../include -D__COM32__ $(call gcc_ok,-fno-stack-protector,)
++LNXCFLAGS = -W -Wall -O -g -I../libutil/include $(call gcc_ok,-fno-stack-protector,)
+ LNXSFLAGS = -g
+ LNXLDFLAGS = -g
+ SFLAGS = -D__COM32__ -march=i386
+--- syslinux/dos/Makefile
++++ syslinux/dos/Makefile
+@@ -3,7 +3,7 @@
+ OBJCOPY = objcopy
+ OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer
+ INCLUDES = -include code16.h -I. -I.. -I../libfat
+-CFLAGS = -m32 -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
++CFLAGS = -m32 -mregparm=3 -DREGPARM=3 -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES) -fno-stack-protector
+ LDFLAGS = -T com16.ld
+ AR = ar
+ RANLIB = ranlib
+--- syslinux/extlinux/Makefile
++++ syslinux/extlinux/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ OPTFLAGS = -g -Os
+ INCLUDES = -I. -I.. -I../libfat
+-CFLAGS = -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
++CFLAGS = -W -Wall -fno-stack-protector -Wno-sign-compare -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
+ LDFLAGS = -s
+
+ SRCS = extlinux.c ../extlinux_bss_bin.c ../extlinux_sys_bin.c
+--- syslinux/memdisk/Makefile
++++ syslinux/memdisk/Makefile
+@@ -20,7 +20,7 @@ M32 := $(call gcc_ok,-m32,)
+ FREE := $(call gcc_ok,-ffreestanding,)
+
+ CC = gcc
+-CFLAGS = $(M32) $(FREE) -g -W -Wall -Wno-sign-compare \
++CFLAGS = $(M32) $(FREE) -g -W -Wall -Wno-sign-compare $(call gcc_ok,-fno-stack-protector,) \
+ -Os -fomit-frame-pointer -march=i386 $(ALIGN) \
+ -DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'
+ LDFLAGS = -g
+--- syslinux/menu/Makefile
++++ syslinux/menu/Makefile
+@@ -5,7 +5,7 @@ M32 := $(call gcc_ok,-m32,)
+ COM32DIR = ../com32
+ LUDIR = $(COM32DIR)/libutil
+ LDIR = $(COM32DIR)/lib
+-CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -I$(COM32DIR)/include -Ilibmenu -D__COM32__
++CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -I$(COM32DIR)/include -Ilibmenu -D__COM32__ $(call gcc_ok,-fno-stack-protector,)
+ SFLAGS = -D__COM32__ -march=i386
+ LDFLAGS = -T $(LDIR)/com32.ld
+ OBJCOPY = objcopy
+--- syslinux/mtools/Makefile
++++ syslinux/mtools/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ OPTFLAGS = -g -Os
+ INCLUDES = -I. -I.. -I../libfat
+-CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
++CFLAGS = -W -Wall -fno-stack-protector -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
+ LDFLAGS = -s
+
+ SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c $(wildcard ../libfat/*.c)
+--- syslinux/sample/Makefile
++++ syslinux/sample/Makefile
+@@ -25,7 +25,7 @@
+ AR = ar
+ NASM = nasm
+ RANLIB = ranlib
+-CFLAGS = $(M32) -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include
++CFLAGS = $(M32) -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include $(call gcc_ok,-fno-stack-protector,)
+ SFLAGS = $(M32) -march=i386
+ LDFLAGS = -s
+ OBJCOPY = objcopy
+--- syslinux/unix/Makefile
++++ syslinux/unix/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ OPTFLAGS = -g -Os
+ INCLUDES = -I. -I.. -I../libfat
+-CFLAGS = -W -Wall -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
++CFLAGS = -W -Wall -fno-stack-protector -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES)
+ LDFLAGS = -s
+
+ SRCS = syslinux.c ../syslxmod.c ../bootsect_bin.c ../ldlinux_bin.c $(wildcard ../libfat/*.c)
+--- syslinux/win32/Makefile
++++ syslinux/win32/Makefile
+@@ -23,7 +23,7 @@
+ WINCC = gcc
+ WINAR = ar
+ WINRANLIB = ranlib
+-WINCFLAGS = -mno-cygwin -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
++WINCFLAGS = -mno-cygwin -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -fno-stack-protector
+ WINPIC =
+ WINLDFLAGS = -mno-cygwin -Os -s
+ else
+@@ -37,7 +37,7 @@
+ WINRANLIB = mingw-ranlib
+ endif
+
+-WINCFLAGS = -W -Wall -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
++WINCFLAGS = -W -Wall -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -fno-stack-protector
+ WINPIC =
+ WINLDFLAGS = -Os -s
+ endif
diff --git a/sys-boot/syslinux/syslinux-3.35.ebuild b/sys-boot/syslinux/syslinux-3.35.ebuild
new file mode 100644
index 000000000000..4854533c1f86
--- /dev/null
+++ b/sys-boot/syslinux/syslinux-3.35.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.35.ebuild,v 1.1 2007/02/09 23:52:51 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader"
+HOMEPAGE="http://syslinux.zytor.com/"
+SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-fs/mtools"
+DEPEND="${RDEPEND}
+ dev-lang/nasm"
+
+# This ebuild is a departure from the old way of rebuilding everything in syslinux
+# This departure is necessary since hpa doesn't support the rebuilding of anything other
+# than the installers.
+
+# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f gethostip #137081
+ epatch "${FILESDIR}"/syslinux-3.35-nossp.patch
+ epatch "${FILESDIR}"/syslinux-3.35-nopie.patch
+}
+
+src_compile() {
+ emake installer || die
+}
+
+src_install() {
+ make INSTALLROOT="${D}" install || die
+ dodoc README* NEWS TODO *.doc memdisk/memdisk.doc
+}