Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2024 17:05:16 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e6df69f86873 - main - security/pks: undeprecate, switch to db18
Message-ID:  <202407071705.467H5GYZ020771@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e6df69f8687330d0842e549c0dd79dbd3ffb4f21

commit e6df69f8687330d0842e549c0dd79dbd3ffb4f21
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-07-07 17:03:02 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-07-07 17:04:57 +0000

    security/pks: undeprecate, switch to db18
    
    Submitter becomes new maintainer
    PR:             279196
    Approved by:    previous maintainer
---
 security/pks/Makefile                  | 25 +++++++++++--------------
 security/pks/files/patch-kd_generic.c  |  4 ++--
 security/pks/files/patch-mkpksdconf.in |  4 ++--
 3 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/security/pks/Makefile b/security/pks/Makefile
index fcc43c32a309..808533e6b1e6 100644
--- a/security/pks/Makefile
+++ b/security/pks/Makefile
@@ -1,27 +1,21 @@
 PORTNAME=	pks
 PORTVERSION=	0.9.6.20040312
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	security www
 MASTER_SITES=	http://pks.sourceforge.net/ LOCAL/mandree
 DISTFILES=	pks-current.tgz
 
-MAINTAINER=	tphilipp@potion-studios.com
+MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	PGP Public Key Server
 WWW=		http://www.mit.edu/people/marc/pks/
 
 LICENSE=	BSD4CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on deprecated Oracle Berkeley DB 5.3 and last release back in 2003
-EXPIRATION_DATE=2024-06-30
-
-USES=		bdb ssl
+USES=		bdb:18 ssl
 USE_RC_SUBR=	pksd
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--datadir=${DATADIR} \
 		--localstatedir=/var/pks \
 		--with-db --with-ipv6 --with-libwrap \
@@ -32,9 +26,12 @@ CONFIGURE_ENV=	DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \
 SUB_FILES=	pkg-message
 SUB_LIST=	PORTNAME="${PORTNAME}"
 
-OPTIONS_DEFINE=	DOCS
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
 PORTDOCS=	pks_help.* README EMAIL
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
@@ -45,10 +42,10 @@ post-extract:
 	@${CP} -a ${FILESDIR}/EMAIL ${WRKSRC}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgpsplit
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksdctl
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksclient
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/pksd
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgpsplit \
+	${STAGEDIR}${PREFIX}/bin/pksdctl \
+	${STAGEDIR}${PREFIX}/bin/pksclient \
+	${STAGEDIR}${PREFIX}/sbin/pksd
 	${MV} ${STAGEDIR}${PREFIX}/etc/pksd.conf ${STAGEDIR}${PREFIX}/etc/pksd.conf.sample
 
 post-install-DOCS-on:
diff --git a/security/pks/files/patch-kd_generic.c b/security/pks/files/patch-kd_generic.c
index fe385b4af2c9..28260410ae47 100644
--- a/security/pks/files/patch-kd_generic.c
+++ b/security/pks/files/patch-kd_generic.c
@@ -1,5 +1,5 @@
---- ./kd_generic.c.orig	2003-08-04 21:57:27.000000000 +0200
-+++ ./kd_generic.c	2014-08-15 18:41:14.000000000 +0200
+--- ./kd_generic.c.orig 2024-05-21 01:17:10 UTC
++++ ./kd_generic.c
 @@ -325,13 +325,13 @@
  /* create/open/close/sync */
  
diff --git a/security/pks/files/patch-mkpksdconf.in b/security/pks/files/patch-mkpksdconf.in
index bab902712ba5..19eb94c29723 100644
--- a/security/pks/files/patch-mkpksdconf.in
+++ b/security/pks/files/patch-mkpksdconf.in
@@ -1,5 +1,5 @@
---- ./mkpksdconf.in.orig	2003-02-28 18:27:20.000000000 +0100
-+++ ./mkpksdconf.in	2014-08-15 18:32:37.000000000 +0200
+--- ./mkpksdconf.in.orig 2024-05-21 01:17:10 UTC
++++ ./mkpksdconf.in
 @@ -44,7 +44,7 @@
  
  cat << EOF



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