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/quik | |
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/quik')
-rw-r--r-- | sys-boot/quik/Manifest | 1 | ||||
-rw-r--r-- | sys-boot/quik/files/headers.patch | 33 | ||||
-rw-r--r-- | sys-boot/quik/files/md-fix.diff | 11 | ||||
-rw-r--r-- | sys-boot/quik/metadata.xml | 5 | ||||
-rw-r--r-- | sys-boot/quik/quik-2.1.6.ebuild | 44 |
5 files changed, 94 insertions, 0 deletions
diff --git a/sys-boot/quik/Manifest b/sys-boot/quik/Manifest new file mode 100644 index 000000000000..aa65d11d1186 --- /dev/null +++ b/sys-boot/quik/Manifest @@ -0,0 +1 @@ +DIST quik-2.1-6.ydl4.src.rpm 91961 RMD160 9f9c44fb7afc806de9700d75797bd19bb59a050f SHA1 0b6088469b93fb2a67a238b2c38f61ee5d166e87 SHA256 a4c8c95fa97ef0e01e7ca981442c8dc8761f79c9bc4c683bfde03378a8ee9db2 diff --git a/sys-boot/quik/files/headers.patch b/sys-boot/quik/files/headers.patch new file mode 100644 index 000000000000..eccfba698e17 --- /dev/null +++ b/sys-boot/quik/files/headers.patch @@ -0,0 +1,33 @@ +--- util/elfextract.c.bak 2006-12-04 23:08:33.000000000 -0500 ++++ util/elfextract.c 2006-12-04 23:08:45.000000000 -0500 +@@ -6,7 +6,7 @@ + #include <stdio.h> + #include <stdlib.h> + #define __KERNEL__ +-#include <linux/elf.h> ++#include <elf.h> + + FILE *fi, *fo; + char *ni, *no; +--- second/quik.h.bak 2006-12-04 23:10:08.000000000 -0500 ++++ second/quik.h 2006-12-04 23:10:12.000000000 -0500 +@@ -26,7 +26,7 @@ + int tolower(int c); + int stricmp(const char *s1, const char *s2); + int strncmp(const char * cs,const char * ct,size_t count); +-int strlen(const char *s1); ++// int strlen(const char *s1); + char *strcpy(char * dest,const char *src); + char *strncpy(char * dest,const char *src,size_t count); + char *strchr(const char * s, int c); +--- second/misc.c.bak 2010-02-09 22:18:47.000000000 -0500 ++++ second/misc.c 2010-02-09 22:18:52.000000000 -0500 +@@ -11,7 +11,7 @@ + */ + #include <linux/kernel.h> + +-#include <asm/page.h> ++// #include <asm/page.h> + + #include <sys/types.h> + #include "setjmp.h" diff --git a/sys-boot/quik/files/md-fix.diff b/sys-boot/quik/files/md-fix.diff new file mode 100644 index 000000000000..2319397d93f1 --- /dev/null +++ b/sys-boot/quik/files/md-fix.diff @@ -0,0 +1,11 @@ +--- include/quik_md.h.bak 2005-05-27 00:42:36.000000000 +1000 ++++ include/quik_md.h 2005-05-27 00:42:43.000000000 +1000 +@@ -88,8 +88,6 @@ + #define BOOTDEV(dev,i) ((dev)->devs[(i)]->bootdev) + #define SPART(dev,i) ((dev)->devs[(i)]->spart) + +-dev_info_t * new_dev_info (unsigned char); +-void free_dev_info (dev_info_t *); + int md_get_version (int); + mdev_info_t * md_get_info (const char *); + diff --git a/sys-boot/quik/metadata.xml b/sys-boot/quik/metadata.xml new file mode 100644 index 000000000000..034c09eb248a --- /dev/null +++ b/sys-boot/quik/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ppc</herd> +</pkgmetadata> diff --git a/sys-boot/quik/quik-2.1.6.ebuild b/sys-boot/quik/quik-2.1.6.ebuild new file mode 100644 index 000000000000..41566ab12651 --- /dev/null +++ b/sys-boot/quik/quik-2.1.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs mount-boot eutils + +MY_PV=${PV%.*}-${PV#*.*.} + +HOMEPAGE="http://penguinppc.org/bootloaders/quik/" +DESCRIPTION="OldWorld PowerMac Bootloader" +SRC_URI="http://www.shiner.info/files/Yellow%20Dog%20Linux%204/quik/quik-${MY_PV}.ydl4.src.rpm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ppc" +IUSE="" + +DEPEND="app-arch/rpm2targz" +RDEPEND="" + +S=${WORKDIR} + +src_unpack() { + cd "${WORKDIR}" + rpm2targz "${DISTDIR}/quik-${MY_PV}.ydl4.src.rpm" + tar -xzf "${WORKDIR}/quik-${MY_PV}.ydl4.src.tar.gz" || die + tar -xzf "${WORKDIR}/quik_2.1.orig.tar.gz" || die + + cd "${WORKDIR}/quik-2.1" + epatch "${WORKDIR}/quik_2.1-6.diff.gz" + epatch "${FILESDIR}/md-fix.diff" + epatch "${FILESDIR}/headers.patch" +} + +src_compile() { + cd "${WORKDIR}/quik-2.1" + emake || die +} + +src_install() { + cd "${WORKDIR}/quik-2.1" + DESTDIR=${D} make install + prepman /usr +} |