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