Skip to content

Commit

Permalink
app-crypt/trousers: eapi bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
alonbl committed Sep 27, 2018
1 parent 45cd1dd commit b47e6c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app-crypt/trousers/files/tcsd.initd
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
19 changes: 9 additions & 10 deletions app-crypt/trousers/trousers-0.3.14-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -93,13 +91,14 @@ src_configure() {

src_install() {
default
find "${D}" -name '*.la' -delete || die

keepdir /var/lib/tpm
use doc && dodoc doc/*
newinitd "${FILESDIR}"/tcsd.initd tcsd
newconfd "${FILESDIR}"/tcsd.confd tcsd
systemd_dounit "${FILESDIR}"/tcsd.service
udev_dorules "${FILESDIR}"/61-trousers.rules
fowners tss:tss /var/lib/tpm
prune_libtool_files
readme.gentoo_create_doc
}

0 comments on commit b47e6c8

Please sign in to comment.