summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van den Abeele <pvdabeel@gentoo.org>2002-04-27 10:41:11 +0000
committerPieter van den Abeele <pvdabeel@gentoo.org>2002-04-27 10:41:11 +0000
commitf37e0bf9bd08a2edc6550a1c2365966c107383cb (patch)
tree2c448c474009ae712b2bb85a1a6be7b8839bb30a
parentcleanup (diff)
downloadgentoo-2-f37e0bf9bd08a2edc6550a1c2365966c107383cb.tar.gz
gentoo-2-f37e0bf9bd08a2edc6550a1c2365966c107383cb.tar.bz2
gentoo-2-f37e0bf9bd08a2edc6550a1c2365966c107383cb.zip
PPC sys-apps merge
-rw-r--r--sys-apps/powerpc-utils/Changelog10
-rw-r--r--sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.32
-rw-r--r--sys-apps/powerpc-utils/powerpc-utils-1.1.3.ebuild33
-rw-r--r--sys-apps/quik/Changelog9
-rw-r--r--sys-apps/quik/files/digest-quik-2.0.1.0-r12
-rw-r--r--sys-apps/quik/quik-2.0.1.0-r1.ebuild80
-rw-r--r--sys-apps/yaboot/Changelog15
-rw-r--r--sys-apps/yaboot/files/digest-yaboot-1.3.61
-rw-r--r--sys-apps/yaboot/files/digest-yaboot-1.3.6-r11
-rw-r--r--sys-apps/yaboot/yaboot-1.3.6-r1.ebuild22
-rw-r--r--sys-apps/yaboot/yaboot-1.3.6.ebuild22
11 files changed, 197 insertions, 0 deletions
diff --git a/sys-apps/powerpc-utils/Changelog b/sys-apps/powerpc-utils/Changelog
new file mode 100644
index 000000000000..76a65953888c
--- /dev/null
+++ b/sys-apps/powerpc-utils/Changelog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/powerpc-utils
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Id: Changelog,v 1.1 2002/04/27 10:36:20 pvdabeel Exp $
+
+*powerpc-utils-1.1.3 (05 Apr 2002)
+
+05 Apr 2002; Kain <kain@kain.org> all:
+
+ This is an initial .ebuild for powerpc-utils for ppc machines.
+ This needs fixing for stuff other than nvsetenv to work I believe.
diff --git a/sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3 b/sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3
new file mode 100644
index 000000000000..7c47d689a801
--- /dev/null
+++ b/sys-apps/powerpc-utils/files/digest-powerpc-utils-1.1.3
@@ -0,0 +1,2 @@
+MD5 d879b109bb8f0d726304b60b147bff13 powerpc-utils_1.1.3.orig.tar.gz 25104
+MD5 097f5d727d8c8497542b70697676c900 powerpc-utils_1.1.3-3.diff.gz 12195
diff --git a/sys-apps/powerpc-utils/powerpc-utils-1.1.3.ebuild b/sys-apps/powerpc-utils/powerpc-utils-1.1.3.ebuild
new file mode 100644
index 000000000000..571fad60a33a
--- /dev/null
+++ b/sys-apps/powerpc-utils/powerpc-utils-1.1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Kain X <kain@kain.org>
+# $Id: powerpc-utils-1.1.3.ebuild,v 1.1 2002/04/27 10:36:20 pvdabeel Exp $
+
+S=${WORKDIR}/${P}
+DEBRV=3
+DESCRIPTION="PowerPC utils; nvsetenv"
+SRC_URI="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/powerpc-utils_${PV}.orig.tar.gz
+ http://http.us.debian.org/debian/pool/main/p/powerpc-utils/powerpc-utils_${PV}-${DEBRV}.diff.gz"
+#HOMEPAGE=""
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack powerpc-utils_${PV}.orig.tar.gz
+ mv pmac-utils ${P}
+ cd ${S}
+ cat ${DISTDIR}/powerpc-utils_${PV}-${DEBRV}.diff.gz | gzip -dc | patch -p1 || die
+ cd ${WORKDIR}
+ chown -R 0.0 *
+ chmod -R a+r-w+X,u+w *
+}
+
+src_compile() {
+ emake nvsetenv || die
+}
+
+src_install () {
+ into /usr
+ dosbin nvsetenv || die
+
+}
diff --git a/sys-apps/quik/Changelog b/sys-apps/quik/Changelog
new file mode 100644
index 000000000000..68eaca504378
--- /dev/null
+++ b/sys-apps/quik/Changelog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-apps/quik
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Id: Changelog,v 1.1 2002/04/27 10:38:37 pvdabeel Exp $
+
+*quik-2.0.1.0-r1 (Wed Apr 24 10:34:12 2002 CEST)
+
+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-apps/quik/files/digest-quik-2.0.1.0-r1 b/sys-apps/quik/files/digest-quik-2.0.1.0-r1
new file mode 100644
index 000000000000..1aa7f3e72997
--- /dev/null
+++ b/sys-apps/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-apps/quik/quik-2.0.1.0-r1.ebuild b/sys-apps/quik/quik-2.0.1.0-r1.ebuild
new file mode 100644
index 000000000000..9cf541df429a
--- /dev/null
+++ b/sys-apps/quik/quik-2.0.1.0-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Pieter Van den Abeele <pvdabeel@gentoo.org>
+# Author: Adrian Rutledge <atma@ayerie.dnsalias.net>
+# $Id: quik-2.0.1.0-r1.ebuild,v 1.1 2002/04/27 10:38:37 pvdabeel Exp $
+
+S="${WORKDIR}/quik-2.0"
+A="quik_2.0e.orig.tar.gz"
+
+echo "workdir is:"
+echo ${WORKDIR}
+
+DEB_P="quik_2.0e-1.diff"
+DEB_URI="ftp://ftp.debian.org/debian/pool/main/q/quik"
+
+DESCRIPTION="OldWorld PowerMac Bootloader"
+
+SRC_URI="${DEB_URI}/${A} ${DEB_URI}/${DEB_P}.gz"
+
+DEPEND="virtual/glibc"
+RDEPEND=""
+
+pkg_setup() {
+ [ "${ROOT}" != "/" ] && return 0
+ . ${ROOT}/etc/init.d/functions.sh
+ local fstabstate="$(cat /etc/fstab |grep -v -e '#' |awk '{print $2}')"
+ local procstate="$(cat /proc/mounts |awk '{print $2}')"
+ if [ -n "$(echo ${fstabstate} |grep -e "/boot")" ] && \
+ [ -n "$(echo ${procstate} |grep -e "/boot")" ]
+ then
+ einfo "Your boot partition was detected as being mounted as /boot."
+ einfo "Files will be installed there for this bootloader to function correctly."
+ elif [ -n "$(echo ${fstabstate} |grep -e "/boot")" ] && \
+ [ -z "$(echo ${procstate} |grep -e "/boot")" ]
+ then
+ mount /boot &>/dev/null
+ if [ "$?" -eq 0 ]
+ then
+ einfo "Your boot partition was not mounted as /boot, but portage was able to mount"
+ einfo "it without additional intervention."
+ einfo "Files will be installed there for this bootloader to function correctly."
+ else
+ eerror "Your boot partition has to be mounted on /boot before the installation"
+ eerror "can continue. This bootloader needs to install important files there."
+ die "Please mount your /boot partition."
+ fi
+ else
+ einfo "You do not have a seperate /boot partition."
+ fi
+}
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${A} || die
+ zcat ${DISTDIR}/${DEB_P}.gz | patch -p1 -d ${S}|| die
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+
+ # '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-apps/yaboot/Changelog b/sys-apps/yaboot/Changelog
new file mode 100644
index 000000000000..729566a6c7ab
--- /dev/null
+++ b/sys-apps/yaboot/Changelog
@@ -0,0 +1,15 @@
+# ChangeLog for sys-apps/yaboot
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Id: Changelog,v 1.1 2002/04/27 10:41:10 pvdabeel Exp $
+
+*yaboot-1.3.6-r1 (Wed Apr 24 17:09:25 2002 CEST); pvdabeel <pvdabeel@gentoo.org>:
+
+Wed Apr 24 17:09:45 2002 CEST; pvdabeel <pvdabeel@gentoo.org>:
+
+ Install manpages in /usr/share instead of /usr/usr/share
+
+*yaboot-1.3.6 (Sun Mar 17 23:27:28 CST 2002)
+
+Sun Mar 17 23:29:06 CST 2002; Kain <kain@kain.org> all:
+
+ This is an initial .ebuild for yaboot 1.3.6 for ppc machines.
diff --git a/sys-apps/yaboot/files/digest-yaboot-1.3.6 b/sys-apps/yaboot/files/digest-yaboot-1.3.6
new file mode 100644
index 000000000000..7e74a7e4fb28
--- /dev/null
+++ b/sys-apps/yaboot/files/digest-yaboot-1.3.6
@@ -0,0 +1 @@
+MD5 ec0f90359fd567c183e5a21f97a53133 yaboot-1.3.6.tar.gz 242702
diff --git a/sys-apps/yaboot/files/digest-yaboot-1.3.6-r1 b/sys-apps/yaboot/files/digest-yaboot-1.3.6-r1
new file mode 100644
index 000000000000..7e74a7e4fb28
--- /dev/null
+++ b/sys-apps/yaboot/files/digest-yaboot-1.3.6-r1
@@ -0,0 +1 @@
+MD5 ec0f90359fd567c183e5a21f97a53133 yaboot-1.3.6.tar.gz 242702
diff --git a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
new file mode 100644
index 000000000000..8a853d82cf0d
--- /dev/null
+++ b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Kain X <kain@kain.org>
+# $Id: yaboot-1.3.6-r1.ebuild,v 1.1 2002/04/27 10:41:10 pvdabeel Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="PPC Bootloader"
+SRC_URI="http://penguinppc.org/projects/yaboot/${P}.tar.gz"
+HOMEPAGE="http://penguinppc.org/projects/yaboot/"
+DEPEND="sys-apps/powerpc-utils sys-apps/hfsutils"
+
+MAKEOPTS='PREFIX=/usr MANDIR=share/man'
+
+src_compile() {
+ export -n CFLAGS
+ export -n CXXFLAGS
+ emake ${MAKEOPTS} || die
+}
+
+src_install () {
+ make ROOT=${D} ${MAKEOPTS} install || die
+}
diff --git a/sys-apps/yaboot/yaboot-1.3.6.ebuild b/sys-apps/yaboot/yaboot-1.3.6.ebuild
new file mode 100644
index 000000000000..19eec6601740
--- /dev/null
+++ b/sys-apps/yaboot/yaboot-1.3.6.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Kain X <kain@kain.org>
+# $Id: yaboot-1.3.6.ebuild,v 1.1 2002/04/27 10:41:11 pvdabeel Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="PPC Bootloader"
+SRC_URI="http://penguinppc.org/projects/yaboot/${P}.tar.gz"
+HOMEPAGE="http://penguinppc.org/projects/yaboot/"
+DEPEND="sys-apps/powerpc-utils sys-apps/hfsutils"
+
+MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'
+
+src_compile() {
+ export -n CFLAGS
+ export -n CXXFLAGS
+ emake ${MAKEOPTS} || die
+}
+
+src_install () {
+ make ROOT=${D} ${MAKEOPTS} install || die
+}