[Popcon-developers] patch for 1.41

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Wed Mar 14 20:04:46 CET 2007


Hello Petter,

Here a proposed patch for popcon 1.41.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large blue swirl here. 

Index: debian/changelog
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/changelog,v
retrieving revision 1.361
diff -u -r1.361 changelog
--- debian/changelog	11 Mar 2007 08:09:10 -0000	1.361
+++ debian/changelog	14 Mar 2007 15:37:57 -0000
@@ -1,9 +1,11 @@
 popularity-contest (1.41) UNRELEASED; urgency=low
 
-  * Remove first person use and Debian branding from the package description
-    Closes: #414340
+  * Remove first person use from the package description
+    Closes: #414340. Thanks Filipus Klutiero.
+  * Fix /etc/cron.weekly/popularity-contest to call su without -p
+    to avoid dpkg Closes: #414644. Thanks Robert Luberda
 
- -- Christian Perrier <bubulle at debian.org>  Sun, 11 Mar 2007 09:07:36 +0100
+ -- Bill Allombert <ballombe at debian.org>  Wed, 14 Mar 2007 16:34:33 +0100
 
 popularity-contest (1.40) unstable; urgency=medium
 
Index: debian/control
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/control,v
retrieving revision 1.26
diff -u -r1.26 control
--- debian/control	11 Mar 2007 08:09:10 -0000	1.26
+++ debian/control	14 Mar 2007 15:37:57 -0000
@@ -14,13 +14,13 @@
 Provides: popcon
 Description: Vote for your favourite packages automatically
  The popularity-contest package sets up a cron job that will
- periodically anonymously submit to the distribution developers
- statistics about the most used packages on this system.
+ periodically anonymously submit to the Debian developers
+ statistics about the most used Debian packages on this system.
  .
- This information influences decisions such as which packages should
- go on the first distribution CD. It also helps improving future
- versions of the distribution so that the most popular packages are
- the ones which are installed automatically for new users.
+ This information helps Debian making decisions such as which packages 
+ should go on the first CD. It also lets Debian improve future versions
+ of the distribution so that the most popular packages are the ones which
+ are installed automatically for new users.
  .
  Homepage: http://popcon.debian.org
 
Index: debian/cron.weekly
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/cron.weekly,v
retrieving revision 1.18
diff -u -r1.18 cron.weekly
--- debian/cron.weekly	7 Oct 2006 14:50:32 -0000	1.18
+++ debian/cron.weekly	14 Mar 2007 15:37:57 -0000
@@ -30,8 +30,7 @@
 
 run_popcon()
 {
-	# Set HOME to avoid bug #212013.
-	HOME=/tmp su -pc "sh -c /usr/sbin/popularity-contest" nobody
+	su -c "sh -c /usr/sbin/popularity-contest" nobody
 }
 
 do_sendmail()



More information about the Popcon-developers mailing list