cdrtools-vl.spec 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954
  1. # Upstream auther: Joerg Schilling <schilling@fokus.gmd.de>
  2. %define alphav a04
  3. Summary: A set command line tools for CD/DVD-Recorders
  4. Summary(ja): CD/DVD レコーダーのためのコマンドラインツール
  5. Name: cdrtools
  6. Version: 2.01.01
  7. #Release: 0vl0%{?alphav:.%{alphav}}.1
  8. Release: 1%{?alphav:.%{alphav}}%{?_dist_release}
  9. License: CDDL
  10. Group: Applications/Multimedia
  11. URL: http://cdrecord.berlios.de/old/private/cdrecord.html
  12. Source: %{name}-%{version}%{?alphav:%{alphav}}.tar.bz2
  13. # security fix
  14. Patch0: cdrecord-2.01-CAN-2004-0806.patch.bz2
  15. # patches from http://people.mandriva.com/~warly/files/cdrtools/
  16. Patch10: cdrtools-2.01.01a04-dvd.patch.bz2
  17. Patch13: cdrtools-2.01.01a04-rawio.patch.bz2
  18. Patch14: cdrtools-2.01.01a03-warnings.patch
  19. Patch15: cdrtools-2.01.01a01-scanbus.patch.bz2
  20. Patch16: cdrtools-2.01.01a03-rezero.patch
  21. # debian
  22. Patch30: cdrtools-2.01.01-mkisofs-iconv.patch
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. BuildRequires: libcap-devel, perl
  25. %description
  26. A set command line tools for CD/DVD-Recorders including cdrecord,
  27. mkisofs, readcd, isoinfo and others.
  28. %description -l ja
  29. CD/DVD レコーダーのためのコマンドラインツール群。
  30. cdrecord, mkisofs, readcd, isoinfo などのコマンドが含まれています。
  31. %package cdrecord
  32. Summary: A command line CD/DVD-Recorder
  33. Summary(ja): コマンドラインの CD/DVD 書き込みツール
  34. Group: Applications/Multimedia
  35. Obsoletes: cdrecord
  36. Provides: cdrecord
  37. %description cdrecord
  38. Cdrecord allows you to create CD's on a CD-Recorder (SCSI/ATAPI).
  39. Supports data, audio, mixed, multi-session and CD+ discs etc.
  40. %package devel
  41. Summary: Libraries and Headers needed for development.
  42. Group: Development/Libraries
  43. Obsoletes: cdrecord-devel, cdrtools-libscg, cdrtools-utils
  44. %description devel
  45. Libraries and Headers for development.
  46. %package cdda2wav
  47. Summary: Get WAV files from digital audio cd's
  48. Group: Applications/Multimedia
  49. Obsoletes: cdda2wav, cdrecord-cdda2wav
  50. Provides: cdda2wav
  51. %description cdda2wav
  52. A sampling utility for cdrom drives that are capable of sending audio
  53. cd data in digital form to your host. Data can be dumped into wav or
  54. sun format sound files. Options control the recording format (stereo/mono;
  55. 8,12,16 bits; different rates).
  56. %package mkisofs
  57. Summary: Creates a ISO9660 filesystem image
  58. Group: Applications/System
  59. Obsoletes: mkisofs, mkhybrid, cdrecord-mkhybrid, cdrecord-mkisofs
  60. Provides: mkisofs
  61. %description mkisofs
  62. This is the mkisofs package. It is used to create ISO 9660
  63. file system images for creating CD-ROMs. Now includes support
  64. for making bootable "El Torito" CD-ROMs.
  65. %prep
  66. %setup -q
  67. %patch0 -p1 -b .CAN-2004-0806
  68. %patch10 -p1 -b .dvd
  69. %patch13 -p1 -b .rawio
  70. %patch14 -p1 -b .warnings
  71. %patch15 -p1 -b .scanbus
  72. %patch16 -p1 -b .rezero
  73. %patch30 -p1 -b .iconv
  74. %__perl -pi -e "s/^COPTOPT=.*/COPTOPT=$RPM_OPT_FLAGS/g" RULES/*-linux-cc.rul
  75. find . -name \*.mk|xargs %__perl -pi -e 's/INSDIR=\s*lib\s*$/INSDIR=%{_lib}\n/g'
  76. %build
  77. ./Gmake.linux
  78. %install
  79. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  80. mandir=%{_mandir}
  81. ./Gmake.linux "MANDIR=${mandir#/usr}" \
  82. "INS_BASE=${RPM_BUILD_ROOT}%{_prefix}" install
  83. # Installing Header files for use with devel package
  84. rm include/scg
  85. install -d ${RPM_BUILD_ROOT}%{_prefix}/include/schily/scg
  86. install -m 644 include/* ${RPM_BUILD_ROOT}%{_prefix}/include/schily
  87. install -m 644 incs/*/xconfig.h ${RPM_BUILD_ROOT}%{_prefix}/include/schily
  88. install -m 644 libscg/scg/* ${RPM_BUILD_ROOT}%{_prefix}/include/schily/scg
  89. # Installing default config.
  90. mkdir -p ${RPM_BUILD_ROOT}/etc/default
  91. install -m 644 cdrecord/cdrecord.dfl ${RPM_BUILD_ROOT}/etc/default/cdrecord
  92. install -m 644 rscsi/rscsi.dfl ${RPM_BUILD_ROOT}/etc/default/rscsi
  93. ## Preparing doc files for RPM
  94. # cdrecord
  95. {
  96. pushd doc
  97. groff -Tps -man cdrecord.man > cdrecord.ps
  98. popd
  99. }
  100. # cdrecord
  101. mkdir cdrecord-rpmdocs
  102. cp AN-%{version}* doc/cdrecord.ps Changelog README.* \
  103. cdrecord/cdrecord.dfl cdrecord-rpmdocs
  104. chmod 644 -R cdrecord-rpmdocs/*
  105. cp -a READMEs cdrecord-rpmdocs/
  106. # cdda2wav
  107. mkdir cdda2wav-rpmdocs
  108. cp AN-%{version}* cdda2wav/Frontends cdda2wav/GPL cdda2wav/HOWTOUSE \
  109. cdda2wav/OtherProgs cdda2wav/README cdda2wav/THANKS cdda2wav/TODO \
  110. cdda2wav/cdda2mp3 cdda2wav/cdda2mp3.new cdda2wav/cdda_links \
  111. cdda2wav/pitchplay cdda2wav/readmult cdda2wav/tracknames.pl \
  112. cdda2wav/tracknames.txt cdda2wav/FAQ cdda2wav/cdda2ogg \
  113. cdda2wav-rpmdocs
  114. chmod 644 cdda2wav-rpmdocs/*
  115. install -m 755 cdda2wav/cdda2{mp3,ogg} $RPM_BUILD_ROOT%{_bindir}/
  116. # mkisofs
  117. mkdir mkisofs-rpmdocs
  118. cp AN-%{version}* mkisofs/COPYING mkisofs/ChangeLog mkisofs/README* \
  119. mkisofs-rpmdocs
  120. chmod 644 mkisofs-rpmdocs/*
  121. # remove unpackaged files
  122. rm -f $RPM_BUILD_ROOT%{_mandir}/man5/make{files,rules}.5*
  123. %clean
  124. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  125. %files cdrecord
  126. %defattr(-,root,root)
  127. %doc cdrecord-rpmdocs/*
  128. %config(noreplace) /etc/default/cdrecord
  129. %config(noreplace) /etc/default/rscsi
  130. %{_bindir}/cdrecord
  131. %{_bindir}/readcd
  132. %{_bindir}/devdump
  133. %{_bindir}/isoinfo
  134. %{_bindir}/isodump
  135. %{_bindir}/isodebug
  136. %{_bindir}/isovfy
  137. %{_bindir}/skel
  138. %{_mandir}/man1/cdrecord.1*
  139. %{_mandir}/man1/readcd.1*
  140. %{_mandir}/man8/isoinfo.8*
  141. %{_sbindir}/rscsi
  142. %files devel
  143. %defattr(-,root,root)
  144. %{_bindir}/scgcheck
  145. %{_libdir}/*.a
  146. %{_mandir}/man1/scgcheck.1*
  147. %{_includedir}/*.h
  148. %{_includedir}/schily
  149. %files cdda2wav
  150. %defattr(-,root,root)
  151. %doc cdda2wav-rpmdocs/*
  152. %{_prefix}/bin/cdda2wav
  153. %{_prefix}/bin/cdda2ogg
  154. %{_prefix}/bin/cdda2mp3
  155. %{_mandir}/man1/cdda2wav.1*
  156. %{_mandir}/man1/cdda2ogg.1*
  157. %files mkisofs
  158. %defattr(-,root,root)
  159. %doc mkisofs-rpmdocs/*
  160. %{_bindir}/mkisofs
  161. %{_bindir}/mkhybrid
  162. %{_mandir}/man8/mkisofs.8*
  163. %{_mandir}/man8/mkhybrid.8*
  164. %changelog
  165. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.01.01-1.a04vl5
  166. - applied new versioning policy, spec in utf-8
  167. * Fri Nov 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.01.01-0vl0.a04.1
  168. - added perl script to support lib64 architecture
  169. * Fri Oct 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.01.01-0vl0.a04
  170. - update to cdrtools-2.01.01a04
  171. - update dvd patch
  172. - remove unneeded patches
  173. - add iconv patch instead of NLS patch.
  174. * Fri Oct 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.01.01-0vl0.a01
  175. - update to cdrtools-2.01.01a01
  176. - FIXME: 2.01.01a03 and newer is not compatible with NLS patch
  177. - update dvd patch
  178. - add Patch15 to allow scanbus as user
  179. * Fri Sep 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.01-0vl1
  180. - new upstream release
  181. - [SECURITY] import CAN-2004-0806.patch (patch20) from MDV
  182. - fix RSH environment variable privilege escalation vulnerability
  183. - update URL
  184. - drop stupid macros
  185. - overwrite COPTOPT with $RPM_OPT_FLAGS
  186. - add BuildRequires: libcap-devel, perl
  187. - unofficial patches
  188. - update dvd.patch (patch10)
  189. - add rawio.patch (patch13) to burn as user with kernel 2.6.8
  190. - add warnings.patch (patch14) to remove warnings
  191. cf. http://people.mandriva.com/~warly/files/cdrtools/
  192. * Sat Jun 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.01-0.a31vl2
  193. - apply unofficial DVD support patch (Patch10,11,12)
  194. http://people.mandrakesoft.com/~warly/files/cdrtools/
  195. * Tue Jun 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.01-0.a31vl1
  196. - new upstream release
  197. * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.01-0.a24vl2
  198. - rebuild for VineSeedPlus
  199. * Wed Jan 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.01-0.a24vl1
  200. - source upgrade to 2.01_alpha24
  201. * Tue Sep 23 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.01-0.a15vl2
  202. - rebuild with new toolchains
  203. * Tue Jun 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.01-0.a15vl1
  204. - source upgrade to 2.01_alpha15
  205. * Sat May 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.01-0.a14vl1
  206. - source upgrade to 2.01_alpha14
  207. - use Gmake instead of make
  208. - add patch0 from Momonga Linux CVS repository
  209. * Mon May 12 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.11a40-0vl2
  210. - change man dir from /usr/man to /usr/share/man
  211. - revised %files section
  212. * Mon Dec 2 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11a40-0vl1
  213. - new upstream release 1.11a40 for newer xcdroast.
  214. - build for Vine Linux based on cdrtools-1.11a24-1
  215. * Tue Jun 04 2002 tn@xcdroast.org
  216. [cdrtools-1.11a24-1]
  217. - see changelog
  218. * Wed May 15 2002 Ryan Weaver <ryanw@falsehope.com>
  219. [cdrtools-1.11a23-1]
  220. - Cdrecord:
  221. - Try to make cdrecord behave more polite for platforms (like Cygwin)
  222. that don't support large files when the DVD data to be written
  223. is read from stdin.
  224. mkisofs ... | cdrecord ... -
  225. will now work for DVDs on non large file OS
  226. - Call flush buffer in silent mode to avoid error messages with
  227. cdrecord -toc called on a CD-ROM drive.
  228. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  229. - Fix some bugs with option parsing introduced with the new option
  230. parsing using getargs()
  231. - New option -version to make cdrtools behave similar
  232. - New option paraopts=opts for paranoia options.
  233. - Print Paranoia statistics result at end of every track.
  234. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  235. - Try to fix (very old) rotten code in various files that did cause
  236. integer overflows for files > 2 GB - 2kB.
  237. Inconsistent use of (always diferent) hand crufted code using
  238. 2048, 2047, ... instead of SECTOR_SIZE, ISO_ROUND_UP(), ...
  239. Note that this is not only of interest for DVDs as mkisofs could
  240. believe that > 2 GB of data would fit on a CD.
  241. - New code to print file type names.
  242. * Tue May 7 2002 Ryan Weaver <ryanw@falsehope.com>
  243. - Renamed cdrtools-libscg to cdrtools-devel because the package
  244. contains much more than just libscg.a and associated headers now.
  245. [cdrtools-1.11a22-1]
  246. - All:
  247. - Autoconf code now check for alloca() and dynamic sized array support
  248. (needed by libparanoia).
  249. - Added links for ia64-linux to the Make RULES to allow users of GNUmake
  250. to compile cdrtools on IA64. Note that "smake" includes automake
  251. features and will auto-create the missing links.
  252. - Libparanoia:
  253. - The paranoia code from cdparanoia (written by Monty xiphmont@mit.edu)
  254. has been converted into a portable library.
  255. - Libscg:
  256. - Enhanced list of SCSI Error texts from SCSI standard from 29.5.2001
  257. - New callback function to allow execption handling to be done after
  258. the current SCSI command did finish.
  259. - Cdrecord:
  260. - Corrected printf() formats for verbose printing to hold enough
  261. space for media > 1 GB (DVD)
  262. - Corrected printf() formats to make the write speed non-jumping.
  263. - If called from a GUI, cdrecord now reads from "stderr" if
  264. the CD-input-data is from "stdin".
  265. If it turns out that stderr is not open for reading, cdrecord
  266. waits to receive a SIGUSR1
  267. - Better printouts for the DISC-ids covered by the orange forum embargo.
  268. - DVD structure structure definition enhanced to reflect
  269. current standard.
  270. - new option gracetime=
  271. - Try to abort DAO recording with a flush_buffer() if ^C is hit.
  272. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  273. - new script cddda2ogg
  274. - bugfix deemphasizing (thanks to Klaus Wolterec)
  275. - bugfix rounding error (creation of info files)
  276. - added AlbumPerformer entry in info files
  277. - integration of Monty's libparanoia
  278. - switch to J?gs getargs option handling
  279. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  280. - Allow the -sort option to work with the Eltorito Boot Catalogue
  281. - Corrected the man page that still incorrectly stated that at least one
  282. pathspec on the command line is needed.
  283. - Correct the new short usage function so there will be no more
  284. core dumps on intel processors.
  285. - Allow '-' to be part of the ISO-9660 filename if -no-iso-translate
  286. has been specified.
  287. Thanks for this hint from Georgy Salnikov (sge@nmr.nioch.nsc.ru)
  288. from Novosibirsk, Russia.
  289. - Try to avoid an integer overflow with the -C option and DVDs
  290. * Sun Apr 21 2002 Ryan Weaver <ryanw@falsehope.com>
  291. [cdrtools-1.11a21-1]
  292. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  293. - new script cddda2ogg
  294. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  295. - Man page part for UTF-converting corrected
  296. - Canonicalize graft points so commands like:
  297. mkisofs -graft-points /a/b/././//=some_dir
  298. and
  299. mkisofs -graft-points /a/b/../c/=some_dir
  300. will not cause broken ISO images anymore.
  301. - Avoid unwanted information in debug information on disk.
  302. * Fri Apr 5 2002 Ryan Weaver <ryanw@falsehope.com>
  303. [cdrtools-1.11a20-1]
  304. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  305. - Only print a short Usage if mkisofs detected a usage error.
  306. - -z option now working to create CDs in a format with Linux proprietary
  307. Rock Ridge extensions for transparent compression.
  308. This is a patch from H.P. Anvin. It makes only sense with Linux-2.4.14
  309. or later.
  310. - New option -debug
  311. - Correctly use stat()/lstat() with graft points
  312. - Fixed a bug with escape character handling in graft point handling.
  313. - Make the graft point a directory if the file it should point to
  314. is a directory.
  315. - Correctly handle non-canonical filenames with graft points.
  316. .////././///test=OBJ/sparc-sunos5-cc/ will now work correctly
  317. and not result in a corrupted ISO-Filesystem.
  318. * Tue Mar 26 2002 Ryan Weaver <ryanw@falsehope.com>
  319. [cdrtools-1.11a19-1]
  320. - All:
  321. - Add hints that compiling on unknown platforms wil only work if
  322. "smake" is used.
  323. - Autoconf code for Large file support now handles Linux system include
  324. file bugs that prevented correct behavior on 64 Bit Linux systems.
  325. - Cdrecord:
  326. - DVD-R code (undisclosed) now supports:
  327. Vendor_info : 'MATSHITA'
  328. Identifikation : 'DVD-RAM LF-D310 '
  329. Revision : 'A116'
  330. - Support for SCMS from *.inf files
  331. Note that you need to use cdda2wav/cdrecord that have fitting versions
  332. because of this change. Otherwise cdrecord may add SCMS copy
  333. protection.
  334. - RAW mode now honors COPY bit and SCMS coding.
  335. - Avoid coredump with "cdrecord textfile= non/existant ..."
  336. - New CD-text *inf file Tag Albumperformer=
  337. NOTE later versions of cdrecord will ignore
  338. Albumtitle= and Albumperformer= if the value is not identical
  339. for all tracks.
  340. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  341. - Better TOC ADDR/CRTL (red book) handling
  342. - Better method to scan for indices.
  343. - Support for SCMS in *.inf files
  344. - Better SUID/SGID handling
  345. - Readcd:
  346. - Better behavior with extreme badly readable media.
  347. - List number of completely unreadable sectors in addition to
  348. the C2 error count.
  349. * Fri Mar 15 2002 Ryan Weaver <ryanw@falsehope.com>
  350. [cdrtools-1.11a18-1]
  351. - Libscg:
  352. - Make the packet code compile on Linux > 2.2.12 && < 2.4.3
  353. - Readcd:
  354. - Now use /etc/default/cdrecord as documented in the man page.
  355. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  356. - Fixed a minor bug with HFS labels & multi-session
  357. Thanks to James Pearson
  358. * Mon Mar 11 2002 Ryan Weaver <ryanw@falsehope.com>
  359. - Removed patch to change location of config files.
  360. Default config location /etc/default.
  361. ALL OLD CONFIG FILES -WILL NOT- UPGRADED.
  362. NO PATCHING OF CONFIG FILES WILL TAKE PLACE.
  363. PLEASE EDIT ANY UNWORKABLE DEFAULTS AFTER INSTALLATION.
  364. [cdrtools-1.11a17-1]
  365. - All:
  366. - This release contains a clean up and many new important features...
  367. - VMS script build_all.com now includes astoll.c so compilation
  368. on VMS should work again.
  369. - Many README's cleaned up.
  370. - New macros for max/min values of int*_t in utypes.h
  371. - Limit the different handling of packed bitfields for AIX to AIX CC.
  372. - Unfortunately fragementation of cdrecord has begun.
  373. I noticed this fact recently when people started to ask me
  374. senseless things which turned out to be a result of
  375. a modified cdrtools source that I have not ben aware of.
  376. One main goal of cdrtools is to provide a platform indepenant
  377. user interface which cannot be achieved if people change important
  378. parts os the user interface.
  379. For this reason, I changed the license in hope that this will
  380. help at least to keep the user interface the same on all
  381. platforms and on all distributions.
  382. Please keep in mind that fragmentation in many cases increases
  383. my workload. There is no real reason for a modification,
  384. and (even worse) the people who create modifications do not help
  385. to keep my workload low in order to help me (and Heiko and James)
  386. with the cdrtools project. People should rather contribute to
  387. the project. Cdrtools should be free and actively mantained
  388. in future. With increasing workload, I don't know how to do this.
  389. - Libscg:
  390. - Version -> 0.6
  391. - Adding support for the CDROM_SEND_PACKET ioctl() from cdrom.c
  392. - Cdrecord:
  393. - Default usage code is now only 6 lines so the error message
  394. does no longer scroll out the screen. If yu like to get the old
  395. long usage information, call cdrecord -help
  396. - move 'dd' like number conversion stuff into getnum.c
  397. - Allow the /etc/default/cdrecord parsing code to be used by
  398. readcd too (as documented in the man page)
  399. - First support for Plextor's VariRec feature in the PX-W4012
  400. I am not sure about the final user interface.
  401. For now, call e.g. cdrecord speed=4 driveropts=varirec=-1
  402. for all audio CDs. Allowed varirec parameters are -2, -1, 0, 1, 2
  403. VariRec only works at write speed 4.
  404. - Print the actual current write speed in verbose mode.
  405. - Readcd:
  406. - Now use /etc/default/cdrecord as documented in the man page.
  407. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  408. - Fixed a minor bug with HFS labels & multi-session
  409. Thanks to James Pearson
  410. * Sun Mar 3 2002 Ryan Weaver <ryanw@falsehope.com>
  411. [cdrtools-1.11a16-1]
  412. - Cdrecord:
  413. - Allow ' to appear inside CD-Text strings
  414. - better messages for CD manufacturer codes that are not in the
  415. latest free Orange forum table.
  416. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  417. - new option -L changed. Now a numerical parameter (0 or 1)
  418. defines the handling of multiple cddbp entries.
  419. 0 enters user interactive mode.
  420. 1 take the first entry unconditionally.
  421. I still need a reasonable way for gui interaction in this case!
  422. Proposals are welcome.
  423. - made cddbp handling for mixed mode cds more robust.
  424. It is unclear yet, if data tracks have to be included in the
  425. query. Anybody knows the definitive answer?
  426. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  427. - Support generic boot code if session does not start at sector 0.
  428. * Sun Feb 24 2002 Ryan Weaver <ryanw@falsehope.com>
  429. [cdrtools-1.11a15-1]
  430. - All:
  431. - Support for NT-5.1 (WIN XP) added os-cygwin_nt-5.1.id
  432. - Cdrecord:
  433. - CD-Text Code now also accepts Text File without 4 byte Size header
  434. - CD-Text file read code now is able to do CRC error correction
  435. Note that only songle bit errors per 18 byte pack.
  436. - First CD-text Authoring support:
  437. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  438. - Fixed a bug that caused cdda2wav to dump core with certain
  439. CD-Text data.
  440. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  441. - Fixed a check in the Apple HFS code that used strcmp for
  442. data that could contain null bytes.
  443. - Introduced many casts to enhance portability.
  444. This was needed for GNU fnmatch.c and the HFS support lib libhfs_iso
  445. - Use Protoyped function definitions for hash.c to allow old UNIX variants
  446. where sizeof(dev_t) is < sizeof(int)
  447. * Mon Feb 11 2002 Ryan Weaver <ryanw@falsehope.com>
  448. [cdrtools-1.11a14-1]
  449. - All:
  450. - New rule allows automatic fallback to GCC if the configured
  451. default compiler could not be found.
  452. - statdefs.h enhanced
  453. - Many corrections to give less warnings on SCO Openserver
  454. - Libscg:
  455. - Massive modicifation of the support code for SCO OpenServer 5.x
  456. - Cdda2wav (By Heiko Ei?eldt heiko@hexco.de):
  457. - New option -L to ask freedb.freedb.org for CDDB information.
  458. This alllows to automatically create CD-Text CDs.
  459. - correct TOC endianess for FreeBSD ioctl interface.
  460. - Readcd:
  461. - Enhanced output for C2 error scan.
  462. - Mkisofs (By J?g Schilling and James Pearson j.pearson@ge.ucl.ac.uk):
  463. - Fixed a check in the Apple HFS code that used strcmp for
  464. data that could contain null bytes.
  465. - Introduced many casts to enhance portability.
  466. This was needed for GNU fnmatch.c and the HFS support lib libhfs_iso
  467. - Use Protoyped function definitions for hash.c to allow old UNIX variants
  468. where sizeof(dev_t) is < sizeof(int)
  469. * Fri Jan 18 2002 Ryan Weaver <ryanw@falsehope.com>
  470. [cdrtools-1.11a13-1]
  471. - All:
  472. - New supported architctures:
  473. s390-linux-cc.rul parisc-linux-cc.rul parisc64-linux-cc.rul
  474. - Large File support for IRIX-6.2 (added autoconf test for -n32 cc option)
  475. - Large File support for IRIX-6.5 now everything works correctly if the
  476. OS supports Large Files by default in 32 bit mode (uses fseeko()/ftello()
  477. if present. This could only be done by massively changing the autoconf code
  478. stolen from GNUtar.
  479. - Support for SGI IRIX platform ip17-irix
  480. - Support for SGI IRIX-6.5
  481. - Try to support recent BeOS (again)
  482. Workaround in libschily/comerr.c for the nonstandard
  483. big negative errno values on BeOS
  484. - libschily now includes floating point printf() for BeOS
  485. - fileluopen.c from libschily now compiles on BeOS (without O_NDELAY)
  486. - workaround for the nonstandard negative errno values on BeOS
  487. - Schily makefile RULES for AmigaOS added
  488. - getpagesize() emulation for BeOS to make cdda2wav compile on BeOS
  489. - Libscg:
  490. - Try to make scsi-beos.c compile on new BeOS version 5
  491. - First attempt to integrate the AmigaOS SCSI transport interface code
  492. from Thomas Langer <Langer.Thomas@gmx.net>
  493. - Rscsi:
  494. - Make it compile on BeOS
  495. - Cdrecord:
  496. - correctly use the buffer capacity code from the driver instead
  497. of the MMC-2 read buffer cap code directly
  498. - Support for the unusual not ready error code of the CyberDrive CW038D
  499. - Cdda2wav:
  500. - fixed ioctl handling of toc entries
  501. - checked ISRC retrieval (MMC + Plextor)
  502. - more checking for weird CDs with wrong track types
  503. - bugfix in setuid.c
  504. - read full toc method extended to a data track in the second
  505. session for cd-extra/enhanced cd recognition
  506. - if the tracks in the TOC are labelled as data, this is checked
  507. and corrected if untrue
  508. - show cd text disc identification, if one exist
  509. - a new perl script to generate a binary cdtext file for use with
  510. cdrecord. This is currently very simple, but it enables you to
  511. create cd-text enriched copies from non cd-text originals.
  512. For a hint how to use the new perl script see the CD-text usage
  513. notes above.
  514. - Readcd:
  515. - use comerrno() instead of comerr() if the drive is not ready
  516. as errno is not valid after that test.
  517. - Scgcheck:
  518. - Corrected some typos
  519. - Mkisofs:
  520. - Fixed a bug in the man page (typo .R instead of .B made text invisible)
  521. - Write messages with more correct size names for the floppy eltorito
  522. boot images
  523. - rearranged the man page by removing the unreadable short listing
  524. of options on the synopsys line.
  525. - Added UDF to the man page
  526. - Added a missing prototype in getopt.c
  527. - isodump.c isoinfo.c isovfy.c:
  528. Correctly handle symlinks use offsetof(struct iso_directory_record, name[0])
  529. instead of sizeof(struct iso_directory_record) - sizeof(idr->name)
  530. * Mon Nov 26 2001 Ryan Weaver <ryanw@falsehope.com>
  531. [cdrtools-1.11a12-1]
  532. - All:
  533. - fixed fexec.c to make it compile ion QNX
  534. - Now the complete libschily is included although it it not needed
  535. for cdrtools.
  536. - Cdda2wav:
  537. - Changed handling of Table of contents. Now the more informative
  538. methods of Read full toc are being used in favor to the old SCSI readtoc
  539. command. For Sony methods, the fallback is the old method.
  540. The new methods are available on MMC drives and modern drives with
  541. Sony command sets. It should enhance access to very weird multi session
  542. cds.
  543. - Mkisofs:
  544. - Fixed a problem from an uninitialized variable in desktop.c
  545. that caused random effects in Apple CD's
  546. - better documentation for README.sort/README.hide from James Pearson
  547. - Fixed a bug in sort code that caused the compare function to behave
  548. symmetric when called c(a,b) vs. c(b,a)
  549. - First UDF support via -udf option - thanks to Ben Rudiak-Gould.
  550. Note that the UDF support is not what you might indend. It is currently
  551. wired to the Joliet tree which is a bad idea. It also does not yet
  552. support Symbolic Links, user ID's and similar.
  553. * Mon Nov 19 2001 Ryan Weaver <ryanw@falsehope.com>
  554. [cdrtools-1.11a11-1]
  555. - All:
  556. - fixed a bug in the new floatingpoint code that caused the emulation
  557. code to be activated on Linux too.
  558. - added more parts from libschily to allow the cdrtools package to
  559. be used as a plugin base for the new 'Slottable Source Plugin Module'
  560. system (SSPM).
  561. - Cdrecord:
  562. - Better messages when trying to write more than the amount of data
  563. that fits on a DVD.
  564. - The DVD driver now reports a DVD media back to the high level code.
  565. * Mon Nov 12 2001 Ryan Weaver <ryanw@falsehope.com>
  566. [cdrtools-1.11a10-1]
  567. - All:
  568. - timedefs.h modified. Now the last schily portability support include
  569. file hast been reworked to make portability even much easier.
  570. - schily.h & standard.h havebeen modified to hopefully finally solve
  571. all type clash problems with size_t & spawn*()
  572. - Compile support for QNX Neutrino
  573. - Now we hopefully have floating point support for _all_ platforms
  574. even those without *cvt() and without __dtoa(). Thanks to a hint
  575. from Thomas Langer <Langer.Thomas@gmx.net> we now use strtod.c
  576. to gert a fallback __dtoa()
  577. - Added an autoconf test for rcmd() so cdrtools now should compile
  578. again on BeOS and AmigaOS where no rcmd() is present.
  579. - Cdrecord:
  580. - Fixed a bug introduced with cdrtools-1.11a07 for better DVD+CD
  581. recognition support that prevented cdrecord to work with non MMC
  582. writers.
  583. - Mkisofs:
  584. - libhfs_iso reworked to use timedefs.h from schily portability support.
  585. - man page enhanced
  586. - Better error messages for ISO and Rock Ridge directory sort problems
  587. - Preserves HFS file dates for AppleDouble, AppleSingle and NetaTalk files
  588. * Tue Oct 30 2001 Ryan Weaver <ryanw@falsehope.com>
  589. [cdrtools-1.11a09-1]
  590. - All:
  591. - Better support for Darwin-1.3 and 1.4
  592. - Schily support includefiles rearranged to make portability even
  593. easier.
  594. - mconfig.h now defines IS_SCHILY to signal users of the
  595. Schily makefilesystem, that the Schily portability environment
  596. is being used.
  597. - now includes the forgotten mkdep-sco.sh that helps to better
  598. work around the SCO C-compiler.
  599. - Libscg:
  600. - First attempt for support for the new IOKit SCSI interface on MaxOS X
  601. Darwin-1.4 and newer with much much help from
  602. Constantine Sapuntzakis <csapuntz@Stanford.EDU>
  603. Unfortunately there is not yet support for SCSI devices nor
  604. is there support for standard Bus,Target,Lun device namings.
  605. I hope that bot may be added in the future.
  606. Volunteers who like to help with the libscg interface stuff
  607. for Darwin-1.4 are welcome.
  608. - Rscsi:
  609. - Code now checks for HAVE_NETDB_H (added by request of
  610. "Thomas" <Langer.Thomas@gmx.de> to help with AmigaOS port)
  611. This should indicate whether there is support for rcmd()
  612. in the OS.
  613. - Cdrecord:
  614. - Behaviour of the function that reads fs= tsize= and similar
  615. corrected.
  616. - Modified driver interface for better DVD support
  617. - FIFO Code now checks for HAVE_FORK (added by request of
  618. "Thomas" <Langer.Thomas@gmx.de> to help with AmigaOS port)
  619. - Cdda2wav:
  620. - Restructured to better use the schily makefile portability structures.
  621. - Many other changes from Heiko - ask Heiko heiko@hexco.de for
  622. the list.
  623. - Mkisofs:
  624. - Try to avoid the C-compiler warnings for getopt.c that are caused
  625. by the non-confirming way of hacking used by FSF people
  626. - isoinfo now corectly displays file with filesize > 1 GB
  627. - isoinfo now implements a new option -s that displays the size
  628. of the files in multiples of the sector size (2048 Bytes)
  629. * Tue Oct 8 2001 Ryan Weaver <ryanw@falsehope.com>
  630. [cdrtools-1.11a08-1]
  631. - Libscg:
  632. - Better scg_open() error messages when trying to do scanbus on Linux
  633. and no /dev/sg* or /dev/pg* could be opened.
  634. - Output Request Sense buffer with -debug when the USCSI interface is
  635. used on Solaris.
  636. - Cdrecord:
  637. - Reading CD-Text on DOS/Win32 now works correclty. The O_BINARY
  638. flag is used for open().
  639. - modify -version output if Clone writing support is present
  640. - A new driver has been added that first checks the media if the drive
  641. supports to write CD & DVD.
  642. - Cdda2wav:
  643. - Changes to make cdda2wav compile better on Alpha/True64
  644. * Tue Sep 11 2001 Ryan Weaver <ryanw@falsehope.com>
  645. [cdrtools-1.11a07-1]
  646. - All:
  647. - Better and extended description in README.macosX
  648. - Support for SCO (Caldera) OpenUNIX (aka. UnixWare 8)
  649. - Libscg:
  650. - Trying to add a workaround for just another bug in the
  651. sg driver in the Linux kernel. If a TIMEOUT occurs,
  652. the error code does not indicate a TIMEOUT.
  653. - Rscsi:
  654. - Now using signal safe read/write functions.
  655. - Cdrecord:
  656. - rscsi client code now uses buffered read to speed up on Cygwin
  657. - rscsi client code now uses signal safe read/write functions
  658. - Cdrecod now does not open/close the tray anymore if the disk
  659. is going to be erased.
  660. - Mkisofs:
  661. - Man page updated and corrected.
  662. * Mon Jul 16 2001 Ryan Weaver <ryanw@falsehope.com>
  663. [cdrtools-1.11a06-1]
  664. - All:
  665. - forgot to add the new printf.c with 1.11a05 now cdrtools really
  666. compiles with GCC-3.0 on Linux
  667. - Cdrecord:
  668. - better FIFO debug messages
  669. - New driver config table for Taiyo Yuden EW-50.
  670. This dive is like a Philips CDD-521 but has been reported to
  671. swab audio data.
  672. - Readcd:
  673. - Better handling of C2 scans on unreadable data disks.
  674. - Scgcheck:
  675. - Fixed Makefile so scgcheck now compiles on FreeBSD
  676. * Fri Jun 28 2001 Ryan Weaver <ryanw@falsehope.com>
  677. [cdrtools-1.11a05-1]
  678. - NOTE: There are 3000 new lines of code and aprox. 1500 lines
  679. of code did change within the last few weeks.
  680. Although I thoroughly tested every line of my code,
  681. there may be bugs...
  682. Please report if you have any problem that is not present
  683. with cdrtools-1.11a01.
  684. - All:
  685. - Circumvent some problems with GCC-3.0 on Linux
  686. - Removed printf() definitions from schily.h to avoid type clashes
  687. - Cdrecord:
  688. - Circumvent a bug in the system include files from Linux that
  689. makes printf() a macro and prevented compilation with GCC-3.0
  690. - Added some #include <stdio.h> to substitute missing printf() definitions
  691. - SAO/R16 mode removed from tests, it may never occur.
  692. - Changed some .min defines in structs to .pmin to avoid K&R complier
  693. problems
  694. - Readcd:
  695. - Better handling of C2 scans on unreadable data disks.
  696. - Scgcheck:
  697. - Fixed Makefile so scgcheck now compiles on FreeBSD
  698. * Tue Jun 19 2001 Ryan Weaver <ryanw@falsehope.com>
  699. [cdrtools-1.11a04-1]
  700. - NOTE: There are 3000 new lines of code and aprox. 1500 lines
  701. of code did change within the last few weeks.
  702. Although I thoroughly tested every line of my code,
  703. there may be bugs...
  704. Please report if you have any problem that is not present
  705. with cdrtools-1.11a01.
  706. - Cdrecord:
  707. - add a forgotten if (xdebug) in drv_mmc.c.
  708. This caused a superfluous write mode debug message to be printed
  709. - do installation of exit handlers (to reset SCSI state) earlier
  710. - Cdrecord now does not exit with 0 anymore when interrupted with ^C
  711. during the waittime before starting to write.
  712. - First CD-Text support (can only copy CD-Text information from master
  713. disk) (See AN-1.11a04 for more details)
  714. - Readcd:
  715. - Handle signals and other aborts by restoring old drive state
  716. - Set PF bit with mode select.
  717. - New option -quiet to suppress primary SCSI error messages
  718. in read CD error handling
  719. This are the messages that are printed before entering the
  720. retry mode.
  721. - Secondary SCSI error messages are now suppressed by default,
  722. they may be turned on again with -verbose
  723. This are the messages that are printed in -noerror
  724. retry mode.
  725. [cdrtools-1.11a03-1]
  726. - Cdrecord:
  727. - Fixed a bug in the option checking that prevented to write
  728. data CD's at all.
  729. Now only "RAW data" CD's are flagged as expected.
  730. - Fixed a bug in the Firmware bug recognition system.
  731. This bug did prevent cdrecord to work with Philips drives
  732. when writing in RAW mode.
  733. - Added the -raw* options to the man page
  734. - New options -copy & -nocopy to allow to modify the 'copy' bit
  735. in audio subchannel data.
  736. - -scms option added to the man page and online help.
  737. - New model to compute SCSI transfersizes
  738. - -xa1 -xa2 sector typedefinitions changed.
  739. - Debug messages while checking possible write modes of MMC
  740. compliant made optional.
  741. - RAW writing scatter sector function made more general
  742. - New functions to convert between 2448 and 2368 byte sectors
  743. - Readcd:
  744. - error handling increased
  745. * Tue Jun 5 2001 Ryan Weaver <ryanw@falsehope.com>
  746. [cdrtools-1.11a02-1]
  747. - There are 2000 new lines of code and aprox. 1000 lines
  748. of code did change within the last two weeks.
  749. Although I thoroughly tested every line of my code,
  750. there may be bugs...
  751. Please report if you have any problem that is not present
  752. with cdrtools-1.11a01.
  753. - Cdrecord:
  754. - I hope that the 90 minute CD capacity warning now will finally
  755. disappear for DVD writers.
  756. - Old test code removed that prevented cdrecord from being able
  757. to write manually configured indices. Note that the index lists
  758. from the *.inf files with using the -useinfo option alway worked.
  759. - -force will force cdrecord to ingnore any failed forced OPC.
  760. currently this is only done if the drive does not support
  761. forced OPC.
  762. - Do forced OPC before blanking a CD-RW
  763. - Driveropts "burnproof" renamed to "burnfree".
  764. This has been done as this technology now appears in the MMC standard.
  765. - Cdrecord now shows whether BURN-Free is active. This makes
  766. sense as Ricoh's "Just-Link" is enabled by default.
  767. Unfortunately, the way "Just-link" is implemented is not compliant
  768. with the MMC standard. We will have to wait until I get the needed
  769. information from Ricoh.
  770. - Support for MMC RAW mode writing.
  771. This allows to do disk at once recording on Philips drives that
  772. do not support SAO.
  773. - Cdrecord now checks the properties of the writer. If a specific write
  774. mode is not supported by the writer, cdrecord warns you and makes
  775. a suggestion for a similar alternate write mode.
  776. With the curent structure of cdrecord, it is not possible to silently
  777. e.g. change the write mode from -dao to -raw96r
  778. - MMC compliant drives are automatically scanned for supported write modes.
  779. This should help to make cdrecord work without manual static configuration.
  780. My hope is still to have no need to know all drive properties in
  781. advance, so new drives will continue to work as long as they
  782. are standard comliant enough for cdrecord.
  783. * Sat May 19 2001 Ryan Weaver <ryanw@falsehope.com>
  784. [cdrtools-1.11a01-1]
  785. - All:
  786. - Now using the "Slottable Source" feature of the makefile system.
  787. This is the fist modular reusable portable makefile standard
  788. in the open source world.
  789. - README.multi fixed
  790. - README.sony fixed
  791. - config.sub now recognises "parisc-unknown-linux-gnu"
  792. - Rscsi:
  793. - RSCSI now works if the target is a Win32 system.
  794. This is not done by changing rscsi.c but by fixing a bug
  795. in Cygwin!
  796. - Now prints user ID & user Name into DEBUG file
  797. - Cdrecord:
  798. - New option -overburn
  799. This option has been added as many people seem to be unabe to understand
  800. that they are going to write more than the official disk capacity from
  801. reading cdrecord's output. Oveburnung now is no more done by default!
  802. - Do not print a warning for writing more than 90 minutes if the media is
  803. a DVD
  804. - Fix for a problem with setting high priority on Win32 systems.
  805. Thanks to egor duda <deo@logos-m.ru>
  806. - Sony MMC drives now work in -multi session mode.
  807. There was a bug in cdrecord that was accepted by all other drives.
  808. The bug did cause a temporary bad setup to the drive.
  809. - Readcd:
  810. - better error recovery with -noerror