aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKing John <jinking.this@gmail.com>2023-09-25 23:11:21 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2023-09-28 05:50:31 +0000
commitc6423991ff334d9b36f966e8b05fd81a1d34e7c6 (patch)
tree3963167c3de9524706a08a81146d5626eac7850c
parente2d09c930053768b114eaa9de382dc2db2af4c4d (diff)
downloadports-c6423991ff334d9b36f966e8b05fd81a1d34e7c6.tar.gz
ports-c6423991ff334d9b36f966e8b05fd81a1d34e7c6.zip
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
-rw-r--r--security/Makefile1
-rw-r--r--security/debian-keyring/Makefile24
-rw-r--r--security/debian-keyring/distinfo3
-rw-r--r--security/debian-keyring/pkg-descr6
-rw-r--r--security/debian-keyring/pkg-plist4
5 files changed, 38 insertions, 0 deletions
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