]> git.pld-linux.org Git - packages/apt.git/blame - apt-FHS.patch
- updated for 0.5.4cnc7
[packages/apt.git] / apt-FHS.patch
CommitLineData
f6a64ad6
JB
1diff -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
13diff -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"
39diff -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
64diff -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"
95diff -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
124diff -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"
151diff -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
177diff -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";
189diff -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>
223diff -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