Commit graph

27 commits

Author SHA1 Message Date
grant
a82c9585c4 make this build on Solaris. 2003-05-06 19:52:43 +00:00
grant
38245e9df8 default the config file to PKG_SYSCONFDIR/cdrecord.conf unless
overridden by the user via CDRECORD_CONF.

You must move your config file to the new location if you update!

patch man pages and print a MESSAGE if CDRECORD_CONF is not set to
`/etc/default/cdrecord', as required by license.

bump PKGREVISION.

addresses PR pkg/20593 from Steven M. Bellovin.
2003-03-08 08:16:58 +00:00
lukem
6d7de46c96 Update to cdrecord 2.0.
Too many changes to list them all here; see following for full details:
	ftp://ftp.berlios.de/pub/cdrecord/AN-2.0

cdrecord:
	-overburn option
	Driveropts "burnproof" renamed to "burnfree"
	CD-Text support.

cdda2wav:
	Added -L to query freedb.freedb.org for CDDB information.

mkisofs:
	Fix -graft-points.
	Various fixes to HFS support.

libedc:
	Performance enhancements.

libscg:
	Various improvements to SCSI & ATAPI transports.
2003-01-03 16:27:09 +00:00
jlam
ad3d77880d * Use ossaudio.buildlink2.mk and some other features of buildlink2 to
remove unwanted paths to headers and libraries when invoking the
  compiler.  Also remove patches that are no longer needed with the
  complete conversion of this package to buildlink2.

* Also run cdda2wav.1 through tbl to make "man cdda2wav" readable for the
  -v option.

* Rearrange logic to simplify/shorten the package Makefile.
2002-09-26 11:32:02 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
bouyer
a8a31aebfa Don't request data length which are not multiple of 2 bytes for request_sense.
ATAPI being a 16bit bus it can't properly deal with requests which are not
multiple of 2 bytes.
2002-05-18 14:52:31 +00:00
drochner
4c6407660e update to 1.10
There are MANY bugfixes and cleanups. The changelog file is 22k in size.
2001-08-07 11:23:57 +00:00
bouyer
e6d5e98612 On NetBSD, the kernel issues a request sense if needed. So no need to
issue request sense from userland, just print the sense info we got
when the ioctl returned.
2001-06-20 16:46:13 +00:00
frueauf
4d5c9193d2 Add patch which makes 'cdrecord -scanbus' more usefull.
I admitt its an ugly hack, but this allows xcdroast to work
on most common configurations. Anyone with more scsi knowledge
should feel free to enhance this code :-)

Also bump version to 1.9nb1.
2001-02-10 23:15:31 +00:00
mycroft
b66e170c16 Nuke all usage of setre[ug]id(), even though they appear to be `safe'. 2000-11-21 23:37:02 +00:00
wiz
51ad80df15 Install man page for readcd; add cross-references to supplemental man pages
to cdrecord.1. Fixes pkg/10335.
2000-09-10 17:37:10 +00:00
rh
8c74841c09 Update cdrecord to 1.9.
Changes to 1.8.1 are:

All:

-       Fallback code to use the USCSI interface on Solaris
        This should add ATAPI support on Solaris 8 sparc.
        Solaris 8 x86 does support ATAPI with the scg driver
        as Sun fixed the structural bug for thw Intel version.

        Warning: The USCI interface has several drawbacks:

        -       Only finds disk type devices with -scanbus

        -       Cannot open devices that are currently attached
                to the volume management system

        -       The Goldstar ATAPI CD-ROM in a U-10 transfers data
                but the DMA residual count shows that there has
                been no transfer at all.

        Facit: Test by your own if this interface is usable.
        Please report problems!

        To check the difference:

        cdrecord -scanbus               uses the scg driver
        cdrecord -scanbus dev=USCSI     uses the USCSI interface
        cdrecord -toc    dev=1,6,0      uses the scg driver
        cdrecord -toc   dev=USCSI:1,6,0 uses the USCSI interface

        NOTE: If you are using the USCSI interface you will need
                to shut down the volume management for the drives
                you like to use.

-       Linux code in libscg now tries to use new features of the
        Linus sg driver:

        -       Trying to use more then 32 kB for DMA
                The interface for raising the DMA limit from 32 kB
                is a real pain. It needs a lot of code to adopt
                the interface to libscg.

        -       Trying to use the new ioctl() interface if present.
                This interface now supports:

                -       SCSI CDB sizes for vendor unique commands

                -       SCSI status byte

                -       SCSI command transport status

                -       More than 16 bytes of sense data
                        (not yet working!)

                -       DMA residual count
                        (not yet working!)

                -       Arbitrary DMA address pointers !!!

        -       Trying to use the new RESET ioctl()
                (not yet working!)

        All items marked (not yet working!) will turn funtional
        after the Linux kernel starts to support them.

        It seems that my shouting for a better SCSI interface succeeded.
        Linux-2.4 supports or at least includes an interface that may
	support the needed things in future.

        As from now it is unclear whether the code will expose
        any portability problems, please test on different Linux
        versions from 2.0 ... 2.4 if available and report problems.


-       README.macosX added (needed to know how to compile).
        As Apple deliveres an inconsistent OS, you need to follow the
        instuctions in this README file before you may compile
        cdrtools on Mac OS X.

