git: 35aca955d241 - main - Linuxulator ports: Add gnupg and libassuan from Rocky Linux

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 12 May 2024 10:02:42 UTC
The branch main has been updated by arrowd:

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

commit 35aca955d2412b73109ad6a59a48040a203ceddf
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-07-10 10:44:00 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-05-12 10:01:18 +0000

    Linuxulator ports: Add gnupg and libassuan from Rocky Linux
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 Mk/Uses/linux.mk                             |   1 +
 security/Makefile                            |   2 +
 security/linux-rl9-gnupg/Makefile            |  27 +++++
 security/linux-rl9-gnupg/distinfo            |  11 ++
 security/linux-rl9-gnupg/pkg-plist.amd64     | 172 +++++++++++++++++++++++++++
 security/linux-rl9-libassuan/Makefile        |  24 ++++
 security/linux-rl9-libassuan/distinfo        |   7 ++
 security/linux-rl9-libassuan/pkg-plist.amd64 |   8 ++
 8 files changed, 252 insertions(+)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index 1d6ab011899e..f592885804d5 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -96,6 +96,7 @@ _linux_${linux_ARGS}_jasper=		linux-${linux_ARGS}-jasper-libs>0:graphics/linux-$
 _linux_${linux_ARGS}_jbigkit=		linux-${linux_ARGS}-jbigkit-libs>0:graphics/linux-${linux_ARGS}-jbigkit
 _linux_${linux_ARGS}_jpeg=		linux-${linux_ARGS}-jpeg>0:graphics/linux-${linux_ARGS}-jpeg
 _linux_c7_libaio=			linux-c7-libaio>0:devel/linux-c7-libaio
+_linux_rl9_libassuan=			linux-rl9-libassuan>0:security/linux-rl9-libassuan
 _linux_${linux_ARGS}_libasyncns=	linux-${linux_ARGS}-libasyncns>0:dns/linux-${linux_ARGS}-libasyncns
 _linux_c7_libaudiofile=			linux-c7-audiofile>0:audio/linux-c7-audiofile
 _linux_c7_libcroco=			linux-c7-libcroco>0:textproc/linux-c7-libcroco
diff --git a/security/Makefile b/security/Makefile
index 01a9a37f1c64..81652e30cc1c 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -345,7 +345,9 @@
     SUBDIR += linux-c7-trousers
     SUBDIR += linux-rl9-ca-certificates
     SUBDIR += linux-rl9-cyrus-sasl2
+    SUBDIR += linux-rl9-gnupg
     SUBDIR += linux-rl9-gnutls
+    SUBDIR += linux-rl9-libassuan
     SUBDIR += linux-rl9-libgcrypt
     SUBDIR += linux-rl9-libgpg-error
     SUBDIR += linux-rl9-libtasn1
