aboutsummaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/clevis/Manifest5
-rw-r--r--app-crypt/clevis/clevis-18.ebuild29
-rw-r--r--app-crypt/clevis/files/clevis-dracut.patch250
-rw-r--r--app-crypt/clevis/files/clevis-meson.patch11
-rw-r--r--app-crypt/clevis/metadata.xml12
-rw-r--r--app-crypt/tang/Manifest6
-rw-r--r--app-crypt/tang/files/tangd8
-rw-r--r--app-crypt/tang/files/tangd.initd11
-rw-r--r--app-crypt/tang/files/tangd.service6
-rw-r--r--app-crypt/tang/metadata.xml8
-rw-r--r--app-crypt/tang/tang-11.ebuild42
11 files changed, 0 insertions, 388 deletions
diff --git a/app-crypt/clevis/Manifest b/app-crypt/clevis/Manifest
deleted file mode 100644
index a3825ff..0000000
--- a/app-crypt/clevis/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX clevis-dracut.patch 9686 BLAKE2B f27fc96a16076a9bda7a9def31cb19f3b50ad8a5bc0be8a8d8846f1ceb325250c6d15d063bbb481731fee65f4f7576fd5f898d9070d0552a37507ae6df801d87 SHA512 4cc1ca39468f96af351d6902640ad455d61d4a11c22d04b7d10cca9fc6a4eda0b324f6b9fa880dd260b08c5e1e3f36fc2723873b2494220ab5351c1ab9993f54
-AUX clevis-meson.patch 609 BLAKE2B b3c595cd775bc22f78cc90465b9526bfdb5ab7e074ae990af0d821eb421ea8991091c63c47d4408e67a9ebd4acbaacee7ffae5366c66766272e3c7cb00e5d827 SHA512 b8b78d4f9a6f64a99d1e22faa2aa2fab23102b7244031654e003e345a2c4550c4f50a9896f7a4614fcfb92a9f2fb1664f5eb1780ce05082101d95463547bcb02
-DIST clevis-18.tar.gz 78191 BLAKE2B 317f30df3c05a9a651363daf17b9320e47a903929af991ecfd9d4d3d630a0ab8e92815db2e5736e9b9ca7f3fb4a41f4cf198ec447f04a9849f4d2a03bb196b22 SHA512 19b6743ff61ff7e29699bbc3fb69dfa31567a37ab824629330b57c92aa89b70759d63c1770be68d4525681ec9ba56d980cae2bb1cdeee6192992ede449a0e4ff
-EBUILD clevis-18.ebuild 631 BLAKE2B 8dfe636f775079d1b7c97d0dffe0ebb29389c9bbe68f936125a91b83775362cc4e70092ba7e3807ad5a2443bfa04be2847e66884dfc9689941bcb8d61ea38263 SHA512 de3c1f5755586978c83daebce818d6eac5d9c769603cd02c861db04b788fcbf4691816630ef5871de4fc458ab84f5f270dc2a6b92908aecfe1c01c15d3121d51
-MISC metadata.xml 348 BLAKE2B 1b14da99bbbe7758c627af4b68c5afa6a149f10cc6f5b0430bbecb4402b7036e40ee556462dd6def2f8e21654ddf55aee2effa4f6e857f8ee3709339500ddc57 SHA512 269fcfd719d6c04632ae8c464e599869f02853807c81e2fc721203842d1927170d4439a3520afeb8f5017d97d5e53a2501f96d3cbd5614dcd54ff379eb2acc19
diff --git a/app-crypt/clevis/clevis-18.ebuild b/app-crypt/clevis/clevis-18.ebuild
deleted file mode 100644
index da0dc96..0000000
--- a/app-crypt/clevis/clevis-18.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson
-
-DESCRIPTION="Automated Encryption Framework"
-HOMEPAGE="https://github.com/latchset/clevis"
-SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+luks +tpm"
-
-DEPEND="luks? ( app-misc/jq )
- >=dev-libs/jose-8
- luks? ( dev-libs/libpwquality )
- luks? ( dev-libs/luksmeta )
- tpm? ( app-crypt/tpm2-tools )
- sys-fs/cryptsetup"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-PATCHES=(
- "${FILESDIR}/${PN}-dracut.patch"
- "${FILESDIR}/${PN}-meson.patch"
-)
diff --git a/app-crypt/clevis/files/clevis-dracut.patch b/app-crypt/clevis/files/clevis-dracut.patch
deleted file mode 100644
index 7aec43e..0000000
--- a/app-crypt/clevis/files/clevis-dracut.patch
+++ /dev/null
@@ -1,250 +0,0 @@
-From a5aa695821e34fb218c7d705065aaf7077737c8c Mon Sep 17 00:00:00 2001
-From: Jonathan Davies <jpds@protonmail.com>
-Date: Fri, 5 Nov 2021 15:24:12 +0000
-Subject: [PATCH] Moved dracut directory up to top-level to decouple it with
- systemd.
-
-Adds a clevis-luks-generic-unlocker for alternative use without systemd.
-
-Based on patch by Sergio Correia <scorreia@redhat.com>
-
-Closes: #346
-
-Signed-off-by: Jonathan Davies <jpds@protonmail.com>
----
- .../dracut/clevis-pin-sss/meson.build | 0
- .../dracut/clevis-pin-sss/module-setup.sh.in | 0
- .../dracut/clevis-pin-tang/meson.build | 0
- .../dracut/clevis-pin-tang/module-setup.sh.in | 0
- .../dracut/clevis-pin-tpm2/meson.build | 0
- .../dracut/clevis-pin-tpm2/module-setup.sh.in | 0
- src/dracut/clevis/clevis-hook.sh.in | 3 +
- .../clevis/clevis-luks-generic-unlocker | 70 +++++++++++++++++++
- .../systemd => }/dracut/clevis/meson.build | 1 +
- .../dracut/clevis/module-setup.sh.in | 19 +++--
- src/{luks/systemd => }/dracut/meson.build | 0
- .../systemd/dracut/clevis/clevis-hook.sh.in | 2 -
- src/luks/systemd/meson.build | 1 -
- src/meson.build | 1 +
- 14 files changed, 90 insertions(+), 7 deletions(-)
- rename src/{luks/systemd => }/dracut/clevis-pin-sss/meson.build (100%)
- rename src/{luks/systemd => }/dracut/clevis-pin-sss/module-setup.sh.in (100%)
- rename src/{luks/systemd => }/dracut/clevis-pin-tang/meson.build (100%)
- rename src/{luks/systemd => }/dracut/clevis-pin-tang/module-setup.sh.in (100%)
- rename src/{luks/systemd => }/dracut/clevis-pin-tpm2/meson.build (100%)
- rename src/{luks/systemd => }/dracut/clevis-pin-tpm2/module-setup.sh.in (100%)
- create mode 100755 src/dracut/clevis/clevis-hook.sh.in
- create mode 100755 src/dracut/clevis/clevis-luks-generic-unlocker
- rename src/{luks/systemd => }/dracut/clevis/meson.build (87%)
- rename src/{luks/systemd => }/dracut/clevis/module-setup.sh.in (76%)
- rename src/{luks/systemd => }/dracut/meson.build (100%)
- delete mode 100755 src/luks/systemd/dracut/clevis/clevis-hook.sh.in
-
-diff --git a/src/luks/systemd/dracut/clevis-pin-sss/meson.build b/src/dracut/clevis-pin-sss/meson.build
-similarity index 100%
-rename from src/luks/systemd/dracut/clevis-pin-sss/meson.build
-rename to src/dracut/clevis-pin-sss/meson.build
-diff --git a/src/luks/systemd/dracut/clevis-pin-sss/module-setup.sh.in b/src/dracut/clevis-pin-sss/module-setup.sh.in
-similarity index 100%
-rename from src/luks/systemd/dracut/clevis-pin-sss/module-setup.sh.in
-rename to src/dracut/clevis-pin-sss/module-setup.sh.in
-diff --git a/src/luks/systemd/dracut/clevis-pin-tang/meson.build b/src/dracut/clevis-pin-tang/meson.build
-similarity index 100%
-rename from src/luks/systemd/dracut/clevis-pin-tang/meson.build
-rename to src/dracut/clevis-pin-tang/meson.build
-diff --git a/src/luks/systemd/dracut/clevis-pin-tang/module-setup.sh.in b/src/dracut/clevis-pin-tang/module-setup.sh.in
-similarity index 100%
-rename from src/luks/systemd/dracut/clevis-pin-tang/module-setup.sh.in
-rename to src/dracut/clevis-pin-tang/module-setup.sh.in
-diff --git a/src/luks/systemd/dracut/clevis-pin-tpm2/meson.build b/src/dracut/clevis-pin-tpm2/meson.build
-similarity index 100%
-rename from src/luks/systemd/dracut/clevis-pin-tpm2/meson.build
-rename to src/dracut/clevis-pin-tpm2/meson.build
-diff --git a/src/luks/systemd/dracut/clevis-pin-tpm2/module-setup.sh.in b/src/dracut/clevis-pin-tpm2/module-setup.sh.in
-similarity index 100%
-rename from src/luks/systemd/dracut/clevis-pin-tpm2/module-setup.sh.in
-rename to src/dracut/clevis-pin-tpm2/module-setup.sh.in
-diff --git a/src/dracut/clevis/clevis-hook.sh.in b/src/dracut/clevis/clevis-hook.sh.in
-new file mode 100755
-index 0000000..91ff2bd
---- /dev/null
-+++ b/src/dracut/clevis/clevis-hook.sh.in
-@@ -0,0 +1,3 @@
-+#!/bin/bash
-+
-+@libexecdir@/clevis-luks-generic-unlocker -l
-diff --git a/src/dracut/clevis/clevis-luks-generic-unlocker b/src/dracut/clevis/clevis-luks-generic-unlocker
-new file mode 100755
-index 0000000..a3b9d62
---- /dev/null
-+++ b/src/dracut/clevis/clevis-luks-generic-unlocker
-@@ -0,0 +1,70 @@
-+#!/bin/bash
-+set -eu
-+# vim: set ts=8 shiftwidth=4 softtabstop=4 expandtab smarttab colorcolumn=80:
-+#
-+# Copyright (c) 2020-2021 Red Hat, Inc.
-+# Author: Sergio Correia <scorreia@redhat.com>
-+#
-+# This program is free software: you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation, either version 3 of the License, or
-+# (at your option) any later version.
-+#
-+# This program is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with this program. If not, see <http://www.gnu.org/licenses/>.
-+#
-+
-+. clevis-luks-common-functions
-+
-+# Make sure to exit cleanly if SIGTERM is received.
-+trap 'echo "Exiting due to SIGTERM" && exit 0' TERM
-+
-+loop=
-+while getopts ":l" o; do
-+ case "${o}" in
-+ l) loop=true;;
-+ *) ;;
-+ esac
-+done
-+
-+to_unlock() {
-+ local _devices='' _d _uuid
-+ for _d in $(lsblk -o PATH,FSTYPE,RM \
-+ | awk '$2 == "crypto_LUKS" && $3 == "0" { print $1 }' | sort -u);
-+ do
-+ if ! bindings="$(clevis luks list -d "${_d}" 2>/dev/null)" \
-+ || [ -z "${bindings}" ]; then
-+ continue
-+ fi
-+ _uuid="$(cryptsetup luksUUID "${_d}")"
-+ if clevis_is_luks_device_by_uuid_open "${_uuid}"; then
-+ continue
-+ fi
-+ _devices="$(printf '%s\n%s' "${_devices}" "${_d}")"
-+ done
-+ echo "${_devices}" | sed -e 's/^\n$//'
-+}
-+
-+while true; do
-+ for d in $(to_unlock); do
-+ uuid="$(cryptsetup luksUUID "${d}")"
-+ if ! clevis luks unlock -d "${d}"; then
-+ echo "Unable to unlock ${d} (UUID=${uuid})" >&2
-+ continue
-+ fi
-+ echo "Unlocked ${d} (UUID=${uuid}) successfully" >&2
-+ done
-+
-+ [ "${loop}" != true ] && break
-+ # Checking for pending devices to be unlocked.
-+ if remaining=$(to_unlock) && [ -z "${remaining}" ]; then
-+ break;
-+ fi
-+
-+ sleep 0.5
-+done
-diff --git a/src/luks/systemd/dracut/clevis/meson.build b/src/dracut/clevis/meson.build
-similarity index 87%
-rename from src/luks/systemd/dracut/clevis/meson.build
-rename to src/dracut/clevis/meson.build
-index 167e708..224e27f 100644
---- a/src/luks/systemd/dracut/clevis/meson.build
-+++ b/src/dracut/clevis/meson.build
-@@ -16,6 +16,7 @@ if dracut.found()
- install_dir: dracutdir,
- configuration: data,
- )
-+ install_data('clevis-luks-generic-unlocker', install_dir: libexecdir)
- else
- warning('Will not install dracut module due to missing dependencies!')
- endif
-diff --git a/src/luks/systemd/dracut/clevis/module-setup.sh.in b/src/dracut/clevis/module-setup.sh.in
-similarity index 76%
-rename from src/luks/systemd/dracut/clevis/module-setup.sh.in
-rename to src/dracut/clevis/module-setup.sh.in
-index bfe657c..dbce790 100755
---- a/src/luks/systemd/dracut/clevis/module-setup.sh.in
-+++ b/src/dracut/clevis/module-setup.sh.in
-@@ -19,7 +19,11 @@
- #
-
- depends() {
-- echo crypt systemd
-+ local __depends=crypt
-+ if dracut_module_included "systemd"; then
-+ __depends=$(printf '%s systemd' "${_depends}")
-+ fi
-+ echo "${__depends}"
- return 255
- }
-
-@@ -27,17 +31,24 @@ install() {
- if dracut_module_included "systemd"; then
- inst_multiple \
- $systemdsystemunitdir/clevis-luks-askpass.service \
-- $systemdsystemunitdir/clevis-luks-askpass.path
-+ $systemdsystemunitdir/clevis-luks-askpass.path \
-+ @SYSTEMD_REPLY_PASS@ \
-+ @libexecdir@/clevis-luks-askpass
- systemctl -q --root "$initdir" add-wants cryptsetup.target clevis-luks-askpass.path
- else
- inst_hook initqueue/online 60 "$moddir/clevis-hook.sh"
- inst_hook initqueue/settled 60 "$moddir/clevis-hook.sh"
-+
-+ inst_multiple \
-+ @libexecdir@/clevis-luks-generic-unlocker \
-+ clevis-luks-unlock \
-+ lsblk \
-+ sort \
-+ awk
- fi
-
- inst_multiple \
- /etc/services \
-- @SYSTEMD_REPLY_PASS@ \
-- @libexecdir@/clevis-luks-askpass \
- clevis-luks-common-functions \
- grep sed cut \
- clevis-decrypt \
-diff --git a/src/luks/systemd/dracut/meson.build b/src/dracut/meson.build
-similarity index 100%
-rename from src/luks/systemd/dracut/meson.build
-rename to src/dracut/meson.build
-diff --git a/src/luks/systemd/dracut/clevis/clevis-hook.sh.in b/src/luks/systemd/dracut/clevis/clevis-hook.sh.in
-deleted file mode 100755
-index cb257c9..0000000
---- a/src/luks/systemd/dracut/clevis/clevis-hook.sh.in
-+++ /dev/null
-@@ -1,2 +0,0 @@
--#!/bin/bash
--@libexecdir@/clevis-luks-askpass
-diff --git a/src/luks/systemd/meson.build b/src/luks/systemd/meson.build
-index e3b3d91..b10494e 100644
---- a/src/luks/systemd/meson.build
-+++ b/src/luks/systemd/meson.build
-@@ -10,7 +10,6 @@ sd_reply_pass = find_program(
-
- if systemd.found() and sd_reply_pass.found()
- data.set('SYSTEMD_REPLY_PASS', sd_reply_pass.path())
-- subdir('dracut')
-
- unitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
-
-diff --git a/src/meson.build b/src/meson.build
-index c4e696f..a0dff5b 100644
---- a/src/meson.build
-+++ b/src/meson.build
-@@ -1,6 +1,7 @@
- subdir('bash')
- subdir('luks')
- subdir('pins')
-+subdir('dracut')
- subdir('initramfs-tools')
-
- bins += join_paths(meson.current_source_dir(), 'clevis-decrypt')
diff --git a/app-crypt/clevis/files/clevis-meson.patch b/app-crypt/clevis/files/clevis-meson.patch
deleted file mode 100644
index bfd517d..0000000
--- a/app-crypt/clevis/files/clevis-meson.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/src/luks/systemd/meson.build b/src/luks/systemd/meson.build
-index b10494e3ca4d620437aee0d5e440eecf323b03d9..09f7fb51e7320aa71e275c34baa0561233821d69 100644
---- a/src/luks/systemd/meson.build
-+++ b/src/luks/systemd/meson.build
-@@ -5,6 +5,7 @@ sd_reply_pass = find_program(
- join_paths(get_option('prefix'), 'lib', 'systemd', 'systemd-reply-password'),
- join_paths('/', 'usr', get_option('libdir'), 'systemd', 'systemd-reply-password'),
- join_paths('/', 'usr', 'lib', 'systemd', 'systemd-reply-password'),
-+ join_paths('/', 'lib', 'systemd', 'systemd-reply-password'),
- required: false
- )
diff --git a/app-crypt/clevis/metadata.xml b/app-crypt/clevis/metadata.xml
deleted file mode 100644
index 4130b42..0000000
--- a/app-crypt/clevis/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 type="person">
- <email>julien@jroy.ca</email>
- <name>Julien Roy</name>
- </maintainer>
- <use>
- <flag name="luks">Enable LUKS support</flag>
- <flag name="tpm">Enable TPM support</flag>
- </use>
-</pkgmetadata>
diff --git a/app-crypt/tang/Manifest b/app-crypt/tang/Manifest
deleted file mode 100644
index da54d9a..0000000
--- a/app-crypt/tang/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX tangd 207 BLAKE2B a1df8f7cdf428c9be7eb1cc3ad89e19f311c41cd7155565a45a8d4b98773650a9015395eaa53fc42e804f5b520243706879935d41eb4f1666b4db637ca99e8d9 SHA512 5f51bead0ffaab7abbd9853c25d198d2a052851e4123c6b19734fae2712385d01543bad704ed8b269ba55876d8b041a9143613c6dc9b40ba2a05d7831e8149c0
-AUX tangd.initd 369 BLAKE2B 5ee8506a73f077b4a060b0971ad2c29c389b3949c592687bd0080c6d9cd3a1275f22f62e94fc7ff9faada3f9f13e5ad16ae0351dd0cb4b589a0dd4599290f14b SHA512 83fec6d1000f6242969901d63fc8dba074d9cc39d4a33fe205592ebe02f9ccd22cb64ffa2ca960a7c37eeb7dd8085ffff5a59236021544e5c9228602ac403474
-AUX tangd.service 152 BLAKE2B 51f1d10a4864722b7ac5346561530f44ac41f9e9c9f4814a772114a06c6f6054aa94c02456cd7e2ff31a1c0beb41995b7adc8b600e3edb2720b57e1f7941fae0 SHA512 1a6e952d9c9f6b89e9d3630d8b71c16ddc43fd5b9e416770b196f43e8e6853f88a01a2a4128203cd6d99d6a93f29d6d009fc022c0e3a01afd416dd34ef9fd314
-DIST tang-11.tar.gz 38502 BLAKE2B cc440780eda3aa2ded7dfa6bea62794c2f08d3c7e89573c4002d5f2644f5cd809357400031c9df94f5128fb24e3e038a56f3df14f8f7762c071404fdb7b62444 SHA512 a1115c7192224f2d09d026776768b4247632333ad152f2cb700567404ff33a220dc1280e4f588c6408775c4b9dc5049b5601bbee6336c8ff7f39ec6f28e26599
-EBUILD tang-11.ebuild 989 BLAKE2B 6b743a4e485f1402ac1fa624e3787a904f3a6e196056bc2e46c724baab42a7b266fad4d5e2da465cb10299861a2e63104f095a916c5d1656335fb324eab9132d SHA512 11f973a767c9ff9da19894163bac807f7005d3c6da4a5c68f7fcd73d4519e5bb63037ca4ba80e979d72e6c87910f0529d443e66e161b2f7d43db5ea145de5653
-MISC metadata.xml 241 BLAKE2B 6dac420f48c539432671f9251c134a254e92cd56082e2551d3f9153c4319f11d06ee167a7ea10b4d16764fc2325db5057662ac61812c1ead8e7256915d9f494b SHA512 da3a07ed2a719b870f4a8f2fb10a54f6248184f553d6b8b55c7faa6b7d90aaf1d2a77ac40e08c1b6eb33f6a6da5f1db4d5eaf6c6332ffbd232fddc4ac3a1086a
diff --git a/app-crypt/tang/files/tangd b/app-crypt/tang/files/tangd
deleted file mode 100644
index 3bca6e1..0000000
--- a/app-crypt/tang/files/tangd
+++ /dev/null
@@ -1,8 +0,0 @@
-# Address for tang to listen to (default: 0.0.0.0)
-ADDRESS=0.0.0.0
-
-# Port for tang to listen to (default: 8888)
-PORT=8888
-
-# Directory where keys will be stored (default: /var/db/tang)
-TANGDIR=/var/db/tang
diff --git a/app-crypt/tang/files/tangd.initd b/app-crypt/tang/files/tangd.initd
deleted file mode 100644
index fc3c25c..0000000
--- a/app-crypt/tang/files/tangd.initd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="tang daemon"
-description="Tang binding daemon"
-command=/usr/bin/socat
-pidfile="/var/run/${RC_SVCNAME}.pid"
-command_user="tang"
-command_args="TCP-LISTEN:${PORT},bind=${ADDRESS},fork SYSTEM:'/usr/libexec/tangd ${TANGDIR}'"
-command_background=true
diff --git a/app-crypt/tang/files/tangd.service b/app-crypt/tang/files/tangd.service
deleted file mode 100644
index 59625d9..0000000
--- a/app-crypt/tang/files/tangd.service
+++ /dev/null
@@ -1,6 +0,0 @@
-[Unit]
-Description=Tang Server
-
-[Service]
-ExecStart=/usr/bin/socat TCP-LISTEN:8888,bind=0.0.0.0,fork SYSTEM:'/usr/libexec/tangd /var/db/tang'
-User=tang
diff --git a/app-crypt/tang/metadata.xml b/app-crypt/tang/metadata.xml
deleted file mode 100644
index 97ba7c2..0000000
--- a/app-crypt/tang/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>julien@jroy.ca</email>
- <name>Julien Roy</name>
- </maintainer>
-</pkgmetadata>
diff --git a/app-crypt/tang/tang-11.ebuild b/app-crypt/tang/tang-11.ebuild
deleted file mode 100644
index a47a71a..0000000
--- a/app-crypt/tang/tang-11.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson systemd
-
-DESCRIPTION="Tang binding daemon"
-HOMEPAGE="https://github.com/latchset/tang"
-SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="acct-user/tang
- net-misc/socat
- >=net-libs/http-parser-2.8.0
- >=dev-libs/jose-8"
-RDEPEND="${DEPEND}"
-BDEPEND="app-text/asciidoc"
-
-src_install(){
- meson_install
- newinitd "${FILESDIR}"/tangd.initd tangd
- systemd_dounit ${FILESDIR}/tangd.service
-
- doconfd "${FILESDIR}"/tangd
-
- dodir /var/db/tang
- keepdir /var/db/tang
- fowners tang:tang /var/db/tang
- fperms 770 /var/db/tang
-}
-
-pkg_postinst(){
- einfo "By default, tang runs on port 8888 and listens on address 0.0.0.0"
- einfo "It also stores JWKs in /var/db/tang."
- einfo "If you want to change this, modify /etc/init.d/tangd or"
- einfo "/usr/lib/systemd/system/tangd.service directly."
-}