[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] Bug#457432: popularity-contest: Please include /lib/.+/ in the search space

Package: popularity-contest
Version: 1.42
Severity: wishlist
Tags: patch

--- popularity-contest-1.42/popularity-contest	2006-10-08 18:30:36.000000000 +0200
+++ popularity-contest-1.42-johan/popularity-contest	2007-12-22 12:20:20.000000000 +0100
@@ -83,7 +83,7 @@
   while (<FILES>)
-    m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm|^/boot/System\.map-} or next;
+    m{/bin/|/sbin/|/lib/.+/|^/usr/games/|\.[ah]$|\.pm|^/boot/System\.map-} or next;
     -f $_ or next;

Please include /lib/.+/ in the search space.  This makes Gnome applets which put files only in 
/usr/lib/appletname/... get proper statistics, as well as kernel-module only packages which put
files in /lib/modules/... .

Since only /lib and /usr/lib themselves, but not their subdirectories are scanned by ldconfig,
this doesn't add any false positives for libraries.

  Regards //Johan

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages popularity-contest depends on:
ii  debconf [debconf-2.0]         1.5.17     Debian configuration management sy
ii  dpkg                          1.14.7     package maintenance system for Deb

Versions of packages popularity-contest recommends:
ii  cron                          3.0pl1-100 management of regular background p
pn  mime-construct                <none>     (no description available)
ii  postfix [mail-transport-agent 2.4.6-2    High-performance mail transport ag

-- debconf information:
* popularity-contest/participate: true
* popularity-contest/intro:
  popularity-contest/use-http: false

Reply to: