summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortron <tron>1999-09-17 08:18:33 +0000
committertron <tron>1999-09-17 08:18:33 +0000
commit9b80cf0d8ddb4335a5dd976541e95f6c08a01163 (patch)
treea6c7d17c6ac4790dd5d94e9f4b565438f9457861 /sysutils
parentc28c3ca1708fd9fdc423fe95e3d852dc51bec80e (diff)
downloadpkgsrc-9b80cf0d8ddb4335a5dd976541e95f6c08a01163.tar.gz
Import cdrecord version 1.8a28 as "cdrecord-current" package:
This program allows you to create CD's on a CD-Recorder.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrecord-current/Makefile34
-rw-r--r--sysutils/cdrecord-current/files/md53
-rw-r--r--sysutils/cdrecord-current/files/patch-sum7
-rw-r--r--sysutils/cdrecord-current/patches/patch-aa10
-rw-r--r--sysutils/cdrecord-current/patches/patch-ab38
-rw-r--r--sysutils/cdrecord-current/patches/patch-ac13
-rw-r--r--sysutils/cdrecord-current/patches/patch-ad15
-rw-r--r--sysutils/cdrecord-current/patches/patch-ae23
-rw-r--r--sysutils/cdrecord-current/pkg/COMMENT1
-rw-r--r--sysutils/cdrecord-current/pkg/DESCR19
-rw-r--r--sysutils/cdrecord-current/pkg/MESSAGE9
-rw-r--r--sysutils/cdrecord-current/pkg/PLIST6
12 files changed, 178 insertions, 0 deletions
diff --git a/sysutils/cdrecord-current/Makefile b/sysutils/cdrecord-current/Makefile
new file mode 100644
index 00000000000..17b5acd4fe7
--- /dev/null
+++ b/sysutils/cdrecord-current/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/17 08:18:33 tron Exp $
+
+DISTNAME= cdrecord-1.8a28
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.fokus.gmd.de/nthp/employees/schilling/cdrecord.html
+
+USE_GMAKE= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME:C/a.*//}
+TARGET_ARCH= ${MACHINE}-netbsd-cc
+TARGET_DIR= OBJ/${TARGET_ARCH}
+
+do-configure:
+ ${MKDIR} ${WRKSRC}/include/sys
+ ${LN} -fs /usr/include/soundcard.h ${WRKSRC}/include/sys
+ cd ${WRKSRC}/RULES; \
+ ${TEST} -f netbsd-cc.rul || ${MV} i386-netbsd-cc.rul netbsd-cc.rul; \
+ ${TEST} -f netbsd-gcc.rul || ${MV} i386-netbsd-gcc.rul netbsd-gcc.rul; \
+ ${LN} -sf netbsd-gcc.rul ${MACHINE}-netbsd-gcc.rul; \
+ ${LN} -sf netbsd-cc.rul ${TARGET_ARCH}.rul
+
+do-install:
+ cd ${WRKSRC}/cdda2wav; \
+ ${INSTALL_PROGRAM} ${TARGET_DIR}/cdda2wav ${PREFIX}/bin; \
+ ${INSTALL_MAN} cdda2wav.1 ${PREFIX}/man/man1
+ cd ${WRKSRC}/cdrecord; \
+ ${INSTALL_PROGRAM} ${TARGET_DIR}/cdrecord ${PREFIX}/bin; \
+ ${INSTALL_MAN} cdrecord.1 ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/misc/${TARGET_DIR}/readcd ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/cdrecord-current/files/md5 b/sysutils/cdrecord-current/files/md5
new file mode 100644
index 00000000000..e3211b7ee0f
--- /dev/null
+++ b/sysutils/cdrecord-current/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+MD5 (cdrecord-1.8a28.tar.gz) = 2df21b533db6ba3a2283eb2a2c3241b3
diff --git a/sysutils/cdrecord-current/files/patch-sum b/sysutils/cdrecord-current/files/patch-sum
new file mode 100644
index 00000000000..14a9843e41a
--- /dev/null
+++ b/sysutils/cdrecord-current/files/patch-sum
@@ -0,0 +1,7 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+MD5 (patch-aa) = ce1e36780a6289a44496d355e35da71c
+MD5 (patch-ab) = c9c1df507748e61533ddf34a26aba433
+MD5 (patch-ac) = ddbdfce08207bde25ecfbeee439ee1a8
+MD5 (patch-ad) = ec8aadadf88df2db7e4dfb5dd091498a
+MD5 (patch-ae) = 1c66b1c3c8e77d5ba9c0ac34f6a08b3b
diff --git a/sysutils/cdrecord-current/patches/patch-aa b/sysutils/cdrecord-current/patches/patch-aa
new file mode 100644
index 00000000000..b72c4a7445d
--- /dev/null
+++ b/sysutils/cdrecord-current/patches/patch-aa
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+--- TARGETS/Targetdirs.orig Mon Aug 30 17:19:44 1999
++++ TARGETS/Targetdirs Fri Sep 17 00:29:27 1999
+@@ -1,4 +1,4 @@
+ #ident %W% %E% %Q%
+ ###########################################################################
+-DIRS= patches conf inc lib libdeflt libscg cdrecord mkisofs-1.12b5 mkisofs-1.12b5/diag cdda2wav misc man
++DIRS= patches conf inc lib libdeflt libscg cdrecord cdda2wav misc
+ ###########################################################################
diff --git a/sysutils/cdrecord-current/patches/patch-ab b/sysutils/cdrecord-current/patches/patch-ab
new file mode 100644
index 00000000000..c23645e7d1e
--- /dev/null
+++ b/sysutils/cdrecord-current/patches/patch-ab
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+*** DEFAULTS/Defaults.netbsd.orig Wed Nov 12 23:52:33 1997
+--- DEFAULTS/Defaults.netbsd Wed Nov 12 23:55:30 1997
+***************
+*** 19,25 ****
+ CWARNOPTS=
+
+ DEFINCDIRS= $(SRCROOT)/include
+! LDPATH= -L/opt/schily/lib
+ #RUNPATH= -R /opt/schily/lib -R $(OLIBSDIR) Will probably not work
+
+ ###########################################################################
+--- 19,25 ----
+ CWARNOPTS=
+
+ DEFINCDIRS= $(SRCROOT)/include
+! LDPATH= -L$(SRCROOT)/lib
+ #RUNPATH= -R /opt/schily/lib -R $(OLIBSDIR) Will probably not work
+
+ ###########################################################################
+***************
+*** 27,33 ****
+ # Installation config stuff
+ #
+ ###########################################################################
+! INS_BASE= /opt/schily
+ INS_KBASE= /
+ #
+ DEFUMASK= 002
+--- 27,33 ----
+ # Installation config stuff
+ #
+ ###########################################################################
+! INS_BASE= $(PREFIX)
+ INS_KBASE= /
+ #
+ DEFUMASK= 002
diff --git a/sysutils/cdrecord-current/patches/patch-ac b/sysutils/cdrecord-current/patches/patch-ac
new file mode 100644
index 00000000000..5ff76c67643
--- /dev/null
+++ b/sysutils/cdrecord-current/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+--- include/btorder.h.orig Thu Apr 29 11:02:27 1999
++++ include/btorder.h Thu Sep 16 23:40:36 1999
+@@ -59,7 +59,7 @@
+
+ # if defined(__i386) || defined(i386) || \
+ defined(__alpha) || defined(alpha) || \
+- defined(__arm) || defined(arm)
++ defined(__arm) || defined(arm) || defined(__arm__)
+ # define _BIT_FIELDS_LTOH
+ # endif
+
diff --git a/sysutils/cdrecord-current/patches/patch-ad b/sysutils/cdrecord-current/patches/patch-ad
new file mode 100644
index 00000000000..2472b268077
--- /dev/null
+++ b/sysutils/cdrecord-current/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+--- include/mconfig.h.orig Fri Oct 9 15:31:45 1998
++++ include/mconfig.h Mon Dec 28 10:33:08 1998
+@@ -35,9 +35,7 @@
+ extern "C" {
+ #endif
+
+-#if defined(unix) || defined(__unix) || defined(__unix__)
+-# define IS_UNIX
+-#endif
++#define IS_UNIX
+
+ #ifdef __MSDOS__
+ # define IS_MSDOS
diff --git a/sysutils/cdrecord-current/patches/patch-ae b/sysutils/cdrecord-current/patches/patch-ae
new file mode 100644
index 00000000000..aa4b71462cd
--- /dev/null
+++ b/sysutils/cdrecord-current/patches/patch-ae
@@ -0,0 +1,23 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+
+--- cdda2wav/Makefile.orig Mon Aug 30 17:07:31 1999
++++ cdda2wav/Makefile Fri Sep 17 09:52:39 1999
+@@ -7,7 +7,8 @@
+
+ INSDIR= bin
+ TARGET= cdda2wav
+-CPPOPTS += -DFIFO -I../cdrecord $(CDDA2WAVDEFS)
++CPPOPTS += -DFIFO -I../cdrecord $(CDDA2WAVDEFS) \
++ -DECHO_TO_SOUNDCARD -DHAVE_OSS=1 -DHAVE_SYS_SOUNDCARD_H
+ CFILES= cdda2wav.c interface.c semshm.c resample.c \
+ toc.c wav.c sun.c raw.c md5c.c setuid.c ringbuff.c \
+ sndconfig.c scsi_cmds.c aiff.c aifc.c \
+@@ -17,7 +19,7 @@
+ config.h saveargs.h sndfile.h aiff.h aifc.h \
+ sndconfig.h scsi_cmds.h lowlevel.h byteorder.h mycdrom.h
+ #LIBS= -lschily $(LIB_SOCKET)
+-LIBS= -lscg -lschily $(SCSILIB)
++LIBS= -lscg -lschily $(SCSILIB) -lossaudio
+ XMK_FILE= Makefile.man
+
+ LCONFIG= local.cnf
diff --git a/sysutils/cdrecord-current/pkg/COMMENT b/sysutils/cdrecord-current/pkg/COMMENT
new file mode 100644
index 00000000000..a12763453e0
--- /dev/null
+++ b/sysutils/cdrecord-current/pkg/COMMENT
@@ -0,0 +1 @@
+This program allows you to create CD's on a CD-Recorder.
diff --git a/sysutils/cdrecord-current/pkg/DESCR b/sysutils/cdrecord-current/pkg/DESCR
new file mode 100644
index 00000000000..67fd582d455
--- /dev/null
+++ b/sysutils/cdrecord-current/pkg/DESCR
@@ -0,0 +1,19 @@
+Cdrecord allows you to create CD's on a CD-Recorder.
+
+Cdrecord has been implemented with a Philips CDD 521.
+Cdrecord now is maintained with a Philips CDD-2000
+It should run also on:
+
+ Philips CDD 522
+ Philips CDD 2000
+ Philips CDD 2600
+ HP C4324/C4325 (HP SureStore 4020i/6020i)
+ Plasmon RF-41000
+ Plasmon CDR 4220 (not tested)
+ Grundig CDR-100 (not tested)
+ Mitsumi CR-2401-TS (not tested)
+ Yamaha CDR-100
+ Yamaha CDR-102
+ Sony CDU-924
+
+Multi-session has not been tested with the Plasmon RF-4100
diff --git a/sysutils/cdrecord-current/pkg/MESSAGE b/sysutils/cdrecord-current/pkg/MESSAGE
new file mode 100644
index 00000000000..97f3742f821
--- /dev/null
+++ b/sysutils/cdrecord-current/pkg/MESSAGE
@@ -0,0 +1,9 @@
+---------------------------------------------------------------------------
+ You may want to create a link /dev/suB-D-L to point to your system's
+ CD-R device (B, D and L are the number of the SCSI bus, the device ID
+ and LUN of your CD writer). For e.g. a CD-R device named "cd0" connected
+ as unit 3 lun 0 to the first SCSI bus use this command:
+
+ ln -s cd0d /dev/su0-3-0
+
+---------------------------------------------------------------------------
diff --git a/sysutils/cdrecord-current/pkg/PLIST b/sysutils/cdrecord-current/pkg/PLIST
new file mode 100644
index 00000000000..a07c7e743f6
--- /dev/null
+++ b/sysutils/cdrecord-current/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/17 08:18:34 tron Exp $
+bin/cdda2wav
+bin/cdrecord
+bin/readcd
+man/man1/cdda2wav.1
+man/man1/cdrecord.1