Codebase list orafce / e58a4ab
Changed to build with pg_buildext, changing PostgreSQL version to 9.1 (closes: #639471) Peter Eisentraut 12 years ago
8 changed file(s) with 83 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
33 - Fixes -Wformat-security error (closes: #643451)
44 * Updated standards version
55 * Changed build system from cdbs to dh
6 * Changed to build with pg_buildext, changing PostgreSQL version to 9.1
7 (closes: #639471)
68
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
810
911 orafce (3.0.1-1) unstable; urgency=low
1012
11 Section: database
22 Priority: optional
33 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~)
55 Standards-Version: 3.9.2
66 Homepage: http://orafce.projects.postgresql.org/
77 Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/orafce/
88 Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/orafce/
99
10 Package: postgresql-8.4-orafce
10 Package: postgresql-9.1-orafce
1111 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
1414 This project implements some functions for compatibility with Oracle.
1515 The functionality was verified on Oracle 10g, and the module is
1616 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
00 #!/usr/bin/make -f
11
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)
47
58 %:
69 dh $@
710
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
815 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-?.?
1122
1223 override_dh_installdocs:
1324 dh_installdocs -A INSTALL.orafunc README.orafunc