From 530a5a826feeb71085fb8a01927f4d775a0b131b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Nov 2024 03:02:55 +0000 Subject: gentoo auto-resync : 24:11:2024 - 03:02:54 --- app-crypt/Manifest.gz | Bin 25243 -> 25254 bytes app-crypt/acme-sh/Manifest | 4 +- app-crypt/acme-sh/acme-sh-3.0.9.ebuild | 54 --------------- app-crypt/acme-sh/acme-sh-3.1.0.ebuild | 54 +++++++++++++++ app-crypt/libscrypt/Manifest | 2 +- app-crypt/libscrypt/libscrypt-1.22-r2.ebuild | 2 +- app-crypt/signify/Manifest | 2 +- app-crypt/signify/signify-31.ebuild | 4 +- app-crypt/swtpm/Manifest | 3 + .../swtpm-0.10.0-build-sys-Remove-WError.patch | 13 ++++ app-crypt/swtpm/swtpm-0.10.0.ebuild | 74 +++++++++++++++++++++ 11 files changed, 151 insertions(+), 61 deletions(-) delete mode 100644 app-crypt/acme-sh/acme-sh-3.0.9.ebuild create mode 100644 app-crypt/acme-sh/acme-sh-3.1.0.ebuild create mode 100644 app-crypt/swtpm/files/swtpm-0.10.0-build-sys-Remove-WError.patch create mode 100644 app-crypt/swtpm/swtpm-0.10.0.ebuild (limited to 'app-crypt') diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz index 7974ad94fc1b..40852017232c 100644 Binary files a/app-crypt/Manifest.gz and b/app-crypt/Manifest.gz differ diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest index 58ee623ece05..075fa971b8d5 100644 --- a/app-crypt/acme-sh/Manifest +++ b/app-crypt/acme-sh/Manifest @@ -1,6 +1,6 @@ AUX 99acme-sh 62 BLAKE2B b9542b99b2e720e0930139f7dd56efc63e596156dca1649624f6f4c27a7d57555bb13deb3b5714aa06477e9ca79996b5f891c8a91ea808d853cc7e5d5655b0a0 SHA512 b7fc9402e3bea3ca846bdb82d6f21d1b7023bb2ace8d5ffd146959cd12e3270243fd22e3a7dde9b6cefae8f2cbca369b35d2da4ea9f1e60a2f61ae81612d8bc5 AUX acme.sh 63 BLAKE2B 50c3284c0172ff0a0dc57fcfbaba57a6518d7c043b5d052f2710b28229b9b13313e7ca7c8b644ea273eb2f4991246631e70e6184fb5489005be12b77b8efa229 SHA512 7ec0764c86db5c68c42189a8af708e769189df201fdf017bd0d8d9e322ab71c2f422be382d170a1f4b876a1e5a6629eb55df0c564abfebab665e27e58660ff6e -DIST acme.sh-3.0.9.tar.gz 298025 BLAKE2B 166e311c63801cb6b4c8aade7afff63cba48ad74932c64b16a0ceb330176465548d9d99da5216b3c00146c59d37b48b24fb4c4bb1220bc5b7ea652d9000fddb1 SHA512 5f7431051de74ec1feca90d743233ddcec2a955e789e5237730498930c910d2a728c3f5e447a09f470a007ed9a4c90de329be58867d15a0fd13f6f18dca49bd0 -EBUILD acme-sh-3.0.9.ebuild 1243 BLAKE2B db82acf106c7a67f5bb4010bf7a3c66c8c1e9d04a3eab69f67f4e38e1c7cf4e73316d0aaf7273b4ff295e9ef6900bcf7b43a853e5aebb26e175901a2b1957a45 SHA512 8bf311915f6c4deced60b2e219f3da18050d083d35b78208dcd8556a35887e8a45c4873938a162d22abb54ec14705b44800e2744e60c265eed8fbf35a0137d0b +DIST acme.sh-3.1.0.tar.gz 301978 BLAKE2B 14a6af0bf62bce8088874229faef609804be74d63677d3f3d7f8404102204c5e04506c40cfc9029c154f8c7f67608bcf219b9bafec1d02f030d4238773762697 SHA512 b43579823ac6db85a2c36ab4aa049de199b072bfa096094f7cd424a3696e9a35a91532f9c0cf7cd664f17317e89e5776f17b274e4bf46d97f034ff31c363ffb6 +EBUILD acme-sh-3.1.0.ebuild 1243 BLAKE2B db82acf106c7a67f5bb4010bf7a3c66c8c1e9d04a3eab69f67f4e38e1c7cf4e73316d0aaf7273b4ff295e9ef6900bcf7b43a853e5aebb26e175901a2b1957a45 SHA512 8bf311915f6c4deced60b2e219f3da18050d083d35b78208dcd8556a35887e8a45c4873938a162d22abb54ec14705b44800e2744e60c265eed8fbf35a0137d0b EBUILD acme-sh-9999.ebuild 1125 BLAKE2B f12d96d5937e7369877dd27265f486c51d694b6d764d0e9ae3b85ce284e01d10e9e2715384409e1930a88d586d84a95db46bccd85e01a8b777e668f3a250b0fa SHA512 1c96737632ff0cbaa9b636d01134807e140c9122ce695fcf301df5ba55acf06c0ab2b5a04c103e1a6fb3cc1d3a5d72111cf3df955fa765c349d6f3a9edc8fbb3 MISC metadata.xml 677 BLAKE2B 783e74dfc78dc11568fe72316c5bd100d18fd5c90987d9c21386930f98713d6be5de74d395ed919a8dd7986f0bada50d16c24a670ba856318d103b186a514046 SHA512 6a34e252d900761bc12fe5b1f8d8b8277fded6685f8495a307de4906a19d797f2a4eb9b84676ae1f5f43720c092e3f3d081ec243dff19efa626d4d538974efc1 diff --git a/app-crypt/acme-sh/acme-sh-3.0.9.ebuild b/app-crypt/acme-sh/acme-sh-3.0.9.ebuild deleted file mode 100644 index 541a699d4997..000000000000 --- a/app-crypt/acme-sh/acme-sh-3.0.9.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-/.}" -MY_P="${MY_PN}-${PV}" - -inherit optfeature - -DESCRIPTION="A pure Unix shell script implementing ACME client protocol" -HOMEPAGE="https://github.com/acmesh-official/acme.sh" -SRC_URI="https://github.com/acmesh-official/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -IUSE="selinux" - -RDEPEND=" - dev-libs/openssl:0 - net-misc/curl - net-misc/socat - selinux? ( sec-policy/selinux-certbot ) -" - -src_install() { - newdoc deploy/README.md README-deploy.md - newdoc dnsapi/README.md README-dnsapi.md - rm {deploy,dnsapi}/README.md || die - einstalldocs - - exeinto /usr/share/acme.sh - doexe acme.sh - - insinto /usr/share/acme.sh - doins -r deploy dnsapi notify - - keepdir /etc/acme-sh - doenvd "${FILESDIR}"/99acme-sh - - insinto /etc/bash/bashrc.d - doins "${FILESDIR}"/acme.sh - - dosym ../share/acme.sh/acme.sh usr/bin/acme.sh -} - -pkg_postinst() { - optfeature_header "For webserver mode, install a supported web server:" - optfeature "using apache2 webserver mode" www-servers/apache - optfeature "using nginx webserver mode" www-servers/nginx -} diff --git a/app-crypt/acme-sh/acme-sh-3.1.0.ebuild b/app-crypt/acme-sh/acme-sh-3.1.0.ebuild new file mode 100644 index 000000000000..541a699d4997 --- /dev/null +++ b/app-crypt/acme-sh/acme-sh-3.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" + +inherit optfeature + +DESCRIPTION="A pure Unix shell script implementing ACME client protocol" +HOMEPAGE="https://github.com/acmesh-official/acme.sh" +SRC_URI="https://github.com/acmesh-official/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +IUSE="selinux" + +RDEPEND=" + dev-libs/openssl:0 + net-misc/curl + net-misc/socat + selinux? ( sec-policy/selinux-certbot ) +" + +src_install() { + newdoc deploy/README.md README-deploy.md + newdoc dnsapi/README.md README-dnsapi.md + rm {deploy,dnsapi}/README.md || die + einstalldocs + + exeinto /usr/share/acme.sh + doexe acme.sh + + insinto /usr/share/acme.sh + doins -r deploy dnsapi notify + + keepdir /etc/acme-sh + doenvd "${FILESDIR}"/99acme-sh + + insinto /etc/bash/bashrc.d + doins "${FILESDIR}"/acme.sh + + dosym ../share/acme.sh/acme.sh usr/bin/acme.sh +} + +pkg_postinst() { + optfeature_header "For webserver mode, install a supported web server:" + optfeature "using apache2 webserver mode" www-servers/apache + optfeature "using nginx webserver mode" www-servers/nginx +} diff --git a/app-crypt/libscrypt/Manifest b/app-crypt/libscrypt/Manifest index 49421042d680..a3b8e5748159 100644 --- a/app-crypt/libscrypt/Manifest +++ b/app-crypt/libscrypt/Manifest @@ -1,6 +1,6 @@ AUX libscrypt-1.22-no-clobber-fortify-source.patch 438 BLAKE2B e5089a6532f054447cd5161a8b7dbdfb32a432527b7702ce265d8c1bac76b8549d6adfcc6157e890bde4e0c9551d78f2d0aff24ea7ab989423a3716e65fcb334 SHA512 cbb9c1d6608c562c298abe5989d31b6b49f63e4640e271b93031d35fd749427182bafae64a75b6effc4e7143ae9f2867f3772090ec503f7c8073a3c10b53949f DIST libscrypt-1.22.tar.gz 19495 BLAKE2B 2c04b91dc48e807223a3433739deb31186efc1b4066cb57e3db835b68de4d08b9586d0a686d5f0f4c119582e82823fbf0556944c190d586664cc4d6f014ad5ab SHA512 3c01fd76441bdf7c90fa17534bfdda9e279469676359172eda7f7683ca65a7aae576a87d07125ce38598ef3fd2755547d53417132b9159a2b211898f70c80f51 EBUILD libscrypt-1.22-r1.ebuild 714 BLAKE2B 2059031221c9ace3a5fcb8e3f4632869078b1fbeba2101fcb68816434f43f1856edc073973ad3691aa17998c14c96ff84a29a794491fb60734c08004a2648a5b SHA512 d432ffdf0f3da3105c21de0de925169d60faf4af8ca760c2415b123241434758b7a47bd80b42e1bac53130386845401f5ffd88250786beb3926eb861f05999ea -EBUILD libscrypt-1.22-r2.ebuild 817 BLAKE2B af3173c41f49d8eb5d608edea3b599bbbfcbff89a32b2da643bc2db760d572400eef81cedc6971d694ce1577c7dfe880ec38537dd980f8dc864584f2da8c7f35 SHA512 d3f77a9ae6cbc14bd2984f75aca51aec6a9a1677e918f084f3e8b7028aed0202f33f0d1fa571ea20c9d895141f8c6468018c62015e9588432cf889213cb628ed +EBUILD libscrypt-1.22-r2.ebuild 811 BLAKE2B c0df7d56b052012b4ef3cfafc44a429e58d8e40acd5db15ed7964d0206369c6476861fd8fdbfa3df31c61dc3be2716b6e6934f3f041038c16d6cec6ef1cade24 SHA512 c1b2dddb251bd4511970cf332e7905ec6389152546b3913cdef1a410e4782d6772f2f018a680dca52c954da07566dfa14e2ab1ceabf6ea93ea61806bf985f997 EBUILD libscrypt-1.22.ebuild 651 BLAKE2B 5450158a061a864f203f10da091136f0aaaab11eecb3fe6f0c9b94cecfda50e0549ad88b6f498309ed4e16d813822e6a326655964a2b965e44e3712c63bcd45a SHA512 8fd7aa25a3662c4fe46a03641636d5b1fc5afd1f81f533ea77ace70880e4c1ac3329d21b0ef452256a3fc75bd387310a832fa79caf96f38e2d9dce5a7f11fa6b MISC metadata.xml 256 BLAKE2B 0583a0f48ddab7dd1ff43587374095c077c0d5afc7134fda41a688d537250f7b9942cf538518c890f3cb175c8c8f7dd170bc3a54ff717129ac16c2531bd48d56 SHA512 db3da96ac2e1680073a199ced5f81dd8b9f17954fef1cfd5b52a626f90a02024f7fcb9eaf4433194d0b6596c22553d5aec1695234a23f3a9d6fcb3e12c6c128f diff --git a/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild b/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild index c01490457249..eadaa42872f7 100644 --- a/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild +++ b/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/technion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv sparc x86" PATCHES=( "${FILESDIR}"/${PN}-1.22-no-clobber-fortify-source.patch diff --git a/app-crypt/signify/Manifest b/app-crypt/signify/Manifest index f1a984c63102..0fb556f01d87 100644 --- a/app-crypt/signify/Manifest +++ b/app-crypt/signify/Manifest @@ -2,5 +2,5 @@ AUX signify-30-man_compress.patch 576 BLAKE2B b6c82f0737dcfd569bc781d84eaecad2c0 AUX signify-31-fix-build-clang-16.patch 848 BLAKE2B 5170271f72adc4bb3ab4e8bd90802976334956a966a3a1c1bf478ffd94b027f0d174969972e76400e9e9c7a9236172df6986e1552fcb3ccd284c7f6eab401e87 SHA512 f3f830b158aeea1ebecaab6cd4aee0e1f9d8ff2f3ff061af2a7af4415dfd7f58121a8ea0017c1fe054b87e2c7cfd85167683ed99c907a73a14b82df769c9f8b6 DIST signify-31.sha.sig 246 BLAKE2B bb2dc91aeaa6dde10a1cc43f26385479509ade9d02ea6839b3305ae51623f60c281ca881097b66839b6e3297bdf25d4b2daa1e49b82ea0cdfbf628c7e21f7f28 SHA512 c83453a81382b8841054c749fdaef8d122edc9a96a0a92cead8f7141dcb57cfe18770e7777e7dcd1908ddc7d4c747088d5979537a3484b0859ce8d530db6d65c DIST signify-31.tar.xz 83480 BLAKE2B 090d0b326d549cd89f6f8fd86063455670d1d3915a8ab31ddc732cabb0b72b6ba8e00b3354b61369bde7caeec67eef41c012be66dd2e3212112f9a97cc63afbf SHA512 f39597ea278a7eb10b786909752fde59e16405f0bc76c9906f8014e9e7f6801b4733479eec765fb960b6062359954caf54a3460ff67258a9cff93fa978951962 -EBUILD signify-31.ebuild 1242 BLAKE2B 5030194e56dcacdb1b61ee57bd442e00b93f0c3ae422a10b03aa51edc16725e502f81d6ae4d5d205c33e3fc80389ee2f7c44c1da0428b885c89362693dd3d8c1 SHA512 c99408194b8d71434a92997dd19012ca0d1f50e37b280a502bc3a8343ccfd6b01b1bf69974db9d968da986ca46b591c9a84fc34c2dc0869abfacdb107e8ccf62 +EBUILD signify-31.ebuild 1241 BLAKE2B 528246279edce71a1206aa1754b72117c7ab89583365cc325148059cb82ad4df31b0ae7828955bab2e974a9fdf3d0040ed06d129fc0e96fe41da517ced577aff SHA512 d3012441a3b410c5aea50a490c30125caaae5547987105450308a7da8e13d04a9e60c9ce6b6267a59bd265764e3b5aaf0ade9f0c8ae583df426aca507175d821 MISC metadata.xml 437 BLAKE2B 75f7f8a4b2475b052a41134e41ab274386c5f59847bad67ad3d8bd447984a2b42a119bbc60b13df0ebed9988f98ea5382c4aff4fa093cf44c7c8d2907d0db26a SHA512 ce3b623779a2b51556bb440df1b08f386f9fcdca641d1c0b06b3c2f0d1e98649ca8b45d8b32406f7b2b53a6f781c58121da09802c1fedb76e0c604c0a3627f44 diff --git a/app-crypt/signify/signify-31.ebuild b/app-crypt/signify/signify-31.ebuild index d0d154d517a3..f7870959515c 100644 --- a/app-crypt/signify/signify-31.ebuild +++ b/app-crypt/signify/signify-31.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD-1" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/libbsd-0.7 diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index a09a2c173f19..c98c39dc1d1b 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -1,10 +1,13 @@ +AUX swtpm-0.10.0-build-sys-Remove-WError.patch 458 BLAKE2B 70ac46cde8c995a8569749c2878d2ca0f4d6edf66a4668c7943d5e46f193767b9ff13a93284c255296351a08038c1444b2ad829d7389665aae2f2cdf5d866c99 SHA512 d2766c1c78f3b0fd45e574b963b6b49c53ffcf03788962bdf4ed992574bad9ccdf9eaaa7fa5ec70236daca8a4f4edade63267990df1b93dae8ffae345bda3506 AUX swtpm-0.5.0-build-sys-Remove-WError.patch 431 BLAKE2B 8b0d63dcab783a322c72aab6b8f7cd3de53509716d48fd2f30d136279bb2a52a6a942f43a2c87e6f66db9f3470f0486255db8056da8c49b2b788048af62aa3ba SHA512 981a1fe5bf25c7a820dc5913b0384bc48b0bc50cd84e04921f0f64a4be6dd6b2a815d4cba39370b2e62c4473f2edbdc6bba7b09ce74b9e441f1b8df3166eb959 AUX swtpm-0.6.0-fix-localca-path.patch 1321 BLAKE2B 06d9e7409dda7554bd819a822e2ec4e3e1b8b0a9a41bcb4c45705e082b887d4739d7bd23481dd0c528f957b78e1c84d0e33a0e8b211ee2266018c79014b83afa SHA512 c90c438ad805db4310b2fd2b8c985f86c30e4010f08be9cae2de65d8ba4c4c65df8f80eb62636b30b2cc1d5df3ebc4a225bc32f77434d603aa71ee917560d5c8 AUX swtpm-0.7.2-Conditionalize-test-dependencies.patch 1065 BLAKE2B 359cf6e692691317255d8c456abee7fe59a5370bf94f0bdd37ee6bb16ceb80340939f3f0a348398c6c93177690f4e2dc141d2b6c9f12319586c5a850dec2cd5c SHA512 8a2731b9d9c49fa2a8ea2732b20dbbd7264b1c93b00848e67f83e5d54f8ed150e97ff940422ccf46de21ae8d81fbf951314b3908ef0377d8548adebc4872474f AUX swtpm-0.8.2-slibtool.patch 779 BLAKE2B 4403ddecb4d1b2f0f40c3f4511ccc51eb0345d8570a5b36ef125c8c8781d8bceee6741b08f77057ca9eb222cfe31045748e722d837c011a393512cd539c1f7e7 SHA512 37bdaf16950b3b94af4ea8d8f042919a550fae1c9a8519eac36acc1fa289daa5677ba227b5e5a224a98b4f6859335a3f4e10de293c8283ac87474a84cef49f9a +DIST swtpm-0.10.0.tar.gz 414698 BLAKE2B 62ebc5638e7c0b6c2be42d8da5369dfce708339882b582b154aa46d5ae6ed4a59f4e6cc31a05b062190b98a461caed82281bf64b05e8941d3923d200cfde501c SHA512 6f1848b0514799417582c1a5bedf9b7110e3627ab14f02ea193ad76ce8a188eba596494f410405c5f7226e2daf7d9ee889983a2265285839e72de12e6368180d DIST swtpm-0.8.1.tar.gz 364169 BLAKE2B 4b364ed581ea97d78c5c6248870503b1612d7d164b05b76c1f02644aade6fd09f204396f0a2d0db4e0ecec2792dc512f7c4393c44bf7ce447a3a7fbb8754594f SHA512 07276519b0e20c9c4167ce78e789d2072eb90172ed9bcba2a11eef46ee03a77860f7a2218f4dc013a2ddb8471079e3cbe43f8ab02174bd704a78aea8eee3d2fc DIST swtpm-0.8.2.tar.gz 364432 BLAKE2B 1ffa6feed88a67a2eeea1fca1c034f6513347173d59ae0c0654696faa1e791529e7fa044c478e5fb7e016117ce5f3151b875014d85eac528e4b6d92d5cf9017b SHA512 3b63116b1ed56087e05b0b697462720a10fe384ea2b8ec7115b549df8f557f6a9cf4de8e7d65b8061a1c85e54e015e0249bfbb613d35c1b64453a98d23ce334f DIST swtpm-0.9.0.tar.gz 370942 BLAKE2B bed63851dfdb94f463bbac962044114f75abd36f6558f173fd67be608f50c8954c6038d33bb6e3d2e88427238c7c06048beae23b84b2a1e186c0de98a9bd5ad8 SHA512 4f1723679b85218e80ea6aacdffa687e541ee309ddab9bcb8d8e5aa0b461ee431c880f2e300f1dcae112646f3636593005a342ee0cb762ec115aa599369e111c +EBUILD swtpm-0.10.0.ebuild 1616 BLAKE2B a11fe1855918ccfcb97c1234b0ed46ea0058a03c3418ad55468424d05e475df20b731dc1b6bf65a8e65e0ca077b2512eac65ed681c16282cb98e75b8114e8724 SHA512 06ce80f839576120aa7d46a760e5ff0bd5373cefadeae459b621308aec93c188c2a7f842a63bfd3335d64be27784f652e9b5dfc73539383688072db57d3baf1a EBUILD swtpm-0.8.1-r2.ebuild 1602 BLAKE2B b51ae100307f16be7042c8215121b12a2724c0d370b4261ca9cb2fa3ee1533901b40f7839916fca557f91c0c048154184b9012bd59b2d3997d1c288ce5b0986c SHA512 6c1ee351c2d46a7dcfc368efead75ead25471aa1fdd214827df0fa156259d1b12b348846aee6e87ec1f0c8015eb279967760eedb10f27b7ad1cf43c341043d64 EBUILD swtpm-0.8.2.ebuild 1584 BLAKE2B 56ef23842f8f8db53af77801012e0774cdd9b491d5253c4c763247ea219bd2b9c3888be484b1d8d96b0e6b1f1a43c076e25da61721896be278f57f7433714089 SHA512 dd7e4b1940abe4eb2f0e327b92f9405be5bc38701e3fbb757dc535b12c537d7d6542d772a7b30c517ec3c212971501704d19a93f92f07d59ba94521f95f8bf27 EBUILD swtpm-0.9.0.ebuild 1602 BLAKE2B 2370b7d3776c44a308fe6b15a87c4632b800a233974e951f7a6e254784c73921d141ac90cbfd84b925ab5f43ca13e0feceb113f7186585b52b5f9d24270c4108 SHA512 5dcf477bf01109b2086628ec4beb030eb37cf046051cdd31052708b9ef62ebfc124a3e5828c9ce2bb6cac9617106e6bcf0b7c55b7744b0cbfc826da0c294be61 diff --git a/app-crypt/swtpm/files/swtpm-0.10.0-build-sys-Remove-WError.patch b/app-crypt/swtpm/files/swtpm-0.10.0-build-sys-Remove-WError.patch new file mode 100644 index 000000000000..214f107b690d --- /dev/null +++ b/app-crypt/swtpm/files/swtpm-0.10.0-build-sys-Remove-WError.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index 76f3501..f3a4c6f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -542,7 +542,7 @@ AC_SUBST([TSS_USER]) + AC_SUBST([TSS_GROUP]) + + CFLAGS="$CFLAGS -Wreturn-type -Wsign-compare -Wswitch-enum" +-CFLAGS="$CFLAGS -Wmissing-prototypes -Wall -Werror" ++CFLAGS="$CFLAGS -Wmissing-prototypes -Wall" + CFLAGS="$CFLAGS -Wformat -Wformat-security -Wshadow" + CFLAGS="$CFLAGS $GNUTLS_CFLAGS $COVERAGE_CFLAGS $SANITIZER_CFLAGS" + diff --git a/app-crypt/swtpm/swtpm-0.10.0.ebuild b/app-crypt/swtpm/swtpm-0.10.0.ebuild new file mode 100644 index 000000000000..eeeaaf2f76aa --- /dev/null +++ b/app-crypt/swtpm/swtpm-0.10.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit autotools python-any-r1 + +DESCRIPTION="Libtpms-based TPM emulator" +HOMEPAGE="https://github.com/stefanberger/swtpm" +SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="fuse seccomp test" +RESTRICT="!test? ( test )" + +# net-libs/gnutls[pkcs11,tools] is required otherwsie it not possible to +# provision new vTPMs. swtpm_cert spawns certttool, and upstream expects +# pkcs11 in gnutls: https://github.com/stefanberger/swtpm/issues/477. + +RDEPEND="fuse? ( + dev-libs/glib:2 + sys-fs/fuse:0 + ) + seccomp? ( sys-libs/libseccomp ) + acct-group/tss + acct-user/tss + dev-libs/gmp:= + dev-libs/openssl:= + dev-libs/json-glib + >=dev-libs/libtpms-0.10.0 + dev-libs/libtasn1:= + net-libs/gnutls:=[pkcs11,tools] +" + +DEPEND="${RDEPEND} + test? ( + net-misc/socat + dev-tcltk/expect + )" + +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch" + "${FILESDIR}/${PN}-0.10.0-build-sys-Remove-WError.patch" + "${FILESDIR}/${PN}-0.8.2-slibtool.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-openssl \ + --with-gnutls \ + --without-selinux \ + $(use_with fuse cuse) \ + $(use_with seccomp) \ + $(use_enable test tests) +} + +src_install() { + default + fowners -R tss:root /var/lib/swtpm-localca + fperms 750 /var/lib/swtpm-localca + keepdir /var/lib/swtpm-localca + find "${D}" -name '*.la' -delete || die +} -- cgit v1.2.3