瀏覽代碼

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 年之前
父節點
當前提交
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>
 2006-05-31  Julian Gilbey  <jdg@debian.org>
 
 
 	* scripts/changelog/debian.pl: Remove duped string ' , at changelog '.
 	* 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
     when using '--compare-versions'. Closes: #369177
   * Remove duplicated string " , at changelog " in dpkg-parsechangelog's
   * Remove duplicated string " , at changelog " in dpkg-parsechangelog's
     debian style parser (Julian Gilbey). Closes: #369205
     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 ]
   [ Updated dpkg Translations ]
   * Portuguese (Miguel Figueiredo).
   * Portuguese (Miguel Figueiredo).

+ 1 - 1
src/processarc.c

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