[Pkg-postgresql-public] Dropping postgresql 8.3 for squeeze

Dimitri Fontaine dfontaine at hi-media.com
Mon Jan 11 15:18:24 UTC 2010


Took the time to do some more work on this, here's a second version, not
considered final yet. Still missing, the man page and the getopt

Martin Pitt <mpitt at debian.org> writes:
> A manpage for this program would be highly appreciated indeed.

Is asciidoc ok?

> Of course I'm open to adopting a helper tool which produces
> debian/control from a debian/control.in. E. g. it could search for
> records
>   Package: postgresql-foo-PGVERSION [...]  Description: foo extension
>   for PostgreSSQL PGVERSION
> replicate this stanza for each supported version, and replace
> PGVERSION with the actual version. This helper tool could be realized
> as a Makefile snippet, which would be included into debian/rules. It
> could be called with "debian/rules build-control", for example.

I've been doing that in attached debdiff. Please have a look at a call
site, I've updated the prefix package to abuse the facility:


The controversial part of the "abuse" is in debian/rules, I've made it
so that build: debian/control. It's intended so that I'm able to either
only edit debian/pgversions (if `supported-versions` is not already
updated) and debian/changelog then build. Then dput with the generated
debian/control file.

If a build occurs on a machine having the old debian/control and the new
postgresql-common supported-versions script, then it fails. Which is a
required feature AFAUI.

>> + +Package: postgresql-dev-common
> I'm pondering whether this small script already justifies a new binary
> package. For now we could probably just stuff it into
> postgresql-common.

I've been renaming it postgresql-server-dev-all, hoping that adding the
postgresql-server-dev-8.X dependencies will be ok for you to provide.

Baring objections, I'll work next (not today) on man page and proper
option handling in pg_buildext.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: postgresql-server-dev-all.patch
Type: text/x-diff
Size: 5971 bytes
Desc: postgresql-server-dev-all patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20100111/ba40384f/attachment.patch>

More information about the Pkg-postgresql-public mailing list