Re: PgBouncer 1.5.1 - Mailing list pgsql-announce

From Mark Felder
Subject Re: PgBouncer 1.5.1
Date
Msg-id op.wcyy3djl34t2sn@tech304
Whole thread Raw
In response to PgBouncer 1.5.1  (Marko Kreen <markokr@gmail.com>)
List pgsql-announce
On Wed, 18 Apr 2012 09:07:34 -0500, Marko Kreen <markokr@gmail.com> wrote:
>
>
> The .tar.gz on pgfoundry.org looks OK, so this must be some local
> problem.
>

It appears the URL lets you specify what you want the downloaded filename
to be. During this process I didn't download it myself; I updated the
FreeBSD port's Makefile so I could send a patch to the port maintainer. As
part of that process you update the version number in the Makefile, and
then run "make makesum" which downloads the version specified and
automatically updates the checksum and name of the tarball in the
"distinfo" file. That was done automatically without human intervention.
It added pgbouncer-1.5.1.tar.gz and the same checksum as the previous
release. I just tested this again:

[/usr/ports/databases/pgbouncer]# make makesum
===>  License BSD accepted by the user
=> pgbouncer-1.5.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch
http://pgfoundry.org/frs/download.php/3197/pgbouncer-1.5.1.tar.gz
pgbouncer-1.5.1.tar.gz                        100% of  401 kB  500 kBps

distinfo:

SHA256 (pgbouncer-1.5.1.tar.gz) =
408924d54794fcd63cd31284fa13a21266b2fc33c6b5e6be1eb1d91512261fee
SIZE (pgbouncer-1.5.1.tar.gz) = 411488


Now I will try with 1.5:


[/usr/ports/databases/pgbouncer]# make makesum
===>  License BSD accepted by the user
=> pgbouncer-1.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch
http://pgfoundry.org/frs/download.php/3197/pgbouncer-1.5.tar.gz
pgbouncer-1.5.tar.gz                          100% of  401 kB  470 kBps


and the distinfo:

SHA256 (pgbouncer-1.5.tar.gz) =
408924d54794fcd63cd31284fa13a21266b2fc33c6b5e6be1eb1d91512261fee
SIZE (pgbouncer-1.5.tar.gz) = 411488


See, it's the same checksum and size both times. The culprit appears to be
that download.php/3197 isn't a project number or anything of the sort,
it's the actual file. Confusing! I should have used
download.php/3240/pgbouncer-1.5.1.tar.gz


This is clearly an issue with myself being unfamiliar with how pgfoundry's
website works. I sincerely apologize for the noise, everyone!

pgsql-announce by date:

Previous
From: Mark Felder
Date:
Subject: Re: PgBouncer 1.5.1
Next
From: Marko Kreen
Date:
Subject: Skytools 3.0.1