git: c6423991ff33 - main - security/debian-keyring: New port: GnuPG keys of Debian Developers and Maintainers

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Thu, 28 Sep 2023 05:51:02 UTC
The branch main has been updated by meta:

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

commit c6423991ff334d9b36f966e8b05fd81a1d34e7c6
Author:     King John <jinking.this@gmail.com>
AuthorDate: 2023-09-25 23:11:21 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2023-09-28 05:50:31 +0000

    security/debian-keyring: New port: GnuPG keys of Debian Developers and Maintainers
    
    The current version for Debian stable bookworm is 2022.12.24.
    
    PR:             274100
---
 security/Makefile                 |  1 +
 security/debian-keyring/Makefile  | 24 ++++++++++++++++++++++++
 security/debian-keyring/distinfo  |  3 +++
 security/debian-keyring/pkg-descr |  6 ++++++
 security/debian-keyring/pkg-plist |  4 ++++
 5 files changed, 38 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 43e8001596fc..ea343f4fd8cc 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -124,6 +124,7 @@
     SUBDIR += cyrus-sasl2-sql
     SUBDIR += cyrus-sasl2-srp
     SUBDIR += d0_blind_id
+    SUBDIR += debian-keyring
     SUBDIR += dehydrated
     SUBDIR += denyhosts
     SUBDIR += destroy
diff --git a/security/debian-keyring/Makefile b/security/debian-keyring/Makefile
new file mode 100644
index 000000000000..1e3c3a9402eb
--- /dev/null
+++ b/security/debian-keyring/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	debian-keyring
+PORTVERSION=	2022.12.24
+CATEGORIES=	security
+MASTER_SITES=	https://salsa.debian.org/${PORTNAME}/keyring/-/archive/${PORTVERSION}/
+DISTNAME=	keyring_${PORTVERSION}
+
+MAINTAINER=	jinking.this@gmail.com
+COMMENT=	GPG keys for Debian package signature verification
+WWW=		https://bugs.debian.org/debian-keyring
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+NO_ARCH=	yes
+
+WRKSRC=		${WRKDIR}/keyring-${PORTVERSION}-7818523dd2368ea16682c44ce73c7b888674bf92
+
+do-build:
+	cd ${WRKSRC} && ${MAKE} all
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/keyrings
+	${INSTALL_DATA} ${WRKSRC}/output/keyrings/debian-*.gpg ${STAGEDIR}${PREFIX}/share/keyrings/
+
+.include <bsd.port.mk>
diff --git a/security/debian-keyring/distinfo b/security/debian-keyring/distinfo
new file mode 100644
index 000000000000..b7dafabe2e48
--- /dev/null
+++ b/security/debian-keyring/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695678980
+SHA256 (keyring_2022.12.24.tar.gz) = 7911af14b69e4ffc15849bffe0e8e86c97c77429cf7eb27dc932df331fa0fbc3
+SIZE (keyring_2022.12.24.tar.gz) = 33849683
diff --git a/security/debian-keyring/pkg-descr b/security/debian-keyring/pkg-descr
new file mode 100644
index 000000000000..8a3138333d46
--- /dev/null
+++ b/security/debian-keyring/pkg-descr
@@ -0,0 +1,6 @@
+GnuPG keys of Debian Developers and Maintainers
+
+The Debian project wants developers to digitally sign the announcements
+of their packages with GnuPG, to protect against forgeries. This package
+contains keyrings of GnuPG and keys of Debian Developers (uploading and
+non-uploading), as well as of Debian Maintainers.
diff --git a/security/debian-keyring/pkg-plist b/security/debian-keyring/pkg-plist
new file mode 100644
index 000000000000..47f9b253ca2b
--- /dev/null
+++ b/security/debian-keyring/pkg-plist
@@ -0,0 +1,4 @@
+share/keyrings/debian-keyring.gpg
+share/keyrings/debian-maintainers.gpg
+share/keyrings/debian-nonupload.gpg
+share/keyrings/debian-role-keys.gpg