Re: PgBouncer 1.5.1

From: Mark Felder <feld(at)feld(dot)me>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Postgres Announce <pgsql-announce(at)postgresql(dot)org>
Subject: Re: PgBouncer 1.5.1
Date: 2012-04-18 16:36:39
Message-ID: op.wcyy3djl34t2sn@tech304
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-www

On Wed, 18 Apr 2012 09:07:34 -0500, Marko Kreen <markokr(at)gmail(dot)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!

In response to

Browse pgsql-announce by date

  From Date Subject
Next Message Joshua D. Drake 2012-04-18 16:44:20 Fwd: Re: [ANNOUNCE] PgBouncer 1.5.1
Previous Message Marko Kreen 2012-04-18 15:24:54 Skytools 3.0.1

Browse pgsql-www by date

  From Date Subject
Next Message Joshua D. Drake 2012-04-18 16:44:20 Fwd: Re: [ANNOUNCE] PgBouncer 1.5.1
Previous Message Greg Sabino Mullane 2012-04-18 16:20:31 Re: Planet posting policy