Lists: | pgsql-pkg-debian |
---|
From: | Sébastien Lardière <sebastien(at)2ndquadrant(dot)fr> |
---|---|
To: | pgsql-pkg-debian(at)postgresql(dot)org |
Cc: | Andres Freund <andres(at)2ndquadrant(dot)com>, Christoph Berg <myon(at)debian(dot)org>, Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>, Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com> |
Subject: | Re: pg-common 9.4-bdr patch |
Date: | 2015-02-18 09:32:10 |
Message-ID: | 54E45C1A.9050307@2ndquadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-pkg-debian |
Hi,
Here a first version of a debian package for PostgreSQL BDR,
as I forgot the mailing list, i send it again,
Attached files are :
- a patch for postgresql-common package
- a debian directory for postgresql-bdr (forked from postgresql-9.4
debian direcory)
- a debian directory for bdr-plugin (inspired from existing extensions)
Source files of postgresql-common was found at :
https://alioth.debian.org/scm/loggerhead/pkg-postgresql/postgresql-common/trunk/files
And source files can be found by following this doc :
http://git.postgresql.org/gitweb/?p=2ndquadrant_bdr.git;a=blob;f=INSTALL.src;h=2d6e0f5c490ac3c9bb251dbecf8c36a40ada89db;hb=refs/heads/bdr-plugin/next
The postgresql-common patch permit the use of "9.4-bdr" version for a
cluster. This version is used in the other packages
Packages are build using debuild command, and the dependencies (and
build-dependencies) are the same as postgresql-9.4
the only things to do is to extract the debian directory inside the
source directory, then run 'debuild' ; I'm using a debian/sid VM.
For postgresql-bdr, there two patch to apply :
- debian/patches/55-nls-global_majorversion.patch
- debian/patches/56-Makefileglobal_pkglibdir.patch
I thought it is automatic, but i had to apply manually, i'd been unable
to manage this automatically,
postgresql-bdr-9.4 and co, particularly -dev packages, must be installed
before building bdr-plugin packages.
Please test this, so we can improve all theses packages,
One of next steps will be using the existing extention (ip4r, prefix,
...) with this postgresql-bdr-9.4 packages, without building specific
package extensions ...
regards,
--
Sébastien Lardière
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Attachment | Content-Type | Size |
---|---|---|
pgcommon_bdr.2.patch | text/x-patch | 14.3 KB |
bdr-plugin_debian.tar.bz2 | application/x-bzip | 2.2 KB |
postgresql-bdr_debian.tar.bz2 | application/x-bzip | 20.3 KB |
postgresql-bdr.debc | text/plain | 362.7 KB |
bdr-plugin.debc | text/plain | 4.8 KB |
postgresql-common.debc | text/plain | 25.7 KB |