Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f3d2d9aa
Kaydet (Commit)
f3d2d9aa
authored
Kas 13, 2012
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Upgrading postgresql to 9.2.1
Change-Id: If6e58db174159111dec9c6ab39258d757a3e6ba5
üst
c1c4555a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
68 deletions
+44
-68
configure.ac
configure.ac
+1
-1
UnpackedTarball_postgresql.mk
postgresql/UnpackedTarball_postgresql.mk
+2
-4
libpq-parallel-build.patch
postgresql/libpq-parallel-build.patch
+0
-11
postgresql-9.2.1-autoreconf.patch
postgresql/postgresql-9.2.1-autoreconf.patch
+24
-34
postgresql-9.2.1-libreoffice.patch
postgresql/postgresql-9.2.1-libreoffice.patch
+14
-16
postgresql-libs-leak.patch
postgresql/postgresql-libs-leak.patch
+3
-2
postgresql-moz-ldap.patch
postgresql/postgresql-moz-ldap.patch
+0
-0
No files found.
configure.ac
Dosyayı görüntüle @
f3d2d9aa
...
...
@@ -7799,7 +7799,7 @@ if test "x$enable_postgresql_sdbc" != "xno"; then
POSTGRESQL_LIB=""
POSTGRESQL_INC="%OVERRIDE_ME%"
BUILD_TYPE="$BUILD_TYPE POSTGRESQL"
POSTGRESQL_TARBALL="
061a9f17323117c9358ed60f33ecff78-postgresql-9.1
.1.tar.bz2"
POSTGRESQL_TARBALL="
c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2
.1.tar.bz2"
fi
fi
if test "${SYSTEM_POSTGRESQL}" = "YES"; then
...
...
postgresql/UnpackedTarball_postgresql.mk
Dosyayı görüntüle @
f3d2d9aa
...
...
@@ -14,11 +14,9 @@ $(eval $(call gb_UnpackedTarball_set_tarball,postgresql,$(POSTGRESQL_TARBALL)))
$(eval $(call gb_UnpackedTarball_set_patchlevel,postgresql,3))
$(eval $(call gb_UnpackedTarball_add_patches,postgresql, \
postgresql/postgresql-moz-ldap.patch \
postgresql/postgresql-libs-leak.patch \
postgresql/libpq-parallel-build.patch \
postgresql/postgresql-9.1.1-autoreconf.patch \
postgresql/postgresql-9.1.1-libreoffice.patch \
postgresql/postgresql-9.2.1-autoreconf.patch \
postgresql/postgresql-9.2.1-libreoffice.patch \
))
# vim: set noet sw=4 ts=4:
postgresql/libpq-parallel-build.patch
deleted
100644 → 0
Dosyayı görüntüle @
c1c4555a
diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile misc/build/postgresql-9.1.1.patch/src/interfaces/libpq/Makefile
--- misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile 2012-02-06 15:11:19.000000000 +0100
+++ misc/build/postgresql-9.1.1.patch/src/interfaces/libpq/Makefile 2012-02-06 15:02:51.000000000 +0100
@@ -109,6 +109,7 @@
libpq.rc: $(top_builddir)/src/Makefile.global
fe-connect.o: fe-connect.c $(top_builddir)/src/port/pg_config_paths.h
+fe-misc.o: fe-misc.c $(top_builddir)/src/port/pg_config_paths.h
$(top_builddir)/src/port/pg_config_paths.h:
$(MAKE) -C $(top_builddir)/src/port pg_config_paths.h
postgresql/postgresql-9.
1
.1-autoreconf.patch
→
postgresql/postgresql-9.
2
.1-autoreconf.patch
Dosyayı görüntüle @
f3d2d9aa
diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-9.1.1.patched/configure
--- misc/build/postgresql-9.1.1/configure 2011-09-22 23:57:57.000000000 +0200
+++ misc/build/postgresql-9.1.1.patched/configure 2012-02-03 11:50:07.000000000 +0100
@@ -718,6 +718,7 @@
with_selinux
with_openssl
with_bonjour
+with_mozldap
with_ldap
with_pam
krb_srvtab
@@ -836,6 +837,7 @@
@@ -830,6 +830,7 @@
with_krb_srvnam
with_pam
with_ldap
...
...
@@ -17,7 +8,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
with_bonjour
with_openssl
with_selinux
@@ -15
33,6 +1535
,7 @@
@@ -15
27,6 +1528
,7 @@
[postgres]
--with-pam build with PAM support
--with-ldap build with LDAP support
...
...
@@ -25,8 +16,8 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
--with-bonjour build with Bonjour support
--with-openssl build with OpenSSL support
--with-selinux build with SELinux support
@@ -54
32,6 +5435
,42 @@
$as_echo "$with_ldap" >&6; }
@@ -54
12,6 +5414
,42 @@
+{ $as_echo "$as_me:$LINENO: checking whether to use Mozilla C SDK for LDAP support" >&5
...
...
@@ -67,8 +58,8 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
+
#
#
Bonjour
@@ -8
533,11 +8572
,11 @@
#
Kerberos configuration parameters
@@ -8
627,11 +8665
,11 @@
*** Not using spinlocks will cause poor performance." >&2;}
fi
...
...
@@ -84,7 +75,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
@@ -8
554,16 +8593
,16 @@
@@ -8
648,16 +8686
,16 @@
#ifdef __cplusplus
extern "C"
#endif
...
...
@@ -104,7 +95,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -8
591,7 +8630
,7 @@
@@ -8
685,7 +8723
,7 @@
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
...
...
@@ -113,7 +104,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -86
02,40 +8641
,33 @@
@@ -86
96,40 +8734
,33 @@
rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
...
...
@@ -165,7 +156,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
@@ -8
652,16 +8684
,16 @@
@@ -8
746,16 +8777
,16 @@
#ifdef __cplusplus
extern "C"
#endif
...
...
@@ -185,7 +176,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -8
689,7 +8721
,7 @@
@@ -8
783,7 +8814
,7 @@
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
...
...
@@ -194,7 +185,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -87
00,33 +8732
,34 @@
@@ -87
94,33 +8825
,34 @@
rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
...
...
@@ -240,7 +231,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
@@ -8
743,16 +8776
,16 @@
@@ -8
837,16 +8869
,16 @@
#ifdef __cplusplus
extern "C"
#endif
...
...
@@ -260,7 +251,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -8
780,7 +8813
,7 @@
@@ -8
874,7 +8906
,7 @@
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
...
...
@@ -269,7 +260,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -8
791,34 +8824
,38 @@
@@ -8
885,34 +8917
,38 @@
rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
...
...
@@ -320,7 +311,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
@@ -8
835,16 +8872
,16 @@
@@ -8
929,16 +8965
,16 @@
#ifdef __cplusplus
extern "C"
#endif
...
...
@@ -340,7 +331,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -8
872,7 +8909
,7 @@
@@ -8
966,7 +9002
,7 @@
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
...
...
@@ -349,7 +340,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -8
883,30 +8920
,32 @@
@@ -8
977,30 +9013
,32 @@
rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
...
...
@@ -390,7 +381,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
fi
fi
@@ -135
84,7 +13623
,7 @@
@@ -135
98,7 +13636
,7 @@
fi
if test "$with_ldap" = yes ; then
...
...
@@ -399,7 +390,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
for ac_header in ldap.h
do
@@ -138
09,6 +13848
,11 @@
@@ -138
23,6 +13861
,11 @@
done
...
...
@@ -411,13 +402,12 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
fi
fi
@@ -23
348,7 +23392
,99 @@
@@ -23
483,7 +23526
,99 @@
# We can test for libldap_r only after we know PTHREAD_LIBS
if test "$with_ldap" = yes ; then
_LIBS="$LIBS"
- if test "$PORTNAME" != "win32"; then
+ if test "$with_mozldap" = "yes"; then
+
if test "$PORTNAME" != "win32"; then
if test "$PORTNAME" != "win32"; then
+ mozlibname=ldap50
+ else
+ mozlibname=nsldap32v50
...
...
@@ -512,10 +502,9 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure misc/build/postgresql-
{ $as_echo "$as_me:$LINENO: checking for ldap_bind in -lldap" >&5
$as_echo_n "checking for ldap_bind in -lldap... " >&6; }
diff --recursive -u misc/build/postgresql-9.1.1/src/include/pg_config.h.in misc/build/postgresql-9.1.1.patched/src/include/pg_config.h.in
--- misc/build/postgresql-9.1.1/src/include/pg_config.h.in 2011-09-22 23:57:57.000000000 +0200
+++ misc/build/postgresql-9.1.1.patched/src/include/pg_config.h.in 2012-02-03 11:50:07.000000000 +0100
@@ -7
85,6 +785
,13 @@
@@ -7
58,6 +758
,13 @@
(--with-libxslt) */
#undef USE_LIBXSLT
...
...
@@ -529,3 +518,4 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/include/pg_config.h.in misc/
/* Define to select named POSIX semaphores. */
#undef USE_NAMED_POSIX_SEMAPHORES
postgresql/postgresql-9.
1
.1-libreoffice.patch
→
postgresql/postgresql-9.
2
.1-libreoffice.patch
Dosyayı görüntüle @
f3d2d9aa
diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/Makefile
--- misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile 2011-09-22 23:57:57.000000000 +0200
+++ misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/Makefile 2011-12-15 09:02:18.000000000 +0100
@@ -142,3 +142,6 @@
@@ -148,3 +148,6 @@
maintainer-clean: distclean maintainer-clean-lib
$(MAKE) -C test $@
rm -f libpq-dist.rc
+
+libpq-flags.mk:
+ @printf '%s\n' 'LIBPQ_DEP_LIBS+=$(SHLIB_LINK)' > '$@'
diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak
--- misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-14 14:28:59.000000000 +0100
+++ misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak 2011-12-15 09:11:37.000000000 +0100
@@ -1
3,30 +13
,29 @@
@@ -1
1,30 +11
,29 @@
# CPU="i386" or CPU environment of nmake.exe (AMD64 or IA64)
...
...
@@ -49,7 +47,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
OUTFILENAME=libpq
!ENDIF
@@ -5
6,7 +57
,7 @@
@@ -5
4,7 +53
,7 @@
!ENDIF
!IF "$(KFW_LIB_PATH)" == ""
...
...
@@ -58,7 +56,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
!MESSAGE Using default Kerberos Library directory: $(KFW_LIB_PATH)
!ENDIF
@@ -
79,18 +80
,11 @@
@@ -
67,18 +66
,11 @@
CPP=cl.exe
RSC=rc.exe
...
...
@@ -81,12 +79,12 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
CLEAN :
-@erase "$(INTDIR)\getaddrinfo.obj"
@@ -192,10 +186,11 @@
@@ -178,10 +170,11 @@
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /W3 /EHsc $(OPT) \
/I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" \
- /I "..\..\port" /I. /I "$(SSL_INC)" /I "$(KFW_INC)" /I "$(MOZLDAP_INC)" \
+ /I "..\..\port" /I. $(SOLARINC) \
-CPP_PROJ=/nologo /W3 /EHsc $(OPT) /I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" /I "..\..\port" /I. /I "$(SSL_INC)" \
+CPP_PROJ=/nologo /W3 /EHsc $(OPT) /I "..\..\include" /I "..\..\include\port\win32" /I "..\..\include\port\win32_msvc" /I "..\..\port" /I. $(SOLARINC) \
/D "FRONTEND" $(DEBUGDEF) \
/D "WIN32" /D "_WINDOWS" /Fp"$(INTDIR)\libpq.pch" \
/Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c \
...
...
@@ -94,16 +92,16 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
/D "_CRT_SECURE_NO_DEPRECATE" $(ADD_DEFINES)
!IFDEF USE_SSL
@@ -2
30,7 +224
,7 @@
@@ -2
05,7 +198
,7 @@
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS)
$(LDAP_LIBS) $(KFW_LIBS
) $(ADD_SECLIB) \
LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS)
$(KFW_LIB
) $(ADD_SECLIB) \
/nologo /subsystem:windows /dll $(LOPT) /incremental:no \
- /pdb:"$(OUTDIR)\libpqdll.pdb" /machine:$(CPU) \
+ /pdb:"$(OUTDIR)\libpqdll.pdb" /machine:$(MACHINE) \
/out:"$(OUTDIR)\$(OUTFILENAME).dll"\
/implib:"$(OUTDIR)\$(OUTFILENAME)dll.lib" \
/libpath:"$(SSL_LIB_PATH)" /libpath:"$(KFW_LIB_PATH)"
/libpath:"$(MOZLDAP_LIB_PATH)"
\
@@ -2
47,7 +241
,7 @@
/libpath:"$(SSL_LIB_PATH)" /libpath:"$(KFW_LIB_PATH)" \
@@ -2
22,7 +215
,7 @@
<<
"$(INTDIR)\libpq.res" : "$(INTDIR)" libpq-dist.rc
...
...
postgresql/postgresql-libs-leak.patch
Dosyayı görüntüle @
f3d2d9aa
diff --recursive -u misc/build/postgresql-9.1.1/configure.in misc/build/postgresql-9.1.1.patched/configure.in
--- misc/build/postgresql-9.1.1/configure.in 2011-09-22 23:57:57.000000000 +0200
+++ misc/build/postgresql-9.1.1.patched/configure.in 2012-02-03 11:42:45.000000000 +0100
@@ -9
18,18 +918
,9 @@
@@ -9
03,18 +903
,9 @@
*** Not using spinlocks will cause poor performance.])
fi
...
...
@@ -21,7 +21,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure.in misc/build/postgres
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
@@ -9
39,6 +930
,15 @@
@@ -9
24,6 +915
,15 @@
fi
fi
...
...
@@ -37,3 +37,4 @@ diff --recursive -u misc/build/postgresql-9.1.1/configure.in misc/build/postgres
if test "$with_openssl" = yes ; then
dnl Order matters!
if test "$PORTNAME" != "win32"; then
postgresql/postgresql-moz-ldap.patch
deleted
100644 → 0
Dosyayı görüntüle @
c1c4555a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment