summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-12-09 08:13:57 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-12-09 08:13:57 +0000
commit3a09a380ef4470365e58aaf172a8dc633083f35c (patch)
treea20110c13e04001056e70b856e8b6543d8c57ca8 /sys-boot/quik
parentadded sys-boot category for bootloaders (diff)
downloadgentoo-2-3a09a380ef4470365e58aaf172a8dc633083f35c.tar.gz
gentoo-2-3a09a380ef4470365e58aaf172a8dc633083f35c.tar.bz2
gentoo-2-3a09a380ef4470365e58aaf172a8dc633083f35c.zip
moved from sys-apps to sys-boot
Diffstat (limited to 'sys-boot/quik')
-rw-r--r--sys-boot/quik/ChangeLog55
-rw-r--r--sys-boot/quik/Manifest12
-rw-r--r--sys-boot/quik/files/digest-quik-2.0.1.0-r12
-rw-r--r--sys-boot/quik/files/digest-quik-2.0.1.0-r22
-rw-r--r--sys-boot/quik/files/digest-quik-2.0.1.0-r32
-rw-r--r--sys-boot/quik/files/digest-quik-2.0.1k1
-rw-r--r--sys-boot/quik/files/quik-2.0.1.0-fclose-bug.patch10
-rw-r--r--sys-boot/quik/files/quik-2.0.1.0-gcc-321.patch22
-rw-r--r--sys-boot/quik/metadata.xml5
-rw-r--r--sys-boot/quik/quik-2.0.1.0-r1.ebuild56
-rw-r--r--sys-boot/quik/quik-2.0.1.0-r2.ebuild59
-rw-r--r--sys-boot/quik/quik-2.0.1.0-r3.ebuild63
-rw-r--r--sys-boot/quik/quik-2.0.1k.ebuild46
13 files changed, 335 insertions, 0 deletions
diff --git a/sys-boot/quik/ChangeLog b/sys-boot/quik/ChangeLog
new file mode 100644
index 000000000000..222a8a12dca8
--- /dev/null
+++ b/sys-boot/quik/ChangeLog
@@ -0,0 +1,55 @@
+# ChangeLog for sys-apps/quik
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/ChangeLog,v 1.1 2003/12/09 08:13:13 seemant Exp $
+
+*quik-2.0.1.0-r3 (08 Dec 2003)
+
+ 08 Dec 2003; Seemant Kulleen <seemant@gentoo.org> metadata.xml,
+ quik-2.0.1.0-r1.ebuild, quik-2.0.1.0-r2.ebuild, quik-2.0.1.0-r3.ebuild,
+ quik-2.0.1k.ebuild, files/quik-2.0.1.0-fclose-bug.patch,
+ files/quik-2.0.1.0-gcc-321.patch:
+ moved from sys-apps to sys-boot
+
+*quik-2.0.1k (10 Jun 2003)
+
+ 10 Jun 2003; Graham Forest <vladimir@gentoo.org> Manifest,
+ quik-2.0.1k.ebuild:
+ Added 2.0.1k, which uses completely different patches. It's currently
+ package.masked, due to needing testing, but it should compile on gcc 3.x now
+
+*quik-2.0.1.0-r3 (04 Feb 2003)
+
+ 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> quik-2.0.1.0-r3.ebuild :
+ This is definitely not for mips.
+
+ 04 Feb 2003; Jon Nall <nall@gentoo.org> files/quik-2.0.1.0-fclose-bug.patch :
+ fixed patch to avoid SIGSEGV. this closes bug #14817
+
+*quik-2.0.1.0-r2 (28 Jan 2003)
+
+ 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> quik-2.0.1.0-r2.ebuild :
+ This is definitely not for mips.
+
+ 28 Jan 2003; Jon Nall <nall@gentoo.org> quik-2.0.1.0-r2.ebuild :
+ fixed to work with gcc-3.2.1 (fixed gentoo bug #14655)
+
+*quik-2.0.1.0-r1 (Wed Apr 24 10:34:12 2002 CEST)
+
+ 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> quik-2.0.1.0-r1.ebuild :
+ This is definitely not for mips.
+
+ 06 Jan 2003; Seemant Kulleen <seemant@gentoo.org> quik-2.0.1.0-r1.ebuild :
+
+ PROVIDE=virtual/bootloader
+
+ 29 Sep 2002; Donny Davies <woodchip@gentoo.org> quik-2.0.1.0-r1.ebuild :
+ Now uses mount-boot eclass, #7903.
+
+ 24 Sep 2002; Owen Stampflee <owen@gentoo.org> quik-2.0.1.0-r1.ebuild :
+ Fixed some linker wackiness on GCC 3.2 systems.
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> quik-2.0.1.0-r1.ebuild :
+ Added LICENSE, SLOT.
+
+Wed Apr 24 10:34:56 2002 CEST; pvdabeel <pvdabeel@gentoo.org> all:
+This is an initial .ebuild for quik-2.0.1.0-r1 for ppc machines.
diff --git a/sys-boot/quik/Manifest b/sys-boot/quik/Manifest
new file mode 100644
index 000000000000..71955c699445
--- /dev/null
+++ b/sys-boot/quik/Manifest
@@ -0,0 +1,12 @@
+MD5 2cb6b9d84c4c6c8c737b5d1bd4d3e4cc quik-2.0.1k.ebuild 1099
+MD5 d6cafbf993f918418cf11d25ab4d4dec quik-2.0.1.0-r1.ebuild 1701
+MD5 533330963115c860c088e130b1844625 quik-2.0.1.0-r3.ebuild 2012
+MD5 0ed5e19142d2503e34534f4be61e0c3e quik-2.0.1.0-r2.ebuild 1835
+MD5 d47379412e1cda301949f193be3bf557 ChangeLog 2063
+MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156
+MD5 d82779b77dcea6480025a86ce1a622d7 files/quik-2.0.1.0-gcc-321.patch 493
+MD5 490acba710c1c30fda817d7e8dd9eab3 files/quik-2.0.1.0-fclose-bug.patch 221
+MD5 3325de32d341278b3ebab8702e03fdfd files/digest-quik-2.0.1k 63
+MD5 8a63d4b2ce3cd4ebfc702aedef92c190 files/digest-quik-2.0.1.0-r1 127
+MD5 8a63d4b2ce3cd4ebfc702aedef92c190 files/digest-quik-2.0.1.0-r2 127
+MD5 8a63d4b2ce3cd4ebfc702aedef92c190 files/digest-quik-2.0.1.0-r3 127
diff --git a/sys-boot/quik/files/digest-quik-2.0.1.0-r1 b/sys-boot/quik/files/digest-quik-2.0.1.0-r1
new file mode 100644
index 000000000000..1aa7f3e72997
--- /dev/null
+++ b/sys-boot/quik/files/digest-quik-2.0.1.0-r1
@@ -0,0 +1,2 @@
+MD5 d546fd92dfa16255e062fa8505a5b8d4 quik_2.0e.orig.tar.gz 39440
+MD5 71828c98994bf3a3f7d08bc0672e33e5 quik_2.0e-1.diff.gz 7694
diff --git a/sys-boot/quik/files/digest-quik-2.0.1.0-r2 b/sys-boot/quik/files/digest-quik-2.0.1.0-r2
new file mode 100644
index 000000000000..1aa7f3e72997
--- /dev/null
+++ b/sys-boot/quik/files/digest-quik-2.0.1.0-r2
@@ -0,0 +1,2 @@
+MD5 d546fd92dfa16255e062fa8505a5b8d4 quik_2.0e.orig.tar.gz 39440
+MD5 71828c98994bf3a3f7d08bc0672e33e5 quik_2.0e-1.diff.gz 7694
diff --git a/sys-boot/quik/files/digest-quik-2.0.1.0-r3 b/sys-boot/quik/files/digest-quik-2.0.1.0-r3
new file mode 100644
index 000000000000..1aa7f3e72997
--- /dev/null
+++ b/sys-boot/quik/files/digest-quik-2.0.1.0-r3
@@ -0,0 +1,2 @@
+MD5 d546fd92dfa16255e062fa8505a5b8d4 quik_2.0e.orig.tar.gz 39440
+MD5 71828c98994bf3a3f7d08bc0672e33e5 quik_2.0e-1.diff.gz 7694
diff --git a/sys-boot/quik/files/digest-quik-2.0.1k b/sys-boot/quik/files/digest-quik-2.0.1k
new file mode 100644
index 000000000000..e28b63e10ca8
--- /dev/null
+++ b/sys-boot/quik/files/digest-quik-2.0.1k
@@ -0,0 +1 @@
+MD5 e2b8243ab018c4a39544583e69c6d75f quik-2.0-1k.src.rpm 50796
diff --git a/sys-boot/quik/files/quik-2.0.1.0-fclose-bug.patch b/sys-boot/quik/files/quik-2.0.1.0-fclose-bug.patch
new file mode 100644
index 000000000000..9d43025cf89c
--- /dev/null
+++ b/sys-boot/quik/files/quik-2.0.1.0-fclose-bug.patch
@@ -0,0 +1,10 @@
+--- quik/quik.c.orig 2003-02-04 23:40:21.000000000 -0600
++++ quik/quik.c 2003-02-04 23:40:39.000000000 -0600
+@@ -454,6 +454,7 @@
+ exit(0);
+ }
+ }
++ fclose(f);
+ }
+
+ config_file = NULL;
diff --git a/sys-boot/quik/files/quik-2.0.1.0-gcc-321.patch b/sys-boot/quik/files/quik-2.0.1.0-gcc-321.patch
new file mode 100644
index 000000000000..f569a94cff6a
--- /dev/null
+++ b/sys-boot/quik/files/quik-2.0.1.0-gcc-321.patch
@@ -0,0 +1,22 @@
+--- second/file.c.orig 2003-01-28 08:13:59.000000000 -0600
++++ second/file.c 2003-01-28 08:14:09.000000000 -0600
+@@ -23,7 +23,6 @@
+ #include <sys/types.h>
+ #include <errno.h>
+ #include "quik.h"
+-typedef int FILE;
+ #include <linux/ext2_fs.h>
+ #include <ext2fs/ext2fs.h>
+ #include <setjmp.h>
+@@ -167,11 +166,6 @@
+ return 1;
+ }
+
+-int sprintf (char *buf, char *fmt,...)
+-{
+- strcpy (buf, fmt);
+-}
+-
+ void com_err (const char *a, long i, const char *fmt,...)
+ {
+ printf ((char *) fmt);
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.0.1.0-r1.ebuild b/sys-boot/quik/quik-2.0.1.0-r1.ebuild
new file mode 100644
index 000000000000..9a9ec07d443a
--- /dev/null
+++ b/sys-boot/quik/quik-2.0.1.0-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.0.1.0-r1.ebuild,v 1.1 2003/12/09 08:13:13 seemant Exp $
+
+inherit mount-boot
+
+S="${WORKDIR}/quik-2.0"
+HOMEPAGE=""
+DESCRIPTION="OldWorld PowerMac Bootloader"
+MY_P="quik_2.0e.orig.tar.gz"
+DEB_P="quik_2.0e-1.diff"
+DEB_URI="ftp://ftp.debian.org/debian/pool/main/q/quik"
+SRC_URI="${DEB_URI}/${MY_P} ${DEB_URI}/${DEB_P}.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="ppc -x86 -amd64 -alpha -arm -hppa -mips -sparc"
+
+DEPEND="virtual/glibc"
+
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${MY_P} || die
+ zcat ${DISTDIR}/${DEB_P}.gz | patch -p1 -d ${S}|| die
+ [ -z "${CC}" ] && CC=gcc
+ if [ "`${CC} -dumpversion | cut -d. -f1,2`" != "2.95" ] ; then
+ cd ${S}/second
+ cp Makefile Makefile.orig
+ sed -e s:'$(LD) $(LDFLAGS) -Bstatic -o second $(OBJS) -lext2fs':'$(LD) $(LDFLAGS) -Bstatic -o second $(OBJS) -lext2fs -lc -lgcc -L/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/': Makefile.orig > Makefile
+
+ fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ #i'll have a look at this later
+ install -d -m 755 ${D}/sbin || die
+ install -d -m 755 ${D}/etc || die
+ install -d -m 755 ${D}/boot || die
+ install -d -m 755 ${D}/usr/share/man/man5 || die
+ install -d -m 755 ${D}/usr/share/man/man8 || die
+ install -s -m 755 quik/quik ${D}/sbin || DIE
+ install -m 644 man/quik.conf.5 \
+ ${D}/usr/share/man/man5 || DIE
+ install -m 644 man/quik.8 man/bootstrap.8 \
+ ${D}/usr/share/man/man8 || DIE
+
+ install -m 444 first/first.b second/second.b \
+ second/second ${D}/boot || die
+ install -m 644 etc/quik.conf ${D}/etc || die
+}
diff --git a/sys-boot/quik/quik-2.0.1.0-r2.ebuild b/sys-boot/quik/quik-2.0.1.0-r2.ebuild
new file mode 100644
index 000000000000..7c1a0b8d9ddb
--- /dev/null
+++ b/sys-boot/quik/quik-2.0.1.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.0.1.0-r2.ebuild,v 1.1 2003/12/09 08:13:13 seemant Exp $
+
+inherit mount-boot
+
+S="${WORKDIR}/quik-2.0"
+HOMEPAGE=""
+DESCRIPTION="OldWorld PowerMac Bootloader"
+MY_P="quik_2.0e.orig.tar.gz"
+DEB_P="quik_2.0e-1.diff"
+DEB_URI="ftp://ftp.debian.org/debian/pool/main/q/quik"
+SRC_URI="${DEB_URI}/${MY_P} ${DEB_URI}/${DEB_P}.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~ppc -x86 -amd64 -alpha -arm -hppa -mips -sparc"
+
+DEPEND="virtual/glibc"
+
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${MY_P} || die
+ zcat ${DISTDIR}/${DEB_P}.gz | patch -p1 -d ${S}|| die
+ [ -z "${CC}" ] && CC=gcc
+ GCC_VERSION="`${CC} -dumpversion | cut -d. -f1,2,3`"
+ einfo "GCC_VERSION: ${GCC_VERSION}"
+ if [ "${GCC_VERSION}" != "2.95" ] ; then
+ cd ${S}/second
+ patch -p1 < ${FILESDIR}/quik-2.0.1.0-gcc-321.patch
+ cp Makefile Makefile.orig
+ sed -e s:'$(LD) $(LDFLAGS) -Bstatic -o second $(OBJS) -lext2fs':'$(LD) $(LDFLAGS) -Bstatic -o second $(OBJS) -lext2fs -lc -lgcc -L/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/'${GCC_VERSION}/: Makefile.orig > Makefile
+
+ fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ #i'll have a look at this later
+ install -d -m 755 ${D}/sbin || die
+ install -d -m 755 ${D}/etc || die
+ install -d -m 755 ${D}/boot || die
+ install -d -m 755 ${D}/usr/share/man/man5 || die
+ install -d -m 755 ${D}/usr/share/man/man8 || die
+ install -s -m 755 quik/quik ${D}/sbin || DIE
+ install -m 644 man/quik.conf.5 \
+ ${D}/usr/share/man/man5 || DIE
+ install -m 644 man/quik.8 man/bootstrap.8 \
+ ${D}/usr/share/man/man8 || DIE
+
+ install -m 444 first/first.b second/second.b \
+ second/second ${D}/boot || die
+ install -m 644 etc/quik.conf ${D}/etc || die
+}
diff --git a/sys-boot/quik/quik-2.0.1.0-r3.ebuild b/sys-boot/quik/quik-2.0.1.0-r3.ebuild
new file mode 100644
index 000000000000..a786022f1347
--- /dev/null
+++ b/sys-boot/quik/quik-2.0.1.0-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.0.1.0-r3.ebuild,v 1.1 2003/12/09 08:13:13 seemant Exp $
+
+inherit mount-boot
+
+S="${WORKDIR}/quik-2.0"
+HOMEPAGE=""
+DESCRIPTION="OldWorld PowerMac Bootloader"
+MY_P="quik_2.0e.orig.tar.gz"
+DEB_P="quik_2.0e-1.diff"
+DEB_URI="ftp://ftp.debian.org/debian/pool/main/q/quik"
+SRC_URI="${DEB_URI}/${MY_P} ${DEB_URI}/${DEB_P}.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~ppc -x86 -amd64 -alpha -arm -hppa -mips -sparc"
+
+DEPEND="virtual/glibc"
+
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${MY_P} || die
+ zcat ${DISTDIR}/${DEB_P}.gz | patch -p1 -d ${S}|| die
+ [ -z "${CC}" ] && CC=gcc
+ GCC_VERSION="`${CC} -dumpversion | cut -d. -f1,2,3`"
+ einfo "GCC_VERSION: ${GCC_VERSION}"
+ cd ${S}/quik
+ # this patch fixes bug #14817
+ einfo "Fixing missing fclose()"
+ patch -p1 < ${FILESDIR}/quik-2.0.1.0-fclose-bug.patch || die "patch failed"
+ if [ "${GCC_VERSION}" != "2.95" ] ; then
+ cd ${S}/second
+ patch -p1 < ${FILESDIR}/quik-2.0.1.0-gcc-321.patch || die "patch failed"
+ cp Makefile Makefile.orig
+ sed -e s:'$(LD) $(LDFLAGS) -Bstatic -o second $(OBJS) -lext2fs':'$(LD) $(LDFLAGS) -Bstatic -o second $(OBJS) -lext2fs -lc -lgcc -L/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/'${GCC_VERSION}/: Makefile.orig > Makefile
+
+ fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ #i'll have a look at this later
+ install -d -m 755 ${D}/sbin || die
+ install -d -m 755 ${D}/etc || die
+ install -d -m 755 ${D}/boot || die
+ install -d -m 755 ${D}/usr/share/man/man5 || die
+ install -d -m 755 ${D}/usr/share/man/man8 || die
+ install -s -m 755 quik/quik ${D}/sbin || DIE
+ install -m 644 man/quik.conf.5 \
+ ${D}/usr/share/man/man5 || DIE
+ install -m 644 man/quik.8 man/bootstrap.8 \
+ ${D}/usr/share/man/man8 || DIE
+
+ install -m 444 first/first.b second/second.b \
+ second/second ${D}/boot || die
+ install -m 644 etc/quik.conf ${D}/etc || die
+}
diff --git a/sys-boot/quik/quik-2.0.1k.ebuild b/sys-boot/quik/quik-2.0.1k.ebuild
new file mode 100644
index 000000000000..ba5ec2b0c28b
--- /dev/null
+++ b/sys-boot/quik/quik-2.0.1k.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.0.1k.ebuild,v 1.1 2003/12/09 08:13:13 seemant Exp $
+
+inherit mount-boot
+
+S="${WORKDIR}/"
+MY_PV=${PV%.*}-${PV#*.*.}
+
+HOMEPAGE=""
+DESCRIPTION="OldWorld PowerMac Bootloader"
+SRC_URI="http://www.xs4all.nl/~eddieb/linuxppc/YDL3/quik-${MY_PV}.src.rpm"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~ppc -x86 -amd64 -alpha -arm -hppa -mips -sparc"
+
+DEPEND="virtual/glibc
+ app-arch/rpm2targz"
+
+PROVIDE="virtual/bootloader"
+
+src_unpack() {
+ cd ${WORKDIR}
+ rpm2targz ${DISTDIR}/quik-${MY_PV}.src.rpm
+ tar -xzf ${WORKDIR}/quik-${MY_PV}.src.tar.gz || die
+ tar -xzf ${WORKDIR}/quik-2.0.tar.gz
+
+ cd ${WORKDIR}/quik-2.0
+ epatch ${WORKDIR}/quik_2.0e-0.1.diff
+ epatch ${WORKDIR}/quik-glibc2.2.patch
+ epatch ${WORKDIR}/quik-noargs.patch
+ epatch ${WORKDIR}/quik-j-k-diff.patch
+ epatch ${WORKDIR}/quik-k-dac.patch
+}
+
+src_compile() {
+ cd ${WORKDIR}/quik-2.0
+ emake || die
+}
+
+src_install() {
+ cd ${WORKDIR}/quik-2.0
+ DESTDIR=${D} make install
+ prepman /usr
+}