summaryrefslogtreecommitdiff
path: root/audio/tosha
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tosha')
-rw-r--r--audio/tosha/DESCR7
-rw-r--r--audio/tosha/Makefile20
-rw-r--r--audio/tosha/PLIST7
-rw-r--r--audio/tosha/distinfo9
-rw-r--r--audio/tosha/patches/patch-aa48
-rw-r--r--audio/tosha/patches/patch-ab78
-rw-r--r--audio/tosha/patches/patch-ac15
-rw-r--r--audio/tosha/patches/patch-af13
8 files changed, 0 insertions, 197 deletions
diff --git a/audio/tosha/DESCR b/audio/tosha/DESCR
deleted file mode 100644
index f950230cac3..00000000000
--- a/audio/tosha/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-"tosha" reads one or more CD-DA (digital audio) tracks or absolute
-sectors and writes them into a single or multiple files, or to the
-standard output.
-
-The digital audio data is read through the SCSI bus; thus tosha
-does NOT work with IDE/ATAPI CD-ROM drives nor with proprietary
-interfaces.
diff --git a/audio/tosha/Makefile b/audio/tosha/Makefile
deleted file mode 100644
index c688823412a..00000000000
--- a/audio/tosha/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2007/01/07 09:13:47 rillig Exp $
-
-DISTNAME= tosha-0.05
-PKGREVISION= 1
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-# author's homepage is at http://www.secnetix.de/~olli/, but tosha isn't mentioned
-COMMENT= Read CD digital audio data through the SCSI bus
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
-
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-
-.include "../../devel/libscsi/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/tosha/PLIST b/audio/tosha/PLIST
deleted file mode 100644
index 35d18419edb..00000000000
--- a/audio/tosha/PLIST
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:18:04 zuntum Exp $
-bin/tosha
-bin/pcmplay
-bin/pcmfade
-man/man1/tosha.1
-man/man1/pcmplay.1
-man/man1/pcmfade.1
diff --git a/audio/tosha/distinfo b/audio/tosha/distinfo
deleted file mode 100644
index 3c62f4118f2..00000000000
--- a/audio/tosha/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.5 2006/06/24 08:37:40 rillig Exp $
-
-SHA1 (tosha-0.05.tar.gz) = b567f452843b544b082c88403d74ad1ca07f6820
-RMD160 (tosha-0.05.tar.gz) = 21ed9253b020efba1035febe86080a2bd8cc04da
-Size (tosha-0.05.tar.gz) = 17859 bytes
-SHA1 (patch-aa) = 10e3bff1ce1859e0389f39e4042960c0a61ca2b7
-SHA1 (patch-ab) = 9b4b43d6cb0fe2871cfd0e7e76ffdbd19123573a
-SHA1 (patch-ac) = 26feb1151d4fb02c5831762447c7bb264517f4d6
-SHA1 (patch-af) = 4a1debd7dec8eaa6e2cae2dc33c8ec1aecbfc736
diff --git a/audio/tosha/patches/patch-aa b/audio/tosha/patches/patch-aa
deleted file mode 100644
index 4f61fed67bd..00000000000
--- a/audio/tosha/patches/patch-aa
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-aa,v 1.10 2006/06/24 08:37:40 rillig Exp $
-
---- Makefile.orig 1997-05-21 01:57:17.000000000 +0200
-+++ Makefile 2006-06-24 10:36:24.000000000 +0200
-@@ -5,7 +5,6 @@
- # Wed May 21 01:51:37 MET DST 1997
- #
-
--PREFIX=/usr/local
- BINDIR=$(PREFIX)/bin
- MANDIR=$(PREFIX)/man
- SECTION=1
-@@ -16,7 +15,7 @@ SECTION=1
- ###### ######
- ###################################################
-
--CFLAGS=-O2 -Wall -ansi
-+# CFLAGS=-O2 -Wall -ansi
- # CFLAGS=-g -Wall -ansi -pedantic
-
- all: tosha pcmplay pcmfade
-@@ -28,21 +27,17 @@ pcmplay.o: pcmplay.c utils.h getlopt.h
- pcmfade.o: pcmfade.c utils.h
-
- tosha: tosha.o utils.o getlopt.o
-- $(CC) $(CFLAGS) -o tosha -lscsi tosha.o utils.o getlopt.o
-+ $(CC) $(CFLAGS) -o tosha tosha.o utils.o getlopt.o ${LDFLAGS} -lscsi -lutil
-
- pcmplay: pcmplay.o utils.o getlopt.o
-- $(CC) $(CFLAGS) -o pcmplay pcmplay.o utils.o getlopt.o
-+ $(CC) $(CFLAGS) -o pcmplay pcmplay.o utils.o getlopt.o ${LDFLAGS} ${LIBOSSAUDIO}
-
- pcmfade: pcmfade.o utils.o
-- $(CC) $(CFLAGS) -o pcmfade pcmfade.o utils.o
-+ $(CC) $(CFLAGS) -o pcmfade pcmfade.o utils.o ${LDFLAGS}
-
- install: tosha pcmplay pcmfade
-- install -s -g bin -o bin -m 755 tosha pcmplay pcmfade $(BINDIR)
-- install -c -g bin -o bin -m 644 tosha.1 pcmplay.1 pcmfade.1 \
-- $(MANDIR)/man$(SECTION)
-- gzip -f -9 $(MANDIR)/man$(SECTION)/tosha.1 \
-- $(MANDIR)/man$(SECTION)/pcmplay.1 \
-- $(MANDIR)/man$(SECTION)/pcmfade.1
-+ ${BSD_INSTALL_PROGRAM} tosha pcmplay pcmfade $(BINDIR)
-+ ${BSD_INSTALL_MAN} tosha.1 pcmplay.1 pcmfade.1 $(MANDIR)/man$(SECTION)
-
- clean:
- rm -f *.o *~ *core tosha pcmplay pcmfade
diff --git a/audio/tosha/patches/patch-ab b/audio/tosha/patches/patch-ab
deleted file mode 100644
index a51f05eb680..00000000000
--- a/audio/tosha/patches/patch-ab
+++ /dev/null
@@ -1,78 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2000/11/19 12:34:23 fvdl Exp $
-
---- tosha.c.orig Wed May 21 02:11:49 1997
-+++ tosha.c Sun Nov 19 13:01:03 2000
-@@ -49,7 +49,8 @@
- #include <sys/uio.h>
- #include <sys/scsiio.h>
- #include <unistd.h>
--#include <scsi.h>
-+#include <util.h>
-+#include "scsi.h"
- extern int errno;
-
- /*
-@@ -93,7 +94,7 @@
- #include "getlopt.h"
-
- typedef unsigned char byte;
--typedef unsigned long ulong;
-+/*typedef unsigned long ulong;*/
-
- struct scsireq *sreq; /* SCSI device request structure */
- int scsifd; /* SCSI device file descriptor */
-@@ -127,8 +128,8 @@
- int result;
-
- scsireq_reset (sreq);
-- sreq->timeout = 10000;
- scsireq_build (sreq, size, (char *) buf, flags, cmd);
-+ sreq->timeout = 10000;
- result = scsireq_enter (scsifd, sreq);
- #ifndef DEBUG
- if (SCSIREQ_ERROR (sreq))
-@@ -182,7 +183,8 @@
-
- char *tracklstr = "1-100";
- char *outname = "track%02d.pcm";
--char *device = "/dev/cd0c";
-+char device_store[256];
-+char *device = device_store;
- int indexonly = FALSE;
- int quiet = FALSE;
- int verbose = FALSE;
-@@ -387,7 +389,6 @@
- if ((secread = framesperbuf) > endpp - sec)
- secread = endpp - sec;
- scsireq_reset (sreq);
-- sreq->timeout = 10000;
- if (readcmd == 0xd8)
- scsireq_build (sreq, FRAMESIZE * secread,
- (char *) buf, SCCMD_READ,
-@@ -398,6 +399,7 @@
- (char *) buf, SCCMD_READ,
- "v 0 0 v:i3 0 0 v 0", readcmd,
- sec, secread);
-+ sreq->timeout = 10000;
- result = scsireq_enter (scsifd, sreq);
- #ifndef DEBUG
- if (SCSIREQ_ERROR (sreq))
-@@ -464,6 +466,8 @@
- int singlefile = FALSE;
- int modechange = TRUE, denschange = 0;
-
-+ (void) snprintf(device, 256, "/dev/rcd0%c", getrawpartition() + 'a');
-+
- utils_init (argv[0]);
- #ifdef DEBUG
- fprintf (stderr, "%s: DEBUG mode is ON.\n", me);
-@@ -647,7 +651,8 @@
- fprintf (stderr, " Reading ...\r");
- }
- else {
-- asprintf (&ofname, outname, i+1);
-+ ofname = malloc(1000); /* XXX */
-+ sprintf (ofname, outname, i+1);
- if (!quiet)
- fprintf (stderr, verbose ?
- " (output file: %s)\n" :
diff --git a/audio/tosha/patches/patch-ac b/audio/tosha/patches/patch-ac
deleted file mode 100644
index bf2d26a55a9..00000000000
--- a/audio/tosha/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.1 1998/10/28 05:43:20 garbled Exp $
---- tosha.1.orig Tue Oct 27 22:38:26 1998
-+++ tosha.1 Tue Oct 27 22:40:02 1998
-@@ -152,7 +152,10 @@
- (raw), 44.1 kHz, signed 16 bit stereo. If you need a
- different format, use
- .BR sox (1)
--to convert it.
-+to convert it. Output data is in little-endian format,
-+regardless of the endianess of the machine you are running
-+.BR tosha
-+on.
- .P
- Not all SCSI drives work with
- .BR tosha ,
diff --git a/audio/tosha/patches/patch-af b/audio/tosha/patches/patch-af
deleted file mode 100644
index 914c442b620..00000000000
--- a/audio/tosha/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.3 2004/05/31 17:35:15 minskim Exp $
-
---- pcmplay.c.orig 1997-05-20 19:11:13.000000000 -0500
-+++ pcmplay.c
-@@ -46,7 +46,7 @@
- #include "utils.h"
- #include "getlopt.h"
-
--char *audevice = "/dev/dsp";
-+char *audevice = DEVOSSAUDIO;
- int buffersize = 32;
- int dsp_samplesize = 16;
- int dsp_channels = 2;