diff --git a/security/linux-rl9-gnupg/Makefile b/security/linux-rl9-gnupg/Makefile
new file mode 100644
index 000000000000..b75a6f667ae5
--- /dev/null
+++ b/security/linux-rl9-gnupg/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	gnupg
+PORTVERSION=	2.3.3
+DISTVERSIONSUFFIX=	-2.el9_0
+CATEGORIES=	security linux
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	GNU Transport Layer Security library (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://gnutls.org/
+
+USES=		cpe linux:rl9
+CPE_VENDOR=	gnu
+USE_LINUX=	gnutls libassuan libgcrypt libgpg-error openldap sqlite3
+USE_LINUX_RPM=	yes
+
+BIN_DISTNAMES=	${PORTNAME}2-${DISTVERSION}${DISTVERSIONSUFFIX}
+LIB_DISTNAMES=	${PORTNAME}2-smime-${DISTVERSION}${DISTVERSIONSUFFIX}
+SRC_DISTFILES=	${PORTNAME}2-${DISTVERSION}${DISTVERSIONSUFFIX}${SRC_SUFX}:SOURCE
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+.include <bsd.port.mk>
diff --git a/security/linux-rl9-gnupg/distinfo b/security/linux-rl9-gnupg/distinfo
new file mode 100644
index 000000000000..272685607e28
--- /dev/null
+++ b/security/linux-rl9-gnupg/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1688982135
+SHA256 (rocky/g/gnupg2-2.3.3-2.el9_0.aarch64.rpm) = dcc5af6d27b9fa868480416f06e4006f0980b592f133a9a6cff164d3d150dc8d
+SIZE (rocky/g/gnupg2-2.3.3-2.el9_0.aarch64.rpm) = 2570075
+SHA256 (rocky/g/gnupg2-2.3.3-2.el9_0.x86_64.rpm) = ac9e8c035ce0b851d1cf9d959c74d80460d82610d5705e8e9c4496cc7578a093
+SIZE (rocky/g/gnupg2-2.3.3-2.el9_0.x86_64.rpm) = 2599359
+SHA256 (rocky/g/gnupg2-smime-2.3.3-2.el9_0.aarch64.rpm) = 0d7e91bd4bb35e8ccd577a2ad02237419776da054828bc9b2b68cdc20f624ee1
+SIZE (rocky/g/gnupg2-smime-2.3.3-2.el9_0.aarch64.rpm) = 240571
+SHA256 (rocky/g/gnupg2-smime-2.3.3-2.el9_0.x86_64.rpm) = 6c2ad44232aff2fd30ac354ee071d5b4f6a0c2b1c307d6f7531d5cf60b59488d
+SIZE (rocky/g/gnupg2-smime-2.3.3-2.el9_0.x86_64.rpm) = 247635
+SHA256 (rocky/g/gnupg2-2.3.3-2.el9_0.src.rpm) = 53ae897c6bcaec8daa40cd77049b674897f427dfdc6cf8667d1dbdfa731314b1
+SIZE (rocky/g/gnupg2-2.3.3-2.el9_0.src.rpm) = 7614343
diff --git a/security/linux-rl9-gnupg/pkg-plist.amd64 b/security/linux-rl9-gnupg/pkg-plist.amd64
new file mode 100644
index 000000000000..5cac74af3f79
--- /dev/null
+++ b/security/linux-rl9-gnupg/pkg-plist.amd64
@@ -0,0 +1,172 @@
+usr/bin/dirmngr
+usr/bin/dirmngr-client
+usr/bin/g13
+usr/bin/gpg
+usr/bin/gpg-agent
+usr/bin/gpg-card
+usr/bin/gpg-connect-agent
+usr/bin/gpg-wks-client
+usr/bin/gpg-wks-server
+usr/bin/gpg2
+usr/bin/gpgconf
+usr/bin/gpgparsemail
+usr/bin/gpgsm
+usr/bin/gpgsplit
+usr/bin/gpgtar
+usr/bin/gpgv
+usr/bin/gpgv2
+usr/bin/kbxutil
+usr/bin/watchgnupg
+usr/lib/.build-id/05/5675dec84d25989edfe9dddb309dc78f575513
+usr/lib/.build-id/18/fa14a7e13de5f657bef5855971287fceab2105
+usr/lib/.build-id/1b/3acd16bb5149801405fc97438bf5c7a247c2a9
+usr/lib/.build-id/1f/5472c75ba2d263fe67fb0b2d1d4b4897b59364
+usr/lib/.build-id/2b/01fa564ab31c40fcddc95ef9d41ea796228f64
+usr/lib/.build-id/31/342b1ae6f6802bbbec04f2319bd879c439ca5e
+usr/lib/.build-id/49/0739a4e8daa254557688fa9fe87ef932124901
+usr/lib/.build-id/58/9d4af7d59e5939e553fa4fabf29e0187ab42e2
+usr/lib/.build-id/5d/fdcb90672a83128526459430a9df0f6a03a255
+usr/lib/.build-id/66/e26d4421fa26546e13e8b0023dd1ad28032b73
+usr/lib/.build-id/8a/0993c4f4426e9bc83c0923b329ab083565929a
+usr/lib/.build-id/9a/18de969dd9ac57f8a63c0facf1168419aa6142
+usr/lib/.build-id/9a/4ef1b3bbf564f5efbfbd93b62301699914c360
+usr/lib/.build-id/aa/6cda849c8e416444cd25cf441980a863bc8b49
+usr/lib/.build-id/b4/8eaff1a039e4ae209d69d9f9c288b3d8474cbb
+usr/lib/.build-id/b9/15b3e25d4e033dd822a9685a0fe59f6fee72f2
+usr/lib/.build-id/be/e9c70957f56ea684d33cef43284f5ed6288581
+usr/lib/.build-id/c7/ef70adeab7cd96ef44754907a2771e5ec339c0
+usr/lib/.build-id/d3/b10251c354410532f471133e2d0b4ce3f51c2a
+usr/lib/.build-id/d6/eeef4dd89572b8abcfea2bee755d9c6960fdd5
+usr/lib/.build-id/f1/60d7e7648d158a35b00b6a37fee7c50677c828
+usr/lib/.build-id/fa/1035d01ba05fb5dda7fd1f06cb010990467d70
+usr/lib/.build-id/fc/557724f2c026bb4de29e716bcd03f61f0711aa
+usr/lib/.build-id/fd/b5f28f7075b16a2b299eb85d285c0b035ba2d2
+usr/lib/.build-id/ff/c33175ade179aab43b2bb29a376e599a919c75
+usr/lib/systemd/user/dirmngr.service
+usr/lib/systemd/user/dirmngr.socket
+usr/lib/systemd/user/gpg-agent-browser.socket
+usr/lib/systemd/user/gpg-agent-extra.socket
+usr/lib/systemd/user/gpg-agent-ssh.socket
+usr/lib/systemd/user/gpg-agent.service
+usr/lib/systemd/user/gpg-agent.socket
+usr/libexec/dirmngr_ldap
+usr/libexec/gpg-check-pattern
+usr/libexec/gpg-pair-tool
+usr/libexec/gpg-preset-passphrase
+usr/libexec/gpg-protect-tool
+usr/libexec/gpg-wks-client
+usr/libexec/keyboxd
+usr/libexec/scdaemon
+usr/sbin/addgnupghome
+usr/sbin/applygnupgdefaults
+usr/sbin/g13-syshelp
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/DCO
+%%PORTDOCS%%%%DOCSDIR%%/DETAILS
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/HACKING
+%%PORTDOCS%%%%DOCSDIR%%/KEYSERVER
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/OpenPGP
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/TRANSLATE
+%%PORTDOCS%%%%DOCSDIR%%/examples/Automatic.prf
+%%PORTDOCS%%%%DOCSDIR%%/examples/README
+%%PORTDOCS%%%%DOCSDIR%%/examples/VS-NfD.prf
+%%PORTDOCS%%%%DOCSDIR%%/examples/common.conf
+%%PORTDOCS%%%%DOCSDIR%%/examples/debug.prf
+%%PORTDOCS%%%%DOCSDIR%%/examples/gpgconf.conf
+%%PORTDOCS%%%%DOCSDIR%%/examples/pwpattern.list
+%%PORTDOCS%%%%DOCSDIR%%/examples/qualified.txt
+%%PORTDOCS%%%%DOCSDIR%%/examples/scd-event
+%%PORTDOCS%%%%DOCSDIR%%/examples/systemd-user/README
+%%PORTDOCS%%%%DOCSDIR%%/examples/trustlist.txt
+%%DATADIR%%/distsigkey.gpg
+%%DATADIR%%/help.be.txt
+%%DATADIR%%/help.ca.txt
+%%DATADIR%%/help.cs.txt
+%%DATADIR%%/help.da.txt
+%%DATADIR%%/help.de.txt
+%%DATADIR%%/help.el.txt
+%%DATADIR%%/help.eo.txt
+%%DATADIR%%/help.es.txt
+%%DATADIR%%/help.et.txt
+%%DATADIR%%/help.fi.txt
+%%DATADIR%%/help.fr.txt
+%%DATADIR%%/help.gl.txt
+%%DATADIR%%/help.hu.txt
+%%DATADIR%%/help.id.txt
+%%DATADIR%%/help.it.txt
+%%DATADIR%%/help.ja.txt
+%%DATADIR%%/help.nb.txt
+%%DATADIR%%/help.pl.txt
+%%DATADIR%%/help.pt.txt
+%%DATADIR%%/help.pt_BR.txt
+%%DATADIR%%/help.ro.txt
+%%DATADIR%%/help.ru.txt
+%%DATADIR%%/help.sk.txt
+%%DATADIR%%/help.sv.txt
+%%DATADIR%%/help.tr.txt
+%%DATADIR%%/help.txt
+%%DATADIR%%/help.zh_CN.txt
+%%DATADIR%%/help.zh_TW.txt
+%%DATADIR%%/sks-keyservers.netCA.pem
+usr/share/info/gnupg.info-1.gz
+usr/share/info/gnupg.info-2.gz
+usr/share/info/gnupg.info-3.gz
+usr/share/info/gnupg.info.gz
+usr/share/licenses/gnupg2/COPYING
+%%NLS%%usr/share/locale/ca/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/cs/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/da/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/de/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/el/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/en@boldquot/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/en@quot/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/eo/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/es/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/et/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/fi/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/fr/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/gl/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/hu/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/id/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/it/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/ja/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/nb/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/pl/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/pt/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/ro/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/ru/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/sk/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/sv/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/tr/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/uk/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/zh_CN/LC_MESSAGES/gnupg2.mo
+%%NLS%%usr/share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
+usr/share/man/man1/dirmngr-client.1.gz
+usr/share/man/man1/gpg-agent.1.gz
+usr/share/man/man1/gpg-card.1.gz
+usr/share/man/man1/gpg-check-pattern.1.gz
+usr/share/man/man1/gpg-connect-agent.1.gz
+usr/share/man/man1/gpg-preset-passphrase.1.gz
+usr/share/man/man1/gpg-wks-client.1.gz
+usr/share/man/man1/gpg-wks-server.1.gz
+usr/share/man/man1/gpg.1.gz
+usr/share/man/man1/gpg2.1.gz
+usr/share/man/man1/gpgconf.1.gz
+usr/share/man/man1/gpgparsemail.1.gz
+usr/share/man/man1/gpgsm.1.gz
+usr/share/man/man1/gpgtar.1.gz
+usr/share/man/man1/gpgv.1.gz
+usr/share/man/man1/gpgv2.1.gz
+usr/share/man/man1/scdaemon.1.gz
+usr/share/man/man1/watchgnupg.1.gz
+usr/share/man/man7/gnupg.7.gz
+usr/share/man/man7/gnupg2.7.gz
+usr/share/man/man8/addgnupghome.8.gz
+usr/share/man/man8/applygnupgdefaults.8.gz
+usr/share/man/man8/dirmngr.8.gz
+@dir %%ETCDIR%%
diff --git a/security/linux-rl9-libassuan/Makefile b/security/linux-rl9-libassuan/Makefile
new file mode 100644
index 000000000000..74312f3d982b
--- /dev/null
+++ b/security/linux-rl9-libassuan/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	libassuan
+PORTVERSION=	2.5.5
+DISTVERSIONSUFFIX=	-3.el9
+CATEGORIES=	security linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	IPC library used by GnuPG and gpgme (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://gnupg.org/related_software/libassuan/index.en.html
+
+LICENSE=	LGPL21+
+
+USES=		cpe linux:rl9
+CPE_VENDOR=	gnupg
+USE_LDCONFIG=	yes
+USE_LINUX=	libgpg-error
+USE_LINUX_RPM=	yes
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.mk>
diff --git a/security/linux-rl9-libassuan/distinfo b/security/linux-rl9-libassuan/distinfo
new file mode 100644
index 000000000000..ade67949732f
--- /dev/null
+++ b/security/linux-rl9-libassuan/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1688984808
+SHA256 (rocky/l/libassuan-2.5.5-3.el9.aarch64.rpm) = 895d6b549753d70000e5bdcbe39b24b794b6cdbb39a0eefc1c521a14096cdbf3
+SIZE (rocky/l/libassuan-2.5.5-3.el9.aarch64.rpm) = 67159
+SHA256 (rocky/l/libassuan-2.5.5-3.el9.x86_64.rpm) = 5d5e555c9c4dfbd293acdc0ae739b41e635a2239a2c41ce11aafedd1d1ed54f4
+SIZE (rocky/l/libassuan-2.5.5-3.el9.x86_64.rpm) = 68714
+SHA256 (rocky/l/libassuan-2.5.5-3.el9.src.rpm) = 9f2f27146feea71dfd0e6d809446271acf0843b89541ea505b1d266ecf93f2af
+SIZE (rocky/l/libassuan-2.5.5-3.el9.src.rpm) = 584211
diff --git a/security/linux-rl9-libassuan/pkg-plist.amd64 b/security/linux-rl9-libassuan/pkg-plist.amd64
new file mode 100644
index 000000000000..f1cac7169234
--- /dev/null
+++ b/security/linux-rl9-libassuan/pkg-plist.amd64
@@ -0,0 +1,8 @@
+usr/lib/.build-id/46/6a776c87cb3824287646623385b76822b883ef
+usr/lib64/libassuan.so.0
+usr/lib64/libassuan.so.0.8.5
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+usr/share/licenses/libassuan/COPYING
+usr/share/licenses/libassuan/COPYING.LIB