summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-22 06:02:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-22 06:02:10 +0000
commit4a5a7a157f80fad21b46c54a46ebb2aeb1701d6a (patch)
treea4a50071b3b1c7bb83e4674f1e785babdc5be248 /sys-boot
parentold (diff)
downloadhistorical-4a5a7a157f80fad21b46c54a46ebb2aeb1701d6a.tar.gz
historical-4a5a7a157f80fad21b46c54a46ebb2aeb1701d6a.tar.bz2
historical-4a5a7a157f80fad21b46c54a46ebb2aeb1701d6a.zip
Version bump #151529 by Jesse Adelman.
Package-Manager: portage-2.1.2_pre3-r5
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/syslinux/ChangeLog8
-rw-r--r--sys-boot/syslinux/Manifest34
-rw-r--r--sys-boot/syslinux/files/digest-syslinux-3.313
-rw-r--r--sys-boot/syslinux/files/syslinux-3.31-nossp.patch172
-rw-r--r--sys-boot/syslinux/syslinux-3.31.ebuild41
5 files changed, 242 insertions, 16 deletions
diff --git a/sys-boot/syslinux/ChangeLog b/sys-boot/syslinux/ChangeLog
index be86771a0a70..e77d62f6329f 100644
--- a/sys-boot/syslinux/ChangeLog
+++ b/sys-boot/syslinux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-boot/syslinux
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.24 2006/09/18 14:13:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.25 2006/10/22 06:02:10 vapier Exp $
+
+*syslinux-3.31 (22 Oct 2006)
+
+ 22 Oct 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/syslinux-3.31-nossp.patch, +syslinux-3.31.ebuild:
+ Version bump #151529 by Jesse Adelman.
*syslinux-3.20 (18 Sep 2006)
diff --git a/sys-boot/syslinux/Manifest b/sys-boot/syslinux/Manifest
index e2a53fba58d7..104758c56062 100644
--- a/sys-boot/syslinux/Manifest
+++ b/sys-boot/syslinux/Manifest
@@ -21,11 +21,15 @@ AUX syslinux-3.11-nossp.patch 7205 RMD160 cced0b27c53f74e532aeab7725841147fc913b
MD5 bad31caf09744863cd7b3069f9884566 files/syslinux-3.11-nossp.patch 7205
RMD160 cced0b27c53f74e532aeab7725841147fc913b1a files/syslinux-3.11-nossp.patch 7205
SHA256 e7058fdd40dd4701281bba510d177eb2b0ebaecba2b5c61feb7b3163fa7f08da files/syslinux-3.11-nossp.patch 7205
+AUX syslinux-3.31-nossp.patch 7230 RMD160 35a134f0765f11b0fc57084e09e4959c9979d716 SHA1 500ad48e932fcecb96224f0ec05c6b135e9d60eb SHA256 22fff748fc850acd7467e7a92432801b43b41e98f5aab172701de6a392827ec7
+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
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.09.tar.bz2 1187431 RMD160 f7828394d4e36cb3f20521a4f118c1e0543032f4 SHA1 c7e769de2ed4a131a881015420184e3c98bb76e9 SHA256 e331cbc8ae831eceb126399ebeb55c52cac9929f5e1258d74f025e899b5c159e
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
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
@@ -34,10 +38,6 @@ EBUILD syslinux-2.13.ebuild 942 RMD160 01ffe8801e59e5c09bc29f9a8972349a6f2d65b7
MD5 87356b71e2805dafa9e2b0ff5bb21059 syslinux-2.13.ebuild 942
RMD160 01ffe8801e59e5c09bc29f9a8972349a6f2d65b7 syslinux-2.13.ebuild 942
SHA256 f7a270ff64d9d079c37ce6c07a782c912c1dd5277d07203eb7501d80de8b8ebc syslinux-2.13.ebuild 942
-EBUILD syslinux-3.09.ebuild 1088 RMD160 46a8dc18d320aaac2fccf0c91f70e565d71132a1 SHA1 763f7360960fdbfe4ac86a74433171768fb6dd00 SHA256 8589318d980a9d23a6d6992531a84e67d688bf7954313e3674743feaa88e0cb5
-MD5 db61b751c7b6ad05cdcc58e5805200db syslinux-3.09.ebuild 1088
-RMD160 46a8dc18d320aaac2fccf0c91f70e565d71132a1 syslinux-3.09.ebuild 1088
-SHA256 8589318d980a9d23a6d6992531a84e67d688bf7954313e3674743feaa88e0cb5 syslinux-3.09.ebuild 1088
EBUILD syslinux-3.11.ebuild 1136 RMD160 ddf786688ea7308b96cb863c6fbd5cd8b9c33568 SHA1 f7cbad8a8719a16648e3d0de43e025d2ff6ca066 SHA256 6005b29651a89218c6e109d667be99e65ddd2880657bc8f9e92eef3a0c045751
MD5 e81c8a44b04a919cf3fbef1ab5494d2f syslinux-3.11.ebuild 1136
RMD160 ddf786688ea7308b96cb863c6fbd5cd8b9c33568 syslinux-3.11.ebuild 1136
@@ -46,10 +46,14 @@ EBUILD syslinux-3.20.ebuild 1139 RMD160 2d205fe39eab4482031a2863c10cbb3aeccfce99
MD5 d7ef067ad0036a3d415352485e2ac096 syslinux-3.20.ebuild 1139
RMD160 2d205fe39eab4482031a2863c10cbb3aeccfce99 syslinux-3.20.ebuild 1139
SHA256 213cf9dcc9c911e9d35cefc3e78d5812c71ff32c1e414034da63074a31656bca syslinux-3.20.ebuild 1139
-MISC ChangeLog 4930 RMD160 920438a4128e7e0e183eca689ae5cbd100342af4 SHA1 7645a8d2db5cff577cff01b34ebc3f1c5f3f3dfb SHA256 e877a43b49259fadbf20f2f12077376b5d7de6f53bf24cf848d9ef77f176d881
-MD5 f3cb410a2c1724f03765f67db62f6ac9 ChangeLog 4930
-RMD160 920438a4128e7e0e183eca689ae5cbd100342af4 ChangeLog 4930
-SHA256 e877a43b49259fadbf20f2f12077376b5d7de6f53bf24cf848d9ef77f176d881 ChangeLog 4930
+EBUILD syslinux-3.31.ebuild 1120 RMD160 5991152a4d1eff1e22a21da125a8c7a1b560a9af SHA1 2959abae0584150247a552c2a5715f17221f1c21 SHA256 18ee706c02828ec9edbd626b250b6e0cf8acad66daa207d7f4af81188a024dda
+MD5 8deb09f4c516cf4cb6e71d4df0052ce3 syslinux-3.31.ebuild 1120
+RMD160 5991152a4d1eff1e22a21da125a8c7a1b560a9af syslinux-3.31.ebuild 1120
+SHA256 18ee706c02828ec9edbd626b250b6e0cf8acad66daa207d7f4af81188a024dda syslinux-3.31.ebuild 1120
+MISC ChangeLog 5111 RMD160 a5a056687a5457735fe5a16063ab2524f1e2ffaf SHA1 284c37a65642ec759d6e665518f8faf1fbb8f96b SHA256 f1ddb4834397ecddc68a8ec648e139163846a94ed1a284e1f0d319ef62812648
+MD5 e4d3c0936eeedf605134ef534642c929 ChangeLog 5111
+RMD160 a5a056687a5457735fe5a16063ab2524f1e2ffaf ChangeLog 5111
+SHA256 f1ddb4834397ecddc68a8ec648e139163846a94ed1a284e1f0d319ef62812648 ChangeLog 5111
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -60,19 +64,19 @@ SHA256 463a33e3c52d94de4e20eb84ab64340531bfac8ad83909d1b287885e39afceb8 files/di
MD5 eead5da572a75fa0ce47b2ccc3118980 files/digest-syslinux-2.13 244
RMD160 e8f5e10642c7b1825df2a76bc7a20ae013608390 files/digest-syslinux-2.13 244
SHA256 4090d22b35665d135889f0ba48db1b626ff96afbf85b1f9480f82cba6635e6d5 files/digest-syslinux-2.13 244
-MD5 5cdbf0f237f7462513c5b615697926ea files/digest-syslinux-3.09 247
-RMD160 a529aba00249566d7ad896ab9bbf7ff2c4b646c7 files/digest-syslinux-3.09 247
-SHA256 e08e8473b083eb8d0eaff16b6d5579dcd85d8c3d6ef4c9cee0964197c74a7ede files/digest-syslinux-3.09 247
MD5 36da65a68181abdaed3a5f3147978eeb files/digest-syslinux-3.11 247
RMD160 9c31099ff4e100d2c2065a50d70360935358fc5a files/digest-syslinux-3.11 247
SHA256 896122a4e6501f6bfc8db03e3b39946de08684b960e2457fa858f99efc7b8a96 files/digest-syslinux-3.11 247
MD5 00b0fc1e63f88b6c697268347bb8252c files/digest-syslinux-3.20 247
RMD160 c7db947bd29716def52e3d473752cff9a28ecaf8 files/digest-syslinux-3.20 247
SHA256 88eca6bc6d0e16b330277935724816c0279b4258fc1b2bac5a32c815f6af5af3 files/digest-syslinux-3.20 247
+MD5 ce480cd7e6c7be86c8d97503ea076413 files/digest-syslinux-3.31 247
+RMD160 124f59c883f45f95b46e58490b8edff5ce034b95 files/digest-syslinux-3.31 247
+SHA256 52adc5498a0e215b9db973a20bfbbd011e6ddd78dc9933c88abae3de4374ac95 files/digest-syslinux-3.31 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFDqmwamhnQswr0vIRAohBAJ9XkDtn/5wyjBUEbGB/p1Kft86qlACcDfJM
-GQoIfamhdCLuTp3QyO/r4Rg=
-=Sbbh
+iD8DBQFFOwmLamhnQswr0vIRAgViAJ9Jzavmpuf6COpneckQI5J/LEQq1gCfcfrL
+DTWZ7fDyJQ7P/vIYed48yUU=
+=LHoG
-----END PGP SIGNATURE-----
diff --git a/sys-boot/syslinux/files/digest-syslinux-3.31 b/sys-boot/syslinux/files/digest-syslinux-3.31
new file mode 100644
index 000000000000..e7541fec8c65
--- /dev/null
+++ b/sys-boot/syslinux/files/digest-syslinux-3.31
@@ -0,0 +1,3 @@
+MD5 5faae89d18baf92e28bc820c62270db9 syslinux-3.31.tar.bz2 1621330
+RMD160 e3c9bac6b6a5970fc2adae7ca5f27d8413ea1a44 syslinux-3.31.tar.bz2 1621330
+SHA256 57c4ca6e7836460297edcc45148373ec131157b29c184ee011b29ec491e010f0 syslinux-3.31.tar.bz2 1621330
diff --git a/sys-boot/syslinux/files/syslinux-3.31-nossp.patch b/sys-boot/syslinux/files/syslinux-3.31-nossp.patch
new file mode 100644
index 000000000000..157e9e30b943
--- /dev/null
+++ b/sys-boot/syslinux/files/syslinux-3.31-nossp.patch
@@ -0,0 +1,172 @@
+--- 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,9 +194,8 @@ libsyslinux.a: bootsect_bin.o ldlinux_bi
+ $(LIB_SO): bootsect_bin.o ldlinux_bin.o syslxmod.o
+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) -o $@ $^
+
+-gethostip.o: gethostip.c
+-
+-gethostip: gethostip.o
++gethostip: gethostip.c
++ $(CC) $(LDFLAGS) gethostip.c -o gethostip -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 @@ LD = ld -m elf_i386
+ 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 = -W -Wall -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
++CFLAGS = -W -Wall -fno-stack-protector -ffreestanding -msoft-float $(OPTFLAGS) $(INCLUDES)
+ 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 $(M32) $(FREE)
+-CFLAGS = -g -W -Wall -Wno-sign-compare \
++CFLAGS = -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 @@ LD = ld -m elf_i386
+ AR = ar
+ NASM = nasm
+ RANLIB = ranlib
+-CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include
++CFLAGS = -W -Wall -march=i386 -Os -fomit-frame-pointer -I../com32/include $(call gcc_ok,-fno-stack-protector,)
+ SFLAGS = -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 @@ ifeq ($(findstring CYGWIN,$(OSTYPE)),CYG
+ CC = gcc
+ AR = ar
+ RANLIB = ranlib
+-CFLAGS = -mno-cygwin -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
++CFLAGS = -mno-cygwin -W -Wall -fno-stack-protector -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+ PIC =
+ LDFLAGS = -mno-cygwin -Os -s
+ else
+@@ -37,7 +37,7 @@ AR = mingw-ar
+ RANLIB = mingw-ranlib
+ endif
+
+-CFLAGS = -W -Wall -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
++CFLAGS = -W -Wall -fno-stack-protector -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
+ PIC =
+ LDFLAGS = -Os -s
+ endif
diff --git a/sys-boot/syslinux/syslinux-3.31.ebuild b/sys-boot/syslinux/syslinux-3.31.ebuild
new file mode 100644
index 000000000000..867078df1aaa
--- /dev/null
+++ b/sys-boot/syslinux/syslinux-3.31.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.31.ebuild,v 1.1 2006/10/22 06:02:10 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.31-nossp.patch
+ epatch "${FILESDIR}"/syslinux-3.11-nopie.patch
+}
+
+src_compile() {
+ emake installer || die
+}
+
+src_install() {
+ make INSTALLROOT="${D}" install || die
+ dodoc README* NEWS TODO *.doc memdisk/memdisk.doc
+}