ports/72842: new port: security/sks (OpenPGP keyserver)
Johan van Selst
johans at stack.nl
Mon Oct 18 20:00:41 UTC 2004
>Number: 72842
>Category: ports
>Synopsis: new port: security/sks (OpenPGP keyserver)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 18 20:00:40 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD coyote.gletsjer.net 6.0-CURRENT FreeBSD 6.0-CURRENT #15: Sun Oct 10 09:55:47 CEST 2004 root at coyote.gletsjer.net:/spare3/obj/spare3/src/sys/coyote i386
>Description:
SKS is a new OpenPGP keyserver whose goal is to provide easy to deploy,
decentralized, and highly reliable synchronization.
This FreeBSD port has been tested on -CURRENT en -STABLE.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# sks
# sks/Makefile
# sks/files
# sks/files/patch-mrandom
# sks/files/patch-numerix
# sks/files/sks.numerix.patch
# sks/files/patch-makefile
# sks/files/patch-nobash
# sks/pkg-descr
# sks/distinfo
# sks/pkg-plist
#
echo c - sks
mkdir -p sks > /dev/null 2>&1
echo x - sks/Makefile
sed 's/^X//' >sks/Makefile << 'END-of-sks/Makefile'
X# New ports collection makefile for: sks
X# Date created: 16 October 2004
X# Whom: johans
X#
X# $FreeBSD$
X#
X
XPORTNAME= sks
XPORTVERSION= 1.0.7
XCATEGORIES= security
XMASTER_SITES= ${MASTER_SITE_SAVANNAH}
XMASTER_SITE_SUBDIR=sks
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= johans at stack.nl
XCOMMENT= Synchronizing Key Server, a fast OpenPGP keyserver
X
XBUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml
XLIB_DEPENDS= db41:${PORTSDIR}/databases/db41
X
XUSE_GMAKE= yes
X
Xpost-patch:
X @${CP} ${FILESDIR}/sks.numerix.patch ${WRKDIR}
X
X.include <bsd.port.mk>
END-of-sks/Makefile
echo c - sks/files
mkdir -p sks/files > /dev/null 2>&1
echo x - sks/files/patch-mrandom
sed 's/^X//' >sks/files/patch-mrandom << 'END-of-sks/files/patch-mrandom'
X--- mRandom.ml Sun Oct 12 22:20:18 2003
X+++ mRandom.ml Sat Oct 16 15:34:44 2004
X@@ -92,7 +92,7 @@
X
X (* Low-entropy system-dependent initialisation. *)
X
X- external random_seed: unit -> int = "sys_random_seed"
X+ external random_seed: unit -> int = "caml_sys_random_seed"
X
X let self_init () = init (random_seed())
X
END-of-sks/files/patch-mrandom
echo x - sks/files/patch-numerix
sed 's/^X//' >sks/files/patch-numerix << 'END-of-sks/files/patch-numerix'
X--- Makefile Fri Jan 23 04:29:24 2004
X+++ Makefile Sat Oct 16 15:53:11 2004
X@@ -283,6 +283,7 @@
X
X $(NXDIR)/READ.ME:
X tar xvmfz $(NXDIR)-3.tar.gz
X+ patch -p0 < ../sks.numerix.patch
X
X $(NXDIR)/config.status: $(NXDIR)/READ.ME
X cd $(NXDIR) && \
END-of-sks/files/patch-numerix
echo x - sks/files/sks.numerix.patch
sed 's/^X//' >sks/files/sks.numerix.patch << 'END-of-sks/files/sks.numerix.patch'
X--- numerix-0.19/configure Sat Oct 16 15:47:19 2004
X+++ numerix-0.19/configure Sat Oct 16 15:38:02 2004
X@@ -4337,6 +4337,7 @@
X echo "$as_me:$LINENO: checking for Ocaml version" >&5
X echo $ECHO_N "checking for Ocaml version... $ECHO_C" >&6
X ocaml_version=`config/camlconf $ocamlc version`
X+ ocaml_version=${ocaml_version%%.*}
X echo "$as_me:$LINENO: result: $ocaml_version" >&5
X echo "${ECHO_T}$ocaml_version" >&6
X echo "$as_me:$LINENO: checking for Ocaml directory" >&5
X--- numerix-0.19/lib/kernel/string.c Sat Oct 16 15:47:19 2004
X+++ numerix-0.19/lib/kernel/string.c Sat Oct 16 15:14:17 2004
X@@ -38,7 +38,7 @@
X longueur l;
X
X /* saute les blancs et le signe */
X- while isspace(*s) s++;
X+ while (isspace(*s)) s++;
X if ((*s == '+') || (*s == '-')) s++;
X
X /* compte le nombre de chiffres décimaux */
X@@ -83,7 +83,7 @@
X long i,j,l,n;
X
X /* saute les blancs et le signe */
X- while isspace(*s) s++;
X+ while (isspace(*s)) s++;
X switch(*s) {
X case '-' : sa = SIGN_m;
X case '+' : s++;
END-of-sks/files/sks.numerix.patch
echo x - sks/files/patch-makefile
sed 's/^X//' >sks/files/patch-makefile << 'END-of-sks/files/patch-makefile'
X--- Makefile.local Thu Jan 1 01:00:00 1970
X+++ Makefile.local Sat Oct 16 15:31:37 2004
X@@ -0,0 +1,8 @@
X+BDBLIB=-L/usr/local/lib
X+BDBINCLUDE=-I/usr/local/include/db41
X+PREFIX=/usr/local
X+LIBDB=-ldb41
X+export BDBLIB
X+export BDBINCLUDE
X+export PREFIX
X+export LIBDB
END-of-sks/files/patch-makefile
echo x - sks/files/patch-nobash
sed 's/^X//' >sks/files/patch-nobash << 'END-of-sks/files/patch-nobash'
X--- sks_build.sh Sat Nov 29 14:38:18 2003
X+++ sks_build.sh Mon Oct 18 21:49:31 2004
X@@ -1,4 +1,4 @@
X-#!/bin/bash
X+#!/bin/sh
X
X # SKS build script.
X # cd to directory with "dump" subdirectory, and run
END-of-sks/files/patch-nobash
echo x - sks/pkg-descr
sed 's/^X//' >sks/pkg-descr << 'END-of-sks/pkg-descr'
XSKS OpenPGP Key Server
X
XSKS is a new OpenPGP keyserver whose goal is to provide easy to deploy,
Xdecentralized, and highly reliable synchronization. That means that a
Xkey submitted to one SKS server will quickly be distributed to all key
Xservers; and even wildly out-of-date servers, or servers that experience
Xspotty connectivity, can fully synchronize with rest of the system.
X
XRefer to the online wiki for pointers on downloading a full copy of the
Xpublic PGP databse (about 4Gb) and on customising the local configuration
Xhttp://documentation.penguin.de/cgi-bin/twiki/view/SKSKeyserver/WebHome
X
XWWW: http://www.nongnu.org/sks/
END-of-sks/pkg-descr
echo x - sks/distinfo
sed 's/^X//' >sks/distinfo << 'END-of-sks/distinfo'
XMD5 (sks-1.0.7.tgz) = 886f2ecfc9ef01e2bf5883c65a65daa3
XSIZE (sks-1.0.7.tgz) = 897646
END-of-sks/distinfo
echo x - sks/pkg-plist
sed 's/^X//' >sks/pkg-plist << 'END-of-sks/pkg-plist'
Xbin/sks
Xbin/sks_add_mail
Xbin/sks_build.sh
END-of-sks/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list