Add autopkgtest support.
* Support all PostgreSQL versions (closes: #731515)
* Add autopkgtest support
* Add myself to Uploaders
Christoph Berg
10 years ago
0 | 0 |
orafce (3.0.6-1) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* New upstream release
|
|
3 |
+ Updated bison support (closes: #710633)
|
|
4 |
+ Fixes extension loading (closes: #705408)
|
3 | 5 |
* 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
|
4 | 9 |
|
5 | 10 |
-- Christoph Berg <christoph.berg@credativ.de> Mon, 17 Feb 2014 11:44:07 +0100
|
6 | 11 |
|
1 | 1 |
Section: database
|
2 | 2 |
Priority: optional
|
3 | 3 |
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
|
6 | 7 |
Homepage: http://orafce.projects.postgresql.org/
|
7 | 8 |
Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
|
8 | 9 |
Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
|
|
10 |
XS-Testsuite: autopkgtest
|
9 | 11 |
|
10 | |
Package: postgresql-9.1-orafce
|
|
12 |
Package: postgresql-9.3-orafce
|
11 | 13 |
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
|
14 | 16 |
This project implements some functions for compatibility with Oracle.
|
15 | 17 |
The functionality was verified on Oracle 10g, and the module is
|
16 | 18 |
useful for production work.
|
1 | 1 |
Section: database
|
2 | 2 |
Priority: optional
|
3 | 3 |
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
|
6 | 7 |
Homepage: http://orafce.projects.postgresql.org/
|
7 | 8 |
Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
|
8 | 9 |
Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
|
|
10 |
XS-Testsuite: autopkgtest
|
9 | 11 |
|
10 | 12 |
Package: postgresql-PGVERSION-orafce
|
11 | 13 |
Architecture: any
|
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 | |
vpath-build.patch
|
1 | |
bison-flex-missing.patch
|
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
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | 2 |
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)
|
7 | 3 |
|
8 | 4 |
%:
|
9 | 5 |
dh $@
|
10 | 6 |
|
11 | 7 |
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
|
14 | 8 |
|
15 | 9 |
override_dh_auto_install:
|
16 | |
+pg_buildext install $(CURDIR) build-%v postgresql-%v-orafce
|
|
10 |
+pg_buildext loop postgresql-%v-orafce
|
17 | 11 |
rm -r $(CURDIR)/debian/*/usr/share/doc/postgresql-doc-*
|
18 | 12 |
|
19 | |
override_dh_auto_clean:
|
20 | |
+pg_buildext clean $(CURDIR) build-%v
|
21 | |
rm -rf build-?.?
|
22 | |
|
23 | 13 |
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
|