Ravenports generated: 24 Feb 2024 23:39
[ravenports.git] / bucket_4D / cdrtools
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               cdrtools
4 VERSION=                3.01
5 REVISION=               2
6 KEYWORDS=               sysutils audio
7 VARIANTS=               standard
8 SDESC[standard]=        CD/DVD/BluRay command line recording software
9 HOMEPAGE=               https://cdrtools.sourceforge.net/private/cdrecord.html
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            SF/cdrtools
14 DISTFILE[1]=            cdrtools-3.01.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         mp3
19                         ogg
20                         docs
21
22 OPTIONS_AVAILABLE=      none
23 OPTIONS_STANDARD=       none
24
25 EXRUN[ogg]=             vorbis-tools:primary:standard
26 EXRUN[mp3]=             lame:complete:standard
27
28 USES=                   cpe gmake iconv
29
30 LICENSE=                CDDL:primary GPLv2:primary LGPL21:primary
31                         BSD2CLAUSE:primary
32 LICENSE_TERMS=          primary:{{WRKSRC}}/COPYING
33 LICENSE_FILE=           CDDL:{{WRKSRC}}/CDDL.Schily.txt
34                         GPLv2:{{WRKSRC}}/GPL-2.0.txt
35                         LGPL21:{{WRKSRC}}/LGPL-2.1.txt
36                         BSD2CLAUSE:{{WRKSRC}}/libfile/LEGAL.NOTICE
37 LICENSE_SCHEME=         multi
38
39 FPC_EQUIVALENT=         sysutils/cdrtools
40
41 MAKE_ENV=               CCOM=cc
42                         GMAKE_NOWARN=true
43                         INS_BASE="{{LOCALBASE}}"
44                         DEFOSINCDIRS="{{LOCALBASE}}/include"
45                         LDPATH="-L{{LOCALBASE}}/lib -Wl,-rpath,{{LOCALBASE}}/lib"
46 SINGLE_JOB=             yes
47
48 post-patch:
49         (cd ${WRKSRC}/RULES && \
50          ${LN} -sf i386-freebsd-cc.rul amd64-freebsd-cc.rul && \
51          ${LN} -sf i386-freebsd-cc.rul x86_64-dragonfly-cc.rul && \
52          ${LN} -sf i386-freebsd-cc.rul x86_64-midnightbsd-cc.rul && \
53          ${LN} -sf i586-linux-cc.rul x86_64-linux-cc.rul)
54         ${REINPLACE_CMD} -e 's|.(C_ARCH)|gcc|; /VOLMGT/d' \
55          ${WRKSRC}/RULES/i86pc-sunos5-gcc.rul
56         ${RM} ${WRKSRC}/TARGETS/55scgskeleton ${WRKSRC}/TARGETS/85man
57         ${RM} ${WRKSRC}/TARGETS/55rscsi
58         (cd ${WRKSRC} && ${REINPLACE_CMD} -e \
59          's|\/opt\/schily|${PREFIX}|g; \
60           s|\/usr\/local|${PREFIX}|g; s|\/etc\/default|${PREFIX}\/etc|g; \
61           s|\/var\/adm\/messages|\/var\/run\/dmesg.boot|g; \
62           s|^CDDA2WAV=|&${PREFIX}\/bin\/|g; \
63           s|^MP_CODER=|&${LOCALBASE}\/bin\/|g' ${RPTARGETS})
64         ${MV} -f ${WRKSRC}/libparanoia/cdda_paranoia.h \
65                 ${WRKSRC}/libparanoia/js_cdda_paranoia.h
66         (cd ${WRKSRC} && ${REINPLACE_CMD} -e \
67          's|cdda_paranoia\.h|js_cdda_paranoia.h|g' ${RPTARGETS2})
68         ${CP} ${WRKSRC}/DEFAULTS/Defaults.freebsd ${WRKSRC}/DEFAULTS/Defaults.midnightbsd
69         ${CP} ${WRKSRC}/RULES/os-freebsd.def ${WRKSRC}/RULES/os-midnightbsd.def
70         ${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-midnightbsd.id
71         ${REINPLACE_CMD} -e '/LDPATH=/d; /DEFOSINCDIRS=/d' \
72                 ${WRKSRC}/DEFAULTS/Defaults.${OPSYS:tl:S/sunos/sunos5/}
73
74 do-install:
75         ${INSTALL_SCRIPT} \
76                 ${WRKSRC}/cdda2wav/cdda2mp3 \
77                 ${WRKSRC}/cdda2wav/cdda2ogg \
78                 ${STAGEDIR}${PREFIX}/bin
79         ${INSTALL_PROGRAM} \
80                 ${WRKSRC}/btcflash/OBJ/*-cc/btcflash \
81                 ${WRKSRC}/cdda2wav/OBJ/*-cc/cdda2wav \
82                 ${WRKSRC}/mkisofs/diag/OBJ/*-cc/devdump \
83                 ${WRKSRC}/mkisofs/diag/OBJ/*-cc/isodebug \
84                 ${WRKSRC}/mkisofs/diag/OBJ/*-cc/isodump \
85                 ${WRKSRC}/mkisofs/diag/OBJ/*-cc/isoinfo \
86                 ${WRKSRC}/mkisofs/diag/OBJ/*-cc/isovfy \
87                 ${WRKSRC}/mkisofs/OBJ/*-cc/mkisofs \
88                 ${WRKSRC}/readcd/OBJ/*-cc/readcd \
89                 ${WRKSRC}/scgcheck/OBJ/*-cc/scgcheck \
90                 ${WRKSRC}/cdrecord/OBJ/*-cc/cdrecord \
91                 ${STAGEDIR}${PREFIX}/bin
92         ${LN} -sf mkisofs ${STAGEDIR}${PREFIX}/bin/mkhybrid
93         ${LN} -sf cdda2wav ${STAGEDIR}${PREFIX}/bin/list_audio_tracks
94         ${INSTALL_MAN} \
95                 ${WRKSRC}/btcflash/btcflash.1 \
96                 ${WRKSRC}/cdda2wav/cdda2wav.1 \
97                 ${WRKSRC}/cdrecord/cdrecord.1 \
98                 ${WRKSRC}/readcd/readcd.1 \
99                 ${WRKSRC}/cdda2wav/cdda2ogg.1 \
100                 ${WRKSRC}/scgcheck/scgcheck.1 \
101                 ${STAGEDIR}${MANPREFIX}/man/man1
102         ${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \
103                 ${STAGEDIR}${MANPREFIX}/man/man1/cdda2mp3.1
104         ${INSTALL_MAN} \
105                 ${WRKSRC}/mkisofs/mkisofs.8 \
106                 ${WRKSRC}/mkisofs/diag/isoinfo.8 \
107                 ${STAGEDIR}${MANPREFIX}/man/man8
108         ${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
109                 ${STAGEDIR}${PREFIX}/etc/cdrecord.sample
110         # SICONVTABLES
111         ${MKDIR} ${STAGEDIR}${PREFIX}/lib/siconv
112         (cd ${WRKSRC}/libsiconv/tables && ${INSTALL_DATA} ${SICONVTABLES} \
113                 ${STAGEDIR}${PREFIX}/lib/siconv)
114         # Documentation package
115         ${MKDIR} \
116                 ${STAGEDIR}${STD_DOCDIR}/cdda2wav \
117                 ${STAGEDIR}${STD_DOCDIR}/cdrecord \
118                 ${STAGEDIR}${STD_DOCDIR}/mkisofs
119         (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${STD_DOCDIR})
120         (cd ${WRKSRC}/cdda2wav && ${INSTALL_DATA} ${CDDA2WAVDOCS} \
121                  ${STAGEDIR}${STD_DOCDIR}/cdda2wav)
122         (cd ${WRKSRC}/cdrecord && ${INSTALL_DATA} ${CDRECORDDOCS} \
123                 ${STAGEDIR}${STD_DOCDIR}/cdrecord)
124         (cd ${WRKSRC}/mkisofs && ${INSTALL_DATA} ${MKISOFSDOCS} \
125                 ${STAGEDIR}${STD_DOCDIR}/mkisofs)
126
127 [FILE:962:descriptions/desc.primary]
128 The cdrtools software includes tools to create and/or extract
129 ISO-9660 filesystems, verify their integrity, and write them to
130 disc.
131
132 This package contains the following programs:
133  - btcflash (a firmware flash utility for BTC DRW1008 DVD+/-RW recorder)
134  - cdda2wav (a digital CD audio extraction program)
135  - cdrecord (a CD/DVD/BluRay recording program)
136  - devdump (dump a device or file in hex)
137  - isodebug (show debug info contained in an ISO-9660 image)
138  - isodump (dump a device or file based on ISO-9660)
139  - isoinfo (analyze or list an ISO-9660 image)
140  - isovfy (verify an ISO-9660 image)
141  - mkisofs (an ISO-9660 filesystem image creator)
142  - mkhybrid (an ISO-9660/HFS filesystem image creator)
143    Link to mkisofs.
144  - readcd (a data CD reading and recording program)
145    May be used to write to DVD-RAM and to copy Solaris boot CD's.
146  - scgcheck (checks and validates the ABI of libscg)
147  - rscsi (daemon providing access to local SCSI-devices over the network)
148
149
150 [FILE:245:descriptions/desc.mp3]
151 The cdrtools software includes tools to create and/or extract
152 ISO-9660 filesystems, verify their integrity, and write them to
153 disc.
154
155 This package contains the following programs:
156  - cdda2mp3 (a digital CD audio extraction program to mp3 format)
157
158
159 [FILE:245:descriptions/desc.ogg]
160 The cdrtools software includes tools to create and/or extract
161 ISO-9660 filesystems, verify their integrity, and write them to
162 disc.
163
164 This package contains the following programs:
165  - cdda2ogg (a digital CD audio extraction program to ogg format)
166
167
168 [FILE:99:distinfo]
169 a9261273b5a1a2da51bebc70584e63291b28ac6836237a4963865c50a9a026bb      2652621 cdrtools-3.01.tar.gz
170
171
172 [FILE:734:manifests/plist.primary]
173 @sample etc/cdrecord.sample
174 bin/
175  btcflash
176  cdda2wav
177  cdrecord
178  devdump
179  isodebug
180  isodump
181  isoinfo
182  isovfy
183  list_audio_tracks
184  mkhybrid
185  mkisofs
186  readcd
187  scgcheck
188 lib/siconv/
189  cp10000
190  cp10006
191  cp10007
192  cp10029
193  cp10079
194  cp10081
195  cp1250
196  cp1251
197  cp1252
198  cp1253
199  cp1254
200  cp1255
201  cp1256
202  cp1257
203  cp1258
204  cp437
205  cp737
206  cp775
207  cp850
208  cp852
209  cp855
210  cp857
211  cp860
212  cp861
213  cp862
214  cp863
215  cp864
216  cp865
217  cp866
218  cp869
219  cp874
220  iso8859-1
221  iso8859-10
222  iso8859-11
223  iso8859-13
224  iso8859-14
225  iso8859-15
226  iso8859-16
227  iso8859-2
228  iso8859-3
229  iso8859-4
230  iso8859-5
231  iso8859-6
232  iso8859-7
233  iso8859-8
234  iso8859-9
235  koi8-r
236  koi8-u
237 share/man/man1/
238  btcflash.1.gz
239  cdda2wav.1.gz
240  cdrecord.1.gz
241  readcd.1.gz
242  scgcheck.1.gz
243 share/man/man8/
244  isoinfo.8.gz
245  mkisofs.8.gz
246
247
248 [FILE:42:manifests/plist.mp3]
249 bin/cdda2mp3
250 share/man/man1/cdda2mp3.1.gz
251
252
253 [FILE:42:manifests/plist.ogg]
254 bin/cdda2ogg
255 share/man/man1/cdda2ogg.1.gz
256
257
258 [FILE:661:manifests/plist.docs]
259 share/doc/cdrtools/
260  README.FreeBSD
261  README.mkisofs
262 share/doc/cdrtools/cdda2wav/
263  FAQ
264  Frontends
265  HOWTOUSE
266  OtherProgs
267  README
268  THANKS
269  TODO
270 share/doc/cdrtools/cdrecord/
271  README
272  README.ATAPI
273  README.DiskT@2
274  README.WORM
275  README.audio
276  README.cdplus
277  README.cdrw
278  README.cdtext
279  README.clone
280  README.copy
281  README.multi
282  README.raw
283  README.rscsi
284  README.sony
285  README.verify
286 share/doc/cdrtools/mkisofs/
287  README
288  README.compression
289  README.eltorito
290  README.graft_dirs
291  README.hfs_boot
292  README.hfs_magic
293  README.hide
294  README.joliet
295  README.macosx
296  README.mkhybrid
297  README.prep_boot
298  README.rootinfo
299  README.session
300  README.sort
301  README.sparcboot
302  README.sunx86boot
303
304
305 [FILE:3127:patches/patch-RULES__cc-gcc.rul]
306 ###########################################################################
307 # This patch was contributed by Marius Strobl.
308 ###########################################################################
309 # The contents of this file are subject to the terms of the
310 # Common Development and Distribution License, Version 1.0 only
311 # (the "License").  You may not use this file except in compliance
312 # with the License.
313 #
314 # See the file CDDL.Schily.txt in this distribution for details.
315 #
316 # When distributing Covered Code, include this CDDL HEADER in each
317 # file and include the License file CDDL.Schily.txt from this distribution.
318 ###########################################################################
319 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
320 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
321 ###########################################################################
322
323 --- RULES/cc-gcc.rul.orig       2014-03-31 15:52:08 UTC
324 +++ RULES/cc-gcc.rul
325 @@ -24,11 +24,12 @@
326  GCC_OPT=
327  GCC_OPT32=     -m32
328  GCC_OPT64=     -m64
329 -GCC_OPTXX=     $(GCC_OPT$(C_ARCH:gcc%=%))
330 +GCC_OPTXX=
331  
332  CPPFLAGS=      -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX)
333 -CFLAGS=                $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
334 -C++FLAGS=      $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(G++OPTOPT) $(C++OPTX)
335 +XCFLAGS:=      $(CFLAGS)
336 +CFLAGS=                $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(GCCOPTOPT) $(COPTX)
337 +C++FLAGS=      $(C++OPTS) $(C++WARNOPTS) $(CXXFLAGS) $(G++OPTOPT) $(C++OPTX)
338  
339  CPPOPTS=       -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%)
340  COPTS=         $(GCC_OPTXX)
341 @@ -36,12 +37,10 @@ COPTS=              $(GCC_OPTXX)
342  CWOPTS=                -Wall -Wtraditional
343  CWOPTS=                -Wall -Wno-unknown-pragmas \
344                 -Wshadow -Wmissing-prototypes -Wstrict-prototypes
345 -COPTOPT=       -O
346  COPTDYN=       -fpic
347  COPTGPROF=     -pg
348  C++OPTS=       $(GCC_OPTXX)
349  C++WOPTS=      $(CWOPTS)
350 -C++OPTOPT=     $(COPTOPT)
351  C++OPTDYN=     -fpic
352  C++OPTGPROF=   -pg
353  
354 @@ -61,28 +60,18 @@ LNDYNLIB=   @$(RM) $(RM_FORCE) $(PTARGET_B
355  
356  FLOAT_OPTIONS= 
357  
358 -__CC_COM=      $(_UNIQ)$(CC)
359 -___CC_COM=     $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF))
360 -CC_COM=                $(___CC_COM:$(_UNIQ)%=%)
361 -
362 -__CC++_COM=    $(_UNIQ)$(CCC)
363 -___CC++_COM=   $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF))
364 -CC++_COM=      $(___CC++_COM:$(_UNIQ)%=%)
365 -
366 -CC_COM_DEF=    gcc
367 -CC++_COM_DEF=  g++
368 -CC=            $(CC_COM_DEF)
369 -CCC=           $(CC++_COM_DEF)
370 -
371 -CCCC=          @echo " ==> COMPILING \"$@\""; $(CC_COM) $(GCC_OPTXX)
372 -CC++ =         @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(GCC_OPTXX)
373 -LDCC=          @echo " ==> LINKING \"$@\""; $(CC_COM) $(GCC_OPTXX)
374 -LDCC++ =       @echo " ==> LINKING \"$@\""; $(CC++_COM) $(GCC_OPTXX)
375 -DYNLD=         @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) $(GCC_OPTXX)
376 -DYNLDC++ =     @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(GCC_OPTXX)
377 +CC_COM=                $(CC)
378 +CC++_COM=      $(CXX)
379 +
380 +CCCC =         $(CC_COM)
381 +CC++ =         $(CC++_COM)
382 +LDCC=          $(CC_COM)
383 +LDCC++ =       $(CC++_COM)
384 +DYNLD=         $(CC_COM)
385 +DYNLDC++ =     $(CC++_COM)
386  
387  RMDEP=         :
388 -MKDEP=         @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) $(GCC_OPTXX) -M
389 +MKDEP=         $(CC_COM) -M
390  MKDEP_OUT=
391 -MKC++DEP=      @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) $(GCC_OPTXX) -M
392 +MKC++DEP=      $(CC++_COM) -M
393  MKC++DEP_OUT=
394
395
396 [FILE:241:patches/patch-btcflash__btcflash.1]
397 --- btcflash/btcflash.1.orig    2014-12-03 21:04:39 UTC
398 +++ btcflash/btcflash.1
399 @@ -346,7 +346,6 @@ using an account that has been created w
400  login shell.
401  .SH "SEE ALSO"
402  .BR cdrecord (1),
403 -.BR scg (7),
404  .BR rcmd (3),
405  .BR ssh (1).
406  .SH NOTES
407
408
409 [FILE:1382:patches/patch-cdrecord__README.rscsi]
410 --- cdrecord/README.rscsi.orig  2004-05-19 14:12:05 UTC
411 +++ cdrecord/README.rscsi
412 @@ -18,24 +18,21 @@ There are three possible ways to control
413                 NOTE: In this case, rscsi must be installed suid root. 
414                 **** This is the preferred method ****
415  
416 -To enable remote SCSI via the login shell method you should do the following:
417 -
418 -       -       Add an entry to /etc/passwd in the form:
419 +               The FreeBSD port automatically installs the rscsi binary suid
420 +               root and creates the user "rscsi".
421  
422 -               rscsi:x:1999:1000:Tape:/export/home/rscsi:/opt/schily/sbin/rscsi
423 -
424 -               (modify this according to your OS). And don't forget to
425 -               modify /etc/shadow the way it needs to be on your OS.
426 +To enable remote SCSI via the login shell method you should do the following:
427  
428 -       -       Create a  home directory for this user and add a .rhosts file
429 -               to allow access to all users you like.
430 +       -       Make sure that there is an entry for rshd(8) in /etc/inetd.conf
431 +               and inetd(8) is running.
432  
433 -       -       Install rscsi suid root into /opt/schily/sbin
434 +       -       Edit /usr/local/rscsi/.rhosts to allow access to all users you
435 +               like.
436  
437 -       -       Install a file /etc/default/rscsi and define access rights.
438 +       -       Edit /usr/local/etc/rscsi and define access rights.
439                 Without this file, rscsi will not work at all.
440  
441 -               The template for this file is: rscsi/rscsi.dfl
442 +               The template for this file is: /usr/local/etc/rscsi.sample
443  
444  RSCSI Security:
445  
446
447
448 [FILE:1183:patches/patch-cdrecord__cdrecord.1]
449 ###########################################################################
450 # This patch was contributed by Marius Strobl.
451 ###########################################################################
452 # The contents of this file are subject to the terms of the
453 # Common Development and Distribution License, Version 1.0 only
454 # (the "License").  You may not use this file except in compliance
455 # with the License.
456 #
457 # See the file CDDL.Schily.txt in this distribution for details.
458 #
459 # When distributing Covered Code, include this CDDL HEADER in each
460 # file and include the License file CDDL.Schily.txt from this distribution.
461 ###########################################################################
462 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
463 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
464 ###########################################################################
465
466 --- cdrecord/cdrecord.1.orig    2014-12-03 19:13:13 UTC
467 +++ cdrecord/cdrecord.1
468 @@ -3113,8 +3113,6 @@ There must be at least one track per fil
469  .SH SEE ALSO
470  .BR cdda2wav (1),
471  .BR readcd (1),
472 -.BR scg (7),
473 -.BR fbk (7),
474  .BR mkisofs (8),
475  .BR rcmd (3),
476  .BR ssh (1).
477
478
479 [FILE:1997:patches/patch-cdrecord__cdrecord.dfl]
480 --- cdrecord/cdrecord.dfl.orig  2014-01-03 21:59:27 UTC
481 +++ cdrecord/cdrecord.dfl
482 @@ -3,7 +3,7 @@
483  # This file is /etc/default/cdrecord
484  # It contains defaults that are used if no command line option
485  # or environment is present.
486 -# 
487 +#
488  # The default device, if not specified elswhere
489  # Note that since Sommer 2006, cdrecord by default searches for a
490  # single CD-ROM device. You should set CDR_DEVICE= together with
491 @@ -11,15 +11,14 @@
492  # one CR-ROM drive in your system.
493  #
494  #CDR_DEVICE=yamaha
495 -#CDR_DEVICE=default
496  
497 -# 
498 +#
499  # The default speed (speed=), if not specified elswhere
500  #
501  # Note that newer cdrecord versions do not default
502  # to speed=1. For MMC compliant drives, the default
503  # is to write at maximum speed, so it in general does
504 -# not make sense to set up a default speed in /etc/default/cdrecord 
505 +# not make sense to set up a default speed in /etc/default/cdrecord
506  #
507  #CDR_SPEED=40
508  
509 @@ -34,7 +33,7 @@
510  # Linux and Solaris have problems with bigger transfer sizes.
511  # If you are on FreeBSD, it is recommened to set CDR_TRANSFERSIZE=126k
512  #
513 -#CDR_TRANSFERSIZE=32k
514 +CDR_TRANSFERSIZE=126k
515  
516  #
517  # The following definitions allow abstract device names.
518 @@ -56,14 +55,14 @@
519  #
520  # drive name   device          speed   fifosize driveropts     transfersize
521  #
522 -my-default=    1,0,0           -1      -1      burnfree        63k
523 -sol-default=   USCSI:1,0,0     -1      -1      burnfree
524 -ricoh-u=       USCSI:0,2,0     -1      -1      burnfree
525 -teac=          1,3,0           -1      -1      ""
526 -teac-max-ts=   1,3,0           -1      -1      ""              32k
527 -panasonic=     1,4,0           -1      -1      ""
528 -plextor=       1,4,0           -1      -1      ""
529 -sanyo=         1,4,0           -1      -1      burnfree
530 -yamaha=                1,5,0           -1      -1      ""
531 -cdrom=         0,6,0           2       1m      ""
532 -remote=        REMOTE:rscsi@somehost:1,0,0 16  16m     burnfree
533 +#my-default=   1,0,0           -1      -1      burnfree        63k
534 +#sol-default=  USCSI:1,0,0     -1      -1      burnfree
535 +#ricoh-u=      USCSI:0,2,0     -1      -1      burnfree
536 +#teac=         1,3,0           -1      -1      ""
537 +#teac-max-ts=  1,3,0           -1      -1      ""              32k
538 +#panasonic=    1,4,0           -1      -1      ""
539 +#plextor=      1,4,0           -1      -1      ""
540 +#sanyo=                1,4,0           -1      -1      burnfree
541 +#yamaha=               1,5,0           -1      -1      ""
542 +#cdrom=                0,6,0           2       1m      ""
543 +#remote=       REMOTE:rscsi@somehost:1,0,0 16  16m     burnfree
544
545
546 [FILE:1161:patches/patch-inc_avoffset.c]
547 ###########################################################################
548 # This patch was contributed by Dimitry Andric.
549 ###########################################################################
550 # The contents of this file are subject to the terms of the
551 # Common Development and Distribution License, Version 1.0 only
552 # (the "License").  You may not use this file except in compliance
553 # with the License.
554 #
555 # See the file CDDL.Schily.txt in this distribution for details.
556 #
557 # When distributing Covered Code, include this CDDL HEADER in each
558 # file and include the License file CDDL.Schily.txt from this distribution.
559 ###########################################################################
560 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
561 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
562 ###########################################################################
563
564 --- inc/avoffset.c.orig 2011-11-28 19:28:41 UTC
565 +++ inc/avoffset.c
566 @@ -60,7 +60,7 @@ main(ac, av)
567  {
568         int             stdir;
569  #ifdef HAVE_SCANSTACK
570 -       register struct frame *fp;
571 +       volatile struct frame *fp;
572         register int    i = 0;
573         register int    o = 0;
574  
575
576
577 [FILE:1375:patches/patch-inc_getfp.c]
578 ###########################################################################
579 # This patch was contributed by Dimitry Andric.
580 ###########################################################################
581 # The contents of this file are subject to the terms of the
582 # Common Development and Distribution License, Version 1.0 only
583 # (the "License").  You may not use this file except in compliance
584 # with the License.
585 #
586 # See the file CDDL.Schily.txt in this distribution for details.
587 #
588 # When distributing Covered Code, include this CDDL HEADER in each
589 # file and include the License file CDDL.Schily.txt from this distribution.
590 ###########################################################################
591 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
592 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
593 ###########################################################################
594
595 --- inc/getfp.c.orig    2008-06-13 22:32:03 UTC
596 +++ inc/getfp.c
597 @@ -52,7 +52,7 @@
598  
599  EXPORT void    **___fpoff      __PR((char *cp));
600  
601 -EXPORT void **
602 +EXPORT __attribute__ ((noinline)) void **
603  getfp()
604  {
605                 long    **dummy[1];
606 @@ -69,7 +69,7 @@ getfp()
607   * We need this function to fool GCCs check for returning addresses
608   * from outside the functions local address space.
609   */
610 -EXPORT void **
611 +EXPORT __attribute__ ((noinline)) void **
612  ___fpoff(cp)
613         char    *cp;
614  {
615
616
617 [FILE:598:patches/patch-include__schily__sha2.h]
618 --- include/schily/sha2.h.orig  2010-08-27 10:41:30 UTC
619 +++ include/schily/sha2.h
620 @@ -104,10 +104,12 @@ extern char *SHA256Data           __PR((const UIn
621  
622  #ifdef HAVE_LONGLONG
623  extern void SHA384Init         __PR((SHA2_CTX *));
624 +#ifndef        HAVE_PRAGMA_WEAK
625  extern void SHA384Transform    __PR((UInt64_t state[8],
626                                         const UInt8_t [SHA384_BLOCK_LENGTH]));
627  extern void SHA384Update       __PR((SHA2_CTX *, const UInt8_t *, size_t));
628  extern void SHA384Pad          __PR((SHA2_CTX *));
629 +#endif
630  extern void SHA384Final                __PR((UInt8_t [SHA384_DIGEST_LENGTH],
631                                         SHA2_CTX *));
632  extern char *SHA384End         __PR((SHA2_CTX *, char *));
633
634
635 [FILE:423:patches/patch-libscg_scsihack.c]
636 --- libscg/scsihack.c.orig      2013-07-30 18:37:09 UTC
637 +++ libscg/scsihack.c
638 @@ -138,8 +138,7 @@ EXPORT scg_ops_t scg_std_ops = {
639  
640  #endif /* linux */
641  
642 -#if    defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
643 -       defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
644 +#if    defined(__NetBSD__) || defined(__OpenBSD__)
645  #define        SCSI_IMPL               /* We have a SCSI implementation for *BSD */
646  
647  #include "scsi-bsd.c"
648
649
650 [FILE:1387:patches/patch-libschily_getfp.c]
651 ###########################################################################
652 # This patch was contributed by Dimitry Andric.
653 ###########################################################################
654 # The contents of this file are subject to the terms of the
655 # Common Development and Distribution License, Version 1.0 only
656 # (the "License").  You may not use this file except in compliance
657 # with the License.
658 #
659 # See the file CDDL.Schily.txt in this distribution for details.
660 #
661 # When distributing Covered Code, include this CDDL HEADER in each
662 # file and include the License file CDDL.Schily.txt from this distribution.
663 ###########################################################################
664 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
665 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
666 ###########################################################################
667
668 --- libschily/getfp.c.orig      2008-06-13 22:32:03 UTC
669 +++ libschily/getfp.c
670 @@ -52,7 +52,7 @@
671  
672  EXPORT void    **___fpoff      __PR((char *cp));
673  
674 -EXPORT void **
675 +EXPORT __attribute__ ((noinline)) void **
676  getfp()
677  {
678                 long    **dummy[1];
679 @@ -69,7 +69,7 @@ getfp()
680   * We need this function to fool GCCs check for returning addresses
681   * from outside the functions local address space.
682   */
683 -EXPORT void **
684 +EXPORT __attribute__ ((noinline)) void **
685  ___fpoff(cp)
686         char    *cp;
687  {
688
689
690 [FILE:546:patches/patch-mkisofs__mkisofs.8]
691 --- mkisofs/mkisofs.8.orig      2014-12-03 21:21:11 UTC
692 +++ mkisofs/mkisofs.8
693 @@ -2674,7 +2674,7 @@ but is kept to be compatible with
694  The format of the
695  .I magic
696  file is almost identical to the
697 -.BR magic (4)
698 +.BR magic (5)
699  file used by the Linux
700  .BR file (1)
701  command - the routines for reading and decoding the
702 @@ -2713,7 +2713,7 @@ l l l l .
703  .TE
704  .PP
705  The format of the file is described in the
706 -.BR magic (4)
707 +.BR magic (5)
708  man page. The only difference here is that for each entry in the magic file, the
709  .I message
710  for the initial offset
711
712
713 [FILE:1130:patches/patch-readcd__readcd.1]
714 ###########################################################################
715 # This patch was contributed by Marius Strobl.
716 ###########################################################################
717 # The contents of this file are subject to the terms of the
718 # Common Development and Distribution License, Version 1.0 only
719 # (the "License").  You may not use this file except in compliance
720 # with the License.
721 #
722 # See the file CDDL.Schily.txt in this distribution for details.
723 #
724 # When distributing Covered Code, include this CDDL HEADER in each
725 # file and include the License file CDDL.Schily.txt from this distribution.
726 ###########################################################################
727 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
728 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
729 ###########################################################################
730
731 --- readcd/readcd.1.orig        2015-03-25 19:14:30 UTC
732 +++ readcd/readcd.1
733 @@ -604,8 +604,6 @@ login shell.
734  .SH SEE ALSO
735  .BR cdrecord (1),
736  .BR mkisofs (8),
737 -.BR scg (7),
738 -.BR fbk (7),
739  .BR rcmd (3),
740  .BR ssh (1).
741  
742
743
744 [FILE:695:patches/patch-rscsi__rscsi.dfl]
745 --- rscsi/rscsi.dfl.orig        2005-08-09 13:19:20 UTC
746 +++ rscsi/rscsi.dfl
747 @@ -25,14 +25,13 @@
748  # Each USER= entry adds the listed user to the users who may run rscsi
749  #
750  # A typical passwd entry looks like this:
751 -# rscsi:x:1999:1000:Remote SCSI:/export/home/rscsi:/opt/schily/sbin/rscsi
752 +# rscsi:*:99:99::0:0:Remote SCSI:/usr/local/rscsi:/opt/schily/sbin/rscsi
753  #
754 -# Add entries for all valid remote users to /export/home/rscsi/.rhosts
755 +# Add entries for all valid remote users to /usr/local/rscsi/.rhosts
756  #
757  # USER= entries are checked with a pattern matcher. USER=* matches all users.
758  #
759  USER=rscsi
760 -#USER=joerg
761  
762  #
763  # Each ACCESS= entry adds a target or group of targets to the list of visible
764
765
766 [FILE:1173:patches/patch-scgcheck__scgcheck.1]
767 ###########################################################################
768 # This patch was contributed by Marius Strobl.
769 ###########################################################################
770 # The contents of this file are subject to the terms of the
771 # Common Development and Distribution License, Version 1.0 only
772 # (the "License").  You may not use this file except in compliance
773 # with the License.
774 #
775 # See the file CDDL.Schily.txt in this distribution for details.
776 #
777 # When distributing Covered Code, include this CDDL HEADER in each
778 # file and include the License file CDDL.Schily.txt from this distribution.
779 ###########################################################################
780 # The file CDDL.Schily.txt can be found in the original cdrtools tarball,
781 # which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
782 ###########################################################################
783
784 --- scgcheck/scgcheck.1.orig    2014-12-03 21:20:04 UTC
785 +++ scgcheck/scgcheck.1
786 @@ -269,8 +269,7 @@ Specify the log file to be used instead
787  .SH SEE ALSO
788  .BR cdrecord (1),
789  .BR readcd (1),
790 -.BR mkisofs (1),
791 -.BR scg (7).
792 +.BR mkisofs (8).
793  
794  .SH NOTES
795  .PP
796
797
798 [FILE:1477:files/special.mk]
799 DOCS=           README.FreeBSD README.mkisofs
800 CDDA2WAVDOCS=   FAQ Frontends HOWTOUSE OtherProgs README THANKS TODO
801 CDRECORDDOCS=   README README.ATAPI README.DiskT@2 README.WORM README.audio \
802                 README.cdplus README.cdrw README.cdtext README.clone \
803                 README.copy README.multi README.raw README.rscsi README.sony \
804                 README.verify
805 MKISOFSDOCS=    README README.compression README.eltorito README.graft_dirs \
806                 README.hfs_boot README.hfs_magic README.hide README.joliet \
807                 README.macosx README.mkhybrid README.prep_boot README.rootinfo \
808                 README.session README.sort README.sparcboot README.sunx86boot
809 SICONVTABLES=   cp10000 cp10006 cp10007 cp10029 cp10079 cp10081 cp1250 \
810                 cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 \
811                 cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860 cp861 \
812                 cp862 cp863 cp864 cp865 cp866 cp869 cp874 iso8859-1 \
813                 iso8859-10 iso8859-11 iso8859-13 iso8859-14 iso8859-15 \
814                 iso8859-16 iso8859-2 iso8859-3 iso8859-4 iso8859-5 \
815                 iso8859-6 iso8859-7 iso8859-8 iso8859-9 koi8-r koi8-u
816 RPTARGETS=      btcflash/btcflash.1 cdda2wav/cdda2mp3 cdda2wav/cdda2ogg \
817                 cdda2wav/cdda2ogg.1 cdda2wav/cdda2wav.1 cdrecord/README.rscsi \
818                 cdrecord/cdrecord.1 cdrecord/cdrecord.dfl include/schily/deflts.h \
819                 libcdrdeflt/cdrdeflt.c librscg/scsi-remote.c readcd/readcd.1 \
820                 rscsi/rscsi.1 rscsi/rscsi.c rscsi/rscsi.dfl scgcheck/scgcheck.1
821 RPTARGETS2=     cdda2wav/cdda2wav.c cdda2wav/global.h libparanoia/gap.c \
822                 libparanoia/overlap.c libparanoia/p_block.c libparanoia/paranoia.c
823