Skip to content

Commit d87ab2d

Browse files
committed
pkgsrc-gnupg-keys: Migrate to pkgsrc-extra.
While here import the 2022-11-16 key.
1 parent 0667da5 commit d87ab2d

4 files changed

Lines changed: 38 additions & 0 deletions

File tree

pkgsrc-gnupg-keys/DESCR

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
A set of GnuPG public keys used by pkgsrc infrastructure. Having them
2+
as a package rather than distributed via bootstrap kits means we can
3+
easily update the package when keys become obsolete and newer ones are
4+
issues.

pkgsrc-gnupg-keys/Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# $NetBSD$
2+
#
3+
# To update:
4+
#
5+
# $ curl https://pkgsrc.org/pkgsrc-security_pgp_key.asc | gpg2 --import
6+
# $ gpg2 --list-keys pkgsrc-security
7+
# $ gpg2 --export <latest keyid> >files/pkgsrc-security.gpg
8+
#
9+
# Note that only the most recent keyid is exported rather than all of them,
10+
# as for a while pkgsrc-security used a GPG key format that was incompatible
11+
# with netpgp and still causes warnings if available in the keyring.
12+
#
13+
14+
DISTNAME= pkgsrc-gnupg-keys-20221116
15+
CATEGORIES= security
16+
MASTER_SITES= #empty
17+
DISTFILES= #empty
18+
19+
MAINTAINER= jperkin@pkgsrc.org
20+
HOMEPAGE= https://pkgsrc.smartos.org/
21+
COMMENT= GnuPG keys for pkgsrc infrastructure
22+
LICENSE= public-domain
23+
24+
NO_BUILD= yes
25+
NO_CHECKSUM= yes
26+
27+
INSTALLATION_DIRS= share/gnupg
28+
29+
do-install:
30+
${INSTALL_DATA} ${FILESDIR}/pkgsrc-security.gpg ${DESTDIR}${PREFIX}/share/gnupg/
31+
32+
.include "../../mk/bsd.pkg.mk"

pkgsrc-gnupg-keys/PLIST

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@comment $NetBSD$
2+
share/gnupg/pkgsrc-security.gpg
7.22 KB
Binary file not shown.

0 commit comments

Comments
 (0)