sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sks-devel] Re: ports/74170: security/sks dependency update


From: Jason Harris
Subject: [Sks-devel] Re: ports/74170: security/sks dependency update
Date: Sat, 20 Nov 2004 15:46:41 -0500
User-agent: Mutt/1.4.2.1i

On Sat, Nov 20, 2004 at 06:14:25PM +0100, Johan van Selst wrote:
 
[FreeBSD PR to change FreeBSD port/package of SKS]
> >Number:         74170
> >Category:       ports
> >Synopsis:       security/sks dependency update

> >Class:          maintainer-update
> >Submitter-Id:   current-users
> >Arrival-Date:   Sat Nov 20 17:20:25 GMT 2004

> >Description:
>       
>       This patch changes the ocaml dependency to lighter ocaml-nox11;
>       and db41 to (allegedly more reliable) db42.

(See http://www.freebsd.org/cgi/query-pr.cgi?pr=74170 for the patch.)

Excellent!

Also, I've been using BDB 4.3.21 (ports/databases/db43, FreeBSD
PR ports/73790:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=73790

still uncommitted) with SKS-1.0.9+patch-33 (from the tla archive)
on hkp://keyserver.kjsl.com:21371 for at least 24 hours now.
I don't believe DB_LOG_AUTOREMOVE is functioning as it did with
db42, unfortunately.  It seems a db_recover is necessary before
"db_archive -d" will remove any unneeded logs, at least in the
./PTree/ database/environment.  Also, the "write-ahead" logs are
sparse files and don't actually reserve (much) disk space for the
actual/non-zero data as it is generated.  Oh well...  :)

Upgrading from 4.2.52 to 4.3.21, the three relevant changes to
./bdb/bdb_stubs.c are:

 static int dbenv_verbose_flags[] = {
-  DB_VERB_CHKPOINT, DB_VERB_DEADLOCK, DB_VERB_RECOVERY, DB_VERB_WAITSFOR
+  DB_VERB_DEADLOCK, DB_VERB_RECOVERY, DB_VERB_WAITSFOR
 };


   test_db_closed(db);
-  err = UW_db(db)->stat(UW_db(db), &stat,0);
+  err = UW_db(db)->stat(UW_db(db), (DB_TXN *)NULL, &stat,0);
   if (err != 0) { UW_db(db)->err(UW_db(db),err,"caml_db_get_size"); }


   if (err != 0) {
-    if (err == ENOMEM) { 
+    if (err == DB_BUFFER_SMALL) { 
       failwith("Maximum # of concurrent transactions reached"); 

-- 
Jason Harris           |  NIC:  JH329, PGP:  This _is_ PGP-signed, isn't it?
address@hidden _|_ web:  http://keyserver.kjsl.com/~jharris/
          Got photons?   (TM), (C) 2004

Attachment: pgpxK7Blbdawo.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]