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

Dimitri Fontaine dfontaine at hi-media.com
Mon Mar 8 15:48:42 UTC 2010


Martin Pitt <mpitt at debian.org> writes:
>> I plan to prepare the script then send it to you, would you want a
>> complete patch against your package, just the script or nothing thx?
> Just the files should be enough, but of course I'll appreciate a
> complete debdiff including changelog, debian/control and dh_install
> changes, etc. :-)

Finally took the time to finalise this patch, following your
comments. Please find a debdiff attached. The prefix project already
uses this patch, in git.


The debian/rules interesting part is now

include /usr/share/postgresql-common/pgxs_debian_control.mk

build: debian/control

install: build
	# build all supported version
	pg_buildext build $(SRCDIR) $(TARGET) "$(CFLAGS)"

	# then install each of them
	for v in `pg_buildext supported-versions $(SRCDIR)`; do \
		dh_install -ppostgresql-$$v-prefix ;\

As a packager you still have to provide the per package .{install,dirs}
files, but you don't have to edit debian/rules to add support for a new
PostgreSQL major version, and more importantly, you don't have to edit
it when a major version is obsoleted by debian.


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

More information about the Pkg-postgresql-public mailing list