Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/trousers/
Date: Thu, 17 Sep 2020 23:25:25
Message-Id: 1600385112.3840a28f931fcc82823944ab3941c69d57fcf43b.sam@gentoo
1 commit: 3840a28f931fcc82823944ab3941c69d57fcf43b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 23:25:12 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 23:25:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3840a28f
7
8 app-crypt/trousers: security cleanup
9
10 Bug: https://bugs.gentoo.org/737022
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-crypt/trousers/trousers-0.3.14-r2.ebuild | 68 ----------------------------
15 1 file changed, 68 deletions(-)
16
17 diff --git a/app-crypt/trousers/trousers-0.3.14-r2.ebuild b/app-crypt/trousers/trousers-0.3.14-r2.ebuild
18 deleted file mode 100644
19 index a36ff683073..00000000000
20 --- a/app-crypt/trousers/trousers-0.3.14-r2.ebuild
21 +++ /dev/null
22 @@ -1,68 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit autotools linux-info readme.gentoo-r1 systemd udev
29 -
30 -DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
31 -HOMEPAGE="http://trousers.sf.net"
32 -SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz"
33 -
34 -LICENSE="CPL-1.0 GPL-2"
35 -SLOT="0"
36 -KEYWORDS="amd64 arm arm64 ~m68k ~ppc ppc64 ~s390 x86"
37 -IUSE="doc libressl selinux" # gtk
38 -
39 -# gtk support presently does NOT compile.
40 -# gtk? ( >=x11-libs/gtk+-2 )
41 -
42 -DEPEND="acct-group/tss
43 - acct-user/tss
44 - >=dev-libs/glib-2
45 - !libressl? ( >=dev-libs/openssl-0.9.7:0= )
46 - libressl? ( dev-libs/libressl:0= )"
47 -RDEPEND="${DEPEND}
48 - selinux? ( sec-policy/selinux-tcsd )"
49 -BDEPEND="virtual/pkgconfig"
50 -
51 -PATCHES=(
52 - "${FILESDIR}/${PN}-0.3.13-nouseradd.patch"
53 - "${FILESDIR}/${P}-libressl.patch"
54 - "${FILESDIR}/${P}-fno-common.patch"
55 - "${FILESDIR}/${P}-Makefile.am-Mark-tddl.a-nodist.patch"
56 -)
57 -
58 -DOCS="AUTHORS ChangeLog NICETOHAVES README TODO"
59 -
60 -DOC_CONTENTS="
61 - If you have problems starting tcsd, please check permissions and
62 - ownership on /dev/tpm* and ~tss/system.data
63 -"
64 -S="${WORKDIR}"
65 -
66 -CONFIG_CHECK="~TCG_TPM"
67 -
68 -src_prepare() {
69 - default
70 - eautoreconf
71 -}
72 -
73 -src_configure() {
74 - # econf --with-gui=$(usex gtk gtk openssl)
75 - econf --with-gui=openssl
76 -}
77 -
78 -src_install() {
79 - default
80 - find "${D}" -name '*.la' -delete || die
81 -
82 - keepdir /var/lib/tpm
83 - use doc && dodoc doc/*
84 - newinitd "${FILESDIR}"/tcsd.initd tcsd
85 - newconfd "${FILESDIR}"/tcsd.confd tcsd
86 - systemd_dounit "${FILESDIR}"/tcsd.service
87 - udev_dorules "${FILESDIR}"/61-trousers.rules
88 - fowners tss:tss /var/lib/tpm
89 - readme.gentoo_create_doc
90 -}