diff options
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/Manifest.gz | bin | 24804 -> 24637 bytes | |||
-rw-r--r-- | app-crypt/aespipe/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/aespipe/aespipe-2.4e.ebuild | 6 | ||||
-rw-r--r-- | app-crypt/aespipe/aespipe-2.4f.ebuild | 6 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/Manifest | 8 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-build.patch | 33 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-fno-common.patch | 48 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-static-libs.patch | 26 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/files/tpm-emulator.confd | 1 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/files/tpm-emulator.initd | 46 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/metadata.xml | 12 | ||||
-rw-r--r-- | app-crypt/tpm-emulator/tpm-emulator-0.7.5-r3.ebuild | 83 |
12 files changed, 8 insertions, 265 deletions
diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz Binary files differindex 4b1e9da8ca20..9f78361fed34 100644 --- a/app-crypt/Manifest.gz +++ b/app-crypt/Manifest.gz diff --git a/app-crypt/aespipe/Manifest b/app-crypt/aespipe/Manifest index 017891169d95..e9597503ba6d 100644 --- a/app-crypt/aespipe/Manifest +++ b/app-crypt/aespipe/Manifest @@ -1,5 +1,5 @@ DIST aespipe-v2.4e.tar.bz2 107741 BLAKE2B 9331441214b495f042f8ac41b57203057e762156aa7b6bd9fcb8d55b3e149fb79dd0d7c06358599fefd6662d797baf4cf9ba84fc4425e637c9fef0abf1b254c7 SHA512 e038f710ac971e5ba740648c0f255e8bc9fcea9be1a6b76208a453f21f013e1662c006d4f4495fa2b2560fd9b0c236947462a9b337a120073c6a5335b29f077e DIST aespipe-v2.4f.tar.bz2 107663 BLAKE2B 80af945ec938307ddaeb1a1f7a91da71d4f1aeabe4cb303166cad95c36e0d0090fd8440bb636ac0245d2701d61fdea715c84e18dfacf32bfba7f4b85a2db091f SHA512 75b6b2069a0e013dbded29b07b990fc783cc04ce05fc37e6591dae7e8190485960735ec1a1af18d065be57d0b7ec23dbe520e920f92e9c01170b7a23eb32eb3f -EBUILD aespipe-2.4e.ebuild 734 BLAKE2B e2035ed8ce5ab781d0f9bd9770331af75680abc172d33abb86b17cf250c2dd968092963e9ebc2698b6736f057497a1737741d0e88349df42e9eaa5eb18992a14 SHA512 5c4769e1a3cc78d50beae21e9bf9d8970c7b1b3750dfabea3bdf3a733c1e55d30fb1560291436dca09736cd4ce303bdb425761b172a228567a3cfcb21238d678 -EBUILD aespipe-2.4f.ebuild 721 BLAKE2B c12f512cc99ea2fcb200763c858e6fa7d8d3f158d6181c50f954c7ed94b96de1710cef452ce0d8ddcd7294fc06553ab577a92dc5c575cf3248e12284fa548a67 SHA512 ee0a3957688f1ce71655dc16f7f1dcabafe601148f1970445205a3431d1083f5a3387da9c2460b136c3f9883d62e66441098766fc1752b331d860d7e94b76c73 +EBUILD aespipe-2.4e.ebuild 733 BLAKE2B 2395312b9ed293a5b2907a332101e1fac0ed43ceadf5581247f99857d424336108ead65e487100585233a73c1a948e9f82d3c1adc78040f81594edf779ed44b4 SHA512 28b70e2600db722994a022fa7304c9db78bb6516c8974b2e4fe05a5140b2056236598f91842e97becb2894b69a864601018d3701ab5ce7a14c6b03ca91d78769 +EBUILD aespipe-2.4f.ebuild 723 BLAKE2B 017c0c740ef9450824b204d5567dbb4a76ad02af5123e109d11fc570a5e7864254b8afe9f448fa41870f35ac6f8fae077bad6f913af1a66e8133a9a9826f40f5 SHA512 8630ea3fd7ed2d1f95e354c03855bf15cfbe8d0acd9f2ac715d17dc2a91fbc6659b336fa31e6de7a9cd8d54163f2da793bc9c5d5a90f9b38ea6040da05d3780f MISC metadata.xml 681 BLAKE2B 5b4ae8ac348b437beaef0c69a9e38f05a093f5deedce199b65d30052b8478ed57d974b7a73601765cdf0460ee053ad5df0e22fb15cf6d7d363a2acac7bc69994 SHA512 0542ed498f9ff32239cc4467e8d3222154e115c948c7b4104192683d37c5f8d4d29775f3a845b3824271eb927afb86e83316aeba54bfd6073ab1d5d1b6541902 diff --git a/app-crypt/aespipe/aespipe-2.4e.ebuild b/app-crypt/aespipe/aespipe-2.4e.ebuild index ce3262e38b3f..cf46e5c67d98 100644 --- a/app-crypt/aespipe/aespipe-2.4e.ebuild +++ b/app-crypt/aespipe/aespipe-2.4e.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,8 +6,8 @@ EAPI=7 inherit flag-o-matic DESCRIPTION="Encrypts data from stdin to stdout" -HOMEPAGE="http://loop-aes.sourceforge.net" -SRC_URI="http://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2" +HOMEPAGE="https://loop-aes.sourceforge.net" +SRC_URI="https://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" diff --git a/app-crypt/aespipe/aespipe-2.4f.ebuild b/app-crypt/aespipe/aespipe-2.4f.ebuild index cec3f4bd82d4..3adf1b9778ab 100644 --- a/app-crypt/aespipe/aespipe-2.4f.ebuild +++ b/app-crypt/aespipe/aespipe-2.4f.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,8 +6,8 @@ EAPI=7 inherit flag-o-matic DESCRIPTION="Encrypts data from stdin to stdout" -HOMEPAGE="http://loop-aes.sourceforge.net" -SRC_URI="http://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2" +HOMEPAGE="https://loop-aes.sourceforge.net" +SRC_URI="https://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" diff --git a/app-crypt/tpm-emulator/Manifest b/app-crypt/tpm-emulator/Manifest deleted file mode 100644 index 1c78cb825fa0..000000000000 --- a/app-crypt/tpm-emulator/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX tpm-emulator-0.7.5-build.patch 1150 BLAKE2B ef771dc31982c3b288a61bd0537df2545276297d1f249ee9e046243bf5ee54d475de7f8f58a79de1bd6f72f87937ae6f116bd4b8ef70a64b781d02c318de32ee SHA512 c311a0f448579e21e1fda09157b88517365fd142bf604f3e2ae6cb68ef866a89845b7ba7126021c19369493a9c6b863267855fae29124470185a339183ea062b -AUX tpm-emulator-0.7.5-fno-common.patch 1566 BLAKE2B a3f92467eeb5069d4d8ab39566fa13f855588e7732500f3e851c8ad3fb251a3d7796d8b7d99fb5795fec433ec43267955fc89fd52a3a8406b6056108b5b9ec9c SHA512 7ecde01229cad43595424e2cd1467eadf408babd63ff5e7e217aff176affe9fd6451d40d50376f834d20d8b8cb03c0a2c419c8e9cd989578b5278bcdfa451236 -AUX tpm-emulator-0.7.5-static-libs.patch 1156 BLAKE2B 9e301e0a6635405d5cdd7e83564338c478c68ecc3d70b72894840b6f5f0d740af22ee00f39bf5160cc51ebdb4400a3ca6f347cfd955141881725ffe5a961060d SHA512 c7c33eac3cd137a483c78aa51cc86807c9b7bd0539e1b728510e7112eca793a39b7bfcfb98043f8cdcf0512a9a3fcc2aaef417a0a487e7bd7653c1be8d966ba5 -AUX tpm-emulator.confd 20 BLAKE2B 13dd9f09a0a4efb9a039bfeababb5f00b8b2c3c1777e60c531e874ef6f3b4d00319d7962bd321f8530289c797ea110f6cde91bc6af338e38be7d96f71f6474cb SHA512 824d35e037f1036d53353bd0e2bf9136cd94d07a71df9ebdf32a513ff53a47b25e38e3b760e58c18909559f1adbea2faae615c25f2cf9f1df03eef8582648bcc -AUX tpm-emulator.initd 776 BLAKE2B 0daa0247396d1b5f1c9542b28f825899a5cc45bd748b6b7e2328440fd466fd6b461e32487a955816a79827bf350cfb33bd71a6b197a8e67dbf5509750098cb59 SHA512 22d7b163dc6f567c1900a275ae545c4421b2d459ba535a24f48d7ad2609f5df36533849aa781d4dd704961db102eea08c99b79c01d0e3981fb46d2eb4e39d6fe -DIST tpm-emulator-0.7.5.tar.gz 222341 BLAKE2B c6dc7494800f4c6d1f5e622c6a47fdd5487e0f2cbc34173d9039d6eb5fd7541dd2c1f514efbf220c605424059844e18650b31ee9934eda6626427b915fd6bc53 SHA512 24c16ec36ca92c484d6e8dfa53c8ca00dbc5b58d78d7166041db1e9ae277d763f0fc0a6b0cbd7e62fcf4671f6ad2d8df1213256be0a4200b79b6ee61ab73b2ef -EBUILD tpm-emulator-0.7.5-r3.ebuild 1761 BLAKE2B df8e42d04abd6aeda040e3e64f6136a6ffc581fe6f7626a29a81aa0a9741631976f25353c51544d1c083787ef0d5211f75999319f27361ffe0d179d158b7ccca SHA512 f512acce103dcef68660b7dad896865013a30c32153dc8b47baf479cea01da520024076532f5ed794eba98136f834a05165ebd9b3c758c2526b1ba8b94df5860 -MISC metadata.xml 386 BLAKE2B 752ee354199d1467f60120bb187d0008c9f601a4567d568065f72b0446dbfe7e079aaa801aacee1408abf961209a9854fb86f5ee63fdc9bbf7dd928d0fb27b6a SHA512 4e4237c1725ecf3d6ecd9a60c2702a00d3983c8184aa6d11e9f440181b7886c79e01df7f9870b886df11c47f6147a47b41958a86c87a9f4af93df91c5a42a259 diff --git a/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-build.patch b/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-build.patch deleted file mode 100644 index 3f96bdd3e68f..000000000000 --- a/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-build.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 78f018a79243b8aa3c2a8e8aa87245c58c731278 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sun, 16 Sep 2018 13:29:59 +0300 -Subject: [PATCH] tpmd_dev: fix strncpy bound -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -tpmd_dev/linux/tpmd_dev.c:88:3: error: ‘strncpy’ specified bound 108 equals destination size [-Werror=stringop-truncation] - -Bug: https://github.com/PeterHuewe/tpm-emulator/pull/43 - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - tpmd_dev/linux/tpmd_dev.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tpmd_dev/linux/tpmd_dev.c b/tpmd_dev/linux/tpmd_dev.c -index 2b24bd7..72583f4 100644 ---- a/tpmd_dev/linux/tpmd_dev.c -+++ b/tpmd_dev/linux/tpmd_dev.c -@@ -85,7 +85,7 @@ static int tpmd_connect(char *socket_name) - return res; - } - addr.sun_family = AF_UNIX; -- strncpy(addr.sun_path, socket_name, sizeof(addr.sun_path)); -+ strncpy(addr.sun_path, socket_name, sizeof(addr.sun_path)-1); - res = tpmd_sock->ops->connect(tpmd_sock, - (struct sockaddr*)&addr, sizeof(struct sockaddr_un), 0); - if (res != 0) { --- -2.16.4 - diff --git a/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-fno-common.patch b/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-fno-common.patch deleted file mode 100644 index 88bfb33433c1..000000000000 --- a/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-fno-common.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://bugs.gentoo.org/707256 ---- a/tpm/tpm_emulator_extern.h -+++ b/tpm/tpm_emulator_extern.h -@@ -29,7 +29,7 @@ enum { - TPM_LOG_ERROR - }; - --void (*tpm_log)(int priority, const char *fmt, ...); -+extern void (*tpm_log)(int priority, const char *fmt, ...); - - #if defined(_WIN32) || defined(_WIN64) - #define __BFILE__ ((strrchr(__FILE__, '\\') ? : __FILE__ - 1) + 1) -@@ -44,27 +44,27 @@ void (*tpm_log)(int priority, const char *fmt, ...); - #define error(fmt, ...) tpm_log(TPM_LOG_ERROR, "%s:%d: Error: " fmt "\n", \ - __BFILE__, __LINE__, ## __VA_ARGS__) - /* initialization */ --int (*tpm_extern_init)(void); --void (*tpm_extern_release)(void); -+extern int (*tpm_extern_init)(void); -+extern void (*tpm_extern_release)(void); - - /* memory allocation */ - --void* (*tpm_malloc)(size_t size); -+extern void* (*tpm_malloc)(size_t size); - --void (*tpm_free)(/*const*/ void *ptr); -+extern void (*tpm_free)(/*const*/ void *ptr); - - /* random numbers */ - --void (*tpm_get_extern_random_bytes)(void *buf, size_t nbytes); -+extern void (*tpm_get_extern_random_bytes)(void *buf, size_t nbytes); - - /* usec since last call */ - --uint64_t (*tpm_get_ticks)(void); -+extern uint64_t (*tpm_get_ticks)(void); - - /* file handling */ - --int (*tpm_write_to_storage)(uint8_t *data, size_t data_length); --int (*tpm_read_from_storage)(uint8_t **data, size_t *data_length); -+extern int (*tpm_write_to_storage)(uint8_t *data, size_t data_length); -+extern int (*tpm_read_from_storage)(uint8_t **data, size_t *data_length); - - #endif /* _TPM_EMULATOR_EXTERN_H_ */ - diff --git a/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-static-libs.patch b/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-static-libs.patch deleted file mode 100644 index 845229bd7670..000000000000 --- a/app-crypt/tpm-emulator/files/tpm-emulator-0.7.5-static-libs.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://bugs.gentoo.org/726492 ---- a/tddl/CMakeLists.txt -+++ b/tddl/CMakeLists.txt -@@ -5,21 +5,18 @@ - - set(tddl-tpm-emulator_SRCS "tddl.c" "tddl-tpm-emulator.h") - add_library(tddl-tpm-emulator SHARED ${tddl-tpm-emulator_SRCS}) --add_library(tddl-tpm-emulator_static STATIC ${tddl-tpm-emulator_SRCS}) - if(UNIX) - set_target_properties(tddl-tpm-emulator PROPERTIES SOVERSION "1.2" - VERSION "1.2.${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}") -- set_target_properties(tddl-tpm-emulator_static PROPERTIES OUTPUT_NAME tddl-tpm-emulator) - elseif(WIN32) - set_target_properties(tddl-tpm-emulator PROPERTIES OUTPUT_NAME ifxtpm) - set_target_properties(tddl-tpm-emulator PROPERTIES PREFIX "") - endif() - - install(TARGETS tddl-tpm-emulator DESTINATION ${CMAKE_INSTALL_LIBDIR}) --install(TARGETS tddl-tpm-emulator_static DESTINATION ${CMAKE_INSTALL_LIBDIR}) - install(FILES "tddl-tpm-emulator.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - include_directories(${CMAKE_CURRENT_SOURCE_DIR}) - add_executable(test_tddl test_tddl.c) --target_link_libraries(test_tddl tddl-tpm-emulator_static) -+target_link_libraries(test_tddl tddl-tpm-emulator) - diff --git a/app-crypt/tpm-emulator/files/tpm-emulator.confd b/app-crypt/tpm-emulator/files/tpm-emulator.confd deleted file mode 100644 index 985fa4e774ca..000000000000 --- a/app-crypt/tpm-emulator/files/tpm-emulator.confd +++ /dev/null @@ -1 +0,0 @@ -STARTUP_MODE="save" diff --git a/app-crypt/tpm-emulator/files/tpm-emulator.initd b/app-crypt/tpm-emulator/files/tpm-emulator.initd deleted file mode 100644 index abfbef900d00..000000000000 --- a/app-crypt/tpm-emulator/files/tpm-emulator.initd +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -STARTUP_MODE="${STARTUP_MODE:-save}"; - -extra_started_commands="clear save deactivated" -description="TPM emulator" -command="/usr/bin/tpmd" -my_command_args="-f" -command_background=1 -command_user="tss:tss" -pidfile="/var/run/${RC_SVCNAME}.pid" - -depend() { - use logger - after coldplug -} - -start_pre() { - checkpath -d -m 0775 -o tss /var/run/tpm - service_set_value STARTUP_MODE "${STARTUP_MODE}" -} - -start() { - command_args="${my_command_args} $(service_get_value STARTUP_MODE)" - default_start -} - -_doit() { - service_set_value STARTUP_MODE "$1" - stop - start -} - -clear() { - _doit clear -} - -save() { - _doit save -} - -deactivated() { - _doit deactivated -} diff --git a/app-crypt/tpm-emulator/metadata.xml b/app-crypt/tpm-emulator/metadata.xml deleted file mode 100644 index fdd2723e0b5e..000000000000 --- a/app-crypt/tpm-emulator/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="mtm-emulator">Build the MTM emulator</flag> - </use> - <upstream> - <remote-id type="sourceforge">tpm-emulator</remote-id> - <remote-id type="github">PeterHuewe/tpm-emulator</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-crypt/tpm-emulator/tpm-emulator-0.7.5-r3.ebuild b/app-crypt/tpm-emulator/tpm-emulator-0.7.5-r3.ebuild deleted file mode 100644 index 38a0d0182708..000000000000 --- a/app-crypt/tpm-emulator/tpm-emulator-0.7.5-r3.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MODULES_OPTIONAL_USE="modules" -inherit cmake linux-mod udev - -MY_P=${P/-/_} -DESCRIPTION="Emulator driver for tpm" -HOMEPAGE="https://github.com/PeterHuewe/tpm-emulator" -SRC_URI="https://github.com/PeterHuewe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mtm-emulator" - -RDEPEND=" - acct-group/tpm - acct-user/tpm - dev-libs/gmp:=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-build.patch - "${FILESDIR}"/${P}-fno-common.patch - "${FILESDIR}"/${P}-static-libs.patch -) - -pkg_setup() { - if use modules; then - CONFIG_CHECK="MODULES" - MODULE_NAMES="tpmd_dev(extra:tpmd_dev/linux:)" - BUILD_TARGETS="all tpmd_dev.rules" - BUILD_PARAMS="KERNEL_BUILD=${KERNEL_DIR}" - linux-mod_pkg_setup - fi -} - -src_configure() { - local mycmakeargs=( - -DMTM_EMULATOR=$(usex mtm-emulator ON OFF) - -DBUILD_DEV=OFF - ) - cmake_src_configure - - if use modules; then - ln -s "${BUILD_DIR}/config.h" tpmd_dev/linux || die - fi -} - -src_compile() { - cmake_src_compile - use modules && linux-mod_src_compile -} - -src_install() { - cmake_src_install - if use modules; then - linux-mod_src_install - udev_newrules "tpmd_dev/linux/tpmd_dev.rules" 60-tpmd_dev.rules - fi - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - - keepdir /var/log/tpm - fowners tss:tss /var/log/tpm -} - -pkg_postinst() { - if use modules; then - linux-mod_pkg_postinst - - ewarn "" - ewarn "The new init.d script does not load the tpmd_dev any more as it is optional." - ewarn "If you use the tpmd_dev, please load it explicitly in /etc/conf.d/modules" - ewarn "" - fi - - einfo "tpmd socket is located at /var/run/tpm/tpmd_socket:0" -} |