summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-09-23 16:51:48 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-09-28 02:51:39 +0300
commitb47e6c8053042775b19417a1a64f9b98424431f1 (patch)
tree53c4d4b4398ef93690ccac4e340b9104fae13526 /app-crypt/trousers
parentapp-crypt/tpm-tools: eapi bump (diff)
downloadgentoo-b47e6c8053042775b19417a1a64f9b98424431f1.tar.gz
gentoo-b47e6c8053042775b19417a1a64f9b98424431f1.tar.bz2
gentoo-b47e6c8053042775b19417a1a64f9b98424431f1.zip
app-crypt/trousers: eapi bump
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'app-crypt/trousers')
-rw-r--r--app-crypt/trousers/files/tcsd.initd2
-rw-r--r--app-crypt/trousers/trousers-0.3.14-r1.ebuild19
2 files changed, 10 insertions, 11 deletions
diff --git a/app-crypt/trousers/files/tcsd.initd b/app-crypt/trousers/files/tcsd.initd
index 19278c5658d3..c9c050cb06d9 100644
--- a/app-crypt/trousers/files/tcsd.initd
+++ b/app-crypt/trousers/files/tcsd.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
diff --git a/app-crypt/trousers/trousers-0.3.14-r1.ebuild b/app-crypt/trousers/trousers-0.3.14-r1.ebuild
index 0709846429a1..e852005fcd55 100644
--- a/app-crypt/trousers/trousers-0.3.14-r1.ebuild
+++ b/app-crypt/trousers/trousers-0.3.14-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools linux-info ltprune readme.gentoo-r1 systemd user udev
+inherit autotools linux-info readme.gentoo-r1 systemd user udev
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
HOMEPAGE="http://trousers.sf.net"
@@ -17,14 +17,12 @@ IUSE="doc libressl selinux" # gtk
# gtk support presently does NOT compile.
# gtk? ( >=x11-libs/gtk+-2 )
-CDEPEND=">=dev-libs/glib-2
+DEPEND=">=dev-libs/glib-2
!libressl? ( >=dev-libs/openssl-0.9.7:0 )
- libressl? ( dev-libs/libressl )
-"
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
+ libressl? ( dev-libs/libressl )"
+RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-tcsd )"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-0.3.13-nouseradd.patch"
@@ -93,6 +91,8 @@ src_configure() {
src_install() {
default
+ find "${D}" -name '*.la' -delete || die
+
keepdir /var/lib/tpm
use doc && dodoc doc/*
newinitd "${FILESDIR}"/tcsd.initd tcsd
@@ -100,6 +100,5 @@ src_install() {
systemd_dounit "${FILESDIR}"/tcsd.service
udev_dorules "${FILESDIR}"/61-trousers.rules
fowners tss:tss /var/lib/tpm
- prune_libtool_files
readme.gentoo_create_doc
}