]> git.pld-linux.org Git - packages/apt.git/blob - apt-FHS.patch
- readline 5.0
[packages/apt.git] / apt-FHS.patch
1 diff -Nur apt-0.3.19cnc50.orig/apt-pkg/init.cc apt-0.3.19cnc50/apt-pkg/init.cc
2 --- apt-0.3.19cnc50.orig/apt-pkg/init.cc        Tue Jun 26 05:51:24 2001
3 +++ apt-0.3.19cnc50/apt-pkg/init.cc     Tue Aug 14 23:59:37 2001
4 @@ -26,7 +26,7 @@
5     Cnf.Set("APT::Architecture",ARCHITECTURE);
6  
7     // State
8 -   Cnf.Set("Dir::State","/var/state/apt/");
9 +   Cnf.Set("Dir::State","/var/lib/apt/");
10     Cnf.Set("Dir::State::lists","lists/");
11     
12     /* These really should be jammed into a generic 'Local Database' engine
13 diff -Nur apt-0.3.19cnc50.orig/doc/apt-cache.8 apt-0.3.19cnc50/doc/apt-cache.8
14 --- apt-0.3.19cnc50.orig/doc/apt-cache.8        Thu Jan  4 22:26:14 2001
15 +++ apt-0.3.19cnc50/doc/apt-cache.8     Tue Aug 14 23:55:55 2001
16 @@ -71,7 +71,7 @@
17  
18  Versions:
19  
20 -2\&.1-12(/var/state/apt/lists/debian\&.midco\&.net_debian_dists_slink_main_binary-i386_Packages),
21 +2\&.1-12(/var/lib/apt/lists/debian\&.midco\&.net_debian_dists_slink_main_binary-i386_Packages),
22  
23  Reverse Depends: 
24  
25 @@ -283,11 +283,11 @@
26  locations to fetch packages from
27  .IP 
28  .IP o 
29 -/var/state/apt/lists/
30 +/var/lib/apt/lists/
31  storage area for state information for each package resource specified in
32  .IP 
33  .IP o 
34 -/var/state/apt/lists/partial/
35 +/var/lib/apt/lists/partial/
36  storage area for state information in transit
37  .PP 
38  .SH "SEE ALSO" 
39 diff -Nur apt-0.3.19cnc50.orig/doc/apt-cache.8.yo apt-0.3.19cnc50/doc/apt-cache.8.yo
40 --- apt-0.3.19cnc50.orig/doc/apt-cache.8.yo     Thu Aug 10 14:42:39 2000
41 +++ apt-0.3.19cnc50/doc/apt-cache.8.yo  Tue Aug 14 23:56:18 2001
42 @@ -57,7 +57,7 @@
43  
44  Versions:
45  
46 -2.1-12(/var/state/apt/lists/debian.midco.net_debian_dists_slink_main_binary-i386_Packages),
47 +2.1-12(/var/lib/apt/lists/debian.midco.net_debian_dists_slink_main_binary-i386_Packages),
48  
49  Reverse Depends: 
50  
51 @@ -256,10 +256,10 @@
52    it() /etc/apt/sources.list 
53    locations to fetch packages from
54    
55 -  it() /var/state/apt/lists/
56 +  it() /var/lib/apt/lists/
57    storage area for state information for each package resource specified in
58    
59 -  it() /var/state/apt/lists/partial/
60 +  it() /var/lib/apt/lists/partial/
61    storage area for state information in transit
62  )
63  
64 diff -Nur apt-0.3.19cnc50.orig/doc/apt-cdrom.8 apt-0.3.19cnc50/doc/apt-cdrom.8
65 --- apt-0.3.19cnc50.orig/doc/apt-cdrom.8        Thu Oct 26 18:22:51 2000
66 +++ apt-0.3.19cnc50/doc/apt-cdrom.8     Tue Aug 14 23:56:55 2001
67 @@ -27,7 +27,7 @@
68  directory you will be prompted for a descriptive title\&.
69  .IP 
70  APT uses a CDROM ID to track which disc is currently in the drive and
71 -maintains a database of these IDs in \fB/var/state/apt/cdroms\&.list\fP
72 +maintains a database of these IDs in \fB/var/lib/apt/cdroms\&.list\fP
73  .IP 
74  .PP 
75  .SH "OPTIONS" 
76 @@ -95,15 +95,15 @@
77  locations to fetch packages from
78  .IP 
79  .IP o 
80 -/var/state/apt/lists/
81 +/var/lib/apt/lists/
82  storage area for state information for each package resource specified in
83  .IP 
84  .IP o 
85 -/var/state/apt/lists/partial/
86 +/var/lib/apt/lists/partial/
87  storage area for state information in transit
88  .IP 
89  .IP o 
90 -/var/state/apt/cdroms\&.list
91 +/var/lib/apt/cdroms\&.list
92  list of cdrom IDs and names\&.
93  .PP 
94  .SH "SEE ALSO" 
95 diff -Nur apt-0.3.19cnc50.orig/doc/apt-cdrom.8.yo apt-0.3.19cnc50/doc/apt-cdrom.8.yo
96 --- apt-0.3.19cnc50.orig/doc/apt-cdrom.8.yo     Thu Aug 10 14:42:39 2000
97 +++ apt-0.3.19cnc50/doc/apt-cdrom.8.yo  Tue Aug 14 23:57:14 2001
98 @@ -29,7 +29,7 @@
99  directory you will be prompted for a descriptive title.
100  
101  APT uses a CDROM ID to track which disc is currently in the drive and
102 -maintains a database of these IDs in bf(/var/state/apt/cdroms.list)
103 +maintains a database of these IDs in bf(/var/lib/apt/cdroms.list)
104  
105  enddit()
106  
107 @@ -93,13 +93,13 @@
108    it() /etc/apt/sources.list 
109    locations to fetch packages from
110    
111 -  it() /var/state/apt/lists/
112 +  it() /var/lib/apt/lists/
113    storage area for state information for each package resource specified in
114    
115 -  it() /var/state/apt/lists/partial/
116 +  it() /var/lib/apt/lists/partial/
117    storage area for state information in transit
118    
119 -  it() /var/state/apt/cdroms.list
120 +  it() /var/lib/apt/cdroms.list
121    list of cdrom IDs and names.
122  )
123  
124 diff -Nur apt-0.3.19cnc50.orig/doc/apt-get.8 apt-0.3.19cnc50/doc/apt-get.8
125 --- apt-0.3.19cnc50.orig/doc/apt-get.8  Wed Nov  1 22:32:28 2000
126 +++ apt-0.3.19cnc50/doc/apt-get.8       Tue Aug 14 23:57:34 2001
127 @@ -252,7 +252,7 @@
128  .IP "\fB--list-cleanup\fP" 
129  This option defaults to on, use \fB--no-list-cleanup\fP to turn it off\&.
130  When on apt-get will automatically manage the contents of 
131 -/var/state/apt/lists to ensure that obsolete files are erased\&. The only 
132 +/var/lib/apt/lists to ensure that obsolete files are erased\&. The only 
133  reason to turn it off is if you frequently change your source list\&. 
134  Configuration Item: \fBAPT::Get::List-Cleanup\fP
135  .IP 
136 @@ -299,12 +299,12 @@
137  storage area for package files in transit
138  .IP 
139  .IP o 
140 -/var/state/apt/lists/
141 +/var/lib/apt/lists/
142  storage area for state information for each package resource specified in
143  the source list
144  .IP 
145  .IP o 
146 -/var/state/apt/lists/partial/
147 +/var/lib/apt/lists/partial/
148  storage area for state information in transit
149  .PP 
150  .SH "SEE ALSO" 
151 diff -Nur apt-0.3.19cnc50.orig/doc/apt-get.8.yo apt-0.3.19cnc50/doc/apt-get.8.yo
152 --- apt-0.3.19cnc50.orig/doc/apt-get.8.yo       Thu Aug 10 14:42:39 2000
153 +++ apt-0.3.19cnc50/doc/apt-get.8.yo    Tue Aug 14 23:57:50 2001
154 @@ -235,7 +235,7 @@
155  dit(bf(--list-cleanup))
156  This option defaults to on, use bf(--no-list-cleanup) to turn it off.
157  When on apt-get will automatically manage the contents of 
158 -/var/state/apt/lists to ensure that obsolete files are erased. The only 
159 +/var/lib/apt/lists to ensure that obsolete files are erased. The only 
160  reason to turn it off is if you frequently change your source list. 
161  Configuration Item: bf(APT::Get::List-Cleanup)
162  
163 @@ -274,11 +274,11 @@
164    it() /var/cache/apt/archives/partial/
165    storage area for package files in transit
166    
167 -  it() /var/state/apt/lists/
168 +  it() /var/lib/apt/lists/
169    storage area for state information for each package resource specified in
170    the source list
171    
172 -  it() /var/state/apt/lists/partial/
173 +  it() /var/lib/apt/lists/partial/
174    storage area for state information in transit
175  )
176  
177 diff -Nur apt-0.3.19cnc50.orig/doc/examples/configure-index apt-0.3.19cnc50/doc/examples/configure-index
178 --- apt-0.3.19cnc50.orig/doc/examples/configure-index   Thu Jan  4 22:26:14 2001
179 +++ apt-0.3.19cnc50/doc/examples/configure-index        Tue Aug 14 23:59:24 2001
180 @@ -137,7 +137,7 @@
181  Dir 
182  {
183    // Location of the state dir
184 -  State "/var/state/apt/" 
185 +  State "/var/lib/apt/" 
186    {
187       lists "lists/";
188       xstatus "xstatus";
189 diff -Nur apt-0.3.19cnc50.orig/doc/files.sgml apt-0.3.19cnc50/doc/files.sgml
190 --- apt-0.3.19cnc50.orig/doc/files.sgml Thu Aug 10 14:42:39 2000
191 +++ apt-0.3.19cnc50/doc/files.sgml      Tue Aug 14 23:58:13 2001
192 @@ -41,7 +41,7 @@
193  <p>
194  The var directory structure is as follows:
195  <example>
196 -  /var/state/apt/
197 +  /var/lib/apt/
198                   lists/
199                        partial/
200                   xstatus
201 @@ -66,7 +66,7 @@
202  </example>
203  
204  <p>
205 -As is specified in the FHS 2.0 /var/state/apt is used for application 
206 +As is specified in the FHS 2.2 /var/lib/apt is used for application 
207  data that is not expected to be user modified. /var/cache/apt is used
208  for regeneratable data and is where the package cache and downloaded .debs
209  go.
210 @@ -183,10 +183,10 @@
211  
212  <example>
213  http://www.debian.org/archive/dists/stable/binary-i386/Packages 
214 -/var/state/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
215 +/var/lib/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
216  
217  cdrom:Debian 1.3/debian/Packages
218 -/var/state/apt/info/Debian%201.3_debian_Packages
219 +/var/lib/apt/info/Debian%201.3_debian_Packages
220  </example>
221  
222  <p> 
223 diff -Nur apt-0.3.19cnc50.orig/doc/pt_BR/apt-cache.8 apt-0.3.19cnc50/doc/pt_BR/apt-cache.8
224 --- apt-0.3.19cnc50.orig/doc/pt_BR/apt-cache.8  Mon Nov 27 19:01:01 2000
225 +++ apt-0.3.19cnc50/doc/pt_BR/apt-cache.8       Tue Aug 14 23:58:34 2001
226 @@ -71,7 +71,7 @@
227  
228  Versões:
229  
230 -2\&.1-12(/var/state/apt/lists/debian\&.midco\&.net_debian_dists_slink_main_binary-i386_Packages),
231 +2\&.1-12(/var/lib/apt/lists/debian\&.midco\&.net_debian_dists_slink_main_binary-i386_Packages),
232  
233  Retro-Dependências: 
234  
235 @@ -290,12 +290,12 @@
236  locais de onde obter os pacotes
237  .IP 
238  .IP o 
239 -/var/state/apt/lists/
240 +/var/lib/apt/lists/
241  área de armazenamento para exibir informação para cada recurso de pacote
242  especificado em
243  .IP 
244  .IP o 
245 -/var/state/apt/lists/partial/
246 +/var/lib/apt/lists/partial/
247  área de armazenamento para exibir informação de estado em trânsito
248  .PP 
249  .SH "CONSULTE TAMBÉM" 
250 diff -Nur apt-0.3.19cnc50.orig/doc/pt_BR/apt-cdrom.8 apt-0.3.19cnc50/doc/pt_BR/apt-cdrom.8
251 --- apt-0.3.19cnc50.orig/doc/pt_BR/apt-cdrom.8  Mon Nov 27 19:01:01 2000
252 +++ apt-0.3.19cnc50/doc/pt_BR/apt-cdrom.8       Tue Aug 14 23:58:54 2001
253 @@ -31,7 +31,7 @@
254  .IP 
255  APT usa uma identificação de CDROM para rastrear qual disco está
256  atualmente no drive e mantém uma base de dados destes IDs em
257 -\fB/var/state/apt/cdroms\&.list\fP
258 +\fB/var/lib/apt/cdroms\&.list\fP
259  .IP 
260  .PP 
261  .SH "OPÇÕES" 
262 @@ -98,16 +98,16 @@
263  locais da onde obter pacotes
264  .IP 
265  .IP o 
266 -/var/state/apt/lists/
267 +/var/lib/apt/lists/
268  área de armazenamento para informação de estado para cada tipo de recurso de
269  pacote especificado em
270  .IP 
271  .IP o 
272 -/var/state/apt/lists/partial/
273 +/var/lib/apt/lists/partial/
274  área de armazenamento para informação de estado em trânsito
275  .IP 
276  .IP o 
277 -/var/state/apt/cdroms\&.list
278 +/var/lib/apt/cdroms\&.list
279  lista de IDs de CDROMs e nomes\&.
280  .PP 
281  .SH "CONSULTE TAMBÉM" 
282 diff -Nur apt-0.3.19cnc50.orig/doc/pt_BR/apt-get.8 apt-0.3.19cnc50/doc/pt_BR/apt-get.8
283 --- apt-0.3.19cnc50.orig/doc/pt_BR/apt-get.8    Mon Nov 27 19:01:01 2000
284 +++ apt-0.3.19cnc50/doc/pt_BR/apt-get.8 Tue Aug 14 23:59:16 2001
285 @@ -254,7 +254,7 @@
286  .IP "\fB--list-cleanup\fP" 
287  Esta opção é habilitada por padrão, use \fB--no-list-cleanup\fP para
288  desabilitá-la\&. Quando habilitada o apt-get irá gerenciar
289 -automaticamente os conteúdos de /var/state/apt/lists para
290 +automaticamente os conteúdos de /var/lib/apt/lists para
291  certificar-se de que os arquivos obsoletos serão apagados\&. A única
292  razão para desativá-la é se você altera sua lista-fonte com freqüência\&. 
293  Item de configuração: \fBAPT::Get::List-Cleanup\fP
294 @@ -307,12 +307,12 @@
295  área de armazenagem para arquivos de pacotes em trânsito
296  .IP 
297  .IP o 
298 -/var/state/apt/lists/
299 +/var/lib/apt/lists/
300  área de armazenagem para informação de estado para cada recurso de
301  pacote especificado na lista de fontes
302  .IP 
303  .IP o 
304 -/var/state/apt/lists/partial/
305 +/var/lib/apt/lists/partial/
306  área de armazenagem para informação de estado em trânsito
307  .PP 
308  .SH "SEE ALSO" 
309 diff -Nur apt-0.3.19cnc50.orig/docs/files.html/ch1.html apt-0.3.19cnc50/docs/files.html/ch1.html
310 --- apt-0.3.19cnc50.orig/docs/files.html/ch1.html       Mon Oct  2 22:04:53 2000
311 +++ apt-0.3.19cnc50/docs/files.html/ch1.html    Tue Aug 14 23:55:08 2001
312 @@ -42,7 +42,7 @@
313  The var directory structure is as follows:
314  
315  <pre>
316 -       /var/state/apt/
317 +       /var/lib/apt/
318                   lists/
319                        partial/
320                   xstatus
321 @@ -67,7 +67,7 @@
322  </pre>
323  
324  <p>
325 -As is specified in the FHS 2.0 /var/state/apt is used for application data that
326 +As is specified in the FHS 2.2 /var/lib/apt is used for application data that
327  is not expected to be user modified.  /var/cache/apt is used for regeneratable
328  data and is where the package cache and downloaded .debs go.
329  </p>
330 diff -Nur apt-0.3.19cnc50.orig/docs/files.html/ch2.html apt-0.3.19cnc50/docs/files.html/ch2.html
331 --- apt-0.3.19cnc50.orig/docs/files.html/ch2.html       Mon Oct  2 22:04:53 2000
332 +++ apt-0.3.19cnc50/docs/files.html/ch2.html    Tue Aug 14 23:55:26 2001
333 @@ -174,10 +174,10 @@
334  
335  <pre>
336       http://www.debian.org/archive/dists/stable/binary-i386/Packages 
337 -     /var/state/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
338 +     /var/lib/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
339       
340       cdrom:Debian 1.3/debian/Packages
341 -     /var/state/apt/info/Debian%201.3_debian_Packages
342 +     /var/lib/apt/info/Debian%201.3_debian_Packages
343  </pre>
344  
345  <p>
346 diff -Nur apt-0.3.19cnc50.orig/docs/files.text apt-0.3.19cnc50/docs/files.text
347 --- apt-0.3.19cnc50.orig/docs/files.text        Mon Oct  2 22:04:53 2000
348 +++ apt-0.3.19cnc50/docs/files.text     Tue Aug 14 23:54:36 2001
349 @@ -68,12 +68,12 @@
350  
351       The var directory structure is as follows:
352  
353 -            /var/state/apt/
354 -                         lists/
355 -                              partial/
356 -                         xstatus
357 -                         userstatus
358 -                         cdroms.list
359 +            /var/lib/apt/
360 +                       lists/
361 +                            partial/
362 +                       xstatus
363 +                       userstatus
364 +                       cdroms.list
365              /var/cache/apt/
366                              pkgcache.bin
367                           srcpkgcache.bin
368 @@ -91,7 +91,7 @@
369                                gzip
370                                copy
371  
372 -     As is specified in the FHS 2.0 /var/state/apt is used for application
373 +     As is specified in the FHS 2.2 /var/lib/apt is used for application
374       data that is not expected to be user modified.  /var/cache/apt is used
375       for regeneratable data and is where the package cache and downloaded
376       .debs go.
377 @@ -202,10 +202,10 @@
378       representation from the ascii character set.  Examples:
379  
380  http://www.debian.org/archive/dists/stable/binary-i386/Packages
381 -/var/state/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
382 +/var/lib/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
383  
384  cdrom:Debian 1.3/debian/Packages
385 -/var/state/apt/info/Debian%201.3_debian_Packages
386 +/var/lib/apt/info/Debian%201.3_debian_Packages
387  
388       The other alternative that was considered was to use a deep directory
389       structure but this poses two problems, it makes it very difficult to
This page took 0.060268 seconds and 3 git commands to generate.