Commit Graph

14 Commits

Author SHA1 Message Date
openKylinBot 1a82c4df53 changed debian/source/format to native 2022-05-14 02:43:37 +08:00
openKylinBot 03d23364a5 apply patches 2022-05-14 02:43:37 +08:00
openKylinBot 322901735a format patches 2022-05-14 02:43:37 +08:00
Christoph Berg b9d5dc146a Debian-specific cluster startup message from initdb
Forwarded: No, Debian specific

Gbp-Pq: Name initdb-startup-message
2022-05-14 02:43:37 +08:00
Christoph Berg 65172e9dbf Move libpgport/libpgcommon/libpgfeutils from libdir to pkglibdir
This allows client applications to link to version-specific libraries.
Used by pg-checksums.
Forwarded: No, (somewhat) Debian specific

Gbp-Pq: Name libpgport-pkglibdir
2022-05-14 02:43:37 +08:00
Debian PostgreSQL Maintainers af7ffcf1f7 filter-debug-prefix-map
To make the PostgreSQL server packages build reproducibly, we need to remove
the build path from -fdebug-prefix-map and -ffile-prefix-map in CFLAGS.

* The actual server build still uses the original CFLAGS so the build path is
  correctly mapped in the object files.
* The information printed by the pg_config binary and the system view is
  filtered in src/common/Makefile.
* The build paths stored in Makefile.global are filtered in debian/rules.
  (abs_top_builddir, abs_top_srcdir, configure_args, CFLAGS)
* To make PGXS module builds reproducible, pg_buildext copies the environment
  CFLAGS to COPT where Makefile.global picks them up, using the prefix maps
  from dpkg-buildflags.


Gbp-Pq: Name filter-debug-prefix-map
2022-05-14 02:43:37 +08:00
Christoph Berg 6c56d504dd Document Debian location of release notes files.
Forwarded: No, Debian specific

Gbp-Pq: Name 70-history
2022-05-14 02:43:37 +08:00
Martin Pitt 7268b0d273 Use Debian alternatives for external tools instead of hardcoded programs
Forwarded: No, Debian specific

Gbp-Pq: Name 54-debian-alternatives-for-external-tools.patch
2022-05-14 02:43:37 +08:00
Martin Pitt 390c25bb1d Update pg_service.conf example to tell the Debian specific file location.
Forwarded: No, Debian specific

Gbp-Pq: Name 53-pg_service.conf_directory_doc.patch
2022-05-14 02:43:37 +08:00
Martin Pitt 72677618d5 Update tutorial README for required build dependencies.
Forwarded: No, Debian specific

Gbp-Pq: Name 52-tutorial-README.patch
2022-05-14 02:43:37 +08:00
Martin Pitt 31540e67e5 Put server Unix sockets into /var/run/postgresql/ by default
Forwarded: No, Debian specific configuration with postgresql-common
Using /tmp for sockets allows everyone to spoof a PostgreSQL server. Thus use
/var/run/postgresql/ for "system" clusters which run as 'postgres' (user
clusters will still use /tmp). Since system cluster are by far the common case,
set it as default.


Gbp-Pq: Name 51-default-sockets-in-var.patch
2022-05-14 02:43:37 +08:00
Martin Pitt 40a0409e05 Use version specific installation directories so that several major versions can be installed in parallel.
Forwarded: No, Debian specific packaging with postgresql-common
 * Install lib files into /usr/lib/postgresql/<version>/lib/
 * Install server related header files into /usr/include/postgresql/<version>/server/
 * Disable PostgreSQL's automagic path mangling and fix libdir for pg_config,
   so that pg_config in /usr/bin and /usr/lib/postgresql/<version>/bin behave
   identically.

Bug-Debian: http://bugs.debian.org/462037


Gbp-Pq: Name 50-per-version-dirs.patch
2022-05-14 02:43:37 +08:00
openKylinBot 59059d71e9 Import Debian changes 12.2-ok1
postgresql-12 (12.2-ok1) yangtze; urgency=medium

  * Build for openKylin.
2022-05-14 02:43:09 +08:00
openKylinBot 5f44daeadb Import Upstream version 12.2 2022-05-14 02:43:08 +08:00