summaryrefslogtreecommitdiff
path: root/app-crypt/tpm2-abrmd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /app-crypt/tpm2-abrmd
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'app-crypt/tpm2-abrmd')
-rw-r--r--app-crypt/tpm2-abrmd/Manifest3
-rw-r--r--app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1-r1.ebuild55
-rw-r--r--app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1.ebuild1
3 files changed, 58 insertions, 1 deletions
diff --git a/app-crypt/tpm2-abrmd/Manifest b/app-crypt/tpm2-abrmd/Manifest
index 9c14fe83440b..1e035a3ac85f 100644
--- a/app-crypt/tpm2-abrmd/Manifest
+++ b/app-crypt/tpm2-abrmd/Manifest
@@ -2,5 +2,6 @@ AUX tpm2-abrmd-2.1.1-build.patch 4350 BLAKE2B 9d8dd854954bb79239a2b443d7d6a8eb4a
AUX tpm2-abrmd.confd 17 BLAKE2B f3b6301cb29f0f741c26025bded10af8948eb7f16faca051828b063f4fdab823309fac085e69e281600f77646f3e2bd91c1a5079bd675569aef8db762fdbe991 SHA512 ca7c4782ccc3ee7592bb4b24a6a81c624d22969cf9b9e1c3e22d45e85d3720836b1f22735ccf2ba51258c6eb0b30c4d88d7bed893f58b1aac7423fb7013529f9
AUX tpm2-abrmd.initd 390 BLAKE2B 5dbaccf073eba208e13c24f92127e41c4c71fe62dd9bf2062301efbcc16daa1559ffba127399a189d6466e21a8cf9b85ac0e09d34f495be58430eb3cfe0886ef SHA512 aef622face110e22831dddab8a6474b4d003e6d50da9d334653a88ef0a7fca88377379a56fef9c404af5222c8c2fb97090eca913aa7d96183c4e14d7ab470044
DIST tpm2-abrmd-2.1.1.tar.gz 561352 BLAKE2B 4106811b238fee7b503bf0afb4ed857371bab023d8e449d5864eebb2386779e2bc8fb0f2bf8e334ebd8d7abe5c569f2b2cc2ea60b07672b1d3294092e63c2a5a SHA512 d685812c26a097190ced5a9e8ceb1544eb9e3858606123644d5496031706af91e5ba9fb54eb371bcb4eed4d236617f7a21a49a792196db9c5ebf277582ac7124
-EBUILD tpm2-abrmd-2.1.1.ebuild 1215 BLAKE2B ede9c7f24240bbe5a22f5bdd3dcc7233fcafa38fee77979eaf8103ffa86cd60effed90dd1ee78a32a8de20558c32bb79a3d6b5196ea0174e035a685053723ec4 SHA512 bd3801de3795f6ef7261ea6d373e02eeafc5fefc200542973ee664f15187effb551f8188637d33a6ed339a379ca36c430d1fa7d0d1884ea2f95d8e59c24f4a93
+EBUILD tpm2-abrmd-2.1.1-r1.ebuild 1211 BLAKE2B 1d21d99ed796ba182a8d1188cdeab2f8ed68d107b80223f69d9dd4f76d346dfe593e1912c44b629a408485b1c102d0ce8d643f6721c7f5d5ba0dd0e1e8a34526 SHA512 6d537e4bd4f81d68a954a710c211ea0bf759ff0c1dd7bd4c4462dd57c8f6a8fa72caf274ea5996d29a3049d4ca1677a159d10360c8f0e4e18fb46ba8d700c1e1
+EBUILD tpm2-abrmd-2.1.1.ebuild 1242 BLAKE2B ed68e30994eea41067ee4032d3b31d49eb6121e2fbe46bcde8a1aa7d4fe15fb604acbcc232ae4aa689382488a43e04418c1ff469b477e1d96bf0755e39cb7635 SHA512 cabd1e6c7f107aeb4179fc21b126581cea02ec2648a5214f8e393ebd5505f48b04d0bc50a15da383f1809b5eb90cd57ae2a450d929f166fb357e2701a228388c
MISC metadata.xml 329 BLAKE2B 32d5f42e0427e9c83625ec972d4b266a1338c1629933628a0a32b8e4afb053468fece7f03916a983cdce9ff0a1d36d9c0f44006e7df4e383817005197a8be9a3 SHA512 920412d7cae5cfe3cd9a96133948b3101595edd966cc0d056934cdf45f9f4c36e1bb8fc79b0ee7146b2d1047d895de9d1fd57a7a753f4957707fad57962a9cb2
diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1-r1.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..535dcd41a597
--- /dev/null
+++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="TPM2 Access Broker & Resource Manager"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd"
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/dbus:=
+ dev-libs/glib:=
+ app-crypt/tpm2-tss:="
+DEPEND="${RDEPEND}
+ acct-group/tss
+ acct-user/tss
+ test? ( dev-util/cmocka )"
+BDEPEND="virtual/pkgconfig
+ dev-util/gdbus-codegen"
+
+PATCHES=(
+ "${FILESDIR}/${P}-build.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable test unit) \
+ --disable-defaultflags \
+ --with-dbuspolicydir="${EPREFIX}/etc/dbus-1/system.d" \
+ --with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \
+ --with-systemdpresetdisable \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1.ebuild
index 8d21d2b9b4c7..50c48fc0ff29 100644
--- a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1.ebuild
+++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.1.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="sys-apps/dbus:=
dev-libs/glib:=