From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001 From: Johannes Heimansberg Date: Sun, 21 Jul 2024 17:20:37 +0200 Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0 --- common/shlibs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/shlibs b/common/shlibs index 8a716ff962395e..a59e105bb1c85f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1 libopenrazer.so.0 libopenrazer-0.2.0_1 libstaroffice-0.0.so.0 libstaroffice-0.0.7_1 libbox2d.so.2 box2d-2.4.1_1 +libjose.so.0 jose-14_1 +libluksmeta.so.0 luksmeta-9_1 From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001 From: Johannes Heimansberg Date: Sun, 21 Jul 2024 21:11:26 +0200 Subject: [PATCH 2/4] New package: jose-14 --- srcpkgs/jose-devel | 1 + srcpkgs/jose/template | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 120000 srcpkgs/jose-devel create mode 100644 srcpkgs/jose/template diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel new file mode 120000 index 00000000000000..a6611ea027c865 --- /dev/null +++ b/srcpkgs/jose-devel @@ -0,0 +1 @@ +jose \ No newline at end of file diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template new file mode 100644 index 00000000000000..ad08399bee2aa6 --- /dev/null +++ b/srcpkgs/jose/template @@ -0,0 +1,25 @@ +# Template file for 'jose' +pkgname=jose +version=14 +revision=1 +build_style=meson +configure_args="-Dwerror=false" +hostmakedepends="asciidoc pkg-config" +makedepends="jansson-devel openssl-devel zlib-devel" +short_desc="C-language implementation of Javascript Object Signing and Encryption" +maintainer="Johannes Heimansberg " +license="Apache-2.0" +homepage="https://github.com/latchset/jose" +distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz" +checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b +make_check="no" # fails on some architectures + +jose-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} From e991d8712833d32eb0ddbad52816ade17f30820a Mon Sep 17 00:00:00 2001 From: Johannes Heimansberg Date: Sun, 21 Jul 2024 21:12:16 +0200 Subject: [PATCH 3/4] New package: luksmeta-9 --- srcpkgs/luksmeta-devel | 1 + srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 120000 srcpkgs/luksmeta-devel create mode 100644 srcpkgs/luksmeta/template diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel new file mode 120000 index 00000000000000..0e4dc09ef52ba0 --- /dev/null +++ b/srcpkgs/luksmeta-devel @@ -0,0 +1 @@ +luksmeta/ \ No newline at end of file diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template new file mode 100644 index 00000000000000..0ff273f56e0ef5 --- /dev/null +++ b/srcpkgs/luksmeta/template @@ -0,0 +1,28 @@ +# Template file for 'luksmeta' +pkgname=luksmeta +version=9 +revision=1 +build_style=gnu-configure +hostmakedepends="asciidoc automake libtool pkg-config" +makedepends="cryptsetup-devel" +short_desc="Library for storing metadata in the LUKSv1 header" +maintainer="Johannes Heimansberg " +license="LGPL-2.0-or-later" +homepage="https://github.com/latchset/luksmeta" +distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz" +checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc +make_check="no" # fails on some architectures + +pre_configure() { + autoreconf -fi +} + +luksmeta-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} From 0b120f06b21bfa4f7e314d10152f5f56b80d425b Mon Sep 17 00:00:00 2001 From: Johannes Heimansberg Date: Sun, 21 Jul 2024 21:12:53 +0200 Subject: [PATCH 4/4] New package: clevis-20 --- srcpkgs/clevis/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/clevis/template diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template new file mode 100644 index 00000000000000..17546b3beb2567 --- /dev/null +++ b/srcpkgs/clevis/template @@ -0,0 +1,20 @@ +# Template file for 'clevis' +pkgname=clevis +version=20 +revision=1 +build_style=meson +hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools" +makedepends="bash-completion cryptsetup-devel dracut jansson-devel + jose-devel libaudit-devel luksmeta-devel udisks2-devel" +depends="bash cryptsetup curl libpwquality tpm2-tools" +short_desc="Pluggable framework for automated decryption" +maintainer="Johannes Heimansberg " +license="GPL-3.0-or-later WITH custom:OpenSSL-Exception" +homepage="https://github.com/latchset/clevis" +distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz" +checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd +make_check="ci-skip" # LUKS tests fail in CI pipeline + +post_install() { + vlicense COPYING.openssl +}