]> TLD Linux GIT Repositories - packages/cdrtools.git/blob - cdrtools-config.patch
- from PLD
[packages/cdrtools.git] / cdrtools-config.patch
1 --- cdrtools-3.00/cdrecord/cdrecord.1~  2014-03-25 14:58:38.000000000 +0200
2 +++ cdrtools-3.00/cdrecord/cdrecord.1   2014-03-25 14:59:13.673238717 +0200
3 @@ -71,7 +71,7 @@
4  explained below refers to
5  .IR scsibus / target / lun
6  of the CD/DVD/BluRay-recorder.
7 -If a file /etc/default/cdrecord exists, the parameter to the
8 +If a file /etc/cdrecord.conf exists, the parameter to the
9  .B dev=
10  option may also be a drive name label in said file (see FILES section).
11  
12 @@ -1201,13 +1201,13 @@
13  option is present,
14  .B cdrecord
15  will try to get a drive specific speed value from the file
16 -.B /etc/default/cdrecord
17 +.B /etc/cdrecord.conf
18  and if it cannot find one, it will try to get the speed value from the
19  .B CDR_SPEED
20  environment and later from the 
21  .B CDR_SPEED=
22  entry in
23 -.BR /etc/default/cdrecord .
24 +.BR /etc/cdrecord.conf .
25  If no speed value could be found, cdrecord uses a drive specific default speed.
26  The default for all new (MMC compliant) drives is to use the maximum supported by the drive.
27  If you use 
28 @@ -1505,7 +1505,7 @@
29  .B CDR_DEVICE
30  environment.
31  .sp
32 -If a file /etc/default/cdrecord exists, and
33 +If a file /etc/cdrecord.conf exists, and
34  if the argument to the
35  .B dev=
36  option
37 @@ -1514,7 +1514,7 @@
38  environment
39  does not contain the characters ',', '/', '@' or ':',
40  it is interpreted as a device label name that was defined in the file
41 -/etc/default/cdrecord (see FILES section).
42 +/etc/cdrecord.conf (see FILES section).
43  .sp
44  .B \h'-2m'Autotarget Mode
45  .br
46 @@ -2158,7 +2158,7 @@
47  .TP
48  .B CDR_DEVICE
49  This may either hold a device identifier that is suitable to the open
50 -call of the SCSI transport library or a label in the file /etc/default/cdrecord.
51 +call of the SCSI transport library or a label in the file /etc/cdrecord.conf
52  .TP
53  .B CDR_SPEED
54  Sets the default speed value for writing (see also 
55 @@ -2226,8 +2226,11 @@
56  
57  .SH FILES
58  .TP
59 -.B /etc/default/cdrecord
60 -Default values can be set for the following options in /etc/default/cdrecord.
61 +.B /etc/cdrecord.conf
62 +Default values can be set for the following options in /etc/cdrecord.conf .
63 +Note that this path has been changed from standard location in cdrtools
64 +distribution (/etc/default/cdrecord) to be consistent with other packages
65 +which don't use /etc/default directory in general.
66  For example:
67  .SM CDR_FIFOSIZE=8m
68  or
69 @@ -2236,7 +2239,7 @@
70  .TP
71  .B CDR_DEVICE
72  This may either hold a device identifier that is suitable to the open
73 -call of the SCSI transport library or a label in the file /etc/default/cdrecord 
74 +call of the SCSI transport library or a label in the file /etc/cdrecord.conf
75  that allows to identify a specific drive on the system.
76  .TP
77  .B CDR_SPEED
78 --- cdrtools-2.01.01.orig/cdrecord/cdrecord.dfl 2008-12-30 14:29:50.000000000 +0100
79 +++ cdrtools-2.01.01/cdrecord/cdrecord.dfl      2010-02-08 14:15:04.000000000 +0100
80 @@ -1,6 +1,6 @@
81  #ident @(#)cdrecord.dfl        1.7 08/12/30 Copyr 1998 J. Schilling
82  #
83 -# This file is /etc/default/cdrecord
84 +# This file is /etc/cdrecord.conf
85  # It contains defaults that are used if no command line option
86  # or environment is present.
87  # 
88 @@ -19,7 +19,7 @@
89  # Note that newer cdrecord versions do not default
90  # to speed=1. For MMC compliant drives, the default
91  # is to write at maximum speed, so it in general does
92 -# not make sense to set up a default speed in /etc/default/cdrecord 
93 +# not make sense to set up a default speed in /etc/cdrecord.conf 
94  #
95  #CDR_SPEED=40
96  
97 --- cdrtools-2.01.01.orig/libcdrdeflt/cdrdeflt.c        2009-07-10 23:57:18.000000000 +0200
98 +++ cdrtools-2.01.01/libcdrdeflt/cdrdeflt.c     2010-02-08 14:15:04.000000000 +0100
99 @@ -49,7 +49,7 @@
100          * don't contribute work and don't give support, they are causing extra
101          * work for me and this way slow down the cdrecord development.
102          */
103 -       return (defltopen("/etc/default/cdrecord"));
104 +       return (defltopen("/etc/cdrecord.conf"));
105  }
106  
107  EXPORT void
108 --- cdrtools-2.01.01.orig/readcd/readcd.1       2010-01-29 23:27:12.000000000 +0100
109 +++ cdrtools-2.01.01/readcd/readcd.1    2010-02-08 14:15:04.000000000 +0100
110 @@ -64,7 +64,7 @@
111  explained below refers to
112  .IR scsibus / target / lun
113  of the CD/DVD/BluRay-Recorder.
114 -If a file /etc/default/cdrecord exists, the parameter to the
115 +If a file /etc/cdrecord.conf exists, the parameter to the
116  .B dev=
117  option may also be a drive name label in said file (see FILES section).
118  
119 @@ -440,7 +440,7 @@
120  .B CDR_DEVICE
121  environment.
122  .sp
123 -If a file /etc/default/cdrecord exists, and
124 +If a file /etc/cdrecord.conf exists, and
125  if the argument to the
126  .B dev=
127  option
128 @@ -449,7 +449,7 @@
129  environment
130  does not contain the characters ',', '/', '@' or ':',
131  it is interpreted as a device label name that was defined in the file
132 -/etc/default/cdrecord (see FILES section).
133 +/etc/cdrecord.conf (see FILES section).
134  .sp
135  .B \h'-2m'Autotarget Mode
136  .br