Older BDB versions cause some performance impact in security/amavisd-new
and probably in another software, as well. We could pull BDB 4.7+ from
amavisd-new before p5-BerkeleyDB and let it use that but that only works
for fresh install, in other cases we cannot assure that it uses a higher
version, so it can only be fixed at the root. Besides, it is better to
use newer versions for all dependants regardless if there are reported
problems or not.
Over to maintainer (via the GNATS Auto Assign Tool)
The following patch will update p5-BerkeleyDB to version 0.42
- db50 is blocked since it is not supported at this time
- rewrite pkg-descr to match README off p5-BerkeleyDB
maybe this is a better solution since a hard coded version off bdb
brings more trouble/conflicts than it solves.
I also read on the mailing list about amavisd-new and perf. issues with bdb
41/42 but the only statemant from Marc there was he runs successful on db47.
(Why not force in amavisd-new a higher db version with
INVALID_BDB_VER=2 3 40 41 42 43 50+ ?)
--- patch_p5-BerkeleyDB-0.42.txt begins here ---
@@ -6,15 +6,16 @@
CATEGORIES= databases perl5
-COMMENT= Perl5 interface to the Berkeley DB package
+COMMENT= Perl5 extension for Berkeley DB version 2, 3 or 4
@@ -1,3 +1,3 @@
-MD5 (BerkeleyDB-0.41.tar.gz) = 5941c90783a55ca4280c2963bbe1ac83
-SHA256 (BerkeleyDB-0.41.tar.gz) = a71854cf014ce292ad11432ece5e796f4b2ba0e54ef162a7e67691ab8110739a
-SIZE (BerkeleyDB-0.41.tar.gz) = 184357
+MD5 (BerkeleyDB-0.42.tar.gz) = 4b9c1f6e62b6ef40e6bdc673a3a30a32
+SHA256 (BerkeleyDB-0.42.tar.gz) = 7c88bd1ede255bbc6357ef090640e054a605070efffa7486326b98c60fd71c4a
+SIZE (BerkeleyDB-0.42.tar.gz) = 184678
@@ -1,13 +1,15 @@
-This is the perl5 interface to Berkeley DB version 2, 3, 4 or 4.1, which
-it depends on.
+Perl extension for Berkeley DB version 2, 3 or 4
-You may want to use this, instead of the default dbm that perl provides,
-as that one is based on version 1, which is seriously buggy. E.g., if
-keys or data are over a hundred bytes or so, bad things may happen to
-your dbm files. Never mind all the extra features....
+BerkeleyDB is a module which allows Perl programs to make use of the
+facilities provided by Berkeley DB version 2 or greater. (Note: if
+you want to use version 1 of Berkeley DB with Perl you need the DB_File
+Berkeley DB is a C library which provides a consistent interface to a
+number of database formats. BerkeleyDB provides an interface to all
+four of the database types (hash, btree, queue and recno) currently
+supported by Berkeley DB.
--- patch_p5-BerkeleyDB-0.42.txt ends here ---
Em 2010.07.11. 23:51, olli hauer escreveu:
> maybe this is a better solution since a hard coded version off bdb
> brings more trouble/conflicts than it solves.
Yes, I also think ?= is fine.
> I also read on the mailing list about amavisd-new and perf. issues with bdb
> 41/42 but the only statemant from Marc there was he runs successful on db47.
> (Why not force in amavisd-new a higher db version with
> INVALID_BDB_VER=2 3 40 41 42 43 50+ ?)
Because it doesn't work as I explained before. This knob just prevents
it from installing when no eligible version is available. Let's say you
have db41 and db47 installed but p5-BerkeleyDB is built on db41. This
know will just pass because db47 is there but still, you are using the
wrong version through p5-BerkeleyDB.
Btw, apart from Mark, another amavisd-new/FreeBSD user wrote back to me
in private that using db47 solved his problems.
committer timeout (clsung@ > 1 month)
ohauer is now a committer
committer timeout (ohauer@FreeBSD.org ; 43 days)