TODO:

-       Better BeOS integration

Cdrecord:

-       include sys/select.h if needed (AIX)

-       Support for Ricoh 9060 CD-RW/DVD-ROM drive

-       Support for Plextor PX-W1210TA (with BURN-Proof)

-       Printing of new features added to -prcap function

-       New Disk manufacturers:

                "WEALTH FAIR INVESTMENT LIMITE"
                "General Magnetics Ld"
                "MPO"

-       DAO now should work with pregapsize == 0 when
        using Sony or Goldstar drives.

        Cdrecord retries with pregaps set to 1

-       New options -shorttrack & -noshorttrack
        will allow to copy CD's with supershort tracks
        in DAO mode if the drive supports it.

-       Fix for a buffer overflow with cdrecord dev=
        This problem did not exist on sparc systems,
        for this reason it has not been detected before.

-       ATIP Decoder now decodes disk sub type for High speed CD-RW

-       Support for 99 minute CD's.

-       Force the user to use -ignsize to allow >= 90 Minutes on CD even
        when the current CD is not in the blank capacity database.

Cdda2wav:

-       support for cds with illegal leadout (like HIM-CD)

-       bugfix for cd-text detection with plextor/Sony command sets

-       should compile and run under Mac-OS-X now

-       bugfix with the -q (quiet) option

-       bugfix use extra libs (like lossaudio for NetBSD)

-       bugfix use the correct sound device for Solaris

-       hardened cdda2wav against illegal ISRC codes

-       more diagnostics for illegal ISRCs

-       use setpriority in favor of nice

-       updated cdda2mp3 script for lame usage (alpha)

Readcd:

-       minor bugfixes with timing

-       New options -noerror & retries=#

-       restructured to be more flexible

-       Support for C2 error pointer scan with MMC drives &
        the Plextor U-Plex 40 CD-ROM


Mkisofs:

-       Now mkhybrid code is completely integrated into mkisofs.
        There is only one binary. To help users of mkhybrid,
        make install creates a hard link from mkhybroid to mkisofs.

-       man page cleaned up.

-       Now mkhybrid code is completely integrated into mkisofs.
        There is only one binary. To help users of mkhybrid,
        make install creates a hard link from mkhybroid to mkisofs.

-       New Option -eltorito-alt-boot allows to specify more
        than one Al Torito boot image (up to 63).
        Thanks to Egor Duda (deo@logos-m.ru).

-       fixed a core dump problem in multi.c

-       write.c now uses static buffer to circumvent a problem
        with the stone age Metrowerks C found on BeOS/PPC

-       Allow printing of percentage ready without floatingpoint code
        in printf.

-       apple_driver now compiles, but need to call
        make -f apple_driver.mk
        by hand

-       graft pointers are now really usable:

        -       Graft points are now disabled by default

        -       To enable, specify the -graft-point option

                dir=dir only works if the '=' is not escaped by '\'
                '\\' and '=' must be escaped by a '\\' if
                -graft-points has been specified.

-       Now there is no more a need to specify a command line arg
        if -path-list has been specified.
2000-07-22 16:14:48 +00:00
hubertf
6713d6c885 Fix building on machines where ${MACHINE} != ${MACHINE_ARCH}, like macppc.
Patches sent in by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> in PR 10168.
2000-05-22 02:00:56 +00:00
hubertf
ace960ec4a Use <machine/endian.h>. In contrast to <sys/endian.h>, it is also present
on 1.4.x machines. Noted by an unknown hero who's name I forgot. Sorry!
2000-03-15 00:09:07 +00:00
scw
5ca38bd201 Correctly figure out endianness on PowerPC platform.
This addresses PR/9506 by SUNAGAWA Keiki.
2000-03-04 16:59:12 +00:00
scw
2654a4e753 Updated to cdrecord-1.8.
The deleted patches have been incorporated into the master source tree.
2000-03-03 15:22:15 +00:00
mycroft
4644431e8c Make this build on PowerPC. 1999-10-09 20:51:41 +00:00
hubertf
a66cd42b5a This patch is not needed - remove it.
Pointed out by Patrick Welche <prlw1@cam.ac.uk> in PR 7840
1999-06-25 13:09:37 +00:00
tron
f05f726de6 Don't check for deprecated symbol "unix". 1998-12-28 09:35:42 +00:00
mycroft
02777ba24b egcs is configured to define a different symbol. *grumble* 1998-11-17 14:14:43 +00:00
frueauf
db4bd284df Add missing rcs id. 1998-11-12 23:50:33 +00:00
mycroft
ffbda3d533 Define the bitfield order for the ARM. 1998-11-07 19:45:47 +00:00
hubertf
847652b790 outdated 1998-10-22 09:30:00 +00:00
hubertf
d7566d6906 update to 1.6.1 1998-10-22 07:01:47 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
thorpej
f371f15b68 Port to NetBSD 1.3 and remove the automatic symlink of the real
CD-R device to /dev/sgx.
1997-11-13 08:17:23 +00:00
thorpej
12827acbcb Import FreeBSD's cdrecord port. 1997-11-13 07:32:26 +00:00