diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-boot/palo | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-boot/palo')
-rw-r--r-- | sys-boot/palo/Manifest | 2 | ||||
-rw-r--r-- | sys-boot/palo/files/99palo | 3 | ||||
-rw-r--r-- | sys-boot/palo/files/palo-1.92-toolchain.patch | 20 | ||||
-rw-r--r-- | sys-boot/palo/files/palo-1.95-toolchain.patch | 27 | ||||
-rw-r--r-- | sys-boot/palo/files/palo.conf | 8 | ||||
-rw-r--r-- | sys-boot/palo/metadata.xml | 8 | ||||
-rw-r--r-- | sys-boot/palo/palo-1.92.ebuild | 47 | ||||
-rw-r--r-- | sys-boot/palo/palo-1.95.ebuild | 44 | ||||
-rw-r--r-- | sys-boot/palo/palo-9999.ebuild | 44 |
9 files changed, 203 insertions, 0 deletions
diff --git a/sys-boot/palo/Manifest b/sys-boot/palo/Manifest new file mode 100644 index 000000000000..0e4ce3f8a6be --- /dev/null +++ b/sys-boot/palo/Manifest @@ -0,0 +1,2 @@ +DIST palo_1.92.tar.gz 122554 SHA256 9782578cae5a990c5037e8a9feb43d3d6802412918b97c27a04c1b9113de3c4f SHA512 a0b01b12bf80c6727a9a5eff1189e7515d3f21e8fe68712d0cb944e06f6d0f91272e5457b97ed596f06fd51505c7f62f654d1d3081c79443023cbbd0cb98e58c WHIRLPOOL 46b498b48a35ff2557bf91182b2daa30211f0de37f3c986794de83c58b3b633ebca21c19542c16f8b9d229a5f81d1419189b72adde8d7b783fa053c605e73c14 +DIST palo_1.95.tar.xz 102884 SHA256 c168df0255e83f06cf5ae4fd5266f9ee51ba3e9412a9c1bf3131ecff52cec9e8 SHA512 91960a7bbf5a4985809a082d4e75ee25670f6030e701bc106807de4f89c3617e47cf39ef857684b62dcaf906571f6f095b3caa371793754495567f4a14cc8a9d WHIRLPOOL cdf119aa0892fecce4c4dae73053dd9f3c9745a17276012b1d6fb649e3e55eea561dec8f40feb52fb6477f5b289a61844d39c0d8d0ab2ba2a2501c1323b28305 diff --git a/sys-boot/palo/files/99palo b/sys-boot/palo/files/99palo new file mode 100644 index 000000000000..8caea49f51ad --- /dev/null +++ b/sys-boot/palo/files/99palo @@ -0,0 +1,3 @@ +#!/bin/sh + +palo -v diff --git a/sys-boot/palo/files/palo-1.92-toolchain.patch b/sys-boot/palo/files/palo-1.92-toolchain.patch new file mode 100644 index 000000000000..b72947b63699 --- /dev/null +++ b/sys-boot/palo/files/palo-1.92-toolchain.patch @@ -0,0 +1,20 @@ +--- a/palo/Makefile ++++ b/palo/Makefile +@@ -14,7 +14,7 @@ + ifeq ($(strip ${OS}),HP-UX) + CFLAGS=-g -O -I../include -I../lib -I$(PA)/include + else +-CFLAGS=-g -O -I../include -I../lib ++CFLAGS+= -O -I../include -I../lib + endif + + # LDFLAGS=-Wl,-Bstatic +@@ -34,7 +34,7 @@ + $(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o + + palo.a: $(OFILES) +- ar rv palo.a $? ++ $(AR) rv palo.a $? + + mkbootable: $(OFILES2) + $(CC) $(CFLAGS) $(LDFLAGS) -o mkbootable $(OFILES2) diff --git a/sys-boot/palo/files/palo-1.95-toolchain.patch b/sys-boot/palo/files/palo-1.95-toolchain.patch new file mode 100644 index 000000000000..1e70f2d5ebf0 --- /dev/null +++ b/sys-boot/palo/files/palo-1.95-toolchain.patch @@ -0,0 +1,27 @@ +--- a/palo/Makefile ++++ b/palo/Makefile +@@ -12,13 +12,12 @@ + 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 + + # LDFLAGS=-Wl,-Bstatic +-LDFLAGS= + + OFILES2=mkbootable.o elf64.o load.o paloio.o elf32.o error.o gzip.o + +@@ -34,7 +33,7 @@ + $(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o + + palo.a: $(OFILES) +- ar rv palo.a $? ++ $(AR) rv palo.a $? + + mkbootable: $(OFILES2) + $(CC) $(CFLAGS) $(LDFLAGS) -o mkbootable $(OFILES2) diff --git a/sys-boot/palo/files/palo.conf b/sys-boot/palo/files/palo.conf new file mode 100644 index 000000000000..8880b50b5f1f --- /dev/null +++ b/sys-boot/palo/files/palo.conf @@ -0,0 +1,8 @@ +# Please read the palo --help output for more info +# Non-commented lines are treated as command line arguments + +--commandline=2/vmlinux root=/dev/sda4 +--init-partitioned=/dev/sda + +#Uncomment this if you want a rescue kernel +#--recoverykernel=/boot/vmlinux.old diff --git a/sys-boot/palo/metadata.xml b/sys-boot/palo/metadata.xml new file mode 100644 index 000000000000..ed2a9d8b7fb8 --- /dev/null +++ b/sys-boot/palo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>hppa</herd> +<longdescription> +The PArisc Linux Loader +</longdescription> +</pkgmetadata> diff --git a/sys-boot/palo/palo-1.92.ebuild b/sys-boot/palo/palo-1.92.ebuild new file mode 100644 index 000000000000..d9cfe96fc2b2 --- /dev/null +++ b/sys-boot/palo/palo-1.92.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="PALO : PArisc Linux Loader" +HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/" +SRC_URI="http://dev.gentoo.org/~jer/${P/-/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* hppa" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.92-toolchain.patch + sed -i palo/Makefile -e '/^LDFLAGS=/d' || die +} + +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 + dohtml README.html + dodoc Changes TODO debian/changelog + + insinto /etc + doins "${FILESDIR}"/palo.conf + + insinto /usr/share/palo + doins iplboot + + insinto /etc/kernel/postinst.d/ + INSOPTIONS="-m 0744" doins "${FILESDIR}"/99palo +} diff --git a/sys-boot/palo/palo-1.95.ebuild b/sys-boot/palo/palo-1.95.ebuild new file mode 100644 index 000000000000..8c537acc0efb --- /dev/null +++ b/sys-boot/palo/palo-1.95.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="PALO : PArisc Linux Loader" +HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/" +SRC_URI="mirror://debian/pool/main/p/${PN}/${P/-/_}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* hppa" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.95-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 + dohtml README.html + dodoc Changes TODO debian/changelog + + insinto /etc + doins "${FILESDIR}"/palo.conf + + insinto /usr/share/palo + doins iplboot + + insinto /etc/kernel/postinst.d/ + INSOPTIONS="-m 0744" doins "${FILESDIR}"/99palo +} diff --git a/sys-boot/palo/palo-9999.ebuild b/sys-boot/palo/palo-9999.ebuild new file mode 100644 index 000000000000..e1bb604bc95e --- /dev/null +++ b/sys-boot/palo/palo-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic git-r3 toolchain-funcs + +DESCRIPTION="PALO : PArisc Linux Loader" +HOMEPAGE="http://parisc-linux.org/ https://parisc.wiki.kernel.org/" +EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/deller/palo.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.95-toolchain.patch + sed -i lib/common.h -e '/^#define PALOVERSION/{s|".*"|"'${PV}'"|g}' || die +} + +src_compile() { + emake AR=$(tc-getAR) CC=$(tc-getCC) LD=$(tc-getLD) \ + makepalo makeipl || die + emake CC=$(tc-getCC) iplboot || die +} + +src_install() { + into / + dosbin palo/palo + + doman palo.8 + dodoc palo.conf + dohtml README.html + + insinto /etc + doins "${FILESDIR}"/palo.conf + + insinto /usr/share/palo + doins iplboot + + insinto /etc/kernel/postinst.d/ + INSOPTIONS="-m 0744" doins "${FILESDIR}"/99palo +} |