Commit 4b37216a authored by Christoph Berg's avatar Christoph Berg

New upstream release.

* Team upload.
* New upstream release.
* Update watch file for https://wiki.postgresql.org/wiki/Pg_filedump
parent 163e7a61
postgresql-filedump (9.6.0-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Update watch file for https://wiki.postgresql.org/wiki/Pg_filedump
-- Christoph Berg <christoph.berg@credativ.de> Thu, 29 Sep 2016 13:32:10 +0200
postgresql-filedump (9.5.0-2) unstable; urgency=medium
* Move pg_filedump to 9.5 directory, spotted by Sébastien Lardière.
......
......@@ -3,8 +3,8 @@ Section: misc
Priority: optional
Maintainer: Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>
Uploaders: Michael Meskes <meskes@debian.org>, Christoph Berg <myon@debian.org>
Build-Depends: debhelper (>= 9), postgresql-server-dev-9.5
Standards-Version: 3.9.7
Build-Depends: debhelper (>= 9), postgresql-server-dev-all
Standards-Version: 3.9.8
Homepage: http://pgfoundry.org/projects/pgfiledump
Vcs-Git: git://anonscm.debian.org/pkg-postgresql/postgresql-filedump.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-postgresql/postgresql-filedump.git
......@@ -16,5 +16,5 @@ Description: Utility to format PostgreSQL files
pg_filedump is a utility to format PostgreSQL heap/index/control files in
human-readable form. You can format/dump the files in several ways.
.
This version of pg_filedump is compatible with PostgreSQL versions 9.5 and
This version of pg_filedump is compatible with PostgreSQL versions 9.6 and
below.
Description: USe LDFLAGS to build
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ DISTFILES= README.pg_filedump Makefile M
all: pg_filedump
pg_filedump: pg_filedump.o
- ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o -lpgport
+ ${CC} ${LDFLAGS} -o pg_filedump pg_filedump.o -lpgport
pg_filedump.o: pg_filedump.c
${CC} ${CFLAGS} -I${PGSQL_INCLUDE_DIR} pg_filedump.c -c
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ CFLAGS=-g -O -Wall -Wmissing-prototypes
# the server include subdirectory, eg /usr/local/include/postgresql/server
@@ -3,8 +3,8 @@
# note this must match version macros in pg_filedump.h
FD_VERSION=9.6.0
-CC=gcc
-CFLAGS=-g -O -Wall -Wmissing-prototypes -Wmissing-declarations
+#CC=gcc
+#CFLAGS=-g -O -Wall -Wmissing-prototypes -Wmissing-declarations
# If working with a PG source directory, point PGSQL_INCLUDE_DIR to its
# src/include subdirectory. If working with an installed tree, point to
@@ -12,7 +12,7 @@ CFLAGS=-g -O -Wall -Wmissing-prototypes
PG_CONFIG=pg_config
PGSQL_INCLUDE_DIR=$(shell $(PG_CONFIG) --includedir-server)
PGSQL_LIB_DIR=$(shell $(PG_CONFIG) --libdir)
-
+PGSQL_BIN_DIR=$(shell $(PG_CONFIG) --bindir)
DISTFILES= README.pg_filedump Makefile Makefile.contrib \
pg_filedump.h pg_filedump.c
@@ -24,6 +24,10 @@ pg_filedump: pg_filedump.o
@@ -25,6 +25,10 @@ pg_filedump: pg_filedump.o
pg_filedump.o: pg_filedump.c
${CC} ${CFLAGS} -I${PGSQL_INCLUDE_DIR} pg_filedump.c -c
......
......@@ -5,7 +5,7 @@ set -e
case "$1" in
configure)
update-alternatives --quiet --install /usr/bin/pg_filedump pg_filedump \
/usr/lib/postgresql/9.5/bin/pg_filedump 95
/usr/lib/postgresql/9.6/bin/pg_filedump 96
;;
esac
......
......@@ -4,7 +4,7 @@ set -e
case "$1" in
remove|deconfigure)
update-alternatives --quiet --remove pg_filedump /usr/lib/postgresql/9.4/bin/pg_filedump
update-alternatives --quiet --remove pg_filedump /usr/lib/postgresql/9.6/bin/pg_filedump
;;
*)
esac
......
#!/usr/bin/make -f
PG_VERSION = 9.5
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@
override_dh_auto_build:
$(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" PGSQL_INCLUDE_DIR=/usr/include/postgresql/$(PG_VERSION)/server
override_dh_auto_install:
$(MAKE) install USE_PGXS=1 DESTDIR=$(CURDIR)/debian/postgresql-filedump
version=3
http://pgfoundry.org/frs/?group_id=1000541 /frs/download.php/.*/pg_filedump-(.*)\.tar\.gz
opts="uversionmangle=s/_/./g,filenamemangle=s/.*REL([\d_]+).*/pg_filedump-$1.tar.gz/" \
https://wiki.postgresql.org/wiki/Pg_filedump .*REL([\d_]+).*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment