Codebase list orafce / 79f2ea8
Add autopkgtest support. * Support all PostgreSQL versions (closes: #731515) * Add autopkgtest support * Add myself to Uploaders Christoph Berg 10 years ago
10 changed file(s) with 37 addition(s) and 62 deletion(s). Raw diff Collapse all Expand all
00 orafce (3.0.6-1) UNRELEASED; urgency=medium
11
22 * New upstream release
3 + Updated bison support (closes: #710633)
4 + Fixes extension loading (closes: #705408)
35 * Point watch file at https://github.com/orafce/orafce/releases
6 * Support all PostgreSQL versions (closes: #731515)
7 * Add autopkgtest support
8 * Add myself to Uploaders
49
510 -- Christoph Berg <christoph.berg@credativ.de> Mon, 17 Feb 2014 11:44:07 +0100
611
11 Section: database
22 Priority: optional
33 Maintainer: Peter Eisentraut <petere@debian.org>
4 Build-Depends: bison, debhelper (>= 8), flex, postgresql-server-dev-all (>= 119~)
5 Standards-Version: 3.9.2
4 Uploaders: Christoph Berg <myon@debian.org>
5 Build-Depends: bison, debhelper (>= 8), flex, postgresql-server-dev-all (>= 153~)
6 Standards-Version: 3.9.5
67 Homepage: http://orafce.projects.postgresql.org/
78 Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
89 Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
10 XS-Testsuite: autopkgtest
911
10 Package: postgresql-9.1-orafce
12 Package: postgresql-9.3-orafce
1113 Architecture: any
12 Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.1
13 Description: Oracle support functions for PostgreSQL 9.1
14 Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.3
15 Description: Oracle support functions for PostgreSQL 9.3
1416 This project implements some functions for compatibility with Oracle.
1517 The functionality was verified on Oracle 10g, and the module is
1618 useful for production work.
11 Section: database
22 Priority: optional
33 Maintainer: Peter Eisentraut <petere@debian.org>
4 Build-Depends: bison, debhelper (>= 8), flex, postgresql-server-dev-all (>= 128~)
5 Standards-Version: 3.9.2
4 Uploaders: Christoph Berg <myon@debian.org>
5 Build-Depends: bison, debhelper (>= 8), flex, postgresql-server-dev-all (>= 153~)
6 Standards-Version: 3.9.5
67 Homepage: http://orafce.projects.postgresql.org/
78 Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
89 Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
10 XS-Testsuite: autopkgtest
911
1012 Package: postgresql-PGVERSION-orafce
1113 Architecture: any
+0
-14
debian/patches/bison-flex-missing.patch less more
0 Fix in case pgxs.mk does not define BISON or FLEX
1
2 --- a/Makefile
3 +++ b/Makefile
4 @@ -41,6 +41,9 @@ endif
5 LIBS := $(filter-out -lxml2, $(LIBS))
6 LIBS := $(filter-out -lxslt, $(LIBS))
7
8 +BISON = bison
9 +FLEX = flex
10 +
11 plvlex.o: sqlparse.o
12
13 sqlparse.o: $(srcdir)/sqlscan.c
+0
-2
debian/patches/series less more
0 vpath-build.patch
1 bison-flex-missing.patch
+0
-22
debian/patches/vpath-build.patch less more
0 Fix vpath build
1
2 --- a/Makefile
3 +++ b/Makefile
4 @@ -37,6 +37,8 @@ SHLIB_LINK += -L$(libdir)/gettextlib
5 endif
6 endif
7
8 +override CPPFLAGS += -I..
9 +
10 # remove dependency to libxml2 and libxslt
11 LIBS := $(filter-out -lxml2, $(LIBS))
12 LIBS := $(filter-out -lxslt, $(LIBS))
13 @@ -76,6 +78,6 @@ ifndef MAJORVERSION
14 MAJORVERSION := $(basename $(VERSION))
15 endif
16
17 -orafunc.sql.in:
18 - cat orafunc-common.sql orafunc-$(MAJORVERSION).sql > orafunc.sql.in
19 +orafunc.sql.in: orafunc-common.sql orafunc-$(MAJORVERSION).sql
20 + cat $^ > $@
21
0 8.2
1 8.3
2 8.4
3 9.0
4 9.1
0 all
00 #!/usr/bin/make -f
11
22 include /usr/share/postgresql-common/pgxs_debian_control.mk
3 clean: debian/control
4 .PHONY: debian/control
5
6 supported_versions := $(shell pg_buildext supported-versions)
73
84 %:
95 dh $@
106
117 override_dh_auto_build:
12 +pg_buildext build $(CURDIR) build-%v
13 for v in $(supported_versions); do ln -s -t build-$$v $(addprefix ../,uninstall_orafunc.sql orafce--3.0.sql orafce--unpackaged--3.0.sql orafce.control README.orafunc COPYRIGHT.orafunc INSTALL.orafunc); done
148
159 override_dh_auto_install:
16 +pg_buildext install $(CURDIR) build-%v postgresql-%v-orafce
10 +pg_buildext loop postgresql-%v-orafce
1711 rm -r $(CURDIR)/debian/*/usr/share/doc/postgresql-doc-*
1812
19 override_dh_auto_clean:
20 +pg_buildext clean $(CURDIR) build-%v
21 rm -rf build-?.?
22
2313 override_dh_installdocs:
24 dh_installdocs -A INSTALL.orafunc README.orafunc
14 dh_installdocs -A INSTALL.orafunc README.asciidoc
0 Depends: @, postgresql-server-dev-all, locales-all
1 Tests: installcheck
2 Restrictions: allow-stderr
0 #!/bin/sh
1
2 # to_multi_byte needs English, and UTF-8
3 export LC_ALL=en_US.utf8
4
5 set -e
6 for v in $(pg_buildext supported-versions); do
7 case $v in
8 # older versions fail on concat, ignore that
9 # ERROR: function concat(unknown, unknown) does not exist
10 8*|9.0) FAIL="exit 0" ;;
11 *) FAIL="exit 1" ;;
12 esac
13 pg_buildext installcheck-$v || $FAIL
14 done