[Popcon-developers] Bug#325030: marked as done (popularity-contest: allow http only)

Debian Bug Tracking System owner at bugs.debian.org
Sat Jan 14 09:33:13 UTC 2006


Your message dated Sat, 14 Jan 2006 01:17:07 -0800
with message-id <E1ExhX1-0004eZ-QL at spohr.debian.org>
and subject line Bug#325030: fixed in popularity-contest 1.32
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Aug 2005 16:50:00 +0000
>From vagrant at freegeek.org Thu Aug 25 09:50:00 2005
Return-path: <vagrant at freegeek.org>
Received: from smtp.easystreet.com [69.30.22.10] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E8KvQ-00017u-00; Thu, 25 Aug 2005 09:50:00 -0700
Received: from waitron.freegeek.org (209-162-205-26.dq1mn.easystreet.com [209.162.205.26])
	by smtp.easystreet.com (Postfix) with ESMTP id F1377364109
	for <submit at bugs.debian.org>; Thu, 25 Aug 2005 09:49:50 -0700 (PDT)
Received: from localhost (waitron [127.0.0.1])
	by waitron.freegeek.org (Postfix) with ESMTP id C694063CED
	for <submit at bugs.debian.org>; Thu, 25 Aug 2005 09:49:50 -0700 (PDT)
