Changed to build with pg_buildext, changing PostgreSQL version to 9.1
(closes: #639471)
Peter Eisentraut
12 years ago
3 | 3 |
- Fixes -Wformat-security error (closes: #643451)
|
4 | 4 |
* Updated standards version
|
5 | 5 |
* Changed build system from cdbs to dh
|
|
6 |
* Changed to build with pg_buildext, changing PostgreSQL version to 9.1
|
|
7 |
(closes: #639471)
|
6 | 8 |
|
7 | |
-- Peter Eisentraut <petere@debian.org> Thu, 27 Oct 2011 19:26:44 +0300
|
|
9 |
-- Peter Eisentraut <petere@debian.org> Sat, 24 Dec 2011 14:47:57 +0200
|
8 | 10 |
|
9 | 11 |
orafce (3.0.1-1) unstable; urgency=low
|
10 | 12 |
|
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-8.4
|
|
4 |
Build-Depends: bison, debhelper (>= 8), flex, postgresql-server-dev-all (>= 119~)
|
5 | 5 |
Standards-Version: 3.9.2
|
6 | 6 |
Homepage: http://orafce.projects.postgresql.org/
|
7 | 7 |
Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
|
8 | 8 |
Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
|
9 | 9 |
|
10 | |
Package: postgresql-8.4-orafce
|
|
10 |
Package: postgresql-9.1-orafce
|
11 | 11 |
Architecture: any
|
12 | |
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-8.4
|
13 | |
Description: Oracle support functions for PostgreSQL
|
|
12 |
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-9.1
|
|
13 |
Description: Oracle support functions for PostgreSQL 9.1
|
14 | 14 |
This project implements some functions for compatibility with Oracle.
|
15 | 15 |
The functionality was verified on Oracle 10g, and the module is
|
16 | 16 |
useful for production work.
|
|
17 |
|
|
0 |
Source: orafce
|
|
1 |
Section: database
|
|
2 |
Priority: optional
|
|
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
|
|
6 |
Homepage: http://orafce.projects.postgresql.org/
|
|
7 |
Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
|
|
8 |
Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
|
|
9 |
|
|
10 |
Package: postgresql-PGVERSION-orafce
|
|
11 |
Architecture: any
|
|
12 |
Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-PGVERSION
|
|
13 |
Description: Oracle support functions for PostgreSQL PGVERSION
|
|
14 |
This project implements some functions for compatibility with Oracle.
|
|
15 |
The functionality was verified on Oracle 10g, and the module is
|
|
16 |
useful for production work.
|
|
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
|
|
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 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | |
export USE_PGXS=1
|
3 | |
export PATH:=/usr/lib/postgresql/8.4/bin:$(PATH)
|
|
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)
|
4 | 7 |
|
5 | 8 |
%:
|
6 | 9 |
dh $@
|
7 | 10 |
|
|
11 |
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 |
override_dh_auto_install:
|
9 | |
+dh_auto_install
|
10 | |
rm -r $(CURDIR)/debian/*/usr/share/doc/postgresql/
|
|
16 |
+pg_buildext install $(CURDIR) build-%v postgresql-%v-orafce
|
|
17 |
rm -r $(CURDIR)/debian/*/usr/share/doc/postgresql-doc-*
|
|
18 |
|
|
19 |
override_dh_auto_clean:
|
|
20 |
+pg_buildext clean $(CURDIR) build-%v
|
|
21 |
rm -rf build-?.?
|
11 | 22 |
|
12 | 23 |
override_dh_installdocs:
|
13 | 24 |
dh_installdocs -A INSTALL.orafunc README.orafunc
|