diff options
author | wiz <wiz@pkgsrc.org> | 2011-11-23 18:59:20 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-11-23 18:59:20 +0000 |
commit | 101fa17213c4f5498d63f9c87073d906737ec925 (patch) | |
tree | e30ba329a963173fbf4d0bcda80edfd3cd746cb2 /devel/libscsi | |
parent | 7d965dc0af4fb3611d101000c775b156bf530ff9 (diff) | |
download | pkgsrc-101fa17213c4f5498d63f9c87073d906737ec925.tar.gz |
Remove libscsi and the two packages using it, tosha and cdd.
The FreeBSD SCSI library on which libscsi was based, was removed in 1998.
The two other packages were last updated 1997 and 2001, respectively.
Better software exists (e.g. cdparanoia, cdrecord).
Ok agc@, gdt@
Diffstat (limited to 'devel/libscsi')
-rw-r--r-- | devel/libscsi/DESCR | 10 | ||||
-rw-r--r-- | devel/libscsi/Makefile | 23 | ||||
-rw-r--r-- | devel/libscsi/PLIST | 27 | ||||
-rw-r--r-- | devel/libscsi/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/libscsi/distinfo | 9 | ||||
-rw-r--r-- | devel/libscsi/patches/patch-aa | 13 | ||||
-rw-r--r-- | devel/libscsi/patches/patch-ab | 30 | ||||
-rw-r--r-- | devel/libscsi/patches/patch-ac | 75 | ||||
-rw-r--r-- | devel/libscsi/patches/patch-ad | 22 |
9 files changed, 0 insertions, 222 deletions
diff --git a/devel/libscsi/DESCR b/devel/libscsi/DESCR deleted file mode 100644 index ffe75892c1e..00000000000 --- a/devel/libscsi/DESCR +++ /dev/null @@ -1,10 +0,0 @@ -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/Makefile b/devel/libscsi/Makefile deleted file mode 100644 index a27033c0b52..00000000000 --- a/devel/libscsi/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# $NetBSD: Makefile,v 1.17 2011/11/22 10:47:14 marino Exp $ -# - -DISTNAME= libscsi-1.6 -PKGREVISION= 1 -CATEGORIES= devel -MASTER_SITES= ftp://ftp.emsi.priv.at/pub/netbsd/contrib/ - -MAINTAINER= pkgsrc-users@NetBSD.org -COMMENT= FreeBSD SCSI user library - -ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-* - -PKG_INSTALLATION_TYPES= overwrite pkgviews -PKG_DESTDIR_SUPPORT= user-destdir - -USE_BSD_MAKEFILE= yes - -INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3 - -BUILDLINK_TRANSFORM+= rm:-Werror - -.include "../../mk/bsd.pkg.mk" diff --git a/devel/libscsi/PLIST b/devel/libscsi/PLIST deleted file mode 100644 index b8ef8046c88..00000000000 --- a/devel/libscsi/PLIST +++ /dev/null @@ -1,27 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2005/10/23 16:03:11 rillig Exp $ -include/scsi.h -lib/libscsi.a -man/cat3/SCSIREQ_ERROR.0 -man/cat3/scsi.0 -man/cat3/scsi_debug.0 -man/cat3/scsi_debug_output.0 -man/cat3/scsi_open.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/man3/SCSIREQ_ERROR.3 -man/man3/scsi.3 -man/man3/scsi_debug.3 -man/man3/scsi_debug_output.3 -man/man3/scsi_open.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 diff --git a/devel/libscsi/buildlink3.mk b/devel/libscsi/buildlink3.mk deleted file mode 100644 index eb0bf005062..00000000000 --- a/devel/libscsi/buildlink3.mk +++ /dev/null @@ -1,13 +0,0 @@ -# $NetBSD: buildlink3.mk,v 1.6 2009/03/20 19:24:22 joerg Exp $ - -BUILDLINK_TREE+= libscsi - -.if !defined(LIBSCSI_BUILDLINK3_MK) -LIBSCSI_BUILDLINK3_MK:= - -BUILDLINK_API_DEPENDS.libscsi+= libscsi>=1.6 -BUILDLINK_PKGSRCDIR.libscsi?= ../../devel/libscsi -BUILDLINK_DEPMETHOD.libscsi?= build -.endif # LIBSCSI_BUILDLINK3_MK - -BUILDLINK_TREE+= -libscsi diff --git a/devel/libscsi/distinfo b/devel/libscsi/distinfo deleted file mode 100644 index dc72c3db6f8..00000000000 --- a/devel/libscsi/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -$NetBSD: distinfo,v 1.7 2009/07/08 14:02:49 joerg Exp $ - -SHA1 (libscsi-1.6.tar.gz) = 8d6d47d2baa5e272e09ac5ee1330dd37461e922f -RMD160 (libscsi-1.6.tar.gz) = 586e0b73777a6be41f075c2b6f4fb73c81d7fa03 -Size (libscsi-1.6.tar.gz) = 11896 bytes -SHA1 (patch-aa) = d34b6769997c3fe29b99d0465710bd3c5d9bcda8 -SHA1 (patch-ab) = 6f8f913a0348666b973dfb50509c77c1a0056cc9 -SHA1 (patch-ac) = 26234441505ad213642692f5b705e166c48eba47 -SHA1 (patch-ad) = 7772f992e3df11b0461db33c91ff570f90ea82db diff --git a/devel/libscsi/patches/patch-aa b/devel/libscsi/patches/patch-aa deleted file mode 100644 index aea3c288b08..00000000000 --- a/devel/libscsi/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:25 agc Exp $ - ---- 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 deleted file mode 100644 index 04e24cb97e0..00000000000 --- a/devel/libscsi/patches/patch-ab +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ab,v 1.7 2009/07/08 14:02:49 joerg Exp $ - ---- Makefile.orig Wed Feb 18 15:43:00 1998 -+++ Makefile Thu Dec 20 12:22:50 2001 -@@ -4,7 +4,13 @@ - #CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys - SRCS= scsi.c - --MAN3= scsi.3 -+NOLINT= 1 -+NOPIC= 1 -+NOPROFILE= 1 -+ -+MANINSTALL= maninstall catinstall -+ -+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 +20,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 \ -+ ${DESTDIR}${PREFIX}/include - - - .include <bsd.lib.mk> diff --git a/devel/libscsi/patches/patch-ac b/devel/libscsi/patches/patch-ac deleted file mode 100644 index 15201ecbf69..00000000000 --- a/devel/libscsi/patches/patch-ac +++ /dev/null @@ -1,75 +0,0 @@ -$NetBSD: patch-ac,v 1.2 1998/08/07 10:40:25 agc Exp $ - ---- scsi.c.orig Sat Jun 20 02:30:03 1998 -+++ scsi.c Sat Jun 20 03:00:07 1998 -@@ -353,2 +353,11 @@ - -+static int wrap_do_buff_decode(u_char *databuf, size_t len, -+void (*arg_put)(void *, int , void *, int, char *), void *puthook, -+char *fmt, ...) -+{ -+ va_list ap; -+ va_start(ap,fmt); -+ return do_buff_decode(databuf,len,arg_put,puthook,fmt,ap); -+} -+ - int scsireq_decode(scsireq_t *scsireq, char *fmt, ...) -@@ -364,5 +373,4 @@ - { -- va_list ap = (va_list)0; -- return do_buff_decode(scsireq->databuf, (size_t)scsireq->datalen, -- arg_put, puthook, fmt, ap); -+ return wrap_do_buff_decode(scsireq->databuf, (size_t)scsireq->datalen, -+ arg_put, puthook, fmt); - } -@@ -379,4 +387,3 @@ - { -- va_list ap = (va_list)0; -- return do_buff_decode(buff, len, arg_put, puthook, fmt, ap); -+ return wrap_do_buff_decode(buff, len, arg_put, puthook, fmt); - } -@@ -752,2 +759,10 @@ - -+static int wrap_do_encode(u_char *buff, size_t vec_max, size_t *used, -+int (*arg_get)(void *, char *), void *gethook, char *fmt, ...) -+{ -+ va_list ap; -+ va_start(ap,fmt); -+ return do_encode(buff,vec_max,used,arg_get,gethook,fmt,ap); -+} -+ - /* XXX: Should be a constant in scsiio.h -@@ -760,3 +775,3 @@ - { -- int cmdlen; -+ size_t cmdlen; - va_list ap; -@@ -800,4 +815,3 @@ - { -- int cmdlen; -- va_list ap = (va_list) 0; -+ size_t cmdlen; - -@@ -826,4 +840,4 @@ - -- if (do_encode(scsireq->cmd, CMD_BUFLEN, &cmdlen, arg_get, gethook, -- cmd_spec, ap) == -1) -+ if (wrap_do_encode(scsireq->cmd, CMD_BUFLEN, &cmdlen, arg_get, gethook, -+ cmd_spec) == -1) - return 0; -@@ -851,5 +865,4 @@ - { -- va_list ap = (va_list)0; -- return do_encode(buff, len, 0, -- arg_get, gethook, fmt, ap); -+ return wrap_do_encode(buff, len, 0, -+ arg_get, gethook, fmt); - } -@@ -859,5 +872,4 @@ - { -- va_list ap = (va_list)0; -- return do_encode(scsireq->databuf, scsireq->datalen, 0, -- arg_get, gethook, fmt, ap); -+ return wrap_do_encode(scsireq->databuf, scsireq->datalen, 0, -+ arg_get, gethook, fmt); - } diff --git a/devel/libscsi/patches/patch-ad b/devel/libscsi/patches/patch-ad deleted file mode 100644 index 99f112a8d82..00000000000 --- a/devel/libscsi/patches/patch-ad +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2007/09/12 21:05:30 rillig Exp $ - ---- scsi.c.orig 2007-09-12 21:25:59.000000000 +0200 -+++ scsi.c 2007-09-12 21:29:07.000000000 +0200 -@@ -37,7 +37,7 @@ - #include <ctype.h> - #include <string.h> - #include <sys/scsiio.h> --#include <sys/errno.h> -+#include <errno.h> - #include <stdarg.h> - #include <fcntl.h> - -@@ -1044,7 +1044,7 @@ static void sense_7x_dump(FILE *f, scsir - fprintf(f, "Illegal value in the %s.\n", - (bad_par ? "parameter list" : "command descriptor block")); - byte = ((s[16] << 8) | s[17]); -- value = bad_par ? (u_char)scsireq->databuf[byte] : (u_char)scsireq->cmd[byte]; -+ value = ((u_char *)(bad_par ? scsireq->databuf : scsireq->cmd))[byte]; - bit = s[15] & 0x7; - if (s[15] & 0x08) - fprintf(f, "Bit %d of byte %d (value %02x) is illegal.\n", |