Received: from waitron.freegeek.org ([127.0.0.1])
	by localhost (mail.freegeek.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 07001-04 for <submit at bugs.debian.org>;
	Thu, 25 Aug 2005 09:49:50 -0700 (PDT)
Received: from localhost.localdomain (pcp05158478pcs.montbl01.nm.comcast.net [68.35.116.136])
	by waitron.freegeek.org (Postfix) with ESMTP id 6579763CE7
	for <submit at bugs.debian.org>; Thu, 25 Aug 2005 09:49:50 -0700 (PDT)
Received: by localhost.localdomain (Postfix, from userid 1000)
	id DE00F8E873; Thu, 25 Aug 2005 10:46:57 -0600 (MDT)
Date: Thu, 25 Aug 2005 10:46:56 -0600
From: Vagrant Cascadian <vagrant+bugs at freegeek.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: popularity-contest: allow http only
Message-ID: <20050825164656.GD2799 at freegeek.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="9l24NVCWtSuIVIod"
Content-Disposition: inline
X-Reportbug-Version: 3.8
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at freegeek.org
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02


--9l24NVCWtSuIVIod
Content-Type: multipart/mixed; boundary="OaZoDhBhXzo6bW1J"
Content-Disposition: inline


--OaZoDhBhXzo6bW1J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: popularity-contest
Version: 1.31
Severity: wishlist

currently, popularity contest defaults back to email if http post fails.
on systems without a working mail configuration.

attached is a patch which allows forcing http post only, by setting
the MAILTO variable to ""

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages popularity-contest depends on:
ii  debconf [debconf-2.0]         1.4.30.13  Debian configuration management sy
ii  dpkg                          1.10.28    Package maintenance system for Deb

-- debconf information:
  popularity-contest/hostid-failed:
* popularity-contest/participate: true
* popularity-contest/use-http: true

--OaZoDhBhXzo6bW1J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="popularity-contest-only-http.diff"
Content-Transfer-Encoding: quoted-printable

--- /etc/cron.weekly/popularity-contest	2005-07-06 14:27:43.000000000 -0600
+++ popularity-contest.new	2005-08-25 10:15:34.958483656 -0600
@@ -16,8 +16,8 @@
 . /usr/share/popularity-contest/default.conf
 . /etc/popularity-contest.conf
=20
-# don't run if MAILTO address is blank!
-if [ -z "$MAILTO" ]; then exit 0; fi
+# don't run if MAILTO address is blank, or not configured to use HTTP POST!
+if [ -z "$MAILTO" ] && [ "yes" !=3D "$USEHTTP" ]; then exit 0; fi
=20
 # don't run if PARTICIPATE is "no" or unset!
 [ "$PARTICIPATE" =3D "no" ] || [ -z "$PARTICIPATE" ] && exit 0
@@ -63,7 +63,7 @@
=20
 # try to email the popularity contest data
=20
-if [ yes !=3D "$SUBMITTED" ]; then
+if [ yes !=3D "$SUBMITTED" ] && [ "$MAILTO" ]; then
     if [ -x "`which sendmail 2>/dev/null`" ]; then
 	# Sending compressed emails are disabled as the receiving end
 	# isn't implemented yet.

--OaZoDhBhXzo6bW1J--

--9l24NVCWtSuIVIod
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDDfYAlPc63BPWGpkRAiFhAJ9pTIGww7gk+qoZ2M12QLcZVDRQuQCfVQfQ
fvBAqUivzoYt5nwDsHea3Z8=
=8og2
-----END PGP SIGNATURE-----

--9l24NVCWtSuIVIod--

---------------------------------------
Received: (at 325030-close) by bugs.debian.org; 14 Jan 2006 09:20:55 +0000
>From katie at ftp-master.debian.org Sat Jan 14 01:20:55 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1ExhX1-0004eZ-QL; Sat, 14 Jan 2006 01:17:07 -0800
From: Petter Reinholdtsen <pere at debian.org>
To: 325030-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#325030: fixed in popularity-contest 1.32
Message-Id: <E1ExhX1-0004eZ-QL at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sat, 14 Jan 2006 01:17:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 9

Source: popularity-contest
Source-Version: 1.32

We believe that the bug you reported is fixed in the latest version of
popularity-contest, which is due to be installed in the Debian FTP archive:

popularity-contest_1.32.dsc
  to pool/main/p/popularity-contest/popularity-contest_1.32.dsc
popularity-contest_1.32.tar.gz
  to pool/main/p/popularity-contest/popularity-contest_1.32.tar.gz
popularity-contest_1.32_all.deb
  to pool/main/p/popularity-contest/popularity-contest_1.32_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 325030 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere at debian.org> (supplier of updated popularity-contest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 14 Jan 2006 09:56:05 +0100
Source: popularity-contest
Binary: popularity-contest
Architecture: source all
Version: 1.32
Distribution: unstable
Urgency: low
Maintainer: Popularity Contest Developers <popcon-developers at lists.alioth.debian.org>
Changed-By: Petter Reinholdtsen <pere at debian.org>
Description: 
 popularity-contest - Vote for your favourite packages automatically
Closes: 321056 323225 325030 331438 332710 338614 340129 343688 344584 345228 347713
Changes: 
 popularity-contest (1.32) unstable; urgency=low
 .
   [Petter Reinholdtsen]
   * Add variable mirrorbase to popanal.py, to make it easier to set up
     a new server.
   * Remove listing email as the transport method in the package
     description, and make the description independent of the method
     used.  This reflect the new HTTP transport support. (Closes: #321056)
   * Update the FAQ to better reflect the support for HTTP submissions.
   * popcon-upload-ubuntu: Replace ubuntulinux.org with ubuntu.com.  Patch
     from Colin Watson and Ubuntu.
   * Correct use of 'su' in cron-script.  (Closes: #331438)
   * Make it possible to get popcon to only report using HTTP.  Patch
     from Vagrant Cascadian. (Closes: #325030)
   * Added debian/compat to set debhelper compatibility level to 4, and
     remove debian/conffiles as it is no longer needed.
   * Let popcon-submit.cgi pipe incoming reports through prepop.pl
     instead of saving it directly to disk, to make sure the same
     sanity checks are done for both HTTP and SMTP reports.  Thanks to
     Bill Allombert for pointing out the risks of the old approach.
 .
   [Bill Allombert]
   * Fix server-side scripts to use the Packages.gz files instead of the
     Packages file.
 .
   [Mohammed Adnène Trojette]
   * Translations:
     - Updated Romanian by Eddy Petrisor. (Closes: #323225)
     - Updated Swedish from Daniel Nylander. (Closes: #332710)
     - Updated Tagalog from Eric Pareja. (Closes: #338614)
     - Updated Danish from Morten Brix Pedersen. (Closes: #340129)
     - Updated Korean from Sunjae Park. (Closes: #343688)
     - Updated Greek from George Papamichelakis. (Closes: #344584)
     - Updated Catalan from Aleix Badia i Bosch. (Closes: #345228)
     - Updated Turkish from Recai Oktas. (Closes: #347713)
 .
   [Christian Perrier]
   * Translations:
     - Added Punjabi translation by Amanpreet Singh Alam
     - Updated Dutch translation by bart Cornelis
Files: 
 a80ca6d952ace9d36e6aa2e50789af11 654 misc optional popularity-contest_1.32.dsc
 027838926eb0e4acda76c8957bc074a5 63671 misc optional popularity-contest_1.32.tar.gz
 8e8439eaa9ba7c1ed00a4e8c2533c532 55104 misc optional popularity-contest_1.32_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDyL4P20zMSyow1ykRAgE3AJ9AvpwZnvhIw3M8XXHmrFsY2qh4IQCg63BT
ZzIM5c9IemAJEQzFmib42lg=
=6wJP
-----END PGP SIGNATURE-----




More information about the Popcon-developers mailing list