tosha port

This commit is contained in:
angelos 1998-05-21 01:18:13 +00:00
parent 81386d99b8
commit d48248685c
7 changed files with 111 additions and 0 deletions

17
audio/tosha/Makefile Normal file
View File

@ -0,0 +1,17 @@
# OpenBSD makefile for: tosha
# Version required: 0.05
# Date created: 29 April 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/21 01:18:13 angelos Exp $
#
DISTNAME= tosha-0.05
CATEGORIES= audio
MASTER_SITES= ftp://ftp.tu-clausthal.de/pub/unix/audio/
MAINTAINER= angelos@openbsd.org
MAN1= pcmfade.1 pcmplay.1 tosha.1
.include <bsd.port.mk>

1
audio/tosha/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (tosha-0.05.tar.gz) = a8de61c231018cd6044270a3936c3e08

View File

@ -0,0 +1,58 @@
*** Makefile.orig Tue May 20 19:57:17 1997
--- Makefile Wed Apr 29 01:51:01 1998
***************
*** 5,11 ****
# Wed May 21 01:51:37 MET DST 1997
#
- PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man
SECTION=1
--- 5,10 ----
***************
*** 16,22 ****
###### ######
###################################################
! CFLAGS=-O2 -Wall -ansi
# CFLAGS=-g -Wall -ansi -pedantic
all: tosha pcmplay pcmfade
--- 15,21 ----
###### ######
###################################################
! # CFLAGS=-O2 -Wall -ansi
# CFLAGS=-g -Wall -ansi -pedantic
all: tosha pcmplay pcmfade
***************
*** 28,34 ****
pcmfade.o: pcmfade.c utils.h
tosha: tosha.o utils.o getlopt.o
! $(CC) $(CFLAGS) -o tosha -lscsi tosha.o utils.o getlopt.o
pcmplay: pcmplay.o utils.o getlopt.o
! $(CC) $(CFLAGS) -o pcmplay pcmplay.o utils.o getlopt.o
--- 27,33 ----
pcmfade.o: pcmfade.c utils.h
tosha: tosha.o utils.o getlopt.o
! $(CC) $(CFLAGS) -o tosha tosha.o utils.o getlopt.o -lutil -lossaudio
pcmplay: pcmplay.o utils.o getlopt.o
! $(CC) $(CFLAGS) -o pcmplay pcmplay.o utils.o getlopt.o -lossaudio
***************
*** 40,48 ****
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
clean:
rm -f *.o *~ *core tosha pcmplay pcmfade
--- 39,44 ----

View File

@ -0,0 +1,19 @@
*** pcmplay.c.orig Wed May 20 21:17:48 1998
--- pcmplay.c Wed May 20 21:17:54 1998
***************
*** 41,47 ****
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
! #include <machine/soundcard.h>
#include "utils.h"
#include "getlopt.h"
--- 41,47 ----
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
! #include <soundcard.h>
#include "utils.h"
#include "getlopt.h"

1
audio/tosha/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Read CD digital audio data through the SCSI bus.

9
audio/tosha/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
"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.
Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>

6
audio/tosha/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
bin/tosha
bin/pcmplay
bin/pcmfade
man/man1/tosha.1
man/man1/pcmplay.1
man/man1/pcmfade.1