ports/74170: security/sks dependency update

Johan van Selst johans at stack.nl
Sat Nov 20 17:20:26 UTC 2004


>Number:         74170
>Category:       ports
>Synopsis:       security/sks dependency update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 20 17:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #1: Thu Nov 4 14:52:33 CET 2004 root at mud.stack.nl:/usr/local/spare1/TEMP/obj/usr/src/sys/mud i386


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

	Note that this introduces a new patch file to compile with db42,
	files/patch-bdb_bdb_stubs.c

>How-To-Repeat:
	
>Fix:

	


diff -urN sks/Makefile sks/Makefile
--- sks/Makefile	Tue Nov  9 17:39:05 2004
+++ sks/Makefile	Sat Nov 20 16:29:02 2004
@@ -15,15 +15,15 @@
 MAINTAINER=	johans at stack.nl
 COMMENT=	Synchronizing Key Server, a fast OpenPGP keyserver
 
-BUILD_DEPENDS=	ocaml:${PORTSDIR}/lang/ocaml
-LIB_DEPENDS=	db41:${PORTSDIR}/databases/db41
+BUILD_DEPENDS=	ocaml:${PORTSDIR}/lang/ocaml-nox11
+LIB_DEPENDS=	db-4.2:${PORTSDIR}/databases/db42
 
 USE_GPG=	yes
 SIG_SUFFIX=	.sig
 USE_GMAKE=	yes
-MAKE_ENV=	BDBINCLUDE="-I${LOCALBASE}/include/db41" \
+MAKE_ENV=	BDBINCLUDE="-I${LOCALBASE}/include/db42" \
 		BDBLIB="-L${LOCALBASE}/lib" \
-		LIBDB="-ldb41" \
+		LIBDB="-ldb-4.2" \
 		MANDIR="${MANPREFIX}/man"
 ALL_TARGET=	all sks.8
 USE_PERL5_BUILD=	yes
diff -urN sks/files/patch-bdb_bdb_stubs.c sks/files/patch-bdb_bdb_stubs.c
--- sks/files/patch-bdb_bdb_stubs.c	Thu Jan  1 01:00:00 1970
+++ sks/files/patch-bdb_bdb_stubs.c	Sat Nov 20 16:38:05 2004
@@ -0,0 +1,11 @@
+--- bdb/bdb_stubs.c.orig	Thu Oct 21 04:56:02 2004
++++ bdb/bdb_stubs.c	Sat Nov 20 16:33:08 2004
+@@ -223,7 +223,7 @@
+ 
+ // Declaration of flag enums in ocaml must be in same order as in C
+ 
+-static int dbenv_create_flags[] = { DB_CLIENT };
++static int dbenv_create_flags[] = { DB_RPCCLIENT };
+ 
+ //+
+ //+   type create_flag = CLIENT
diff -urN sks/pkg-descr sks/pkg-descr
--- sks/pkg-descr	Tue Nov  9 17:39:05 2004
+++ sks/pkg-descr	Sat Nov 20 16:55:12 2004
@@ -7,7 +7,7 @@
 spotty connectivity, can fully synchronize with rest of the system.
 
 Refer to the online wiki for pointers on downloading a full copy of the
-public PGP databse (about 4Gb) and on customising the local configuration
+public PGP databse (about 2Gb) and on customising the local configuration
 http://documentation.penguin.de/cgi-bin/twiki/view/SKSKeyserver/WebHome
 
 WWW:	http://www.nongnu.org/sks/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list