Browse Source

Document how to not send popcon email by root.

Remove regexp to catch .pyc files since there are not in packages.
suites/ascii
Bill Allombert 18 years ago
parent
commit
d73daa9d37
  1. 14
      FAQ
  2. 5
      debian/changelog
  3. 2
      popularity-contest

14
FAQ

@ -53,3 +53,17 @@ Q) /usr is mounted with 'noatime'.
A) popularity-contest relies on atime to know what packages were used during
the last month. This means you will only report the list of packages
installed without usage information.
Q) I don't want popcon email to be send by root! How can I send that ?
A) To send as user 'myuser', edit the function 'do_sendmail' in
/etc/cron.weekly/popularity-contest to
do_sendmail()
{
su myuser -s /bin/sh -c "/usr/sbin/sendmail -oi \"$MAILTO\""
}
Make sure myuser account is properly configured to send email with a valid
return address.

5
debian/changelog

@ -1,6 +1,11 @@
popularity-contest (1.26) UNRELEASED; urgency=low
* Update server-side scripts to accomodate with kfreebsd-gnu new URL.
* Document how to not send popcon email by root. Closes: #264593
Thanks Martin Dickopp.
* Remove regexp to catch .pyc files since there are not in packages.
Closes: #265360. Thanks Martin v. Loewis.
-- Bill Allombert <ballombe@debian.org> Fri, 29 Oct 2004 10:20:28 +0200

2
popularity-contest

@ -83,7 +83,7 @@ while (<PACKAGES>)
while (<FILES>)
{
chop;
m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm$|\.pyc$} or next;
m{/bin/|/sbin/|^/usr/games/|\.[ah]$|\.pm$} or next;
-f $_ or next;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)

Loading…
Cancel
Save