From 84fcd2d264a1c40b9a95c43468029213d8612f4d Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Fri, 15 Nov 2024 00:42:49 +0300 Subject: [PATCH] security/linux-rl9-trousers: add new port (+) Open-source TCG Software Stack Sponsored by: Future Crew, LLC --- Mk/Uses/linux.mk | 2 +- security/Makefile | 1 + security/linux-rl9-trousers/Makefile | 24 +++++++++++++++++++ security/linux-rl9-trousers/distinfo | 11 +++++++++ security/linux-rl9-trousers/pkg-plist.aarch64 | 13 ++++++++++ security/linux-rl9-trousers/pkg-plist.amd64 | 13 ++++++++++ 6 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 security/linux-rl9-trousers/Makefile create mode 100644 security/linux-rl9-trousers/distinfo create mode 100644 security/linux-rl9-trousers/pkg-plist.aarch64 create mode 100644 security/linux-rl9-trousers/pkg-plist.amd64 diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk index 3f3773838914..35779e065717 100644 --- a/Mk/Uses/linux.mk +++ b/Mk/Uses/linux.mk @@ -201,7 +201,7 @@ _linux_${linux_ARGS}_tcp_wrappers-libs= linux-${linux_ARGS}-tcp_wrappers-libs>0: _linux_${linux_ARGS}_tiff= linux-${linux_ARGS}-libtiff>0:graphics/linux-${linux_ARGS}-tiff _linux_c7_tk85= linux-c7-tk85>0:x11-toolkits/linux-c7-tk85 _linux_rl9_tk86= linux-rl9-tk86>0:x11-toolkits/linux-rl9-tk86 -_linux_c7_trousers= linux-c7-trousers>0:security/linux-c7-trousers +_linux_${linux_ARGS}_trousers= linux-${linux_ARGS}-trousers>0:security/linux-${linux_ARGS}-trousers _linux_c7_userspace-rcu= linux-c7-userspace-rcu>0:sysutils/linux-c7-userspace-rcu _linux_rl9_vulkan= linux-rl9-vulkan-loader>0:graphics/linux-rl9-vulkan _linux_${linux_ARGS}_wayland= linux-${linux_ARGS}-wayland>0:graphics/linux-${linux_ARGS}-wayland diff --git a/security/Makefile b/security/Makefile index fb675bd4ed7e..91b1c619527f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -357,6 +357,7 @@ SUBDIR += linux-rl9-nettle SUBDIR += linux-rl9-nss SUBDIR += linux-rl9-p11-kit + SUBDIR += linux-rl9-trousers SUBDIR += local-php-security-checker SUBDIR += logcheck SUBDIR += lua-argon2 diff --git a/security/linux-rl9-trousers/Makefile b/security/linux-rl9-trousers/Makefile new file mode 100644 index 000000000000..eed17d9b24dd --- /dev/null +++ b/security/linux-rl9-trousers/Makefile @@ -0,0 +1,24 @@ +PORTNAME= trousers +PORTVERSION= 0.3.15 +DISTVERSIONSUFFIX= -5.el9 +MASTER_SITES= EPEL9 +CATEGORIES= security linux + +MAINTAINER= emulation@FreeBSD.org +COMMENT= Open-source TCG Software Stack (Rocky Linux ${LINUX_DIST_VER}) +WWW= https://sourceforge.net/projects/trousers/ + +USES= cpe linux:rl9 +CPE_VENDOR= ${PORTNAME}_project +USE_LDCONFIG= yes +USE_LINUX_RPM= yes + +LIB_DISTNAMES= ${DISTNAME} \ + ${PORTNAME}-lib-${PORTVERSION}${DISTVERSIONSUFFIX} + +DESCR= ${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}/pkg-descr +DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX} + +OPTIONS_DEFINE= DOCS + +.include diff --git a/security/linux-rl9-trousers/distinfo b/security/linux-rl9-trousers/distinfo new file mode 100644 index 000000000000..e96289c20637 --- /dev/null +++ b/security/linux-rl9-trousers/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1731620118 +SHA256 (rocky/t/trousers-0.3.15-5.el9.aarch64.rpm) = 036725a7570801a4ec46da0ce9871660ebc2a9a7c43cabad3af54208a688d546 +SIZE (rocky/t/trousers-0.3.15-5.el9.aarch64.rpm) = 146498 +SHA256 (rocky/t/trousers-0.3.15-5.el9.x86_64.rpm) = 5ce349fcb89b8007e9e8a54bdf267869adc3911f6149c6f2e55219405a736e9a +SIZE (rocky/t/trousers-0.3.15-5.el9.x86_64.rpm) = 147899 +SHA256 (rocky/t/trousers-lib-0.3.15-5.el9.aarch64.rpm) = 50692b546e523ee416e91595d95a043987479687110146584706e16bace54e1c +SIZE (rocky/t/trousers-lib-0.3.15-5.el9.aarch64.rpm) = 167008 +SHA256 (rocky/t/trousers-lib-0.3.15-5.el9.x86_64.rpm) = f8f7b90acbe7e0016c7486d8684e8fede7ab11d63a5a49fb00e97aaaeff290f0 +SIZE (rocky/t/trousers-lib-0.3.15-5.el9.x86_64.rpm) = 169317 +SHA256 (rocky/t/trousers-0.3.15-5.el9.src.rpm) = 41cfe5b854997f995a5f4abad2c4fe2b7a9365c5c959d2c6cc40a724ccc46229 +SIZE (rocky/t/trousers-0.3.15-5.el9.src.rpm) = 4716060 diff --git a/security/linux-rl9-trousers/pkg-plist.aarch64 b/security/linux-rl9-trousers/pkg-plist.aarch64 new file mode 100644 index 000000000000..c78a91f8ceb1 --- /dev/null +++ b/security/linux-rl9-trousers/pkg-plist.aarch64 @@ -0,0 +1,13 @@ +etc/tcsd.conf +usr/lib/.build-id/c9/e185c7b4871c5967a6948aa8eeea9a88449dcb +usr/lib/.build-id/ef/0bd5ef17cc5a7923dc07c129c1e6573838637a +usr/lib/systemd/system/tcsd.service +usr/lib64/libtspi.so.1 +usr/lib64/libtspi.so.1.2.0 +usr/sbin/tcsd +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +usr/share/licenses/trousers-lib/LICENSE +usr/share/man/man5/tcsd.conf.5.gz +usr/share/man/man8/tcsd.8.gz +@dir var/lib/tpm diff --git a/security/linux-rl9-trousers/pkg-plist.amd64 b/security/linux-rl9-trousers/pkg-plist.amd64 new file mode 100644 index 000000000000..540bf2eb9113 --- /dev/null +++ b/security/linux-rl9-trousers/pkg-plist.amd64 @@ -0,0 +1,13 @@ +etc/tcsd.conf +usr/lib/.build-id/04/6c37af71d52d303d781eb4552cfc4e589337f0 +usr/lib/.build-id/ac/0e21f3845515722e75692e3204350340aa6504 +usr/lib/systemd/system/tcsd.service +usr/lib64/libtspi.so.1 +usr/lib64/libtspi.so.1.2.0 +usr/sbin/tcsd +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +usr/share/licenses/trousers-lib/LICENSE +usr/share/man/man5/tcsd.conf.5.gz +usr/share/man/man8/tcsd.8.gz +@dir var/lib/tpm