Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

6
sysutils/afbinit/DESCR Normal file
View File

@@ -0,0 +1,6 @@
This pkg provides a program that loads the microcode firmware onto Sun
Microsystems AFB Graphics Accelerators aka Sun Microsystems Elite 3D
found in many UltraSPARC systems. The microcode is necessary if you want
to run XFree86 with acceleration on these cards.
The microcode in itself has to be obtained from an existing SunOS/Solaris
installation.

10
sysutils/afbinit/MESSAGE Normal file
View File

@@ -0,0 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
In order to use afbinit(8) you have to manually copy /usr/lib/afb.ucode
from a SunOS/Solaris installation. You might find it on Sun's website, too.
To load the micrcocode into the first AFB card, use this command:
afbinit /dev/fb0 afb.ucode
===========================================================================

20
sysutils/afbinit/Makefile Normal file
View File

@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.4 2012/10/23 19:50:50 asau Exp $
DISTNAME= afbinit_1.0.orig
PKGNAME= afbinit-1.0
CATEGORIES= sysutils graphics
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/contrib/a/afbinit/}
MAINTAINER= macallan@NetBSD.org
COMMENT= Firmware download tool for Sun AFB graphic cards
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
BUILD_TARGET= afbinit
ONLY_FOR_PLATFORM= *-*-sparc64 *-*-sparc
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

2
sysutils/afbinit/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
bin/afbinit

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
SHA1 (afbinit_1.0.orig.tar.gz) = bb02434819301bb55e1d7f984540868353bd6153
RMD160 (afbinit_1.0.orig.tar.gz) = a56f33696865fbc77b4b27f10b680b3d9a359635
Size (afbinit_1.0.orig.tar.gz) = 2979 bytes
SHA1 (patch-aa) = ea57e2ca73123f3e71bb733d84fe5dc6d7db501e

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
--- afbinit.c.orig 2001-11-30 03:04:21.000000000 +0100
+++ afbinit.c 2005-06-02 15:22:11.000000000 +0200
@@ -13,6 +13,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
/* Define this to debug the microcode loading procedure. */
#undef DEBUG_UCODE_LOAD
@@ -193,7 +194,7 @@
struct afb_ucode_header {
char ident[8];
unsigned int ucode_words;
- unsigned int __unused[2];
+ unsigned int unused[2];
} ucheader;
unsigned int *ucode;
int afb_fd, ucode_fd, ucode_version;