app-crypt/trousers: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sun, 23 Sep 2018 13:51:48 +0000 (16:51 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Thu, 27 Sep 2018 23:51:39 +0000 (02:51 +0300)
Package-Manager: Portage-2.3.49, Repoman-2.3.10

app-crypt/trousers/files/tcsd.initd
app-crypt/trousers/trousers-0.3.14-r1.ebuild

index 19278c5658d37592a3422c93e43e4adcad9ae610..c9c050cb06d9fcc6a8a2809b8418077390759ed9 100644 (file)
@@ -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() {
index 0709846429a1edf5629f227b971d23cab38dbb2d..e852005fcd550aa0ad0d4d617796a8f8f6670afb 100644 (file)
@@ -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
 }