app-crypt/clevis: update package

This commit is contained in:
Alexander Miroshnichenko 2020-12-24 20:40:06 +03:00
parent 1276083bb5
commit a0c96a15e9
Signed by: alex
GPG Key ID: E93720C6C73A77F4
3 changed files with 33 additions and 1 deletions

View File

@ -1,4 +1,5 @@
AUX 0001-Fixes-build-failure-with-musl-libc-pid_t-require-sys.patch 807 BLAKE2B 5e5d3d01305fa67d5cb324e5a7c84a166fd76cf013a18a2c933d3368b9adae149c181b91c481d5ed956073f286addef533de8391c1ce26de8f60d6a8f487f10a SHA512 899ca38b26ad01cdbdae846649153b96c4a1611c1fcda61927170406ac3a891cdf27bb08fd515e2246a0a38b1e82d9430ef45731c5b66b1313f25655949bb800
AUX clevis-tpm2-tools-5.patch 5784 BLAKE2B dc7d29ce4f218ab5cb2720dceeb17966277040366d0e4eb14c5361a36d601621697218e3708959b2d70662451527ccd95a809a5d7c3aa5c9c90eb286bec9f059 SHA512 c4eda96618898da17963d3ecc3e75ea5d783af2adb597594d86dc595d7ab2a1129e9d982ddeaec8ac3432d2676a505c5348c8ff5e542924644a6aaf8db41f58c
DIST clevis-15.tar.xz 62856 BLAKE2B 7cb4d5f10314718a32175c7cee31448b316f70545736fbf1ce37b6119111622beaae8288449a45cde87ea9113ad0266c5646c50a23e782e9fcd0ddfcca5fea5b SHA512 8a84b9e081d02742c2c718bdc8b2c834764da6ec9ad1ae5640e8af80a38c2a1ec83eeea5de7696f60f7dd8f165b3dc527290831621440b1a46459d2c8bd56918
EBUILD clevis-15.ebuild 923 BLAKE2B 954ede087e4c477081a2a99e497d070484a288a09077dda79dd3ea6eb5a7f0a3736ba817ff513b60c1e0a8c0c372b3fbea5e937b26ae61e733fefc1b37e11145 SHA512 f29b84800effd76d5a44fb77fc0fe59e8ea1936721f9dcbbd02bf52daad64d6bad6a070570b9147264afdc643bbe9ac410bb1ba12095cb1f7496ba7e14bb141d
EBUILD clevis-15.ebuild 1015 BLAKE2B bc8571c090d8b6c3455d6255824a5fb8097d64b89b9aee799195e829f01eda3c6be3f09609c1ddcbb5119b3b2bd0ab3c4927903d0281b8c832f16e45500b093b SHA512 8d5b1abdf88d168dcfd4e5d1b63fddf52fda3768e267ed286fdb258276137ce4222e24089b808fe69268c3c513fcc2cb1ba56cfc147c7b3608654a4c55617425
MISC metadata.xml 339 BLAKE2B 22a58137717e070a7569fa1bd601e07802e722f947645290fced36991e7b863ed904fa708c0fbaf16e2ad57effa252fc2f99998de695b9a7b9b35991912538bf SHA512 45d27acd78f71ac07f762282f61d167e11f0de2aeafcf03193f3d43401c19f97a72b79cc8811ba2e8ab6b15ad289aeecb00bd402cd98639f479f3b24c4ae737f

View File

@ -25,6 +25,7 @@ DEPEND="tpm? ( >=app-crypt/tpm2-tools-4.0 )
)
systemd? ( sys-apps/systemd )
net-misc/curl
app-misc/jq
>=dev-libs/jansson-2.10
>=dev-libs/jose-8
>=sys-fs/cryptsetup-2.0.4[pwquality]
@ -35,4 +36,5 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/clevis-tpm2-tools-5.patch
"${FILESDIR}"/0001-Fixes-build-failure-with-musl-libc-pid_t-require-sys.patch
)

View File

@ -0,0 +1,29 @@
From f92d4ba65f88fb8e66d07c4a43b7cb1bec1230e4 Mon Sep 17 00:00:00 2001
From: Alexander Miroshnichenko <alex@millerson.name>
Date: Thu, 24 Dec 2020 20:34:06 +0300
Subject: [PATCH] Fixes build failure with musl libc: pid_t require
sys/types.h, respectively.
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
error: unknown type name 'pid_t'
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
---
src/pins/sss/sss.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pins/sss/sss.h b/src/pins/sss/sss.h
index 66a490913188..81faf791f81c 100644
--- a/src/pins/sss/sss.h
+++ b/src/pins/sss/sss.h
@@ -20,6 +20,7 @@
#pragma once
#include <jansson.h>
#include <stdint.h>
+#include <sys/types.h>
json_t *
sss_generate(size_t key_bytes, size_t threshold);
--
2.26.2