summaryrefslogtreecommitdiff
path: root/sys-boot/palo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-16 17:34:21 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-16 17:34:21 +0000
commit02e2208f46f4e2c00fb9743cbc47350bdd233bfa (patch)
tree132dd60828854db4f65f30f9230f43d9602507ff /sys-boot/palo
parent8be70107efbb417f839292165ee39d07a062046f (diff)
gentoo resync : 16.01.2018
Diffstat (limited to 'sys-boot/palo')
-rw-r--r--sys-boot/palo/Manifest3
-rw-r--r--sys-boot/palo/files/palo-2.00-toolchain.patch22
-rw-r--r--sys-boot/palo/palo-2.00.ebuild42
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest
index 3fb24d7c80ad..386a9561b873 100644
--- a/sys-boot/palo/Manifest
+++ b/sys-boot/palo/Manifest
@@ -1,8 +1,11 @@
AUX 99palo 19 BLAKE2B 6c0aef7b3b54456a283f112c2046ae8d4d99633c8a7ac943d1a8f826275d6521ed1d4ca2c3fa166a50cb4fbdbf06c9f948907b967012d8d886a123752ffc7c71 SHA512 1ca106eff8f34386b5fa6bd9f0bfb656567040a2d3bc18de8f6913c3b533369f7c267932904556517f599674226feec8a09df6965bc8f844cb7ca873f5f5d174
AUX palo-1.96-toolchain.patch 742 BLAKE2B 05e5b069ebd4323adaff7fe324d21aa06b303e686aa603f95bb255f74fa17a02cf133159ac04f3cc3a1ac64b5f54180c713eed8b03efa5e43c5ed78fccdb3937 SHA512 3b095d9cdd77fc9cc06731cccd2d7048bf18ba9e0348b74a0b77291dc543979c2107bc44a56b6820844c20cdb921bdebb8d4eb115246b2a1e6da073953cc1ce1
+AUX palo-2.00-toolchain.patch 532 BLAKE2B ef8df5bd7874ac88aa27b2864ee0baeb57e470e65bf39f9d33f19f42961f928f6a6e3ec69665750a0d1d90c66a4ab8479beb0d653a9e6a930d03b2bfadb8d65b SHA512 1c92b555f1456623e8657b33067693e4e13bbbbbebd55b13f2f6c86615133a39789cf323601993ffbcfac6c7f9e322ea4a1422f5663083d0b07f7efcdab34ab4
AUX palo-9999-toolchain.patch 607 BLAKE2B 1c20bd83d3ed1dee37631d66c2a160e2f56b55d82b16dca5ef738d8d9c563390f59d35c1a901e23177a1d8424857ab42fa530bfebe1d0688652a4f8bf1b6ea63 SHA512 8ef234d83d0c09c4a43f802990f5fa5638525d7ce05c89c6ae57871a076a840a09085ac05cce490d5c4ff94466fccc83650f39ab1d5ab94ea6b4f4825c77ab9d
AUX palo.conf 260 BLAKE2B 1e81466dcecedc4ca1894863491f4c91e88becc9a5c5815e69028eeadc98ca61e99951fb754a8261a6cdb763aaa22201ae77f65fd4de07bbbd3f3c801322e277 SHA512 4147e480362161cd61ad9af8fb7048b87f9126c213661ab26f77ba98fe7f1acd03791b154667137e4a265e3c31e54e703d32daa86ff0805f47bc7c1b8b03cfe6
DIST palo-1.99.tar.gz 123906 BLAKE2B 0180cc8398622119debbfaab34e7ace32e74fa60f0e8cb1fc5b36ee435f32f86c79f9beffa1e3d21c9fa3422f72cb8868b244e75aff022e9a6b03b16397d068f SHA512 b859144a5b145aa47d44926b69172818f1fdd577958649d72a99be26dd68d4e2f366acfaec406c8d09ac751ffcdd380b70606e4f3f66e42328d387fcd9022b73
+DIST palo-2.00.tar.gz 124484 BLAKE2B b46b616acf51534382f6a775b456cdcbd4771d6bc9d7a8339ad788a5c5a4a333e98a6e4815c40a6750408b1e8168a19800da11ddf7125621f77d478a651d9c75 SHA512 b6dab81e6c2641a64a40561a65b5412ee702136ac79dab94619e0094faf011e158c67e681f45d5aa51423f5f162da7c1fd07b391b58e8a2100e1306eb7148056
EBUILD palo-1.99.ebuild 882 BLAKE2B 59a732868a3db5eb6059d2020b607f20485ee99c5c30fb22cc0ce3bd48bbfb00599e7a0213e26d99e2e40804850ae36b62e333be1acdbf75cd313dca30e23c82 SHA512 4c2e26fa3b2a43b2fa20e0236485053a772364662d6b9a3f92994d427cc3382b00e0505b1f538e155e13706d01984884fe8505e50601d32a423571d815c98698
+EBUILD palo-2.00.ebuild 883 BLAKE2B 4a4d9c9f54b9d0461e098f3345dfec2bc2cc19c75f8713e1c137b2993d801c4c5339c7718cf4011fb1cccd44100e28b336c7feae4dca98c488f9ff7392a89e3c SHA512 5232fcd915edcc538625f9c0f909f517ddb39284ef3f9b79971c5129d58dd02ca40923f9d5efd2b364e1e9f090ea52d62202167432bb27f417d93b5ee96abc4b
EBUILD palo-9999.ebuild 968 BLAKE2B e5fa219a7f3d52e38adfef6cbbfba705d705d54a109d40c82f60feca03f85d260888041a3837c7fe7ad83d037107d95aa48bdad999a63e2b246d060abc899f51 SHA512 373154c2d8f19d8b64f5504190f97d8fce42fd49fef7503e5f5179ca3d7b9c7f5c7290ac09b46a79285a0983d6f5820008486aabf0bab1ae82195b8d30cab609
MISC metadata.xml 318 BLAKE2B 0d17e33c45886d0c0e03044b5b2513d44c1bb4a28d758a8575929536e866419328c68971ba3f324a5677ff68bf37b38a22645e4b02810a118b5f18026d0476c4 SHA512 7ff12a5eb42ac39840f8c9eb78b24aeecd9cbfe780d11eccd75fd6f02b11f4abafd514bc32f47f727047b069e446e9252914dcaf5c33d6f1054981a3c175fdef
diff --git a/sys-boot/palo/files/palo-2.00-toolchain.patch b/sys-boot/palo/files/palo-2.00-toolchain.patch
new file mode 100644
index 000000000000..168031714bc9
--- /dev/null
+++ b/sys-boot/palo/files/palo-2.00-toolchain.patch
@@ -0,0 +1,22 @@
+--- a/palo/Makefile
++++ b/palo/Makefile
+@@ -10,9 +10,9 @@
+ OS := $(shell uname -s)
+ CC?=cc
+ ifeq ($(strip ${OS}),HP-UX)
+-CFLAGS=-g -O -I../include -I../lib -I$(PA)/include
++CFLAGS=-O -I../include -I../lib -I$(PA)/include
+ else
+-CFLAGS=-g -O -I../include -I../lib -D_FILE_OFFSET_BITS=64
++CFLAGS=-O -I../include -I../lib -D_FILE_OFFSET_BITS=64
+ endif
+
+ ifneq ("$(wildcard /etc/debian_version)","")
+@@ -22,7 +22,6 @@
+ endif
+
+ # LDFLAGS=-Wl,-Bstatic
+-LDFLAGS=
+
+ OFILES2=mkbootable.o elf64.o load.o paloio.o elf32.o error.o gzip.o
+
diff --git a/sys-boot/palo/palo-2.00.ebuild b/sys-boot/palo/palo-2.00.ebuild
new file mode 100644
index 000000000000..db1c24ddc6bb
--- /dev/null
+++ b/sys-boot/palo/palo-2.00.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="PALO : PArisc Linux Loader"
+HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/"
+SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~hppa"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.00-toolchain.patch
+)
+
+src_compile() {
+ local target
+ for target in '-C palo' '-C ipl' 'iplboot'; do
+ emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) ${target}
+ done
+}
+
+src_install() {
+ into /
+ dosbin palo/palo
+
+ doman palo.8
+ dodoc TODO debian/changelog README.html
+
+ insinto /etc
+ doins "${FILESDIR}"/palo.conf
+
+ insinto /usr/share/palo
+ doins iplboot
+
+ insinto /etc/kernel/postinst.d/
+ insopts -m 0744
+ doins "${FILESDIR}"/99palo
+}