diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-06-27 22:12:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-06-27 22:12:14 +0000 |
commit | e915de863120405ca63afac0249b623d6e67ebd9 (patch) | |
tree | 44099e801b5c2918d5620d5c35ec28d5fbe70256 /sys-apps/nwutil | |
parent | QA - fix use invocation (diff) | |
download | historical-e915de863120405ca63afac0249b623d6e67ebd9.tar.gz historical-e915de863120405ca63afac0249b623d6e67ebd9.tar.bz2 historical-e915de863120405ca63afac0249b623d6e67ebd9.zip |
intial import
Diffstat (limited to 'sys-apps/nwutil')
-rw-r--r-- | sys-apps/nwutil/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/nwutil/Manifest | 15 | ||||
-rw-r--r-- | sys-apps/nwutil/files/1.4-errno.patch | 11 | ||||
-rw-r--r-- | sys-apps/nwutil/files/1.4-rename-debug.patch | 40 | ||||
-rw-r--r-- | sys-apps/nwutil/files/digest-nwutil-1.4 | 2 | ||||
-rw-r--r-- | sys-apps/nwutil/nwutil-1.4.ebuild | 41 |
6 files changed, 117 insertions, 0 deletions
diff --git a/sys-apps/nwutil/ChangeLog b/sys-apps/nwutil/ChangeLog new file mode 100644 index 000000000000..c7770cc8a50e --- /dev/null +++ b/sys-apps/nwutil/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-apps/nwutil +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/nwutil/ChangeLog,v 1.1 2004/06/27 22:12:14 vapier Exp $ + +*nwutil-1.4 (27 Jun 2004) + + 27 Jun 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me for the netwinder. diff --git a/sys-apps/nwutil/Manifest b/sys-apps/nwutil/Manifest new file mode 100644 index 000000000000..02564ffe5320 --- /dev/null +++ b/sys-apps/nwutil/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 b31c16b5c7492081c949d82f1929dbac nwutil-1.4.ebuild 1029 +MD5 6dbe3484ddee2d628f167812baf15d64 ChangeLog 351 +MD5 1d309a746225866dceb538c121b2a30e files/digest-nwutil-1.4 129 +MD5 9f531354a568f2d63816ddc8ebfa9494 files/1.4-errno.patch 276 +MD5 78ccbcfded4d224832705ac6aabfe671 files/1.4-rename-debug.patch 1496 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.8 (GNU/Linux) + +iD8DBQFA30ZQHTu7gpaalycRAqy+AKDrR9+ogbmSMWVuu4eaqoOrRUz+8ACeKle9 +TvgQiJKqqKHVh4cG+xY0qQU= +=yrWz +-----END PGP SIGNATURE----- diff --git a/sys-apps/nwutil/files/1.4-errno.patch b/sys-apps/nwutil/files/1.4-errno.patch new file mode 100644 index 000000000000..a78c2128b2fa --- /dev/null +++ b/sys-apps/nwutil/files/1.4-errno.patch @@ -0,0 +1,11 @@ +--- debug.c.orig 2004-06-26 04:21:23.881871000 +0000 ++++ debug.c 2004-06-26 04:21:36.941871000 +0000 +@@ -52,7 +52,7 @@ + #define UNLOCK outb(0x370, 0x87); outb(0x370, 0x87); + #define LOCK outb(0x370, 0xAA); + +-extern int errno; ++#include <errno.h> + + int tmpSuperIO; + diff --git a/sys-apps/nwutil/files/1.4-rename-debug.patch b/sys-apps/nwutil/files/1.4-rename-debug.patch new file mode 100644 index 000000000000..a5d09a57e5ef --- /dev/null +++ b/sys-apps/nwutil/files/1.4-rename-debug.patch @@ -0,0 +1,40 @@ +diff -ur work.orig/Makefile work/Makefile +--- work.orig/Makefile 2004-06-27 21:29:50.711871000 +0000 ++++ work/Makefile 2004-06-27 21:31:11.591871000 +0000 +@@ -2,8 +2,8 @@ + + CC = gcc + CFLAGS = -O2 -fsigned-char -omit-frame-pointer -Wall +-OBJS = start_wdog set_therm fan_ctrl debug +-MANPGS = start_wdog.8 set_therm.8 fan_ctrl.8 debug.8 ++OBJS = start_wdog set_therm fan_ctrl nwdebug ++MANPGS = start_wdog.8 set_therm.8 fan_ctrl.8 nwdebug.8 + PREFIX = $(DESTDIR)/usr + + all: $(OBJS) +diff -ur work.orig/debug.8 work/debug.8 +--- work.orig/debug.8 2004-06-27 21:29:50.711871000 +0000 ++++ work/debug.8 2004-06-27 21:30:54.931871000 +0000 +@@ -1,8 +1,8 @@ +-.TH debug 8 "November 8 1998" "CCC" "Corel NetWinder Utilities" ++.TH nwdebug 8 "November 8 1998" "CCC" "Corel NetWinder Utilities" + .SH NAME +-debug \- low-level hardware debugger utility ++nwdebug \- low-level hardware debugger utility + .SH SYNOPSIS +-.B debug ++.B nwdebug + .SH DESCRIPTION + This program allows you to display and/or modify memory or I/O registers. + It bears some resemblance to the DOS program of the same name. This is not +@@ -22,8 +22,8 @@ + ie. what the CPU sees at one particular address will be addressed at a + different address if a PCI device needs to do DMA. + .SH FILES +-.I /sbin/debug +-.I /man/man8/debug.8 ++.I /sbin/nwdebug ++.I /man/man8/nwdebug.8 + .SH DIAGNOSTICS + The program must be run by the super-user or it will fail with a polite + error message. This is to avoid arbitrary users from writing values into diff --git a/sys-apps/nwutil/files/digest-nwutil-1.4 b/sys-apps/nwutil/files/digest-nwutil-1.4 new file mode 100644 index 000000000000..7d37cd9accc4 --- /dev/null +++ b/sys-apps/nwutil/files/digest-nwutil-1.4 @@ -0,0 +1,2 @@ +MD5 f1236d04742b6b56a968374c3beec17d nwutil_1.4.orig.tar.gz 16587 +MD5 a4b95a84db62d49572bd745e36c7fcdc nwutil_1.4-3.diff.gz 4795 diff --git a/sys-apps/nwutil/nwutil-1.4.ebuild b/sys-apps/nwutil/nwutil-1.4.ebuild new file mode 100644 index 000000000000..3a6c7a34d630 --- /dev/null +++ b/sys-apps/nwutil/nwutil-1.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/nwutil/nwutil-1.4.ebuild,v 1.1 2004/06/27 22:12:14 vapier Exp $ + +inherit eutils + +DEB_VER=3 +DESCRIPTION="Netwinder hardware utilities" +HOMEPAGE="http://packages.debian.org/stable/base/nwutil" +SRC_URI="mirror://debian/pool/main/n/nwutil/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/n/nwutil/${PN}_${PV}-${DEB_VER}.diff.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="-* arm" +IUSE="" + +DEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${WORKDIR}/${PN}_${PV}-${DEB_VER}.diff + epatch ${FILESDIR}/${PV}-errno.patch + epatch ${FILESDIR}/${PV}-rename-debug.patch + mv {,nw}debug.c; mv {,nw}debug.8 +} + +src_compile() { + emake CFLAGS="${CFLAGS}" || die "emake main failed" + cd flashlogo + emake || die "emake flashlogo failed" +} + +src_install() { + make DESTDIR=${D} install || die "install main failed" + cd flashlogo + make DESTDIR=${D} install || die "install flashlogo failed" +} |