diff options
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/Manifest.gz | bin | 28269 -> 28276 bytes | |||
-rw-r--r-- | app-crypt/aescrypt/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/aescrypt/aescrypt-3.14.ebuild | 5 | ||||
-rw-r--r-- | app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch | 20 | ||||
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2.ebuild | 46 | ||||
-rw-r--r-- | app-crypt/libmd/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/libmd/libmd-1.0.3-r1.ebuild | 23 | ||||
-rw-r--r-- | app-crypt/libmd/libmd-9999.ebuild | 14 | ||||
-rw-r--r-- | app-crypt/qca/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/qca/qca-2.3.3.ebuild | 2 | ||||
-rw-r--r-- | app-crypt/rhash/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/rhash/rhash-1.4.2.ebuild (renamed from app-crypt/rhash/rhash-1.4.0.ebuild) | 2 | ||||
-rw-r--r-- | app-crypt/swtpm/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/swtpm/swtpm-0.6.0-r1.ebuild | 2 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/files/tpm2-tools-5.1.1-fix-tpm-checkquote.patch | 34 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild | 70 | ||||
-rw-r--r-- | app-crypt/tpm2-tools/tpm2-tools-5.1.1.ebuild | 41 |
19 files changed, 170 insertions, 107 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz Binary files differindex 5a11171381c4..ed5f018956e0 100644 --- a/app-crypt/Manifest.gz +++ b/app-crypt/Manifest.gz diff --git a/app-crypt/aescrypt/Manifest b/app-crypt/aescrypt/Manifest index bebc7430d9c0..3e56c15826ad 100644 --- a/app-crypt/aescrypt/Manifest +++ b/app-crypt/aescrypt/Manifest @@ -1,4 +1,5 @@ AUX aescrypt-3.14-iconv.patch 1104 BLAKE2B a6b9a8f41e86c9ac6fe16427752ae20da7177e5c1aec9f42373f94606954732632d84dc06a1425508115b3fc94f54f895c671eca691442c4d3d3b9163a27934e SHA512 fb3dd6a459e1378c44ffcd6a5b109f4bd178ee2e3190eed334bbfa4387fb11c4d070105598b4f0b989428f00a28f2064cf5f5064b71c49db269f4f4b55283960 +AUX aescrypt-3.14-ldflags.patch 632 BLAKE2B 76f47200abc65e747a60e28d5870296d0bbf0292ed34143afc0e4a9afd9ce75225f321dba92c71bf67fd9fe95b72d572080e97a6e1f6bca50604995634584351 SHA512 8ad8c9454b3865f8fcbab9463713bd7e6638a09df792a5d001e0fc2d0d11cc1f50235206d363300e977f6ce6f512c3911e02c9b706ac85069e1536c2734b73ac DIST aescrypt-3.14.tgz 38742 BLAKE2B 7122cb0246e28fd1301c58c13145c47ea3e20c8af61efc4115eec8a7ade720ecf2093f2e0156c05eb6cbb6e403bbeb3624745609f0ec1f2fd477edbd876e3373 SHA512 ac06604e2121f0c0f098e87d43c493b7285c58ac7419c284e6a93218dfa7381d4ca69ee775842fde89226092e05978d662eddefe734afe38f67b28df68d87b68 -EBUILD aescrypt-3.14.ebuild 1605 BLAKE2B 1464d3609f29b7d468b5419691d917fa52847cbb734a7eaf771a2ccb9cf47111445e4080855edc5e2b95d828445003eacad75abc0d5ca8acf88a385149a1ce31 SHA512 0743249ceede209664999891de2f5652970d08d7b7bfea2fb703555ea036a0d71c36fc2c7c0f661e9bfe767ccd11716971dc8f66b841963971a201411b461189 +EBUILD aescrypt-3.14.ebuild 1640 BLAKE2B 0a93b28537ca729fef75787a17549d1b6e9cfa4b6ac5458f336916e7013ece2deb3a47768b5cf794043d499e9e5047e8265e5bb4303c28651a3e4e8412fd0f11 SHA512 986a09e671d1eb8aa559728bbcb04f6edf158999d771b48753bdbda58165c879258acb36c11779522daca63eff83fa1593764e6f4b5fad4072ca7cb434d4bfc4 MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/app-crypt/aescrypt/aescrypt-3.14.ebuild b/app-crypt/aescrypt/aescrypt-3.14.ebuild index c40e124664a5..51a5d8403d18 100644 --- a/app-crypt/aescrypt/aescrypt-3.14.ebuild +++ b/app-crypt/aescrypt/aescrypt-3.14.ebuild @@ -18,7 +18,10 @@ RDEPEND="X? ( ) " -PATCHES=( "${FILESDIR}/${P}-iconv.patch" ) +PATCHES=( + "${FILESDIR}/${P}-iconv.patch" + "${FILESDIR}/${P}-ldflags.patch" +) src_prepare() { xdg_src_prepare diff --git a/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch b/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch new file mode 100644 index 000000000000..757f0e4e7fcb --- /dev/null +++ b/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch @@ -0,0 +1,20 @@ +diff -Naru a/src/Makefile b/src/Makefile +--- a/src/Makefile 2021-07-14 09:25:15.509797042 +0200 ++++ b/src/Makefile 2021-07-14 09:25:46.689797121 +0200 +@@ -27,13 +27,13 @@ + all: aescrypt aescrypt_keygen + + aescrypt: $(AESCRYPT_OBJS) +- $(CC) $(CFLAGS) $(LIBS) -o $@ $(AESCRYPT_OBJS) ++ $(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $(AESCRYPT_OBJS) + + aescrypt_keygen: $(KEYGEN_OBJS) +- $(CC) $(CFLAGS) $(LIBS) -o $@ $(KEYGEN_OBJS) ++ $(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $(KEYGEN_OBJS) + + %.o: %.c %.h +- $(CC) $(CFLAGS) -c $*.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -c $*.c + + install: aescrypt + install -o root -g root -m 755 aescrypt /usr/bin diff --git a/app-crypt/gnupg-pkcs11-scd/Manifest b/app-crypt/gnupg-pkcs11-scd/Manifest index 2b63a6c9a623..64682632f14b 100644 --- a/app-crypt/gnupg-pkcs11-scd/Manifest +++ b/app-crypt/gnupg-pkcs11-scd/Manifest @@ -2,5 +2,4 @@ AUX gnupg-pkcs11-scd-proxy.confd 38 BLAKE2B 56951cac6c364a75191cbcf5b074e537bf97 AUX gnupg-pkcs11-scd-proxy.initd 716 BLAKE2B 05f2057b6a2bc1824eef62139a70b193152bdf9b92c97244d5574d81d010a19978b2905f952539f0eded8b64e045053c7b0995aa2594dbcbee3eb8e44b149cd5 SHA512 b1719720150d7380c96e987bfa0f7932bdd30aa9462f9c11d9ac06ed58efbb0ef8c60df27b50dceed812a238ee01007abccd99edf7dbea0efcf0de2d35d032bf DIST gnupg-pkcs11-scd-0.9.2.tar.bz2 147337 BLAKE2B 52784721bd91929c9d6efdae599893f5425d02e5621ded69d5bc2b5dfa5dd56ca6e0989d99879a2de245e53ba7add3fdacd58fb3b1200135b0a0e618163ade2d SHA512 6afb9f0c50976636df611a0204edb0ec75aa194ba332314e3c2d7228ecf798e5f79923202f8f189b1e4aefa236a46165a5e3f0e0d98320dc4fac2bd9ac38249e EBUILD gnupg-pkcs11-scd-0.9.2-r1.ebuild 983 BLAKE2B a3e470da5e40017e38dda4f4033cb425717a4c45fc44967754935daeea8c2995b95be6cfc1cf7274e487d3caf4bf2150660e2bd45420ed198700cb6074a41629 SHA512 90c24f353f117428e2507d875173b98fabd4ae7fe056ba39f717b80ca0691992003427bed926632e118d5a036c09c287e4f16146980e1796361d18a6e618b10c -EBUILD gnupg-pkcs11-scd-0.9.2.ebuild 1042 BLAKE2B b45b0a1edb07670ecd2d3d6ed2b94fac38188f98d9b013d347eea8a5bc2e1e799c4500c93ab9f5362514a08d2aa2578f7fdfa828e91e37fb9228c81969700b72 SHA512 1e6dfc071b27e67fed25d50ead332140db94443efe842cfa359cdd6e58eb3e847bc85ade3e25cd72e16d29e38b35faa4b217b87413c4ad08361aad91fd222623 MISC metadata.xml 387 BLAKE2B b1d4e542415419708bf38f73f9b5c945e008bc8a8f5f022702a6d2a757e7608c87ca91a811c82e044ce6321685ad0734230a1e5bac74b5abe9c1040f48a2539c SHA512 a374050bc876f9cdf983c80b07e24b4cc5a4fbbcebd88aff1e353d287187c6099ec81867ca39a0495bc777b3c80d3d855b4ca2391757308de8adfd269f201576 diff --git a/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2.ebuild b/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2.ebuild deleted file mode 100644 index 5c5f9dd439b7..000000000000 --- a/app-crypt/gnupg-pkcs11-scd/gnupg-pkcs11-scd-0.9.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit user - -DESCRIPTION="PKCS#11 support for GnuPG" -HOMEPAGE="http://gnupg-pkcs11.sourceforge.net" -SRC_URI="https://github.com/alonbl/${PN}/releases/download/${P}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="proxy" - -RDEPEND=" - dev-libs/openssl:0= - dev-libs/libassuan:= - >=dev-libs/libgcrypt-1.2.2:= - >=dev-libs/libgpg-error-1.3:= - >=dev-libs/pkcs11-helper-1.02:=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -pkg_setup() { - if use proxy; then - enewgroup gnupg-pkcs11 - enewgroup gnupg-pkcs11-scd-proxy - enewuser gnupg-pkcs11-scd-proxy -1 -1 / gnupg-pkcs11-scd-proxy,gnupg-pkcs11 - fi -} - -src_configure() { - econf \ - $(use_enable proxy) \ - --with-proxy-socket=/run/gnupg-pkcs11-scd-proxy/cmd -} - -src_install() { - default - if use proxy; then - newinitd "${FILESDIR}/gnupg-pkcs11-scd-proxy.initd" gnupg-pkcs11-scd-proxy - newconfd "${FILESDIR}/gnupg-pkcs11-scd-proxy.confd" gnupg-pkcs11-scd-proxy - fi -} diff --git a/app-crypt/libmd/Manifest b/app-crypt/libmd/Manifest index c04accb5a12a..fd066b87f712 100644 --- a/app-crypt/libmd/Manifest +++ b/app-crypt/libmd/Manifest @@ -1,4 +1,5 @@ DIST libmd-1.0.3.tar.xz 258584 BLAKE2B 35b732800a4b0a7b8d0a88eeff5e7e80fe55ab5ed05b7a7a1ffe866e156cc6dc6daca95f865a56297857b10b1bdfc9815b5bf0b198e8284f217498265c08fcc9 SHA512 f4b5a86bea7b9fac9f7f173032ee436d1e7141f760c1a114a785d31644edbf6802fe8193cc4cf3b5c66d38963be919c05055780bdf6bf5a47927690490ff5966 +EBUILD libmd-1.0.3-r1.ebuild 623 BLAKE2B 4dda188f2893c042a22b6bca8112380ffc1cc601dda51b9f5b4fd49b693cc6f0ff6033c05444cb64c42a08c061f49e1b0cb13d34781dad0e0c7ab978b428feec SHA512 ca0cc1694628f2e3d157f970496b7f3ed856e328cc93841d59e494b16a613beeadaf44c85c4f93022993ce26ad1cfec62685a31dc3d77d2613de8ae7de786d82 EBUILD libmd-1.0.3.ebuild 563 BLAKE2B 0a43166defe23d160046741dd6811ccb897b4a27453c141dd854ce93b7134dc111bb0db9d4ab85592c0fc78e398fdf74dde2598e11092998a87f5557c033dcac SHA512 0b7b49b623b67ad57ef8f4eba25982f70eef5b378b03612a8cd4d9fdd566e1f618e81eb78ca06d010e7101bfdccbdf543bccaf460fc13149cd72f6aeb3e54ef7 -EBUILD libmd-9999.ebuild 523 BLAKE2B e512f27bd0203585b0e2f3eb11c6b38ea853949bdd5dfca7b2f744650b11a18994089bd847fd6a73c5a909ad7f7a9043c2421abaa811a7cf83ea9e4b5ba3ebad SHA512 0ff23822acfdf09f4ce1fa90184c64b58154fc0ab9d713424d32b120bc2670d63865b3be9c831c34c45a5afa308db9c5f5dc12753e9a4a7ff47b14d28eb0fe14 +EBUILD libmd-9999.ebuild 567 BLAKE2B c31c8d0780cd63516fae57497f80340712547fe78d17e16ad8d1c1f7320681ef914d0ffefc459593b2de6e0db054860296c72060bea33a4ef47de42dc3da8a14 SHA512 82345337a69a40c8f7199a3be295b18e530be415c712af1259b4e110f7cc80d50705559ad92ce0b7c001c8f6f95ad7d5fae3d09b3ec527a1b860e8577d078ed6 MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-crypt/libmd/libmd-1.0.3-r1.ebuild b/app-crypt/libmd/libmd-1.0.3-r1.ebuild new file mode 100644 index 000000000000..eedd72789dfb --- /dev/null +++ b/app-crypt/libmd/libmd-1.0.3-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +DESCRIPTION="Message Digest functions from BSD systems" +HOMEPAGE="https://www.hadrons.org/software/libmd/" +SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz" + +LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf +} + +multilib_src_install() { + default + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/app-crypt/libmd/libmd-9999.ebuild b/app-crypt/libmd/libmd-9999.ebuild index 7ce508a893c1..b28c93edaff6 100644 --- a/app-crypt/libmd/libmd-9999.ebuild +++ b/app-crypt/libmd/libmd-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit autotools git-r3 +inherit autotools multilib-minimal git-r3 DESCRIPTION="Message Digest functions from BSD systems" HOMEPAGE="https://www.hadrons.org/software/libmd/" @@ -14,16 +14,14 @@ SLOT="0" src_prepare() { default - eautoreconf } -src_configure() { - econf --disable-static +multilib_src_configure() { + ECONF_SOURCE="${S}" econf } -src_install() { +multilib_src_install() { default - - find "${ED}" -name '*.la' -delete || die + find "${ED}" -type f -name "*.la" -delete || die } diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest index 2941745cc4bd..75b3681a9140 100644 --- a/app-crypt/qca/Manifest +++ b/app-crypt/qca/Manifest @@ -4,5 +4,5 @@ AUX qca-disable-pgp-test.patch 446 BLAKE2B a98d5951d7b89c65787d7d586a5504949c512 DIST qca-2.3.2.tar.xz 735500 BLAKE2B 559b27c48c756f2b4f4f206d2157c90ae4856610f1539b4162a2bffe7fffe19b5c768d3d3f9d0486d2098fb403eb64372515815f49fd428d22dfc0405d99e435 SHA512 da6415a097c99b878f45730c1dd1e0bfc7f96858ad7018918ac7c2ae2eca830cb73e131173b1018ee4caa6c3a504b80c8ad28f8f9448c2fd1593161c2ac8aad4 DIST qca-2.3.3.tar.xz 736456 BLAKE2B f0812fd33bd19293c8034e48bcf214d2d70dc1397860779c2c145fe841365384a8eb6bad9859520d32104010acb0cefb97e3a974b9852a37ca8039d52d9dbd03 SHA512 9a262350502daa1dd10802a7a24f0e4712d87d4ddcf752452a51caa8694a30835672f54f8e600aa8dc4afdac9ef073641deed52a24423e304d18ad2b83deeca6 EBUILD qca-2.3.2.ebuild 1995 BLAKE2B f054015be5f10231bd5c491412d2abb0b9ad1c94158e88cfd8bd6db6ef6128428822c03af21c189f1df04cfa8833d331a8174fa9804c1b0b560d3d0b6e77d92d SHA512 ae7417c07673b4755651236964ceea2d5bc4ef69ad1ff78affbeaabb357caaafb0f4400ea41ed428de380111760ab46e0611e852e883406862cd878fb77c3f10 -EBUILD qca-2.3.3.ebuild 1843 BLAKE2B 698e16f4b33fb33e713eb8f4effb4e7018728946404d382edaab67ee47e51f3e42dcd0e7c900d0ad36038233ceb62e7e728776bf39d365f3ac2986e45da3a878 SHA512 09ccb227109a19da4deb6bcea01e4e04919d904b5f99ea835403c1d3caf0971f1f64bd7c67cc98f80e92ee02522f3cd66ad76af5ff2407f448368b254ac1354e +EBUILD qca-2.3.3.ebuild 1841 BLAKE2B f7a05fe8034c4a51a21d8807e30a8648af7f6bb40c3e861a949f30bc149ca3b64c81ba209e9d16888d0e3f8a812a3838dfe41197863bb6dda40ea97bc4c4cf60 SHA512 8a945d877abda91ca1b9594b4288cfaf452ed57ae79bf812ec3dd658f6bee47a07dd9ab39ea436326a10f12386f8c34b3ce7b9fe7cf8da21a2a7b80396ce0bec MISC metadata.xml 745 BLAKE2B ff8e25b082d3c642fce099df1a218a4936bdc862a96fd237303d040c477544cf6368d23cc5de414d95f021e9c6ec475879225ab201f7c6d6711c04153ac53140 SHA512 6b82494b8dfe0d36da9818a6dcf775252dbb7051430232ccc2519c449cc2877da6478ca98f5b7a982a7660a869a0b8ae7a814fb18108ff42fed9712a9253e867 diff --git a/app-crypt/qca/qca-2.3.3.ebuild b/app-crypt/qca/qca-2.3.3.ebuild index 5f2030b035fb..c1805f95d270 100644 --- a/app-crypt/qca/qca-2.3.3.ebuild +++ b/app-crypt/qca/qca-2.3.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test" RESTRICT="!test? ( test )" diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 8a13c035bf5c..344f3c39f3d1 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -3,9 +3,9 @@ AUX freebsd-triplet.patch 800 BLAKE2B 43f1f7e1fa43313e2f323a3e5031a463185c2388a3 AUX rhash-1.3.6-no_echon.patch 1224 BLAKE2B 949b6aa839667a6fef3c3a668b6cadc451986ba837807b3d7a56b80f50c8248d734745f886d40d341a99fefaf439f95bdeb0382ee15ea9e4f8561f98703fba2d SHA512 3771077c64c28b1fcf310d7a449d3e1eb951d1669b2ad3ddffe76d98ac5821ea8af40013984c65f28c7fce3434b7173a74a77120847f557cab2dedefac0c8b58 AUX unquote-cc.patch 791 BLAKE2B a872b7a8e8d2e04f5cf3dda0b4f4aa5e0177878942f9836f8a431d950392dafb46be646048a0ab4dc4a31ac20b6676fa8627b39bbb30a990861cf8d3cfc742f8 SHA512 7a4c2bf019cbcde021bb79572abdbc9b42f995ada5bb9798fed127d79c44ed9d4b9544c1413952604b1dd45ed307acdacba6675419f6331d75ecf34c15b8f5ca DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 -DIST rhash-1.4.0-src.tar.gz 406433 BLAKE2B 2af437cd3a049bb9473825026f8a6476c81b4400a47638c62ee3ecb3d3984f7f9fe97def91488094a2919e5baad967d3f49ec7d95363896e270251ad085bacac SHA512 2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07 DIST rhash-1.4.1-src.tar.gz 413274 BLAKE2B 2027bccc677e8a1766f0624e67f475713653ddb4be457f9c8434c45019bc730934ca860e69f8b8e1fec349e724b1a366df0f5fb98501c825b44f9b8105068ff7 SHA512 30bbef7ce7815ee4ac062c537206a0b895845f61de4b1fdc0c0494f66284d9f3c1b06f812ea913fa35a3342d230d25d0986a1db644c7b4464bc1185997beb638 +DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 EBUILD rhash-1.3.6-r1.ebuild 1815 BLAKE2B 25d7980d3736edd66242acec9de12ef8bc434993a083dd2e12b3f382ca90aefbb42d4e96b35b6c42c106184e6956c8e33aac424d2272e1ae7eb77ead02f4d5af SHA512 15307b2110d89a05d3afdb6ee43a87f3ec33c921d7796cc73831d2d60c7e25df7531a73badb5a9721aa010b58dba74f1536bea7b7c9ec283e2a7ad1e430af1c4 -EBUILD rhash-1.4.0.ebuild 1853 BLAKE2B e2307251210a5bd8f37c2c4f2fb1a3c3987a9f8b9b72d454e71620a81d5de46ab70f5e7b31520827fe13ed82c1fda46b06bdc1e0c54bb77e5b24a37ef026172c SHA512 ff01f491ef52ec9372e825eef2b7504ae5c0f10494968c9d51c00427f1cb9ec51f229c8926c666b7cb3198f9c278d5cd90452ec4978e825efa2f949ab65bc11e EBUILD rhash-1.4.1.ebuild 1885 BLAKE2B 65d6c7be3d3db04a2f43f1c1f4614ff3e812e56895ed7e0e0f8824e28a718224614366d08def5d1cb8f480744061b28ef00f08fe61e1859756af5cafeb0e282a SHA512 01e111abd4f61534bc6fef1ed0b76a085e377b698b0350855218e772927bc8adc557cc4e37928c9860649f775995a7e4da296bdb722b4589a5af13e3a4ef3f6b +EBUILD rhash-1.4.2.ebuild 1885 BLAKE2B 65d6c7be3d3db04a2f43f1c1f4614ff3e812e56895ed7e0e0f8824e28a718224614366d08def5d1cb8f480744061b28ef00f08fe61e1859756af5cafeb0e282a SHA512 01e111abd4f61534bc6fef1ed0b76a085e377b698b0350855218e772927bc8adc557cc4e37928c9860649f775995a7e4da296bdb722b4589a5af13e3a4ef3f6b MISC metadata.xml 816 BLAKE2B bb6057383b42281881b70331deed4070724bf10bdd00eb8329d3f3133329aa47d8d64ea66c70500dbeb8f92995f527b012dfeadd96d5c2a1eb73ff0ceb20f43a SHA512 ef3d1b671c08f7f1e1394675f626fc399a7a07dbefaa1a4ef1201052db524f2063efca3470b0d4f58a03cb8a49bb086e37b0bb8357cfc761107b1d6563e79263 diff --git a/app-crypt/rhash/rhash-1.4.0.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 4efaf57147b0..4aa5c894ec98 100644 --- a/app-crypt/rhash/rhash-1.4.0.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND=" diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index 10de0e69b78d..e9907f129b42 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -2,5 +2,5 @@ AUX swtpm-0.5.0-build-sys-Remove-WError.patch 431 BLAKE2B 8b0d63dcab783a322c72aa AUX swtpm-0.5.0-disable-test-dependencies.patch 696 BLAKE2B 7cbfb36e82b88d125dabaab8508803cde8b4fe414b1bf0e193421a7632597baa3142dcefa1bd53c7ebe6fea529ad827fc65bfd42bd617c415043b795d5c36c15 SHA512 32931311e8a4c57ae167379db5ff3decc5c1b3b891f180e6ee4991a9cf366ac26049c2e3eabc434eef3890635317f2f2cb1a80cf827a4c3e44fe76943665e85c AUX swtpm-0.6.0-fix-localca-path.patch 1321 BLAKE2B 06d9e7409dda7554bd819a822e2ec4e3e1b8b0a9a41bcb4c45705e082b887d4739d7bd23481dd0c528f957b78e1c84d0e33a0e8b211ee2266018c79014b83afa SHA512 c90c438ad805db4310b2fd2b8c985f86c30e4010f08be9cae2de65d8ba4c4c65df8f80eb62636b30b2cc1d5df3ebc4a225bc32f77434d603aa71ee917560d5c8 DIST swtpm-0.6.0.tar.gz 326049 BLAKE2B 52b310e4da1f256f440d9e0022cb6d5f5987b10aa85c8bf2837f5a5c61bc076f7d24d0a027987ef28ba0e7983a2fb04476103b88c33e3312536777366bf9b0cd SHA512 b12bb9cc486c50d0689a5655799c0d52f85d320a1d849fd56ee5c4b497472102c61b5d368f46a81e0b9feacc63b25b434bd6229f492951097af1e9c74a37cc96 -EBUILD swtpm-0.6.0-r1.ebuild 1409 BLAKE2B 01919cb57aa061848c6281432d37eda9d795cb7e7547af8fc8c28602ae24501df27c28db691c251752cdbcbcefdee4f12f0296bbc10975624a764ea57dcb0408 SHA512 f23c56d324600153812776aca837771aa8ae07dd878470d72bf5b0f1e2cd2aa4d2264ac3bcb162b04eb8ca6e07554d7c3714fe8719a6355188d3943e4b3e1fcd +EBUILD swtpm-0.6.0-r1.ebuild 1414 BLAKE2B 5cac9b3d8611c4287917b34c2a1d8e557f7e524589a5e2ee52b7962cd180d843053066442e3d9c9f0208f71d956d07a2e86a031532ebf1fc7bb648f0834632a8 SHA512 f355298ff770aaae54e0897055a30880e5960a99017012ec207116480b93c165c52794d5020908fc9390c34d18d9937e0307fcc6a0ba891ff02aee49e8a166b1 MISC metadata.xml 622 BLAKE2B fac6d084af4763e20d7bf965bc66f31cc8485d11b0a79169395e253730ab8cd9754ce6edc9f72f1289347497a1562bfdba083ef49bf4e13e5e99f01cb5ea7735 SHA512 c89423fcbfb975edbe115075aece42f43b833d8ebecfe86630f74e8b7de1cdc279fb3fc580fbf77d19529e8d52c657d0abbfcf95b30683df860d0b341ce3d17d diff --git a/app-crypt/swtpm/swtpm-0.6.0-r1.ebuild b/app-crypt/swtpm/swtpm-0.6.0-r1.ebuild index 74281bd54827..b6fb875736dd 100644 --- a/app-crypt/swtpm/swtpm-0.6.0-r1.ebuild +++ b/app-crypt/swtpm/swtpm-0.6.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~ppc" IUSE="fuse +gnutls seccomp test" RESTRICT="!test? ( test )" diff --git a/app-crypt/tpm2-tools/Manifest b/app-crypt/tpm2-tools/Manifest index 916a38016958..224a80a70a96 100644 --- a/app-crypt/tpm2-tools/Manifest +++ b/app-crypt/tpm2-tools/Manifest @@ -1,6 +1,7 @@ AUX tpm2-tools-4.3.0-Remove-WError.patch 360 BLAKE2B 440f48fca6e8aaf9b2c0fd094011738c467a22dc31bd94b53f6788b8fa52c00c5d7ebe074434be60b6370dcf1e94ee4d57bcfc93857fcf03dbdff30c8e157445 SHA512 0d246d1446b5b2ebca0e12467c746a731897311448840a7aac35b57d22edcdec0c9f424d1c95c9614d969a57dba458bbbad8826516cc05329b47d2dad05318fe +AUX tpm2-tools-5.1.1-fix-tpm-checkquote.patch 1193 BLAKE2B d65717bc15b490c99123ad8022dace6b337b638b797d6f5b0aa783e04fd4f12f2f4281bcc5d53728a6b612c6106aa2ab1593bce9833fcd4109e94de1a1718135 SHA512 a38cdc124eaf1321d954dc969c3c5a409a90ee7d5d25eb0bb692b9a56f8340a6f783852e995a4e9790f5472c47d8475ad083b76015ccfddb7d74ea167cc54364 DIST tpm2-tools-4.3.2.tar.gz 887708 BLAKE2B ee6fe3d0566138d6289d1a91252ccb106d36ff80d55f2d6f9ee30c8e16338d706e80085ac5f4f56a79bcb339e5dcb240efcf71d4003bcffdad366f3cd7a1165b SHA512 1aa47c62c3d2a83195ec649e50c0be2c8be39f926806d8d7cb96edc499c385d527661813e02024e98f83ae9ebcb22d7dadc507ddfab48be9bbe428d9439d7ee1 DIST tpm2-tools-5.1.1.tar.gz 1044427 BLAKE2B 885ff61ad971c95d067bf8f9339de289f082f3103d1c382f45ac3ffbd4d5effc343ddc3c2c74b97b9d31f3f823d264991d1726c1f9c21d5c9b82ac1cdf714d3f SHA512 4e094dcffb66103773d85e866ab9ba8db5d0f205ff9658e08fe14e8e41250570a7f7274b4048934adf256ea41650fa498fc3d6da2786adc241a4bf2e8f7bf78e EBUILD tpm2-tools-4.3.2.ebuild 1052 BLAKE2B bf435ee4ce938f58cf82a835e4940c2044ee179a574e575fad1124222216c4d1147d302b9fbe95165303326758e7145112e120f7d1f70c0750fc62b75d4db1c2 SHA512 85155fc93543892a19be80b0826f20fb38be8cfe84ed2e4ae957e2c36bd075126b635fe54f848785aa866c0a22e1e7e19378a22361c30d3fba4f922299cc3048 -EBUILD tpm2-tools-5.1.1.ebuild 993 BLAKE2B e7e8750093ec1056288c291d4384d2c9e02efc208f259b9b476c59ad7f2057d01c7335beaf9475e1f6fe41d2dc615cfb208cd13477ca937e26c2dfd43af5c1f5 SHA512 7ba11ecb516c1e2de20481e784082ee25d101a5522c6219921dab922dd30ff3a5a8cc53997c3845941993e5f121ab2f0a4143832a985c5babf85e6c3be655e82 +EBUILD tpm2-tools-5.1.1-r1.ebuild 1575 BLAKE2B e9a949b1e0387b15b2e87bd95fbcb47edfb4b0cb92a6770274e5607d62617e8635a2265ac12031707c03d54b167b21c0730c92c13f8e0f1d104c4bf8fd03fc7b SHA512 7d6a7d2dd894fb521494110a818433ff804bc0deb72565a35c1e97120fa454978b422627768db3619ac89d68a0651e9077297d2b13d284b68dbdbca269356b8b MISC metadata.xml 559 BLAKE2B 6c0842aa4bbd95d2047bf3ce11c99fad96491481bbe52cdd81d0d02085d97799129ab5a249925c88c20afc1fba8890fb1809a1809a2c2c23e62bb36673031c98 SHA512 6fe7716a5db796b958fee79d65fa04b32196985f503bfb11ff4790c95f118fb5ca14cc9b4ef59b94caadc60c30453b629c6b93918fde505404646a0165947f5c diff --git a/app-crypt/tpm2-tools/files/tpm2-tools-5.1.1-fix-tpm-checkquote.patch b/app-crypt/tpm2-tools/files/tpm2-tools-5.1.1-fix-tpm-checkquote.patch new file mode 100644 index 000000000000..73fb0e3f487a --- /dev/null +++ b/app-crypt/tpm2-tools/files/tpm2-tools-5.1.1-fix-tpm-checkquote.patch @@ -0,0 +1,34 @@ +From 3d7edb1c70cba6c34c71c9b856c07b8adcebb15c Mon Sep 17 00:00:00 2001 +From: Alberto Planas <aplanas@suse.com> +Date: Thu, 17 Jun 2021 11:07:25 +0200 +Subject: [PATCH] tpm2_checkquote: fix uninitialized variable + +The variable `temp_pcrs` is uninitialized, and later partially +uninitialized when reading the selection data from file. + +When activating lto optimizations, this bug presents itself showing an +error during the read of the quote: + +ERROR: Malformed PCR file, pcr count cannot be greater than 32, got: ... + +Fixes: #2767 + +Co-authored-by: Martin Liska <marxin.liska@gmail.com> +Signed-off-by: Alberto Planas <aplanas@suse.com> +--- + tools/misc/tpm2_checkquote.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/misc/tpm2_checkquote.c b/tools/misc/tpm2_checkquote.c +index 531508579..8d780f111 100644 +--- a/tools/misc/tpm2_checkquote.c ++++ b/tools/misc/tpm2_checkquote.c +@@ -376,7 +376,7 @@ static tool_rc init(void) { + TPM2B_ATTEST *msg = NULL; + TPML_PCR_SELECTION pcr_select; + tpm2_pcrs *pcrs; +- tpm2_pcrs temp_pcrs; ++ tpm2_pcrs temp_pcrs = {}; + tool_rc return_value = tool_rc_general_error; + + msg = message_from_file(ctx.msg_file_path); diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild new file mode 100644 index 000000000000..fb7168bfb2f4 --- /dev/null +++ b/app-crypt/tpm2-tools/tpm2-tools-5.1.1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +inherit autotools bash-completion-r1 python-single-r1 + +DESCRIPTION="Tools for the TPM 2.0 TSS" +HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+fapi test" + +RDEPEND="net-misc/curl:= + >=app-crypt/tpm2-tss-3.0.1:=[fapi?] + dev-libs/openssl:= + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + test? ( + app-crypt/swtpm + app-crypt/tpm2-abrmd + app-editors/vim-core + dev-tcltk/expect + dev-util/cmocka + dev-python/pyyaml + )" +BDEPEND="virtual/pkgconfig + sys-devel/autoconf-archive" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" ${PYTHON_REQUIRED_USE} " + +# One of the tests fails without this patch. See +# https://github.com/tpm2-software/tpm2-tools/issues/2767 +PATCHES=( + "${FILESDIR}/${PN}-5.1.1-fix-tpm-checkquote.patch" +) + +src_prepare() { + sed -i \ + "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ + "${S}/configure.ac" || die + "${S}/scripts/utils/man_to_bashcompletion.sh" + eautoreconf + default +} + +src_configure() { + econf \ + $(use_enable fapi) \ + $(use_enable test unit) \ + --with-bashcompdir=$(get_bashcompdir) \ + --enable-hardening +} + +src_install() { + default + + mv "${D}/$(get_bashcompdir)/tpm2_completion.bash" \ + "${D}/$(get_bashcompdir)/tpm2" || die + for B in "${D}"/usr/bin/tpm2_* + do + TPM2_UTILS="${TPM2_UTILS} $(basename ${B})" + done + bashcomp_alias tpm2 ${TPM2_UTILS} +} diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.1.1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.1.1.ebuild deleted file mode 100644 index da8ba7b38474..000000000000 --- a/app-crypt/tpm2-tools/tpm2-tools-5.1.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Tools for the TPM 2.0 TSS" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+fapi" - -# Integration test are now run as part of the testing suite, which will fail -# because none of the supported TPM emulators are in Portage. In a future -# version of tpm2-tools, swtpm will be supported and the tests can be run. -RESTRICT="test" - -RDEPEND="net-misc/curl:= - >=app-crypt/tpm2-tss-3.0.1:=[fapi?] - dev-libs/openssl:0=" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - sys-devel/autoconf-archive" - -src_prepare() { - sed -i \ - "s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \ - "${S}/configure.ac" || die - eautoreconf - default -} - -src_configure() { - econf \ - $(use_enable fapi) \ - --enable-hardening -} |