summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-03-08 05:06:32 +0000
committerJeroen Roovers <jer@gentoo.org>2010-03-08 05:06:32 +0000
commit7fa1ef3b3e462bbddd7da77ef2f5250a399b4ed3 (patch)
treeca63f360ad9e19b081643f1520c0e41b29f27e92 /sys-boot
parentnote another test-related bug (diff)
downloadhistorical-7fa1ef3b3e462bbddd7da77ef2f5250a399b4ed3.tar.gz
historical-7fa1ef3b3e462bbddd7da77ef2f5250a399b4ed3.tar.bz2
historical-7fa1ef3b3e462bbddd7da77ef2f5250a399b4ed3.zip
Version bump with only trivial changes, but with an extra patch to build with -D_FORTIFY_SOURCE=2.
Package-Manager: portage-2.2_rc65/cvs/Linux i686
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/palo/ChangeLog11
-rw-r--r--sys-boot/palo/Manifest5
-rw-r--r--sys-boot/palo/files/palo-1.17-fortify-source.patch15
-rw-r--r--sys-boot/palo/palo-1.17.ebuild48
4 files changed, 76 insertions, 3 deletions
diff --git a/sys-boot/palo/ChangeLog b/sys-boot/palo/ChangeLog
index 70762b174c5b..0de8b796b33e 100644
--- a/sys-boot/palo/ChangeLog
+++ b/sys-boot/palo/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-boot/palo
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/palo/ChangeLog,v 1.23 2009/08/14 14:02:37 jer Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/palo/ChangeLog,v 1.24 2010/03/08 05:06:30 jer Exp $
+
+*palo-1.17 (08 Mar 2010)
+
+ 08 Mar 2010; Jeroen Roovers <jer@gentoo.org> +palo-1.17.ebuild,
+ +files/palo-1.17-fortify-source.patch:
+ Version bump with only trivial changes, but with an extra patch to build
+ with -D_FORTIFY_SOURCE=2.
14 Aug 2009; Jeroen Roovers <jer@gentoo.org> -palo-1.2_pre20030630.ebuild,
-palo-1.3_pre20040303.ebuild, -palo-1.5_pre20040515.ebuild,
diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest
index 8ed4f3d90cb0..3b8be4e1311f 100644
--- a/sys-boot/palo/Manifest
+++ b/sys-boot/palo/Manifest
@@ -1,8 +1,11 @@
AUX palo-1.16_p1-build.patch 1045 RMD160 9ceec2a8b8adc2677653f8cd1c0b72cae3f04062 SHA1 bf479b78b9f5ac76e81a6aa712929ca7aa52721b SHA256 6b236237ba2fe3a10bb9f8463b87df69a61a75d546b519151304eb3415bd3598
AUX palo-1.16_p1-version.patch 347 RMD160 97c7fc3a3cc6e60cd6efa72b44fb34f0eb55cc0a SHA1 9ea469638b1458af2d32af4bad7f49482ed1760d SHA256 e2805f3ecf560ac4be329897ef8c96fd6f17512ab1a8e726ac5e030aeee1b459
+AUX palo-1.17-fortify-source.patch 474 RMD160 26278524eb56b15d82f3104234e53258ee0cf26f SHA1 1beaf13281151c83180fbec58dc3e971dbccbf46 SHA256 5a071e673ce5df48aeb124973acdaefef25390d0f15bf2f4de82d4d41af4f61b
AUX palo-remove-HOME-TERM.patch 3605 RMD160 1837ffee8e2268e91d0e7473cfe9d6179727a436 SHA1 b203fdce28f6bcf6bcc8a7739531788a36d8f6d3 SHA256 4e490602078102ed475535be892ab3f3ef535c3f133bb10b926a9ea029acfe8d
AUX palo.conf 207 RMD160 648432e3819a34cc2034722d8db1438bd5244f24 SHA1 70359b6c8925520a6749b8be3fa3f30d0ae4e5cd SHA256 191d665eee73ff654763d6c4399cb46d86fe24b00140ba1eea0601b339ebb92a
DIST palo_1.16+nmu1.tar.gz 109535 RMD160 ddb23f129dc3d6a8bc3e89597f68fb3ef70e71bf SHA1 870622a9ac7917b3421fbdf6dafcf3cbffdaedb5 SHA256 f83d93c4201d94693c15d90d8cafca24bad1e45cf688f749d48b60778585db75
+DIST palo_1.17.tar.gz 106434 RMD160 5deb8a5b128dc267889c70f87caff293035ba70b SHA1 894a73fd67fcd9c5bcef7e8f2886ad5a36db8837 SHA256 1ec82934714637ba66393f995f2462e41e427b9fb80f6a6e40b61cd2fb804a30
EBUILD palo-1.16_p1.ebuild 1081 RMD160 ee5dcb17bfe9106a7c66cd2e45a8020b56a4de5f SHA1 1c6beaba8fd89aed7bba67867af5aa088339a3ab SHA256 25a79783bd650ce7e24e48727d7dfe59114157b02d541b59099cd0965574a464
-MISC ChangeLog 4307 RMD160 94923cef6208c00d9dab002da73d2e1f337a663e SHA1 874ef05c4bfc73f50661a6c4ec60e976516a8e58 SHA256 eb3300ce7e289c1c8d19b8950506a07a286863d98e0d8f03cca9189962a8b7f4
+EBUILD palo-1.17.ebuild 1061 RMD160 9c05d9cfc3edbbda07e274b5775c887808bb7705 SHA1 538d157d0da170c795d341f85049a4e4a157252f SHA256 274d0848b6259f66d8642ffc178b0f65ce53a81eade86ad8bed33351a1253f56
+MISC ChangeLog 4544 RMD160 4bcb0a34f3d45b2323c94b94aaaad264314828a8 SHA1 92661fcc9df7cb24f6c0b841941aed4b40c08f0a SHA256 e2a222979a8e498bca952170f9280499a1d8150e2580fdf24f18f5b8f0f2766f
MISC metadata.xml 218 RMD160 7ebffdd97a99332a813fc08c76d8778cbaf6fbb1 SHA1 bf9a67f41e2a502fdd350ad6dc013c6a8610bd3d SHA256 d1a75fab2f73415e8705e229079747d610911988eefba166afeba4a965edeaad
diff --git a/sys-boot/palo/files/palo-1.17-fortify-source.patch b/sys-boot/palo/files/palo-1.17-fortify-source.patch
new file mode 100644
index 000000000000..6a6adcdafdca
--- /dev/null
+++ b/sys-boot/palo/files/palo-1.17-fortify-source.patch
@@ -0,0 +1,15 @@
+ * palo/palo.c: Supply a mode to open() to go with the O_CREAT flag.
+
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506083
+
+--- a/palo/palo.c
++++ b/palo/palo.c
+@@ -479,7 +479,7 @@
+ error(14, "bootloader");
+
+ sprintf(badblockfilename, "/tmp/paloblk-%d", getpid());
+- if ((fd = open(badblockfilename, O_RDWR | O_CREAT | O_TRUNC)) < 0) {
++ if ((fd = open(badblockfilename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0) {
+ perror(badblockfilename);
+ exit(1);
+ }
diff --git a/sys-boot/palo/palo-1.17.ebuild b/sys-boot/palo/palo-1.17.ebuild
new file mode 100644
index 000000000000..2a777ae2433b
--- /dev/null
+++ b/sys-boot/palo/palo-1.17.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/palo/palo-1.17.ebuild,v 1.1 2010/03/08 05:06:30 jer Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="PALO : PArisc Linux Loader"
+HOMEPAGE="http://parisc-linux.org/"
+SRC_URI="mirror://debian/pool/main/p/${PN}/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~hppa"
+IUSE=""
+
+DEPEND=""
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch \
+ "${FILESDIR}"/${PN}-remove-HOME-TERM.patch \
+ "${FILESDIR}"/${PN}-1.16_p1-build.patch \
+ "${FILESDIR}"/${PN}-1.17-fortify-source.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake -C palo || die "make palo failed"
+ emake -C ipl || die "make ipl failed"
+ emake MACHINE=parisc iplboot || die "make iplboot failed"
+}
+
+src_install() {
+ into /
+ dosbin palo/palo || die
+
+ doman palo.8
+ dohtml README.html
+ dodoc README palo.conf
+
+ insinto /etc
+ doins "${FILESDIR}"/palo.conf || die
+
+ insinto /usr/share/palo
+ doins iplboot || die
+}