From 3ddd4ca2ef155539bfa0c0eee1c72dfbea49eee7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 7 Apr 2026 12:49:45 +0100 Subject: [PATCH] sys-boot/palo: add 2.29 Signed-off-by: Sam James --- sys-boot/palo/Manifest | 1 + sys-boot/palo/palo-2.29.ebuild | 50 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 sys-boot/palo/palo-2.29.ebuild diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest index 22179ed1dc7c8..269dddbd22c4c 100644 --- a/sys-boot/palo/Manifest +++ b/sys-boot/palo/Manifest @@ -1 +1,2 @@ DIST palo-2.28.tar.gz 133331 BLAKE2B 4e67528156813191cc334bc9e461f9741eee93ce2a9cf0edc1271c26f8515b7a1d3657478e6476d2d910f2e8a0e042583159e01c106b3eb034d944677f2296d5 SHA512 27188bbe654fa8c2f5ed30b9927db7957dfae450f1df5dcc7ff306520c4092c225c233cefeac5d9813663490a3ae703907ad92d3f12d87f853587ef7bbba5f50 +DIST palo-2.29.tar.gz 134680 BLAKE2B 9f6c88e052466bf4e155bf7531b9f25a2018e795af68c348e7f334b787aa1c4e4d9338bde0580d5e5378d5c72405fdef0527d884c6d39720cc3b2473a7b3c4e3 SHA512 d45b095a1168933febb704df208e9b2e8a16de093bd726a1f867dbf3a39c7bde302fb1263082a1f78c1cf9275a0792afd49e91a0c6519f3c9fc597e22604404f diff --git a/sys-boot/palo/palo-2.29.ebuild b/sys-boot/palo/palo-2.29.ebuild new file mode 100644 index 0000000000000..99d80c6b49755 --- /dev/null +++ b/sys-boot/palo/palo-2.29.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="PALO: PArisc Linux Loader" +HOMEPAGE="https://parisc.wiki.kernel.org/ https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/deller/${PN}.git/snapshot/${P}.tar.gz" + KEYWORDS="-* ~hppa" +fi + +LICENSE="GPL-2" +SLOT="0" + +PATCHES=( + "${FILESDIR}"/${PN}-2.28-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 + + insinto /usr/share/palo + doins iplboot + + insinto /etc + doins "${FILESDIR}"/palo.conf + + insinto /etc/kernel/postinst.d + insopts -m 0744 + doins "${FILESDIR}"/99palo + + doman palo.8 + + dodoc TODO debian/changelog README.html +}