From d47b6595f5637ef0f6533a70252a5d6e185fc1ba Mon Sep 17 00:00:00 2001 From: naddy Date: Fri, 14 Dec 2001 01:38:08 +0000 Subject: [PATCH] Import bchunk 1.1.1. Submitted by Dave Watson . binchunker converts a CD image in a ".bin / .cue" format (sometimes ".raw / .cue") to a set of .iso and .cdr tracks. --- sysutils/bchunk/Makefile | 29 ++++++++++++++++++++++++++ sysutils/bchunk/distinfo | 3 +++ sysutils/bchunk/patches/patch-bchunk_1 | 25 ++++++++++++++++++++++ sysutils/bchunk/pkg/DESCR | 14 +++++++++++++ sysutils/bchunk/pkg/PLIST | 3 +++ 5 files changed, 74 insertions(+) create mode 100644 sysutils/bchunk/Makefile create mode 100644 sysutils/bchunk/distinfo create mode 100644 sysutils/bchunk/patches/patch-bchunk_1 create mode 100644 sysutils/bchunk/pkg/DESCR create mode 100644 sysutils/bchunk/pkg/PLIST diff --git a/sysutils/bchunk/Makefile b/sysutils/bchunk/Makefile new file mode 100644 index 00000000000..cdf809d981a --- /dev/null +++ b/sysutils/bchunk/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/12/14 01:38:08 naddy Exp $ +# $NetBSD: Makefile,v 1.4 2001/11/04 03:28:45 tv Exp $ + +COMMENT= ".bin/.cue to .iso CD image converter" + +DISTNAME= bchunk-1.1.1 +CATEGORIES= sysutils +NEED_VERSION= 1.500 +HOMEPAGE= http://hes.iki.fi/bchunk/ + +MAINTAINER= Dave Watson + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE} + +MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" + +NO_REGRESS= Yes + +do-install: + ${INSTALL_PROGRAM} ${WRKBUILD}/bchunk ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/bchunk.1 ${PREFIX}/man/man1 + +.include diff --git a/sysutils/bchunk/distinfo b/sysutils/bchunk/distinfo new file mode 100644 index 00000000000..04dd6c1ecd0 --- /dev/null +++ b/sysutils/bchunk/distinfo @@ -0,0 +1,3 @@ +MD5 (bchunk-1.1.1.tar.gz) = 9a86fde990df3a58fad51876139f121c +RMD160 (bchunk-1.1.1.tar.gz) = 0b7b9d38aabc3c571ead38396ab17c4598d8e7b2 +SHA1 (bchunk-1.1.1.tar.gz) = a3d25cf8a53e2b4f1793f44b53569ffe587a6a2b diff --git a/sysutils/bchunk/patches/patch-bchunk_1 b/sysutils/bchunk/patches/patch-bchunk_1 new file mode 100644 index 00000000000..85be9e8105c --- /dev/null +++ b/sysutils/bchunk/patches/patch-bchunk_1 @@ -0,0 +1,25 @@ +$OpenBSD: patch-bchunk_1,v 1.1.1.1 2001/12/14 01:38:08 naddy Exp $ +--- bchunk.1.orig Tue Aug 7 13:20:31 2001 ++++ bchunk.1 Wed Dec 12 18:03:28 2001 +@@ -25,6 +25,12 @@ The .cdr tracks are in the native CD aud + be either written on a CD-R using cdrecord -audio, or converted + to WAV (or any other sound format for that matter) using + sox. ++.LP ++It is advisable to edit the .cue file to either MODE2/2352/2048 or ++MODE2/2352/2324 depending on whether an ISO filesystem or a VCD is ++desired, respectively. ++The format itself does not contain this feature and in an ambiguous ++case it can only guess. + .SH OPTIONS + .TP 10 + .BI \-v +@@ -51,7 +57,7 @@ Raw CD image file + TOC (Track index, Table Of Contents) file + .TP 5 + .B *.iso +-Tracks in ISO9110 CD filesystem format. Can be either written on a ++Tracks in ISO9660 CD filesystem format. Can be either written on a + CD-R using cdrecord, or mounted (on Linux platforms at least) + through a loop device ('mount track.iso /mnt/cdrom -o loop=/dev/loop0,blocksize=1024'). + .TP 5 diff --git a/sysutils/bchunk/pkg/DESCR b/sysutils/bchunk/pkg/DESCR new file mode 100644 index 00000000000..e88c9eb1da2 --- /dev/null +++ b/sysutils/bchunk/pkg/DESCR @@ -0,0 +1,14 @@ +binchunker converts a CD image in a ".bin / .cue" format (sometimes +".raw / .cue") to a set of .iso and .cdr tracks. + +The bin/cue format is used by some non-Unix cd-writing software, but is +not supported on most other cd-writing programs. + +The .iso track contains an ISO file system, which can be vnconfiged and +mounted, or written on a CD-R using cdrecord. + +The .cdr tracks are in the native CD audio format. They can be either +written on a CD-R using cdrecord -audio, or converted to WAV (or any +other sound format for that matter) using sox. + +WWW: ${HOMEPAGE} diff --git a/sysutils/bchunk/pkg/PLIST b/sysutils/bchunk/pkg/PLIST new file mode 100644 index 00000000000..f1fef918958 --- /dev/null +++ b/sysutils/bchunk/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/12/14 01:38:08 naddy Exp $ +bin/bchunk +man/man1/bchunk.1