Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2006 14:52:38 +0100
From:      "Timur I. Bakeyev" <timur@gnu.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        matthias.andree@gmx.de
Subject:   ports/105112: databases/db44 can't fetch all the necessary patches
Message-ID:  <1162561958.86196@timur.blinck.com>
Resent-Message-ID: <200611031400.kA3E0VVq087125@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105112
>Category:       ports
>Synopsis:       databases/db44 can't fetch all the necessary patches
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 03 14:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Timur I. Bakeyev
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:


System: FreeBSD 6.1-RELEASE-p10 #3: Fri Oct  6 10:33:53 CEST 2006
    root@timur.blinck.com:/usr/src/sys/i386/compile/COMMON



>Description:


I was trying to install databases/db44 recently but it wasn't possibly, cause fetch wasn't able to retrieve patches with the code fixes.

Shot investigation showed, that since Oracle bought Sleepycat all the download sites for DB[2-4] were moved to Oracle web site. So, files have to be taken there.

Also, there are two new fixes added to db44.

In fact, all db* ports have to be fixed in that respect.


>How-To-Repeat:


cd databases/db44
make install clean


>Fix:


--- db44.diff begins here ---
diff -ru db44/Makefile db44.new/Makefile
--- db44/Makefile	Fri Apr 14 05:44:08 2006
+++ db44.new/Makefile	Wed Oct 25 16:39:13 2006
@@ -6,15 +6,15 @@
 #
 
 PORTNAME=	db44
-PORTVERSION=	4.4.20.2
+PORTVERSION=	4.4.20.4
 CATEGORIES=	databases
-MASTER_SITES=	http://downloads.sleepycat.com/
+MASTER_SITES=	http://download.oracle.com/berkeley-db/
 PKGNAMESUFFIX?=
 DISTNAME=	db-4.4.20
 DIST_SUBDIR=	bdb
 
-PATCH_SITES=	http://www.sleepycat.com/update/4.4.20/
-PATCHFILES=	patch.4.4.20.1 patch.4.4.20.2
+PATCH_SITES=	http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/
+PATCHFILES=	patch.4.4.20.1 patch.4.4.20.2 patch.4.4.20.3 patch.4.4.20.4
 PATCH_DIST_STRIP=	-d ..
 # * patch.4.4.20.1: -----------------------------------------------------------
 # Fix a bug that could cause a trap during recovery if multiple operations that
@@ -22,6 +22,12 @@
 # * patch.4.4.20.2: -----------------------------------------------------------
 # Fix a bug that could cause traps or hangs if the DB_TXN->set_name function is
 # used in a multithreaded application. [#14033]
+# * patch.4.4.20.3: -----------------------------------------------------------
+# Fix a bug where cursor lookups on secondary databases with off-page
+# duplicates could fail. [#14240]
+# * patch.4.4.20.4: -----------------------------------------------------------
+# Fix a bug where cache buffer retrieval could race with a checkpoint
+# call, potentially causing database environment recovery to fail. [#14657]
 
 MAINTAINER=	matthias.andree@gmx.de
 COMMENT=	The Berkeley DB package, revision 4.4
diff -ru db44/distinfo db44.new/distinfo
--- db44/distinfo	Fri Apr 14 05:44:08 2006
+++ db44.new/distinfo	Wed Oct 25 16:39:13 2006
@@ -7,3 +7,9 @@
 MD5 (bdb/patch.4.4.20.2) = 85df93a0867f6cace3501671cdeb6ed1
 SHA256 (bdb/patch.4.4.20.2) = 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc
 SIZE (bdb/patch.4.4.20.2) = 721
+MD5 (bdb/patch.4.4.20.3) = 88ee91889ebf5498b22b2e7bed945d41
+SHA256 (bdb/patch.4.4.20.3) = ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236
+SIZE (bdb/patch.4.4.20.3) = 1366
+MD5 (bdb/patch.4.4.20.4) = c2ef7b3e59460c35950fab5f2faa3fc0
+SHA256 (bdb/patch.4.4.20.4) = 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59
+SIZE (bdb/patch.4.4.20.4) = 837
--- db44.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1162561958.86196>