summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2000-02-21 16:45:32 +0000
committerpooka <pooka@pkgsrc.org>2000-02-21 16:45:32 +0000
commit5b004a82fff626493677c564dc382a0f6c61daae (patch)
tree82ddc9502fa2adc25f8c5e86870c1685e695bfcb /sysutils
parent1ae3b11d04162d6978c0ebe70483d473b8a061fa (diff)
downloadpkgsrc-5b004a82fff626493677c564dc382a0f6c61daae.tar.gz
Import bchunk 1.0.0, a utility to convert CD images in ".bin / .cue" format
to a ISO filesystem or VCD
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bchunk/Makefile13
-rw-r--r--sysutils/bchunk/files/md53
-rw-r--r--sysutils/bchunk/files/patch-sum3
-rw-r--r--sysutils/bchunk/patches/patch-aa31
-rw-r--r--sysutils/bchunk/pkg/COMMENT1
-rw-r--r--sysutils/bchunk/pkg/DESCR12
-rw-r--r--sysutils/bchunk/pkg/MESSAGE8
-rw-r--r--sysutils/bchunk/pkg/PLIST3
8 files changed, 74 insertions, 0 deletions
diff --git a/sysutils/bchunk/Makefile b/sysutils/bchunk/Makefile
new file mode 100644
index 00000000000..d318cdb235f
--- /dev/null
+++ b/sysutils/bchunk/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/02/21 16:45:32 pooka Exp $
+
+DISTNAME= bchunk-1.0.0
+CATEGORIES= sysutils
+MASTER_SITES= http://hes.iki.fi/bchunk/
+
+MAINTAINER= pooka@netbsd.org
+HOMEPAGE= http://hes.iki.fi/bchunk/
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bchunk ${PREFIX}/bin/bchunk
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/bchunk/files/md5 b/sysutils/bchunk/files/md5
new file mode 100644
index 00000000000..4ad90099152
--- /dev/null
+++ b/sysutils/bchunk/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/02/21 16:45:32 pooka Exp $
+
+MD5 (bchunk-1.0.0.tar.gz) = 09ee48d87a4643dcaefe471f7ca4becb
diff --git a/sysutils/bchunk/files/patch-sum b/sysutils/bchunk/files/patch-sum
new file mode 100644
index 00000000000..21ec89e9702
--- /dev/null
+++ b/sysutils/bchunk/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/02/21 16:45:32 pooka Exp $
+
+MD5 (patch-aa) = 17eafc8092b92b6cec2dd864a9d31db0
diff --git a/sysutils/bchunk/patches/patch-aa b/sysutils/bchunk/patches/patch-aa
new file mode 100644
index 00000000000..2b282c2c12a
--- /dev/null
+++ b/sysutils/bchunk/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/02/21 16:45:32 pooka Exp $
+
+--- bchunk.c.orig Sun Oct 11 01:51:30 1998
++++ bchunk.c Mon Feb 21 18:09:52 2000
+@@ -138,13 +138,22 @@
+
+ } else if (!strcasecmp(modes, "MODE2/2352")) {
+ track->bstart = 0;
+- // If this would happen to be a playstation data track
+- if (0) // leave at 2352
+- track->bsize = 2352;
++ if (1)
++ track->bsize = 2048;
+ else // PSX
+ track->bsize = 2336;
+ track->extension = ext_iso;
+-
++
++ } else if (!strcasecmp(modes, "MODE2/2352/2048")) {
++ track->bstart = 24;
++ track->bsize = 2048;
++ track->extension = ext_iso;
++
++ } else if (!strcasecmp(modes, "MODE2/2352/2324")) {
++ track->bstart = 24;
++ track->bsize = 2324;
++ track->extension = ext_iso;
++
+ } else if (!strcasecmp(modes, "MODE2/2336")) {
+ // WAS 2352 in V1.361B still work?
+ // what if MODE2/2336 single track bin, still 2352 sectors?
diff --git a/sysutils/bchunk/pkg/COMMENT b/sysutils/bchunk/pkg/COMMENT
new file mode 100644
index 00000000000..b8bdfab0a65
--- /dev/null
+++ b/sysutils/bchunk/pkg/COMMENT
@@ -0,0 +1 @@
+".bin/.cue" CD image converter
diff --git a/sysutils/bchunk/pkg/DESCR b/sysutils/bchunk/pkg/DESCR
new file mode 100644
index 00000000000..368fa53bfa8
--- /dev/null
+++ b/sysutils/bchunk/pkg/DESCR
@@ -0,0 +1,12 @@
+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.
diff --git a/sysutils/bchunk/pkg/MESSAGE b/sysutils/bchunk/pkg/MESSAGE
new file mode 100644
index 00000000000..268ea2c70ab
--- /dev/null
+++ b/sysutils/bchunk/pkg/MESSAGE
@@ -0,0 +1,8 @@
+=========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2000/02/21 16:45:32 pooka Exp $
+
+It is advisable that you edit the .cue file to either MODE2/2352/2048 or
+MODE2/2352/2324 depending on wether you want an ISO filesystem or a VCD,
+respectively. The format itself does not contain this feature and in an
+ambiguous case it can only guess.
+=========================================================================
diff --git a/sysutils/bchunk/pkg/PLIST b/sysutils/bchunk/pkg/PLIST
new file mode 100644
index 00000000000..c9efcaec3d1
--- /dev/null
+++ b/sysutils/bchunk/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/02/21 16:45:32 pooka Exp $@
+
+bin/bchunk