Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/trousers/
Date: Sun, 12 Feb 2017 20:20:13
Message-Id: 1486930797.f810d526165db4d9c593800fbc36c13c6191509d.alonbl@gentoo
1 commit: f810d526165db4d9c593800fbc36c13c6191509d
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 12 20:19:38 2017 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 12 20:19:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f810d526
7
8 app-crypt/trousers: cleanup
9
10 Package-Manager: portage-2.3.3
11
12 app-crypt/trousers/Manifest | 1 -
13 app-crypt/trousers/trousers-0.3.13-r1.ebuild | 104 ---------------------------
14 app-crypt/trousers/trousers-0.3.13.ebuild | 102 --------------------------
15 3 files changed, 207 deletions(-)
16
17 diff --git a/app-crypt/trousers/Manifest b/app-crypt/trousers/Manifest
18 index 56a9e0e64c..b69a8eadcc 100644
19 --- a/app-crypt/trousers/Manifest
20 +++ b/app-crypt/trousers/Manifest
21 @@ -1,3 +1,2 @@
22 DIST trousers-0.3.10.tar.gz 1658652 SHA256 eb9569de5c66d9698f6c3303de03777b95ec72827f68b7744454bfa9227bc530 SHA512 1835246f846d20bc1b2731d68440a9ca45865fcd52ad847d95485e4b126fae8bec09feaad559c27d83e243d92b8adc3a67934bff2034b318df075842fe9df4f0 WHIRLPOOL 7a27ef57b0038178cbf384c9fdec2d2e3e58dbeb5e5bc1503d2a7058a8312df54fa72b87968554631e4b5e483ae5e8c5e0a2367346bf3ae001b523a507ceff40
23 -DIST trousers-0.3.13.tar.gz 1371901 SHA256 bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3 SHA512 c54407e538712f738b593707ffc6d617348d73de91dfddd9057273c2fcec26e5738e89db005d36d52596630a9d583f7fcb8cc388f597da6212891e2d79dce699 WHIRLPOOL 8099d2f01b1c64b2e92c78130c9f66766f9054a1ab557f0d6da149ca4869c9fed7ee3a26454ab50bd67069d30c758ccabb450dead1d9100ffacac9f596f6d46b
24 DIST trousers-0.3.14.tar.gz 1378438 SHA256 ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47 SHA512 bf87f00329cf1d76a12cf6b6181fa22f90e76af3c5786e6e2db98438d2d3f0c0e05364374664173f45e3a2f6c0e2364948d0b958a7845cb23fcb340150cd9b21 WHIRLPOOL 1e1c51774fa796c706858d008651182673f7a88532cac35d010f4bd713fe50c1151e0a5a7ffb6975e8a050a1aab6edeb09d1672407025a776625c9b4f2912c88
25
26 diff --git a/app-crypt/trousers/trousers-0.3.13-r1.ebuild b/app-crypt/trousers/trousers-0.3.13-r1.ebuild
27 deleted file mode 100644
28 index e1055d21a7..0000000000
29 --- a/app-crypt/trousers/trousers-0.3.13-r1.ebuild
30 +++ /dev/null
31 @@ -1,104 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -
38 -inherit autotools eutils linux-info readme.gentoo systemd user udev
39 -
40 -#MY_P="${PN}-${PV%.*}-${PV##*.}"
41 -
42 -DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
43 -HOMEPAGE="http://trousers.sf.net"
44 -SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
45 -
46 -LICENSE="CPL-1.0 GPL-2"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86"
49 -IUSE="doc libressl selinux" # gtk
50 -
51 -# gtk support presently does NOT compile.
52 -# gtk? ( >=x11-libs/gtk+-2 )
53 -
54 -CDEPEND=">=dev-libs/glib-2
55 - !libressl? ( >=dev-libs/openssl-0.9.7:0 )
56 - libressl? ( dev-libs/libressl )
57 -"
58 -DEPEND="${CDEPEND}
59 - virtual/pkgconfig"
60 -RDEPEND="${CDEPEND}
61 - selinux? ( sec-policy/selinux-tcsd )"
62 -# S="${WORKDIR}/${P}git"
63 -
64 -DOCS="AUTHORS ChangeLog NICETOHAVES README TODO"
65 -
66 -DOC_CONTENTS="
67 - If you have problems starting tcsd, please check permissions and
68 - ownership on /dev/tpm* and ~tss/system.data
69 -"
70 -
71 -pkg_setup() {
72 - # Check for driver (not sure it can be an rdep, because ot depends on the
73 - # version of virtual/linux-sources... Is that supported by portage?)
74 - linux-info_pkg_setup
75 - local tpm_kernel_version tpm_kernel_present tpm_module
76 - kernel_is ge 2 6 12 && tpm_kernel_version="yes"
77 - if linux_config_exists; then
78 - linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes"
79 - else
80 - ewarn "No kernel configuration could be found."
81 - fi
82 - has_version app-crypt/tpm-emulator && tpm_module="yes"
83 - if [[ -n "${tpm_kernel_present}" ]]; then
84 - einfo "Good, you seem to have in-kernel TPM support."
85 - elif [[ -n "${tpm_module}" ]]; then
86 - einfo "Good, you seem to have TPM support with the external module."
87 - if [[ -n "${tpm_kernel_version}" ]]; then
88 - elog
89 - elog "Note that since you have a >=2.6.12 kernel, you could use"
90 - elog "the in-kernel driver instead of (CONFIG_TCG_TPM)."
91 - fi
92 - elif [[ -n "${tpm_kernel_version}" ]]; then
93 - eerror
94 - eerror "To use this package, you will have to activate TPM support"
95 - eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM,"
96 - eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)."
97 - eerror
98 - else
99 - eerror
100 - eerror "To use this package, you should install a TPM driver."
101 - eerror "You can have the following options:"
102 - eerror " - install app-crypt/tpm-emulator"
103 - eerror " - switch to a >=2.6.12 kernel and compile the kernel module"
104 - eerror
105 - fi
106 -
107 - # New user/group for the daemon
108 - enewgroup tss
109 - enewuser tss -1 -1 /var/lib/tpm tss
110 -}
111 -
112 -src_prepare() {
113 - epatch "${FILESDIR}"/${P}-nouseradd.patch
114 - epatch "${FILESDIR}"/${P}-build.patch
115 - mv configure.in configure.ac || die
116 - eautoreconf
117 -}
118 -
119 -src_configure() {
120 - # econf --with-gui=$(usex gtk gtk openssl)
121 - econf --with-gui=openssl
122 -}
123 -
124 -src_install() {
125 - keepdir /var/lib/tpm
126 - default
127 - use doc && dodoc doc/*
128 - newinitd "${FILESDIR}"/tcsd.initd tcsd
129 - newconfd "${FILESDIR}"/tcsd.confd tcsd
130 - systemd_dounit "${FILESDIR}"/tcsd.service
131 - udev_dorules "${FILESDIR}"/61-trousers.rules
132 - fowners tss:tss /var/lib/tpm
133 - prune_libtool_files
134 - readme.gentoo_create_doc
135 -}
136
137 diff --git a/app-crypt/trousers/trousers-0.3.13.ebuild b/app-crypt/trousers/trousers-0.3.13.ebuild
138 deleted file mode 100644
139 index a4c0a434a2..0000000000
140 --- a/app-crypt/trousers/trousers-0.3.13.ebuild
141 +++ /dev/null
142 @@ -1,102 +0,0 @@
143 -# Copyright 1999-2015 Gentoo Foundation
144 -# Distributed under the terms of the GNU General Public License v2
145 -# $Id$
146 -
147 -EAPI=5
148 -
149 -inherit autotools eutils linux-info readme.gentoo systemd user udev
150 -
151 -#MY_P="${PN}-${PV%.*}-${PV##*.}"
152 -
153 -DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
154 -HOMEPAGE="http://trousers.sf.net"
155 -SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
156 -
157 -LICENSE="CPL-1.0 GPL-2"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86"
160 -IUSE="doc selinux" # gtk
161 -
162 -# gtk support presently does NOT compile.
163 -# gtk? ( >=x11-libs/gtk+-2 )
164 -
165 -CDEPEND=">=dev-libs/glib-2
166 - >=dev-libs/openssl-0.9.7:0"
167 -DEPEND="${CDEPEND}
168 - virtual/pkgconfig"
169 -RDEPEND="${CDEPEND}
170 - selinux? ( sec-policy/selinux-tcsd )"
171 -# S="${WORKDIR}/${P}git"
172 -
173 -DOCS="AUTHORS ChangeLog NICETOHAVES README TODO"
174 -
175 -DOC_CONTENTS="
176 - If you have problems starting tcsd, please check permissions and
177 - ownership on /dev/tpm* and ~tss/system.data
178 -"
179 -
180 -pkg_setup() {
181 - # Check for driver (not sure it can be an rdep, because ot depends on the
182 - # version of virtual/linux-sources... Is that supported by portage?)
183 - linux-info_pkg_setup
184 - local tpm_kernel_version tpm_kernel_present tpm_module
185 - kernel_is ge 2 6 12 && tpm_kernel_version="yes"
186 - if linux_config_exists; then
187 - linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes"
188 - else
189 - ewarn "No kernel configuration could be found."
190 - fi
191 - has_version app-crypt/tpm-emulator && tpm_module="yes"
192 - if [[ -n "${tpm_kernel_present}" ]]; then
193 - einfo "Good, you seem to have in-kernel TPM support."
194 - elif [[ -n "${tpm_module}" ]]; then
195 - einfo "Good, you seem to have TPM support with the external module."
196 - if [[ -n "${tpm_kernel_version}" ]]; then
197 - elog
198 - elog "Note that since you have a >=2.6.12 kernel, you could use"
199 - elog "the in-kernel driver instead of (CONFIG_TCG_TPM)."
200 - fi
201 - elif [[ -n "${tpm_kernel_version}" ]]; then
202 - eerror
203 - eerror "To use this package, you will have to activate TPM support"
204 - eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM,"
205 - eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)."
206 - eerror
207 - else
208 - eerror
209 - eerror "To use this package, you should install a TPM driver."
210 - eerror "You can have the following options:"
211 - eerror " - install app-crypt/tpm-emulator"
212 - eerror " - switch to a >=2.6.12 kernel and compile the kernel module"
213 - eerror
214 - fi
215 -
216 - # New user/group for the daemon
217 - enewgroup tss
218 - enewuser tss -1 -1 /var/lib/tpm tss
219 -}
220 -
221 -src_prepare() {
222 - epatch "${FILESDIR}"/${P}-nouseradd.patch
223 - epatch "${FILESDIR}"/${P}-build.patch
224 - mv configure.in configure.ac || die
225 - eautoreconf
226 -}
227 -
228 -src_configure() {
229 - # econf --with-gui=$(usex gtk gtk openssl)
230 - econf --with-gui=openssl
231 -}
232 -
233 -src_install() {
234 - keepdir /var/lib/tpm
235 - default
236 - use doc && dodoc doc/*
237 - newinitd "${FILESDIR}"/tcsd.initd tcsd
238 - newconfd "${FILESDIR}"/tcsd.confd tcsd
239 - systemd_dounit "${FILESDIR}"/tcsd.service
240 - udev_dorules "${FILESDIR}"/61-trousers.rules
241 - fowners tss:tss /var/lib/tpm
242 - prune_libtool_files
243 - readme.gentoo_create_doc
244 -}