stub out cdrecord (superseded by cdrtools); ok niklas@

This commit is contained in:
naddy 2002-05-13 14:23:20 +00:00
parent 1d55402be7
commit b5fb38eedb
10 changed files with 5 additions and 155 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.60 2002/03/30 20:55:28 drahn Exp $
# $OpenBSD: Makefile,v 1.61 2002/05/13 14:23:20 naddy Exp $
# $FreeBSD: Makefile,v 1.121 1997/11/17 10:14:33 tg Exp $
#
@ -11,7 +11,6 @@
SUBDIR += cbb
SUBDIR += cdrchive
SUBDIR += cdrdao
SUBDIR += cdrecord
# SUBDIR += chord
# SUBDIR += colorls
# SUBDIR += ctk

View File

@ -1,45 +1,9 @@
# $OpenBSD: Makefile,v 1.21 2002/03/21 21:09:18 espie Exp $
# $OpenBSD: Makefile,v 1.22 2002/05/13 14:23:20 naddy Exp $
COMMENT= "creates CD's on a CD-Recorder"
COMMENT= "superseded by cdrtools"
# It's pretty easy to add other architectures,
# mail me if you miss a particular one.
ONLY_FOR_ARCHS= alpha amiga hp300 i386 mac68k macppc mvme68k sparc sun3
DISTNAME= cdrecord-1.9
PKGNAME= cdrecord
CATEGORIES= misc
NEED_VERSION= 1.515
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/
MAINTAINER= Niklas Hallqvist <niklas@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= INS_BASE="${PREFIX}"
USE_GMAKE= Yes
MAKE_ENV= MAKEPROG="${MAKE_PROGRAM}"
# Cdrecord's standard install rule installs some unnecessary stuff,
# we instead explicitly install what we want.
OBJDIR= OBJ/${MACHINE}-openbsd-${CC}
.if ${MACHINE} != i386
post-extract:
@cd ${WRKSRC}/RULES && \
ln -sf i386-openbsd-gcc.rul ${MACHINE}-openbsd-gcc.rul; \
ln -sf i386-openbsd-cc.rul ${MACHINE}-openbsd-cc.rul
.endif
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cdrecord
${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/${OBJDIR}/cdrecord ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/${OBJDIR}/cdda2wav ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cdrecord
IGNORE= "superseded by cdrtools"
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (cdrecord-1.9.tar.gz) = 0fa360d9280d16370d7738ec0b62affb
RMD160 (cdrecord-1.9.tar.gz) = 97bd37fabd02dbb34126780e5819e212b33e3466
SHA1 (cdrecord-1.9.tar.gz) = 3f77e9eda5cd0b20dd4e346d4d2f601bb1fbaf56

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-DEFAULTS_Defaults_openbsd,v 1.1 2001/09/26 18:21:53 brad Exp $
--- DEFAULTS/Defaults.openbsd.orig Mon Mar 13 07:38:06 2000
+++ DEFAULTS/Defaults.openbsd Wed Sep 26 11:40:08 2001
@@ -19,15 +19,13 @@ DEFCCOM= cc
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
-LDPATH= -L/opt/schily/lib
-#RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR) Will probably not work
###########################################################################
#
# Installation config stuff
#
###########################################################################
-INS_BASE= /opt/schily
+INS_BASE?= /usr/local
INS_KBASE= /
#
DEFUMASK= 002

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-RULES_mk-gmake_id,v 1.1 2001/09/26 18:21:53 brad Exp $
--- RULES/mk-gmake.id.orig Sun Dec 6 07:51:19 1998
+++ RULES/mk-gmake.id Wed Sep 26 10:12:23 2001
@@ -37,7 +37,7 @@ MAKEPROG= gmake
ifndef ARCH_DONE
-_MACHCMD= (mach || uname -p || true) 2> /dev/null
+_MACHCMD= (mach || machine || uname -p || true) 2> /dev/null
_ARCHCMD= (arch || /usr/ucb/arch || true) 2> /dev/null
XP_ARCH:= $(shell $(_MACHCMD) | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-cdrecord_fifo_c,v 1.1 2001/09/26 18:21:53 brad Exp $
--- cdrecord/fifo.c.orig Sun May 7 08:49:38 2000
+++ cdrecord/fifo.c Wed Sep 26 10:12:24 2001
@@ -86,7 +86,7 @@ FILE *ef;
#define USDEBUG2
#endif
-#define palign(x, a) (((char *)(x)) + ((a) - 1 - (((unsigned)((x)-1))%(a))))
+#define palign(x, a) (((char *)(x)) + ((a) - 1 - (((unsigned long)((x)-1))%(a))))
typedef enum faio_owner {
owner_none,

View File

@ -1,24 +0,0 @@
--- conf/configure.orig Sat Jun 3 23:37:43 2000
+++ conf/configure Fri Mar 30 19:45:08 2001
@@ -3940,6 +3940,12 @@ fi
echo $ac_n "checking for mlockall""... $ac_c" 1>&6
echo "configure:3943: checking for mlockall" >&5
+case "$XARCH" in
+ i386-openbsd*)
+ # mlockall broken
+ ac_cv_func_mlockall=no
+ ;;
+ *)
if eval "test \"`echo '$''{'ac_cv_func_mlockall'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3978,6 +3984,8 @@ rm -fr conftest*
fi
fi
+;;
+esac
echo "$ac_t""$ac_cv_func_mlockall" 1>&6
if test $ac_cv_func_mlockall = yes; then

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-include_btorder_h,v 1.1 2001/09/26 18:21:53 brad Exp $
--- include/btorder.h.orig Wed Jan 5 12:42:40 2000
+++ include/btorder.h Wed Sep 26 10:12:24 2001
@@ -20,6 +20,13 @@
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifdef __OpenBSD__
+#if BYTE_ORDER == LITTLE_ENDIAN
+#define _BIT_FIELDS_LTOH
+#elif BYTE_ORDER == BIG_ENDIAN
+#define _BIT_FIELDS_HTOL
+#endif
+#endif
#ifndef _BTORDER_H
#define _BTORDER_H

View File

@ -1,18 +0,0 @@
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 the following drives:
COMPRO/Matsushita/Panasonic CW-7502
Philips CDD-2000
TEAC CD-R55S
Yamaha CDR-400
It should run also on:
All SCSI-3/mmc compliant drives
All ATAPI/mmc compliant drives
Actual information on cdrecord may be found on:
http://www.fokus.gmd.de/nthp/employees/schilling/cdrecord.html

View File

@ -1,7 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2001/05/06 02:29:57 lebel Exp $
bin/cdrecord
bin/cdda2wav
man/man1/cdrecord.1
man/man1/cdda2wav.1
share/doc/cdrecord/README
@dirrm share/doc/cdrecord