mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 05:21:23 +02:00
app-crypt/trousers: Sync from Gentoo
This commit is contained in:
parent
bc594381c6
commit
16dbf342bc
@ -1,73 +0,0 @@
|
|||||||
# ChangeLog for app-crypt/trousers
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# (auto-generated from git log)
|
|
||||||
|
|
||||||
*trousers-0.3.13 (09 Aug 2015)
|
|
||||||
*trousers-0.3.10-r1 (09 Aug 2015)
|
|
||||||
|
|
||||||
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +files/61-trousers.rules,
|
|
||||||
+files/tcsd.confd, +files/tcsd.initd, +files/tcsd.service,
|
|
||||||
+files/trousers-0.3.13-nouseradd.patch,
|
|
||||||
+files/trousers-0.3.5-nouseradd.patch, +metadata.xml,
|
|
||||||
+trousers-0.3.10-r1.ebuild, +trousers-0.3.13.ebuild:
|
|
||||||
proj/gentoo: Initial commit
|
|
||||||
|
|
||||||
This commit represents a new era for Gentoo:
|
|
||||||
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
|
||||||
|
|
||||||
This commit is the start of the NEW history.
|
|
||||||
Any historical data is intended to be grafted onto this point.
|
|
||||||
|
|
||||||
Creation process:
|
|
||||||
1. Take final CVS checkout snapshot
|
|
||||||
2. Remove ALL ChangeLog* files
|
|
||||||
3. Transform all Manifests to thin
|
|
||||||
4. Remove empty Manifests
|
|
||||||
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
|
||||||
5.1. Do not touch files with -kb/-ko keyword flags.
|
|
||||||
|
|
||||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
|
||||||
tests
|
|
||||||
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
|
||||||
project
|
|
||||||
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
|
||||||
developer, wrote Git features for the migration
|
|
||||||
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
|
||||||
cvs2svn
|
|
||||||
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
|
||||||
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
|
||||||
work in migration
|
|
||||||
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
|
||||||
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
|
||||||
the bikeshed
|
|
||||||
|
|
||||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
|
||||||
Use https by default
|
|
||||||
|
|
||||||
Convert all URLs for sites supporting encrypted connections from http to
|
|
||||||
https
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
|
||||||
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
|
||||||
|
|
||||||
repoman does not yet accept the https version.
|
|
||||||
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
|
||||||
|
|
||||||
Bug: https://bugs.gentoo.org/552720
|
|
||||||
|
|
||||||
12 Sep 2015; Alon Bar-Lev <alonbl@gentoo.org>
|
|
||||||
+files/trousers-0.3.13-build.patch, trousers-0.3.13.ebuild:
|
|
||||||
fix gcc5 issue
|
|
||||||
|
|
||||||
Bug: 560202
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.20.1
|
|
||||||
|
|
||||||
*trousers-0.3.13-r1 (05 Oct 2015)
|
|
||||||
|
|
||||||
05 Oct 2015; Julian Ospald <hasufell@gentoo.org> +trousers-0.3.13-r1.ebuild:
|
|
||||||
add libressl support
|
|
||||||
|
|
@ -1,270 +0,0 @@
|
|||||||
# ChangeLog for app-crypt/trousers
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.58 2015/06/09 09:35:46 jlec Exp $
|
|
||||||
|
|
||||||
09 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
|
||||||
Updating remote-id in metadata.xml
|
|
||||||
|
|
||||||
27 Apr 2015; Alon Bar-Lev <alonbl@gentoo.org> trousers-0.3.13.ebuild:
|
|
||||||
autoreconf, bug#547654, thanks to Martin Dummer
|
|
||||||
|
|
||||||
*trousers-0.3.13 (08 Apr 2015)
|
|
||||||
|
|
||||||
08 Apr 2015; Alon Bar-Lev <alonbl@gentoo.org>
|
|
||||||
+files/trousers-0.3.13-nouseradd.patch, +trousers-0.3.13.ebuild:
|
|
||||||
Version bump, bug#545882, thanks to Kristian
|
|
||||||
|
|
||||||
12 Nov 2014; Anthony G. Basile <blueness@gentoo.org>
|
|
||||||
trousers-0.3.10-r1.ebuild:
|
|
||||||
Keyworded on ~ppc ~ppc64, bug #458196
|
|
||||||
|
|
||||||
02 Nov 2014; Sven Vermeulen <swift@gentoo.org> trousers-0.3.10-r1.ebuild:
|
|
||||||
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug
|
|
||||||
#527698)
|
|
||||||
|
|
||||||
03 Aug 2014; <tgall@gentoo.org> trousers-0.3.10-r1.ebuild:
|
|
||||||
arm64, stable
|
|
||||||
|
|
||||||
28 Jul 2014; Alon Bar-Lev <alonbl@gentoo.org> -trousers-0.3.10.ebuild:
|
|
||||||
Cleanup
|
|
||||||
|
|
||||||
27 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> trousers-0.3.10-r1.ebuild:
|
|
||||||
amd64 stable wrt bug #516844
|
|
||||||
|
|
||||||
27 Jul 2014; Markus Meier <maekke@gentoo.org> trousers-0.3.10-r1.ebuild:
|
|
||||||
arm stable, bug #516844
|
|
||||||
|
|
||||||
26 Jul 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
|
||||||
trousers-0.3.10-r1.ebuild:
|
|
||||||
x86 stable wrt bug #516844
|
|
||||||
|
|
||||||
15 Jul 2014; Alon Bar-Lev <alonbl@gentoo.org> -trousers-0.3.6-r1.ebuild,
|
|
||||||
-trousers-0.3.6.ebuild:
|
|
||||||
cleanup
|
|
||||||
|
|
||||||
04 Jul 2014; Sven Vermeulen <swift@gentoo.org> trousers-0.3.10-r1.ebuild,
|
|
||||||
trousers-0.3.10.ebuild, trousers-0.3.6-r1.ebuild, trousers-0.3.6.ebuild:
|
|
||||||
Adding USE=selinux dependency to selinux-tcsd on trousers package
|
|
||||||
|
|
||||||
10 Jun 2014; Mike Frysinger <vapier@gentoo.org> trousers-0.3.10-r1.ebuild,
|
|
||||||
trousers-0.3.10.ebuild:
|
|
||||||
Add arm64/m68k/s390/sh love.
|
|
||||||
|
|
||||||
*trousers-0.3.10-r1 (24 May 2014)
|
|
||||||
|
|
||||||
24 May 2014; Pacho Ramos <pacho@gentoo.org> +files/tcsd.service,
|
|
||||||
+trousers-0.3.10-r1.ebuild:
|
|
||||||
Add unit file (#510822 by Salah Coronya), fix license (#425894 by Ian
|
|
||||||
Stakenvicius), use readme.gentoo.eclass.
|
|
||||||
|
|
||||||
09 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
|
|
||||||
Add upstream CPE tag (security info) from ChromiumOS.
|
|
||||||
|
|
||||||
13 Jan 2013; Markus Meier <maekke@gentoo.org> trousers-0.3.10.ebuild:
|
|
||||||
arm stable, bug #450184
|
|
||||||
|
|
||||||
13 Jan 2013; Agostino Sarubbo <ago@gentoo.org> trousers-0.3.10.ebuild:
|
|
||||||
Stable for x86, wrt bug #450184
|
|
||||||
|
|
||||||
13 Jan 2013; Agostino Sarubbo <ago@gentoo.org> trousers-0.3.10.ebuild:
|
|
||||||
Stable for amd64, wrt bug #450184
|
|
||||||
|
|
||||||
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> trousers-0.3.6-r1.ebuild,
|
|
||||||
trousers-0.3.10.ebuild:
|
|
||||||
converted rules installations to use udev.eclass for recent ebuilds
|
|
||||||
|
|
||||||
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> trousers-0.3.6-r1.ebuild:
|
|
||||||
virtualized references to sys-fs/udev
|
|
||||||
|
|
||||||
16 Nov 2012; Samuli Suominen <ssuominen@gentoo.org> trousers-0.3.10.ebuild:
|
|
||||||
Use udev.eclass and remove unnecessary file libtspi.la to avoid
|
|
||||||
dependency_libs content leading to overlinking without -Wl,--as-needed (or
|
|
||||||
the new gold linker in binutils)
|
|
||||||
|
|
||||||
*trousers-0.3.10 (16 Nov 2012)
|
|
||||||
|
|
||||||
16 Nov 2012; Patrick Lauer <patrick@gentoo.org> +trousers-0.3.10.ebuild:
|
|
||||||
Bump
|
|
||||||
|
|
||||||
10 Sep 2012; Mike Frysinger <vapier@gentoo.org> trousers-0.3.6-r1.ebuild:
|
|
||||||
Drop -m64 hardcode.
|
|
||||||
|
|
||||||
08 Sep 2012; Tim Harder <radhermit@gentoo.org> metadata.xml:
|
|
||||||
Remove redundant maintainer from metadata.
|
|
||||||
|
|
||||||
*trousers-0.3.6-r1 (11 Aug 2012)
|
|
||||||
|
|
||||||
11 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
|
|
||||||
+trousers-0.3.6-r1.ebuild:
|
|
||||||
Query udevdir value from udev.pc pkg-config file instead of using /etc/udev
|
|
||||||
which is reserved for user defined rules.
|
|
||||||
|
|
||||||
31 May 2012; Zac Medico <zmedico@gentoo.org> trousers-0.3.6.ebuild:
|
|
||||||
inherit user for enewgroup and enewuser
|
|
||||||
|
|
||||||
14 May 2012; Mike Frysinger <vapier@gentoo.org> trousers-0.3.6.ebuild:
|
|
||||||
Add arm love for ChromiumOS.
|
|
||||||
|
|
||||||
03 May 2012; Jeff Horelick <jdhore@gentoo.org> trousers-0.3.6.ebuild:
|
|
||||||
dev-util/pkgconfig -> virtual/pkgconfig
|
|
||||||
|
|
||||||
20 Aug 2011; Sven Wegener <swegener@gentoo.org> files/tcsd.initd:
|
|
||||||
Switch from --chuid to --user.
|
|
||||||
|
|
||||||
22 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
|
||||||
-trousers-0.3.5.ebuild:
|
|
||||||
Delete.
|
|
||||||
|
|
||||||
21 Mar 2011; Thomas Kahle <tomka@gentoo.org> trousers-0.3.6.ebuild:
|
|
||||||
x86 stable per bug 357181
|
|
||||||
|
|
||||||
04 Mar 2011; Markos Chandras <hwoarang@gentoo.org> trousers-0.3.6.ebuild:
|
|
||||||
Stable on amd64 wrt bug #357181
|
|
||||||
|
|
||||||
*trousers-0.3.6 (06 Aug 2010)
|
|
||||||
|
|
||||||
06 Aug 2010; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+files/61-trousers.rules, -files/trousers-0.2.3-nouseradd.patch,
|
|
||||||
-trousers-0.3.2.1-r1.ebuild, trousers-0.3.5.ebuild,
|
|
||||||
+trousers-0.3.6.ebuild:
|
|
||||||
Bug #329451: version bump. Bug #330287: setup for USE=gtk, but disable for
|
|
||||||
now as USE=gtk does not even build for me, due to missing support.h. Bug
|
|
||||||
#232190: include udev rules.
|
|
||||||
|
|
||||||
*trousers-0.3.5 (27 Jun 2010)
|
|
||||||
|
|
||||||
27 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
|
||||||
-trousers-0.3.1.ebuild, -files/trousers-0.3.1-gcc43.patch,
|
|
||||||
-files/trousers-0.3.1-qa.patch, -trousers-0.3.2.ebuild,
|
|
||||||
-trousers-0.3.2.1.ebuild, +trousers-0.3.5.ebuild,
|
|
||||||
+files/trousers-0.3.5-nouseradd.patch:
|
|
||||||
Version bump (bug #325533). Fix building with >=sys-devel/autoconf-2.64
|
|
||||||
(bug #282345).
|
|
||||||
|
|
||||||
*trousers-0.3.2.1-r1 (06 Sep 2009)
|
|
||||||
|
|
||||||
06 Sep 2009; Mike Auty <ikelos@gentoo.org> +trousers-0.3.2.1-r1.ebuild:
|
|
||||||
Add in kernel config existence checks (bug 283320).
|
|
||||||
|
|
||||||
*trousers-0.3.2.1 (06 Sep 2009)
|
|
||||||
|
|
||||||
06 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
|
||||||
+trousers-0.3.2.1.ebuild:
|
|
||||||
Version bump (bug #283081).
|
|
||||||
|
|
||||||
*trousers-0.3.2 (22 Aug 2009)
|
|
||||||
|
|
||||||
22 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
|
||||||
+trousers-0.3.2.ebuild:
|
|
||||||
Version bump (bug #280788).
|
|
||||||
|
|
||||||
29 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
|
||||||
trousers-0.3.1.ebuild:
|
|
||||||
Add ~amd64 keyword.
|
|
||||||
|
|
||||||
22 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
|
||||||
trousers-0.3.1.ebuild:
|
|
||||||
Don't use -Werror (bug #260873).
|
|
||||||
|
|
||||||
20 Feb 2009; Daniel Black <dragonheart@gentoo.org> trousers-0.3.1.ebuild:
|
|
||||||
app-crypt/tpm-module being purged
|
|
||||||
|
|
||||||
23 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
|
|
||||||
files/trousers-0.2.3-nouseradd.patch, +files/trousers-0.3.1-gcc43.patch,
|
|
||||||
trousers-0.3.1.ebuild:
|
|
||||||
Fix for gcc-4.3, tidy up ebuild. Bug #232521. Thanks to Shvetsov Alexey
|
|
||||||
<alexxyum@gmail.com>
|
|
||||||
|
|
||||||
07 Jun 2008; Diego Pettenò <flameeyes@gentoo.org> trousers-0.3.1.ebuild:
|
|
||||||
Remove unused inherits that were used to patch and re-autotools before.
|
|
||||||
|
|
||||||
24 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org>
|
|
||||||
+files/trousers-0.3.1-qa.patch, trousers-0.3.1.ebuild:
|
|
||||||
Fix 64bit issue, bug#200218, thanks to dev-zero
|
|
||||||
|
|
||||||
*trousers-0.3.1 (10 Nov 2007)
|
|
||||||
|
|
||||||
10 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org>
|
|
||||||
-files/trousers-0.2.1-nouseradd.patch, -files/trousers-0.2.3-ldadd.patch,
|
|
||||||
-files/trousers-0.2.6-as-needed.patch, -trousers-0.2.1.ebuild,
|
|
||||||
-trousers-0.2.3.ebuild, -trousers-0.2.5.ebuild, -trousers-0.2.6.ebuild,
|
|
||||||
-trousers-0.2.8.ebuild, +trousers-0.3.1.ebuild:
|
|
||||||
Version bump, cleanup
|
|
||||||
|
|
||||||
24 Jan 2007; Marius Mauch <genone@gentoo.org> trousers-0.2.1.ebuild,
|
|
||||||
trousers-0.2.3.ebuild, trousers-0.2.5.ebuild, trousers-0.2.6.ebuild,
|
|
||||||
trousers-0.2.8.ebuild:
|
|
||||||
Replacing einfo with elog
|
|
||||||
|
|
||||||
12 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> trousers-0.2.8.ebuild:
|
|
||||||
Remove WANT_AUTO*
|
|
||||||
|
|
||||||
*trousers-0.2.8 (06 Jan 2007)
|
|
||||||
|
|
||||||
06 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> +trousers-0.2.8.ebuild:
|
|
||||||
Version bump
|
|
||||||
|
|
||||||
*trousers-0.2.6 (06 May 2006)
|
|
||||||
|
|
||||||
06 May 2006; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
+files/trousers-0.2.6-as-needed.patch, +trousers-0.2.6.ebuild:
|
|
||||||
version bump
|
|
||||||
|
|
||||||
27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-trousers-0.2.1,
|
|
||||||
files/digest-trousers-0.2.3, Manifest:
|
|
||||||
Fixing duff SHA256 digests: Bug # 131293
|
|
||||||
|
|
||||||
*trousers-0.2.5 (02 Feb 2006)
|
|
||||||
|
|
||||||
02 Feb 2006; Daniel Black <dragonheart@gentoo.org> +trousers-0.2.5.ebuild:
|
|
||||||
version bump
|
|
||||||
|
|
||||||
*trousers-0.2.3 (17 Sep 2005)
|
|
||||||
|
|
||||||
17 Sep 2005; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
-files/trousers-0.2.0-nouseradd.patch, +files/trousers-0.2.3-ldadd.patch,
|
|
||||||
+files/trousers-0.2.3-nouseradd.patch, -trousers-0.1.11-r1.ebuild,
|
|
||||||
-trousers-0.2.0.ebuild, +trousers-0.2.3.ebuild:
|
|
||||||
version bump. remove old versions - inspiried by bug #105799 thanks to Felix
|
|
||||||
Dorner
|
|
||||||
|
|
||||||
23 Aug 2005; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
trousers-0.1.11-r1.ebuild, trousers-0.2.0.ebuild, trousers-0.2.1.ebuild:
|
|
||||||
QA fix removing /bin/false from enewuser - bug #103421
|
|
||||||
|
|
||||||
*trousers-0.2.1 (30 Jul 2005)
|
|
||||||
|
|
||||||
30 Jul 2005; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
+files/trousers-0.2.1-nouseradd.patch, +trousers-0.2.1.ebuild:
|
|
||||||
version bump
|
|
||||||
|
|
||||||
*trousers-0.2.0 (06 Jul 2005)
|
|
||||||
|
|
||||||
06 Jul 2005; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
+files/trousers-0.2.0-nouseradd.patch, +trousers-0.2.0.ebuild:
|
|
||||||
version bump. tpm udev is now part of udev-060
|
|
||||||
|
|
||||||
23 Jun 2005; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
trousers-0.1.11-r1.ebuild:
|
|
||||||
udev fix thanks to latexer
|
|
||||||
|
|
||||||
*trousers-0.1.11-r1 (23 Jun 2005)
|
|
||||||
|
|
||||||
23 Jun 2005; Daniel Black <dragonheart@gentoo.org>
|
|
||||||
-files/0.1.7-makefile-statedir.patch, files/tcsd.initd,
|
|
||||||
-trousers-0.1.7.ebuild, -trousers-0.1.11.ebuild,
|
|
||||||
+trousers-0.1.11-r1.ebuild:
|
|
||||||
added udev permissions. Added tpm-emulator as optional dependancy. script
|
|
||||||
file fixes and old version cleanout
|
|
||||||
|
|
||||||
*trousers-0.1.11 (19 Jun 2005)
|
|
||||||
|
|
||||||
19 Jun 2005; Daniel Black <dragonheart@gentoo.org> +files/tcsd.confd,
|
|
||||||
+files/tcsd.initd, +trousers-0.1.11.ebuild:
|
|
||||||
Version bump as per bug #95764. Thankyou TGL
|
|
||||||
|
|
||||||
*trousers-0.1.7 (06 Feb 2005)
|
|
||||||
|
|
||||||
06 Feb 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
|
|
||||||
+files/0.1.7-makefile-statedir.patch, +trousers-0.1.7.ebuild:
|
|
||||||
Initial import
|
|
@ -1,15 +1 @@
|
|||||||
AUX 61-trousers.rules 96 SHA256 8f25b51dca45b75caa85a00ef476fb40c09d6cc82e2351cb7af24ebc805dd949 SHA512 83fa5b8666bcb0111f69456e6b9ea73eca2e1933e44bf7b705ff4d3c7b63a63ae4d0a1c30b0a00ebe6a8b4206ed7df80abca8503ace1c795119213f3546e9307 WHIRLPOOL a6ff89249a9ea7d5a7d308f0446e304b4429992bd51953e4dbe1a87731c7b8c824b1d158fc1f734965c082508b1ed334ff4303bf610228228c858e29cfe71664
|
DIST trousers-0.3.14.tar.gz 1378438 BLAKE2B 3dc2824fa2ca1b1f1181f98d59e85276e7d38af4bfc07ee8246431d9ccb300a8e0820b318643d4cf5d757d2a49492c8686e2fe9de03484263d2189d4bbaa32d0 SHA512 bf87f00329cf1d76a12cf6b6181fa22f90e76af3c5786e6e2db98438d2d3f0c0e05364374664173f45e3a2f6c0e2364948d0b958a7845cb23fcb340150cd9b21
|
||||||
AUX tcsd.confd 372 SHA256 5a1f9150ce0d8cc3e9e80971e073ee0b1db018ec3af6809087a7c626b9ffa327 SHA512 1e33f521156d55ff450907e01a7c60750e2880520700de1e8fb42ed03d5a16a20332f6f437f2cc7ed155f65b9306bf2d670f46c4b7055d4c9248beaeb06f8a75 WHIRLPOOL d94c3719b438c2758d97f00dab463b9b76b0fc2d9329dcc9cd8867150a7f5351379254868165df8e19ef33ae0e9d6ab333706952dcabaf0da18833750c35f42e
|
|
||||||
AUX tcsd.initd 849 SHA256 29c36bdcedb580a878fbc599f12dea559438abea2b033d8e1664d7accf863dfb SHA512 f2a389f3e59a6e455aca8555cf022479fc5212f08c67901ce2db86f42ef34be3564c6b209eddc4f29869a72cefcdbae431b63a7c669d57f1a26ed21a60ef5e43 WHIRLPOOL 4acbfa2278553b97e4ce180eb903bce64334aea487515487f5c358ff8f0fb38c723aa3c8ed7b16497bdb3dc0d838c60529b70292a2db92444753dbdefc3aa8ff
|
|
||||||
AUX tcsd.service 131 SHA256 704dbb2b06a3e357fe2363d2cc88632ccd18dcdf14dc7640cd67272df5a52ade SHA512 e516bde8ce45fe4ad687aaaabae475da9c20a9fbd8ebee736d09ceb6efa597efb6f3bb99840a4c0d2c9eb77c2824df6ee45985b46dc8cf924b4eed67eeec1468 WHIRLPOOL 851f6ef31d93a7fd119cc4bc70c28410539fb572158e8238b72ea177e5a75e2a48382807ac14203eb48a21e5432c5c0c35cf25619557d9ba741328f3f79ebfc0
|
|
||||||
AUX trousers-0.3.13-build.patch 2019 SHA256 0217b7f1178f880df4a3493a758b0a4b2462a7420d882b6634e531dec17081d7 SHA512 6877f7298ae03d3a3214da37591f889a382a380c39f36e287a9a2edbec78d44ff5032ef75b3c6b114c6755f0f924c8e1a1a4a3b0577e7168ac42dc8c1cc8983a WHIRLPOOL bd722f960f61efcb834232c5b746dc94f94971f1c1f220c6685faea662c1f07f34e12dfb46ba534d55b2530add31dd1b90b1a10b7c407a0e6633c1c8004802ca
|
|
||||||
AUX trousers-0.3.13-nouseradd.patch 606 SHA256 af43a38991c10db8a817faaa4ff244f3600c90a10e26a0232e7668f15f84e911 SHA512 a6c9074e535429f09ce5e850d943378348b54bed479b7fef0fff7bb18ab2547421407900aa35533749a764275a241ddbd083c4e2f3d6a9ad6f9b1d40d090f783 WHIRLPOOL 2ca8c22aa11aee2f06ce0dfc7c2d035b10724999302818461e72ed9fc29d813112dd52ac80ac7c1027b301f7bdcffe085537dfbf05affebf3ca96992026ae11b
|
|
||||||
AUX trousers-0.3.5-nouseradd.patch 439 SHA256 927040d4ef30657717a75318320330f12364a624e0ce6f0d2e6a25c53e5ba11b SHA512 d5f218fb2cd50e81eed2fc3fb48c613f33e17be9be39368e6d0aef5cd2237ef4505736bebc00b30e3133cab81ac2551edbdb8d83aaab0614cbc1747b34bff806 WHIRLPOOL eb01c789159dab0b662065ce155e27f7dbbb5bf5a41c470598be08dcb41fafd77c242c77618f2c118d943b716dea95934bed19c7fd5634442a9b17bd74a943dd
|
|
||||||
DIST trousers-0.3.10.tar.gz 1658652 SHA256 eb9569de5c66d9698f6c3303de03777b95ec72827f68b7744454bfa9227bc530 SHA512 1835246f846d20bc1b2731d68440a9ca45865fcd52ad847d95485e4b126fae8bec09feaad559c27d83e243d92b8adc3a67934bff2034b318df075842fe9df4f0 WHIRLPOOL 7a27ef57b0038178cbf384c9fdec2d2e3e58dbeb5e5bc1503d2a7058a8312df54fa72b87968554631e4b5e483ae5e8c5e0a2367346bf3ae001b523a507ceff40
|
|
||||||
DIST trousers-0.3.13.tar.gz 1371901 SHA256 bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3 SHA512 c54407e538712f738b593707ffc6d617348d73de91dfddd9057273c2fcec26e5738e89db005d36d52596630a9d583f7fcb8cc388f597da6212891e2d79dce699 WHIRLPOOL 8099d2f01b1c64b2e92c78130c9f66766f9054a1ab557f0d6da149ca4869c9fed7ee3a26454ab50bd67069d30c758ccabb450dead1d9100ffacac9f596f6d46b
|
|
||||||
EBUILD trousers-0.3.10-r1.ebuild 3013 SHA256 73c0a2afc4805c780cd0731245d598845d442bc1a97698256b64a4fbc12f61df SHA512 f931504f773f87e5a0c04da8ad448bdcd8b1e96b0e14e89f64a7a24eb1cdbcbc3d193ea2fcb30d087f52d960082499a1c6c0ebeb49ce417f8f2b40f6d1a4c308 WHIRLPOOL a57cc01db3c3a83786eb0d090fbb0dae89d6ab02f92536ec63ac6e5334ec08bd31b0a81a8a8afb9be79feccdc032ff7d989617f340bdeab45e319d91cf86895a
|
|
||||||
EBUILD trousers-0.3.13-r1.ebuild 3072 SHA256 5afead3b02b9d82a013c707b1bc291eecafff21aa21f5ea37d44b6ff53158d20 SHA512 a5c7c6aaf4fc314c759c4d9f41fb4306afb5fe4b81f15b1c4365fc20c06b56924dda58530755af41e9f00e44c1ee0c862a7dfcabfab1befcd799e72b59a9c55b WHIRLPOOL d9bb612fcd59740044246536514b05cdddb531a5956cf5fb1a539d792c6b64c6d68270c0ccc1a637d7e1bf36670ffef6fa3f2cee28fd7054989ebcbf87342a64
|
|
||||||
EBUILD trousers-0.3.13.ebuild 3014 SHA256 bcc9bc1a88a921aadd99ceff2faa1bcf546ea0f6d0975a861ace608c50cb6466 SHA512 aa1a2df2870ee4f97dc4c7ae7be5d6fd251b64ee3953de0666bb0352b5737e2131e9d1136abc765a464b61f39116af605e05036f4fab2195c42579737a902389 WHIRLPOOL a3b9be24f7b35545f53622e1febf8ad95512389396cdef93434399b10685242dc48a6ded3146fa1b14bddcefd515149642365912eb337daa4b4cfbc5848980c6
|
|
||||||
MISC ChangeLog 2606 SHA256 8d69ebaf89dbfaa941f7dcf3d978118d638902c3f5fa35e245bbe4a74f391e26 SHA512 f2db096cca06d241f8bdbd34e8439e5787e30e2761ea494270156ac8287b4d93267060f9b793a6f5ab5a9c1fa9ae0435c19e40b4b7b930df9f8dbc381912c4be WHIRLPOOL 279dc5ea5b5a298403538274f5eb1d767e339693f530655647615981a6a8363a4329b491f4f8ad2d67bcdc4e80f34ed0b30515213ad42c358bb912cfe0a45046
|
|
||||||
MISC ChangeLog-2015 9637 SHA256 08e62c19dc835915e45e8fa120f7945bbaa3dbeb464ef8dba9b106cc3a9d2e15 SHA512 415e7e6bb7d24c1da939867b751187f96eec3fe10d47c8003d2160644815dd72f07cc278dba6807f7403c2edff166f8db5e6e3c4b5d23153f060210063fa07d8 WHIRLPOOL c5f9422ed04064397d28ac87fe9eb93cc3f669a6384170d95015492b07614e61222e03f064acc36aae0fa4f63741107743f942277fb9743ed9a4dfcd49d54daf
|
|
||||||
MISC metadata.xml 304 SHA256 98852de410f67541dd320cd2feadb413638dd95470141127fc00c6a538bdf36e SHA512 54c86a65d6d04953bbe3f47e9d5d32a7304e792f8211335b1065c3bb2618be5762ff38d34515af483c634572a7c48e7bc1f0200785c6924b46afd9b6d9abbb45 WHIRLPOOL f50232e16a0368f3bfa79a724310df879b329a6bbe54ed969039bc221b1d76b250811ebc1cc612f4425c3a665e2d50da895fc99e946226ee6d65b31ed8130719
|
|
||||||
|
Binary file not shown.
9
sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.confd
vendored
Normal file
9
sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.confd
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# /etc/conf.d/tscd
|
||||||
|
|
||||||
|
# Configuration file for the TrouSerS' TCS daemon (tcsd) init script
|
||||||
|
# Have a look on /etc/tcsd.conf too, there is more to configure there.
|
||||||
|
|
||||||
|
# TPM_MODULES: name of the module(s) that should be loaded. You only need to
|
||||||
|
# set this if your driver is not compiled in kernel and is not already loaded
|
||||||
|
# on boot. (default: unset)
|
||||||
|
#TPM_MODULES="tpm_atmel"
|
38
sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.initd
vendored
Normal file
38
sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.initd
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
use logger
|
||||||
|
need net
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
local mod
|
||||||
|
if [ -n "${TPM_MODULES}" ] ; then
|
||||||
|
for mod in ${TPM_MODULES} ; do
|
||||||
|
lsmod | grep -q "^${mod}\b" \
|
||||||
|
|| modprobe ${mod} &>/dev/null \
|
||||||
|
|| ewarn "Failed to load module ${mod}"
|
||||||
|
done
|
||||||
|
# Should we sleep or something to wait for device creation?
|
||||||
|
fi
|
||||||
|
if [ ! -c /dev/tpm ] && [ ! -c /dev/tpm0 ] ; then
|
||||||
|
eerror "No TPM device found!"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting TrouSerS' TCS daemon (tcsd)"
|
||||||
|
checkconfig || eend $?
|
||||||
|
start-stop-daemon --start --user tss --exec /usr/sbin/tcsd
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping TrouSerS' TCS daemon (tcsd)"
|
||||||
|
start-stop-daemon --stop --quiet --exec /usr/sbin/tcsd --user tss
|
||||||
|
eend $?
|
||||||
|
}
|
@ -1,6 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=TCG Core Services Daemon
|
Description=TCG Core Services Daemon
|
||||||
ConditionPathExists=/dev/tpm0
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=tss
|
User=tss
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
d /var/lib/tpm 0755 tss tss - -
|
|
||||||
C /etc/tcsd.conf 0600 tss tss - /usr/share/trousers/tcsd.conf
|
|
||||||
C /var/lib/tpm/system.data 0600 tss tss - /usr/share/trousers/system.data
|
|
@ -1,77 +0,0 @@
|
|||||||
--- a/src/include/tcsps.h
|
|
||||||
+++ b/src/include/tcsps.h
|
|
||||||
@@ -23,13 +23,8 @@ int get_file();
|
|
||||||
int put_file(int);
|
|
||||||
void close_file(int);
|
|
||||||
void ps_destroy();
|
|
||||||
-#ifdef SOLARIS
|
|
||||||
-TSS_RESULT read_data(int, void *, UINT32);
|
|
||||||
-TSS_RESULT write_data(int, void *, UINT32);
|
|
||||||
-#else
|
|
||||||
-inline TSS_RESULT read_data(int, void *, UINT32);
|
|
||||||
-inline TSS_RESULT write_data(int, void *, UINT32);
|
|
||||||
-#endif
|
|
||||||
+TSS_RESULT read_data(int, void *, UINT32);
|
|
||||||
+TSS_RESULT write_data(int, void *, UINT32);
|
|
||||||
int write_key_init(int, UINT32, UINT32, UINT32);
|
|
||||||
TSS_RESULT cache_key(UINT32, UINT16, TSS_UUID *, TSS_UUID *, UINT16, UINT32, UINT32);
|
|
||||||
TSS_RESULT UnloadBlob_KEY_PS(UINT16 *, BYTE *, TSS_KEY *);
|
|
||||||
--- a/src/include/tspps.h
|
|
||||||
+++ b/src/include/tspps.h
|
|
||||||
@@ -18,8 +18,8 @@
|
|
||||||
|
|
||||||
TSS_RESULT get_file(int *);
|
|
||||||
int put_file(int);
|
|
||||||
-inline TSS_RESULT read_data(int, void *, UINT32);
|
|
||||||
-inline TSS_RESULT write_data(int, void *, UINT32);
|
|
||||||
+TSS_RESULT read_data(int, void *, UINT32);
|
|
||||||
+TSS_RESULT write_data(int, void *, UINT32);
|
|
||||||
UINT32 psfile_get_num_keys(int);
|
|
||||||
TSS_RESULT psfile_get_parent_uuid_by_uuid(int, TSS_UUID *, TSS_UUID *);
|
|
||||||
TSS_RESULT psfile_remove_key_by_uuid(int, TSS_UUID *);
|
|
||||||
--- a/src/tcs/ps/ps_utils.c
|
|
||||||
+++ b/src/tcs/ps/ps_utils.c
|
|
||||||
@@ -42,11 +42,7 @@
|
|
||||||
struct key_disk_cache *key_disk_cache_head = NULL;
|
|
||||||
|
|
||||||
|
|
||||||
-#ifdef SOLARIS
|
|
||||||
TSS_RESULT
|
|
||||||
-#else
|
|
||||||
-inline TSS_RESULT
|
|
||||||
-#endif
|
|
||||||
read_data(int fd, void *data, UINT32 size)
|
|
||||||
{
|
|
||||||
int rc;
|
|
||||||
@@ -64,11 +60,7 @@ read_data(int fd, void *data, UINT32 size)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-#ifdef SOLARIS
|
|
||||||
TSS_RESULT
|
|
||||||
-#else
|
|
||||||
-inline TSS_RESULT
|
|
||||||
-#endif
|
|
||||||
write_data(int fd, void *data, UINT32 size)
|
|
||||||
{
|
|
||||||
int rc;
|
|
||||||
--- a/src/tspi/ps/ps_utils.c
|
|
||||||
+++ b/src/tspi/ps/ps_utils.c
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
#include "tspps.h"
|
|
||||||
#include "tsplog.h"
|
|
||||||
|
|
||||||
-inline TSS_RESULT
|
|
||||||
+TSS_RESULT
|
|
||||||
read_data(int fd, void *data, UINT32 size)
|
|
||||||
{
|
|
||||||
int rc;
|
|
||||||
@@ -39,7 +39,7 @@ read_data(int fd, void *data, UINT32 size)
|
|
||||||
return TSS_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
-inline TSS_RESULT
|
|
||||||
+TSS_RESULT
|
|
||||||
write_data(int fd, void *data, UINT32 size)
|
|
||||||
{
|
|
||||||
int rc;
|
|
@ -0,0 +1,25 @@
|
|||||||
|
From 5b1dbb5f8eada9002ec10f4ebc0bc418272e58b2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Salah Coronya <salah.coronya@gmail.com>
|
||||||
|
Date: Sun, 7 Jun 2020 12:34:03 -0500
|
||||||
|
Subject: [PATCH] src/tddl/Makefile.am: Mark tddl.a nodist
|
||||||
|
|
||||||
|
This makes tddl.a nodist like the others, so it is not installed
|
||||||
|
|
||||||
|
Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
|
||||||
|
---
|
||||||
|
src/tddl/Makefile.am | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/tddl/Makefile.am b/src/tddl/Makefile.am
|
||||||
|
index 607eb8e..2cd599b 100644
|
||||||
|
--- a/src/tddl/Makefile.am
|
||||||
|
+++ b/src/tddl/Makefile.am
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-lib_LIBRARIES=libtddl.a
|
||||||
|
+noinst_LIBRARIES=libtddl.a
|
||||||
|
|
||||||
|
libtddl_a_SOURCES=tddl.c
|
||||||
|
libtddl_a_CFLAGS=-DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include -fPIE -DPIE
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/src/include/tcsd.h b/src/include/tcsd.h
|
||||||
|
index 5b9462b..05bae97 100644
|
||||||
|
--- a/src/include/tcsd.h
|
||||||
|
+++ b/src/include/tcsd.h
|
||||||
|
@@ -166,8 +166,8 @@ void thread_signal_init();
|
||||||
|
|
||||||
|
/* signal handling */
|
||||||
|
#ifndef __APPLE__
|
||||||
|
-struct sigaction tcsd_sa_int;
|
||||||
|
-struct sigaction tcsd_sa_chld;
|
||||||
|
+extern struct sigaction tcsd_sa_int;
|
||||||
|
+extern struct sigaction tcsd_sa_chld;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,28 @@
|
|||||||
|
From b8b1cda430270f03dc556cf9cf7d2fd478101525 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||||
|
Date: Wed, 7 Dec 2016 09:36:34 +0200
|
||||||
|
Subject: [PATCH] tspi: support libressl
|
||||||
|
|
||||||
|
Bug: https://sourceforge.net/p/trousers/bugs/222/
|
||||||
|
|
||||||
|
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||||
|
---
|
||||||
|
src/trspi/crypto/openssl/rsa.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/trspi/crypto/openssl/rsa.c b/src/trspi/crypto/openssl/rsa.c
|
||||||
|
index 2b1205f..3e56015 100644
|
||||||
|
--- a/src/trspi/crypto/openssl/rsa.c
|
||||||
|
+++ b/src/trspi/crypto/openssl/rsa.c
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
#define DEBUG_print_openssl_errors()
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100001L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||||
|
static int
|
||||||
|
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.7.3
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- dist/Makefile.am
|
|
||||||
+++ dist/Makefile.am
|
|
||||||
@@ -6,8 +6,6 @@
|
|
||||||
/bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
|
|
||||||
|
|
||||||
install-exec-hook:
|
|
||||||
- /usr/sbin/groupadd tss || true
|
|
||||||
- /usr/sbin/useradd -r tss -g tss || true
|
|
||||||
/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
|
|
||||||
/bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
|
|
||||||
/bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
|
|
@ -1,9 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<herd>crypto</herd>
|
<maintainer type="person">
|
||||||
<upstream>
|
<email>salah.coronya@gmail.com</email>
|
||||||
<remote-id type="cpe">cpe:/a:debian:trousers</remote-id>
|
<name>Salah Coronya</name>
|
||||||
<remote-id type="sourceforge">trousers</remote-id>
|
</maintainer>
|
||||||
</upstream>
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="cpe">cpe:/a:debian:trousers</remote-id>
|
||||||
|
<remote-id type="sourceforge">trousers</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit autotools eutils linux-info readme.gentoo systemd user udev
|
|
||||||
|
|
||||||
#MY_P="${PN}-${PV%.*}-${PV##*.}"
|
|
||||||
|
|
||||||
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
|
|
||||||
HOMEPAGE="http://trousers.sf.net"
|
|
||||||
SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="CPL-1.0 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86"
|
|
||||||
IUSE="doc libressl selinux" # gtk
|
|
||||||
|
|
||||||
# gtk support presently does NOT compile.
|
|
||||||
# gtk? ( >=x11-libs/gtk+-2 )
|
|
||||||
|
|
||||||
CDEPEND=">=dev-libs/glib-2
|
|
||||||
!libressl? ( >=dev-libs/openssl-0.9.7:0 )
|
|
||||||
libressl? ( dev-libs/libressl )
|
|
||||||
"
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-tcsd )"
|
|
||||||
# S="${WORKDIR}/${P}git"
|
|
||||||
|
|
||||||
DOCS="AUTHORS ChangeLog NICETOHAVES README TODO"
|
|
||||||
|
|
||||||
DOC_CONTENTS="
|
|
||||||
If you have problems starting tcsd, please check permissions and
|
|
||||||
ownership on /dev/tpm* and ~tss/system.data
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# Check for driver (not sure it can be an rdep, because ot depends on the
|
|
||||||
# version of virtual/linux-sources... Is that supported by portage?)
|
|
||||||
linux-info_pkg_setup
|
|
||||||
local tpm_kernel_version tpm_kernel_present tpm_module
|
|
||||||
kernel_is ge 2 6 12 && tpm_kernel_version="yes"
|
|
||||||
if linux_config_exists; then
|
|
||||||
linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes"
|
|
||||||
else
|
|
||||||
ewarn "No kernel configuration could be found."
|
|
||||||
fi
|
|
||||||
has_version app-crypt/tpm-emulator && tpm_module="yes"
|
|
||||||
if [[ -n "${tpm_kernel_present}" ]]; then
|
|
||||||
einfo "Good, you seem to have in-kernel TPM support."
|
|
||||||
elif [[ -n "${tpm_module}" ]]; then
|
|
||||||
einfo "Good, you seem to have TPM support with the external module."
|
|
||||||
if [[ -n "${tpm_kernel_version}" ]]; then
|
|
||||||
elog
|
|
||||||
elog "Note that since you have a >=2.6.12 kernel, you could use"
|
|
||||||
elog "the in-kernel driver instead of (CONFIG_TCG_TPM)."
|
|
||||||
fi
|
|
||||||
elif [[ -n "${tpm_kernel_version}" ]]; then
|
|
||||||
eerror
|
|
||||||
eerror "To use this package, you will have to activate TPM support"
|
|
||||||
eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM,"
|
|
||||||
eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)."
|
|
||||||
eerror
|
|
||||||
else
|
|
||||||
eerror
|
|
||||||
eerror "To use this package, you should install a TPM driver."
|
|
||||||
eerror "You can have the following options:"
|
|
||||||
eerror " - install app-crypt/tpm-emulator"
|
|
||||||
eerror " - switch to a >=2.6.12 kernel and compile the kernel module"
|
|
||||||
eerror
|
|
||||||
fi
|
|
||||||
|
|
||||||
# New user/group for the daemon
|
|
||||||
enewgroup tss
|
|
||||||
enewuser tss -1 -1 /var/lib/tpm tss
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-nouseradd.patch
|
|
||||||
epatch "${FILESDIR}"/${P}-build.patch
|
|
||||||
mv configure.in configure.ac || die
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# econf --with-gui=$(usex gtk gtk openssl)
|
|
||||||
econf --with-gui=openssl
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
keepdir /var/lib/tpm
|
|
||||||
default
|
|
||||||
use doc && dodoc doc/*
|
|
||||||
fowners tss:tss /etc/tcsd.conf
|
|
||||||
systemd_dounit "${FILESDIR}"/tcsd.service
|
|
||||||
systemd_enable_service multi-user.target tcsd.service
|
|
||||||
udev_dorules "${FILESDIR}"/61-trousers.rules
|
|
||||||
fowners tss:tss /var/lib/tpm
|
|
||||||
prune_libtool_files
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
insinto /usr/share/trousers/
|
|
||||||
doins "${FILESDIR}"/system.data
|
|
||||||
# stash a copy of the config so we can restore it from tmpfiles
|
|
||||||
doins "${D}"/etc/tcsd.conf
|
|
||||||
fowners tss:tss /usr/share/trousers/system.data
|
|
||||||
fowners tss:tss /usr/share/trousers/tcsd.conf
|
|
||||||
systemd_dotmpfilesd "${FILESDIR}"/tmpfiles.d/trousers.conf
|
|
||||||
}
|
|
68
sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/trousers-0.3.14-r2.ebuild
vendored
Normal file
68
sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/trousers-0.3.14-r2.ebuild
vendored
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools linux-info readme.gentoo-r1 systemd udev
|
||||||
|
|
||||||
|
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
|
||||||
|
HOMEPAGE="http://trousers.sf.net"
|
||||||
|
SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CPL-1.0 GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm arm64 ~m68k ~ppc ppc64 ~s390 x86"
|
||||||
|
IUSE="doc libressl selinux" # gtk
|
||||||
|
|
||||||
|
# gtk support presently does NOT compile.
|
||||||
|
# gtk? ( >=x11-libs/gtk+-2 )
|
||||||
|
|
||||||
|
DEPEND="acct-group/tss
|
||||||
|
acct-user/tss
|
||||||
|
>=dev-libs/glib-2
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.7:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-tcsd )"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-0.3.13-nouseradd.patch"
|
||||||
|
"${FILESDIR}/${P}-libressl.patch"
|
||||||
|
"${FILESDIR}/${P}-fno-common.patch"
|
||||||
|
"${FILESDIR}/${P}-Makefile.am-Mark-tddl.a-nodist.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS="AUTHORS ChangeLog NICETOHAVES README TODO"
|
||||||
|
|
||||||
|
DOC_CONTENTS="
|
||||||
|
If you have problems starting tcsd, please check permissions and
|
||||||
|
ownership on /dev/tpm* and ~tss/system.data
|
||||||
|
"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
CONFIG_CHECK="~TCG_TPM"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# econf --with-gui=$(usex gtk gtk openssl)
|
||||||
|
econf --with-gui=openssl
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user