Waldemar Brodkorb 13 жил өмнө
parent
commit
5ebc8fd6c0

+ 4 - 6
package/db/Makefile

@@ -4,9 +4,9 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		db
-PKG_VERSION:=		4.7.25
+PKG_VERSION:=		5.2.36
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		ec2b87e833779681a0c3a814aa71359e
+PKG_MD5SUM:=		30d95daa5f947664131c000b12e50064
 PKG_DESCR:=		disk file format database which stores key/data-pairs in single files
 PKG_SECTION:=		db
 PKG_URL:=		http://www.oracle.com/technology/software/products/berkeley-db
@@ -32,16 +32,14 @@ CONFIGURE_ARGS+=	--enable-smallbuild \
 			--disable-diagnostic \
 			--disable-java \
 			--disable-cxx \
-			--disable-posixmutexes \
+			--enable-posixmutexes \
 			--disable-uimutexes \
 			--disable-tcl \
-			--disable-rpc \
 			--disable-compat185 \
 			--disable-statistics \
 			--disable-replication \
 			--disable-cryptography \
-			--disable-queue \
-			--with-mutex=UNIX/fcntl
+			--disable-queue
 
 libdb-install:
 	${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib

+ 0 - 11
package/db/patches/patch-dist_ltmain_sh

@@ -1,11 +0,0 @@
---- db-4.7.25.orig/dist/ltmain.sh	2006-06-27 03:03:33.000000000 +0200
-+++ db-4.7.25/dist/ltmain.sh	2011-01-14 19:32:22.000000000 +0100
-@@ -1623,7 +1623,7 @@ EOF
-       # -pg pass through profiling flag for GCC
-       # @file GCC response files
-       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
--      -t[45]*|-txscale*|@*)
-+      -t[45]*|-txscale*|@*|-fstack-protector*|-flto)
- 
- 	# Unknown arguments in both finalize_command and compile_command need
- 	# to be aesthetically quoted because they are evaled later.

+ 3 - 3
package/postgresql/Makefile

@@ -4,14 +4,14 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		postgresql
-PKG_VERSION:=		8.4.4
+PKG_VERSION:=		9.1.1
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		ae7f305eb9388b187e8f07dee0cec55c
+PKG_MD5SUM:=		93b293bd735bb99258c1bad7bc9b8f6c
 PKG_DESCR:=		PostgreSQL database library
 PKG_SECTION:=		db
 PKG_BUILDDEP:=		zlib
 PKG_URL:=		http://www.postgresql.org/
-PKG_SITES:=		ftp://ftp7.de.postgresql.org/pub/ftp.postgresql.org/source/v${PKG_VERSION}/
+PKG_SITES:=		http://ftp.postgresql.org/pub/source/v9.1.1/
 
 PKG_SUBPKGS:=		LIBPQ LIBPQ_DEV
 

+ 7 - 7
package/postgresql/patches/patch-src_include_Makefile

@@ -1,19 +1,19 @@
---- postgresql-8.4.4.orig/src/include/Makefile	2009-07-20 22:48:58.000000000 +0200
-+++ postgresql-8.4.4/src/include/Makefile	2010-05-29 18:30:38.481613604 +0200
-@@ -40,7 +40,6 @@ install: all installdirs
- # These headers are needed for server-side development
+--- postgresql-9.1.1.orig/src/include/Makefile	2011-09-22 23:57:57.000000000 +0200
++++ postgresql-9.1.1/src/include/Makefile	2011-12-04 12:52:09.467806235 +0100
+@@ -41,7 +41,6 @@ install: all installdirs
  	$(INSTALL_DATA) pg_config.h    '$(DESTDIR)$(includedir_server)'
  	$(INSTALL_DATA) pg_config_os.h '$(DESTDIR)$(includedir_server)'
+ 	$(INSTALL_DATA) utils/errcodes.h '$(DESTDIR)$(includedir_server)/utils'
 -	$(INSTALL_DATA) utils/fmgroids.h '$(DESTDIR)$(includedir_server)/utils'
  # We don't use INSTALL_DATA for performance reasons --- there are a lot of files
  	cp $(srcdir)/*.h '$(DESTDIR)$(includedir_server)'/ || exit; \
  	chmod $(INSTALL_DATA_MODE) '$(DESTDIR)$(includedir_server)'/*.h  || exit; \
-@@ -62,7 +61,7 @@ uninstall:
+@@ -63,7 +62,7 @@ uninstall:
  
  
  clean:
--	rm -f utils/fmgroids.h parser/gram.h utils/probes.h
-+	rm -f parser/gram.h utils/probes.h
+-	rm -f utils/fmgroids.h utils/errcodes.h parser/gram.h utils/probes.h catalog/schemapg.h
++	rm -f utils/errcodes.h parser/gram.h utils/probes.h catalog/schemapg.h
  
  distclean maintainer-clean: clean
  	rm -f pg_config.h dynloader.h pg_config_os.h stamp-h