summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-05-03 21:23:00 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-05-03 21:23:00 +0000
commitd45d021e8f936d59b0013a7406c92b6f8076271c (patch)
tree0913892d44b858299f08d51d5887d3c2e8f84eac /devel
parent43910584c057b84b3a8f3988d49c10c0fe568879 (diff)
downloadpkgsrc-d45d021e8f936d59b0013a7406c92b6f8076271c.tar.gz
Initial import of libscsi 1.6 based on pr 5393.
Diffstat (limited to 'devel')
-rw-r--r--devel/libscsi/Makefile15
-rw-r--r--devel/libscsi/files/md51
-rw-r--r--devel/libscsi/patches/patch-aa11
-rw-r--r--devel/libscsi/patches/patch-ab26
-rw-r--r--devel/libscsi/pkg/COMMENT1
-rw-r--r--devel/libscsi/pkg/DESCR10
-rw-r--r--devel/libscsi/pkg/PLIST29
7 files changed, 93 insertions, 0 deletions
diff --git a/devel/libscsi/Makefile b/devel/libscsi/Makefile
new file mode 100644
index 00000000000..86b11acfcd1
--- /dev/null
+++ b/devel/libscsi/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 1998/05/03 21:23:00 frueauf Exp $
+#
+
+DISTNAME= libscsi-1.6
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.emsi.priv.at/pub/netbsd/contrib/
+
+MAINTAINER= packages@netbsd.org
+
+MAKE_ENV= LIBDIR=${PREFIX}/lib MANDIR=${PREFIX}/man
+
+# Do not list MAN/CAT pages here. It will confuse if MANZ is set.
+# The pkg uses BSD-style-Makefiles itself, so it does the right thing.
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libscsi/files/md5 b/devel/libscsi/files/md5
new file mode 100644
index 00000000000..5343df166de
--- /dev/null
+++ b/devel/libscsi/files/md5
@@ -0,0 +1 @@
+MD5 (libscsi-1.6.tar.gz) = 22749d533745504db478ccc1bfaf2e9d
diff --git a/devel/libscsi/patches/patch-aa b/devel/libscsi/patches/patch-aa
new file mode 100644
index 00000000000..ffda5d6fbbc
--- /dev/null
+++ b/devel/libscsi/patches/patch-aa
@@ -0,0 +1,11 @@
+--- scsi.3.orig Wed Feb 18 15:43:00 1998
++++ scsi.3 Sat May 2 20:42:48 1998
+@@ -75,7 +75,7 @@
+ These functions
+ use the SCIOCCOMMAND
+ .Xr ioctl 2
+-of the FreeBSD SCSI subsystem
++of the NetBSD SCSI subsystem
+ to provide user level access to SCSI commands.
+ The programmer must know the SCSI CDB (Command Descriptor
+ Block) to perform the desired command. These functions assist in
diff --git a/devel/libscsi/patches/patch-ab b/devel/libscsi/patches/patch-ab
new file mode 100644
index 00000000000..df9261e322f
--- /dev/null
+++ b/devel/libscsi/patches/patch-ab
@@ -0,0 +1,26 @@
+--- Makefile.orig Wed Feb 18 15:43:00 1998
++++ Makefile Sat May 2 22:48:20 1998
+@@ -4,7 +4,11 @@
+ #CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys
+ SRCS= scsi.c
+
+-MAN3= scsi.3
++NOLINT= 1
++
++MANINSTALL?= catinstall maninstall
++
++MAN+= scsi.3
+
+ MLINKS+=scsi.3 scsireq_buff_decode.3 scsi.3 scsireq_build.3 \
+ scsi.3 scsireq_decode.3 scsi.3 scsireq_encode.3 \
+@@ -14,8 +18,8 @@
+ scsi.3 scsi_debug_output.3
+
+ beforeinstall:
+- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/scsi.h \
+- ${DESTDIR}/usr/include
++ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/scsi.h \
++ ${LOCALBASE}/include
+
+
+ .include <bsd.lib.mk>
diff --git a/devel/libscsi/pkg/COMMENT b/devel/libscsi/pkg/COMMENT
new file mode 100644
index 00000000000..546ca5b7a70
--- /dev/null
+++ b/devel/libscsi/pkg/COMMENT
@@ -0,0 +1 @@
+FreeBSD SCSI user library
diff --git a/devel/libscsi/pkg/DESCR b/devel/libscsi/pkg/DESCR
new file mode 100644
index 00000000000..ffe75892c1e
--- /dev/null
+++ b/devel/libscsi/pkg/DESCR
@@ -0,0 +1,10 @@
+This library is meant for userland access to SCSI devices. The
+library is part of the FreeBSD distribution but works for
+NetBSD as well.
+
+The functions of the library use the SCIOCCOMMAND ioctl(2) of
+the NetBSD SCSI subsystem to provide user level access to SCSI
+commands. The programmer must know the SCSI CDB (Command
+Descriptor Block) to perform the desired command. These
+functions assist in building up the CDB, submitting it to the
+SCSI subsystem, and decoding the result.
diff --git a/devel/libscsi/pkg/PLIST b/devel/libscsi/pkg/PLIST
new file mode 100644
index 00000000000..ee70a5cfa58
--- /dev/null
+++ b/devel/libscsi/pkg/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 1998/05/03 21:23:00 frueauf Exp $
+include/scsi.h
+lib/libscsi.a
+lib/libscsi_p.a
+lib/libscsi_pic.a
+man/cat3/scsi.0
+man/cat3/scsireq_buff_decode.0
+man/cat3/scsireq_build.0
+man/cat3/scsireq_decode.0
+man/cat3/scsireq_encode.0
+man/cat3/scsireq_enter.0
+man/cat3/scsireq_new.0
+man/cat3/scsireq_reset.0
+man/cat3/SCSIREQ_ERROR.0
+man/cat3/scsi_open.0
+man/cat3/scsi_debug.0
+man/cat3/scsi_debug_output.0
+man/man3/scsi.3
+man/man3/scsireq_buff_decode.3
+man/man3/scsireq_build.3
+man/man3/scsireq_decode.3
+man/man3/scsireq_encode.3
+man/man3/scsireq_enter.3
+man/man3/scsireq_new.3
+man/man3/scsireq_reset.3
+man/man3/SCSIREQ_ERROR.3
+man/man3/scsi_open.3
+man/man3/scsi_debug.3
+man/man3/scsi_debug_output.3