Просмотр исходного кода

Update the Section and Priority fields in the status file from the
new packages. We assume that the information from the binary package
is correct, otherwise it should be fixed there to match the archive
override file (Koblinger Egmont).
Closes: #54529, #58106, #81171, #230610, #237622, #237626

Guillem Jover лет назад: 20
Родитель
Сommit
8a3859a71d
3 измененных файлов с 12 добавлено и 1 удалено
  1. 6 0
      ChangeLog
  2. 5 0
      debian/changelog
  3. 1 1
      src/processarc.c

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2006-05-31  Koblinger Egmont  <egmont@uhulinux.hu>
+
+	* src/processarc.c (process_archive): Do not pass to parsedb
+	pdb_weakclassification, so that the Section and Priority fields
+	gets updated with new packages.
+
 2006-05-31  Julian Gilbey  <jdg@debian.org>
 
 	* scripts/changelog/debian.pl: Remove duped string ' , at changelog '.

+ 5 - 0
debian/changelog

@@ -70,6 +70,11 @@ dpkg (1.13.20~) UNRELEASED; urgency=low
     when using '--compare-versions'. Closes: #369177
   * Remove duplicated string " , at changelog " in dpkg-parsechangelog's
     debian style parser (Julian Gilbey). Closes: #369205
+  * Update the Section and Priority fields in the status file from the
+    new packages. We assume that the information from the binary package
+    is correct, otherwise it should be fixed there to match the archive
+    override file (Koblinger Egmont).
+    Closes: #54529, #58106, #81171, #230610, #237622, #237626
 
   [ Updated dpkg Translations ]
   * Portuguese (Miguel Figueiredo).

+ 1 - 1
src/processarc.c

@@ -190,7 +190,7 @@ void process_archive(const char *filename) {
   waitsubproc(c1,BACKEND " --control",0);
   strcpy(cidirrest,CONTROLFILE);
 
-  parsedb(cidir, pdb_recordavailable|pdb_rejectstatus|pdb_ignorefiles|pdb_weakclassification,
+  parsedb(cidir, pdb_recordavailable | pdb_rejectstatus | pdb_ignorefiles,
           &pkg,NULL,NULL);
   if (!pkg->files) {
     pkg->files= nfmalloc(sizeof(struct filedetails));