summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-06-19 11:12:11 +0000
committerDaniel Goller <morfic@gentoo.org>2005-06-19 11:12:11 +0000
commitfdb5909a1e3414d78cc3e0be186cafc0c982447e (patch)
treede9565adba4b00a9cd0925f4d0b63a264879e04e
parentUpdated to use virtual/glut (diff)
downloadhistorical-fdb5909a1e3414d78cc3e0be186cafc0c982447e.tar.gz
historical-fdb5909a1e3414d78cc3e0be186cafc0c982447e.tar.bz2
historical-fdb5909a1e3414d78cc3e0be186cafc0c982447e.zip
applying nopiessp patch
Package-Manager: portage-2.0.51.20-r4
-rw-r--r--sys-boot/yaboot/ChangeLog6
-rw-r--r--sys-boot/yaboot/Manifest27
-rw-r--r--sys-boot/yaboot/files/yaboot-nopiessp.patch51
-rw-r--r--sys-boot/yaboot/yaboot-1.3.13.ebuild3
4 files changed, 77 insertions, 10 deletions
diff --git a/sys-boot/yaboot/ChangeLog b/sys-boot/yaboot/ChangeLog
index 76d22aa464e4..c9477b69abf4 100644
--- a/sys-boot/yaboot/ChangeLog
+++ b/sys-boot/yaboot/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-boot/yaboot
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.15 2005/01/21 20:08:37 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.16 2005/06/19 11:12:11 morfic Exp $
+
+ 19 Jun 2005; Daniel Goller <morfic@gentoo.org>
+ +files/yaboot-nopiessp.patch, yaboot-1.3.13.ebuild:
+ adding nopiessp patch after confirmation
21 Jan 2005; Lars Weiler <pylon@gentoo.org> -yaboot-1.3.10-r1.ebuild,
-yaboot-1.3.10-r2.ebuild, -yaboot-1.3.10.ebuild, -yaboot-1.3.11.ebuild,
diff --git a/sys-boot/yaboot/Manifest b/sys-boot/yaboot/Manifest
index f82b5f123fc0..9dd428b5691d 100644
--- a/sys-boot/yaboot/Manifest
+++ b/sys-boot/yaboot/Manifest
@@ -1,18 +1,29 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 e5c4fea79f2ab70f871fcfeaaaf30812 yaboot-1.3.13.ebuild 1763
MD5 e44f4de522edc362073948d3ae907b54 yaboot-1.3.12-r1.ebuild 1730
-MD5 7d6672f7811b994c78f155f24de77d7f ChangeLog 5712
+MD5 ef2fbe1b4b5f5d8c210de4b10762c4fc ChangeLog 5860
MD5 9c2a69b11bc766ffdc32016e0bb1e967 metadata.xml 219
MD5 f234fa8a9bcd1937e4f7032a3b790ea6 yaboot-1.3.11-r1.ebuild 1160
-MD5 e3b8e3a5025cfb4832341b07487c59ba yaboot-1.3.13.ebuild 1720
MD5 627830060775688b9e45e1b1a6dd4cfe files/yaboot-1.3.12-k2sata-ofpath.patch 792
MD5 15c7e4852d3cc4ca21044014d33737ee files/chrpfix.patch 979
+MD5 ea6db5f8d6326bf51dfe4f085513e210 files/yaboot-nopiessp.patch 1884
+MD5 05ad83c8ec8ac7914cd6224a148daef6 files/yabootconfig-1.3.12.patch 1987
+MD5 de48fb3a5eb3326145096a19c6b07a6a files/yaboot-1.3.13-ofpath.patch 2921
+MD5 116ac118087f29161456b653a8429522 files/yabootconfig-1.3.13.patch 1655
MD5 22f651a4c0cd422e1245d3a905f9ce31 files/yabootconfig 18898
-MD5 707fd650a40d63439e1417660b062d2a files/yaboot-3.4.patch 292
-MD5 79f1707ceab2b7d7daa98a62e15ca98c files/digest-yaboot-1.3.11-r1 65
-MD5 2831519fd08125184e05a815a51d63ec files/digest-yaboot-1.3.12-r1 65
MD5 7ec6d127710031625482bca6563021eb files/digest-yaboot-1.3.13 65
MD5 e51befd96c8aaa36f151790fad733456 files/yaboot-1.3.11-ofpath-fix.patch 1974
-MD5 de48fb3a5eb3326145096a19c6b07a6a files/yaboot-1.3.13-ofpath.patch 2921
MD5 05ad83c8ec8ac7914cd6224a148daef6 files/yabootconfig-1.3.10.patch 1987
+MD5 707fd650a40d63439e1417660b062d2a files/yaboot-3.4.patch 292
+MD5 79f1707ceab2b7d7daa98a62e15ca98c files/digest-yaboot-1.3.11-r1 65
+MD5 2831519fd08125184e05a815a51d63ec files/digest-yaboot-1.3.12-r1 65
MD5 05ad83c8ec8ac7914cd6224a148daef6 files/yabootconfig-1.3.11.patch 1987
-MD5 05ad83c8ec8ac7914cd6224a148daef6 files/yabootconfig-1.3.12.patch 1987
-MD5 116ac118087f29161456b653a8429522 files/yabootconfig-1.3.13.patch 1655
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCtVHtUpKYMelfdYERAmTcAJ4nQ03B3pFnjTVppcZl4y0v2zwAWACfYiNm
+zkznUVPdzKhlQDRCh4YCSP0=
+=udkW
+-----END PGP SIGNATURE-----
diff --git a/sys-boot/yaboot/files/yaboot-nopiessp.patch b/sys-boot/yaboot/files/yaboot-nopiessp.patch
new file mode 100644
index 000000000000..1fd8ea42e6d0
--- /dev/null
+++ b/sys-boot/yaboot/files/yaboot-nopiessp.patch
@@ -0,0 +1,51 @@
+diff -Nrup yaboot-1.3.13.orig/Config.gentoo yaboot-1.3.13/Config.gentoo
+--- yaboot-1.3.13.orig/Config.gentoo 1970-01-01 00:00:00.000000000 +0000
++++ yaboot-1.3.13/Config.gentoo 2005-06-12 00:41:14.889576152 +0000
+@@ -0,0 +1,6 @@
++check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
++ then echo "$(1)"; else echo "$(2)"; fi)
++
++CFLAGS += $(call check_gcc, -fno-stack-protector)
++CFLAGS += $(call check_gcc, -nopie)
++
+diff -Nrup yaboot-1.3.13.orig/Makefile yaboot-1.3.13/Makefile
+--- yaboot-1.3.13.orig/Makefile 2004-07-11 20:12:03.000000000 +0000
++++ yaboot-1.3.13/Makefile 2005-06-12 00:41:14.890576000 +0000
+@@ -1,6 +1,7 @@
+ ## Setup
+
+ include Config
++include Config.gentoo
+
+ VERSION = 1.3.13
+ # Debug mode (spam/verbose)
+@@ -79,7 +80,7 @@ HOSTCFLAGS = -O2 $(CFLAGS) -Wall -I/usr/
+ OBJS = second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o \
+ second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o \
+ second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o \
+- lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o
++ lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o lib/ssp.o
+
+ ifeq ($(USE_MD5_PASSWORDS),y)
+ OBJS += second/md5.o
+diff -Nrup yaboot-1.3.13.orig/lib/ssp.c yaboot-1.3.13/lib/ssp.c
+--- yaboot-1.3.13.orig/lib/ssp.c 1970-01-01 00:00:00.000000000 +0000
++++ yaboot-1.3.13/lib/ssp.c 2005-06-12 00:42:17.087120688 +0000
+@@ -0,0 +1,17 @@
++unsigned long __guard = 0UL;
++static void __guard_setup (void) __attribute__ ((constructor));
++void __stack_smash_handler (char func[], int damaged
++ __attribute__ ((unused)));
++static void
++__guard_setup (void)
++{
++ if (__guard != 0UL)
++ return;
++ __guard = 0xFF0A0D00UL;
++}
++
++void
++__stack_smash_handler (char func[], int damaged)
++{
++ return;
++}
diff --git a/sys-boot/yaboot/yaboot-1.3.13.ebuild b/sys-boot/yaboot/yaboot-1.3.13.ebuild
index 1040d6539fca..99b74e8f96f2 100644
--- a/sys-boot/yaboot/yaboot-1.3.13.ebuild
+++ b/sys-boot/yaboot/yaboot-1.3.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.13.ebuild,v 1.3 2005/01/21 20:08:37 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.13.ebuild,v 1.4 2005/06/19 11:12:11 morfic Exp $
inherit eutils toolchain-funcs
@@ -42,6 +42,7 @@ src_compile() {
epatch ${FILESDIR}/chrpfix.patch
epatch ${FILESDIR}/yaboot-3.4.patch
epatch ${FILESDIR}/yaboot-${PV}-ofpath.patch
+ epatch ${FILESDIR}/yaboot-nopiessp.patch
emake ${MAKEOPTS} CC="$(tc-getCC)" || die
}