diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/ChangeLog b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/ChangeLog new file mode 100644 index 0000000000..fe8c058d47 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/ChangeLog @@ -0,0 +1,73 @@ +# 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 +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 + X-Thanks: Alec Warner - did the GSoC 2006 migration + tests + X-Thanks: Robin H. Johnson - infra guy, herding this + project + X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo + developer, wrote Git features for the migration + X-Thanks: Brian Harring - wrote much python to improve + cvs2svn + X-Thanks: Rich Freeman - validation scripts + X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 + work in migration + X-Thanks: Michał Górny - scripts, QA, nagging + X-Thanks: All of other Gentoo developers - many ideas and lots of paint on + the bikeshed + + 24 Aug 2015; Justin Lecher metadata.xml: + Use https by default + + Convert all URLs for sites supporting encrypted connections from http to + https + + Signed-off-by: Justin Lecher + + 24 Aug 2015; Mike Gilbert 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 + +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 +trousers-0.3.13-r1.ebuild: + add libressl support + diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/ChangeLog-2015 b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/ChangeLog-2015 new file mode 100644 index 0000000000..db225f69a9 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/ChangeLog-2015 @@ -0,0 +1,270 @@ +# 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 metadata.xml: + Updating remote-id in metadata.xml + + 27 Apr 2015; Alon Bar-Lev 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 + +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 + trousers-0.3.10-r1.ebuild: + Keyworded on ~ppc ~ppc64, bug #458196 + + 02 Nov 2014; Sven Vermeulen trousers-0.3.10-r1.ebuild: + Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug + #527698) + + 03 Aug 2014; trousers-0.3.10-r1.ebuild: + arm64, stable + + 28 Jul 2014; Alon Bar-Lev -trousers-0.3.10.ebuild: + Cleanup + + 27 Jul 2014; Mikle Kolyada trousers-0.3.10-r1.ebuild: + amd64 stable wrt bug #516844 + + 27 Jul 2014; Markus Meier trousers-0.3.10-r1.ebuild: + arm stable, bug #516844 + + 26 Jul 2014; Pawel Hajdan jr + trousers-0.3.10-r1.ebuild: + x86 stable wrt bug #516844 + + 15 Jul 2014; Alon Bar-Lev -trousers-0.3.6-r1.ebuild, + -trousers-0.3.6.ebuild: + cleanup + + 04 Jul 2014; Sven Vermeulen 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 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 +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 metadata.xml: + Add upstream CPE tag (security info) from ChromiumOS. + + 13 Jan 2013; Markus Meier trousers-0.3.10.ebuild: + arm stable, bug #450184 + + 13 Jan 2013; Agostino Sarubbo trousers-0.3.10.ebuild: + Stable for x86, wrt bug #450184 + + 13 Jan 2013; Agostino Sarubbo trousers-0.3.10.ebuild: + Stable for amd64, wrt bug #450184 + + 11 Dec 2012; Ian Stakenvicius 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 trousers-0.3.6-r1.ebuild: + virtualized references to sys-fs/udev + + 16 Nov 2012; Samuli Suominen 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 +trousers-0.3.10.ebuild: + Bump + + 10 Sep 2012; Mike Frysinger trousers-0.3.6-r1.ebuild: + Drop -m64 hardcode. + + 08 Sep 2012; Tim Harder metadata.xml: + Remove redundant maintainer from metadata. + +*trousers-0.3.6-r1 (11 Aug 2012) + + 11 Aug 2012; Samuli Suominen + +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 trousers-0.3.6.ebuild: + inherit user for enewgroup and enewuser + + 14 May 2012; Mike Frysinger trousers-0.3.6.ebuild: + Add arm love for ChromiumOS. + + 03 May 2012; Jeff Horelick trousers-0.3.6.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 20 Aug 2011; Sven Wegener files/tcsd.initd: + Switch from --chuid to --user. + + 22 Mar 2011; Arfrever Frehtes Taifersar Arahesis + -trousers-0.3.5.ebuild: + Delete. + + 21 Mar 2011; Thomas Kahle trousers-0.3.6.ebuild: + x86 stable per bug 357181 + + 04 Mar 2011; Markos Chandras trousers-0.3.6.ebuild: + Stable on amd64 wrt bug #357181 + +*trousers-0.3.6 (06 Aug 2010) + + 06 Aug 2010; Robin H. Johnson + +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 + -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 +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 + +trousers-0.3.2.1.ebuild: + Version bump (bug #283081). + +*trousers-0.3.2 (22 Aug 2009) + + 22 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +trousers-0.3.2.ebuild: + Version bump (bug #280788). + + 29 Mar 2009; Arfrever Frehtes Taifersar Arahesis + trousers-0.3.1.ebuild: + Add ~amd64 keyword. + + 22 Mar 2009; Arfrever Frehtes Taifersar Arahesis + trousers-0.3.1.ebuild: + Don't use -Werror (bug #260873). + + 20 Feb 2009; Daniel Black trousers-0.3.1.ebuild: + app-crypt/tpm-module being purged + + 23 Jul 2008; Peter Alfredsen + 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 + + + 07 Jun 2008; Diego Pettenò trousers-0.3.1.ebuild: + Remove unused inherits that were used to patch and re-autotools before. + + 24 Nov 2007; Alon Bar-Lev + +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 + -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 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 trousers-0.2.8.ebuild: + Remove WANT_AUTO* + +*trousers-0.2.8 (06 Jan 2007) + + 06 Jan 2007; Alon Bar-Lev +trousers-0.2.8.ebuild: + Version bump + +*trousers-0.2.6 (06 May 2006) + + 06 May 2006; Daniel Black + +files/trousers-0.2.6-as-needed.patch, +trousers-0.2.6.ebuild: + version bump + + 27 Apr 2006; Alec Warner 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 +trousers-0.2.5.ebuild: + version bump + +*trousers-0.2.3 (17 Sep 2005) + + 17 Sep 2005; Daniel Black + -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 + 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 + +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 + +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 + trousers-0.1.11-r1.ebuild: + udev fix thanks to latexer + +*trousers-0.1.11-r1 (23 Jun 2005) + + 23 Jun 2005; Daniel Black + -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 +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 +metadata.xml, + +files/0.1.7-makefile-statedir.patch, +trousers-0.1.7.ebuild: + Initial import diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/Manifest b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/Manifest new file mode 100644 index 0000000000..eb09192abf --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/Manifest @@ -0,0 +1,15 @@ +AUX 61-trousers.rules 96 SHA256 8f25b51dca45b75caa85a00ef476fb40c09d6cc82e2351cb7af24ebc805dd949 SHA512 83fa5b8666bcb0111f69456e6b9ea73eca2e1933e44bf7b705ff4d3c7b63a63ae4d0a1c30b0a00ebe6a8b4206ed7df80abca8503ace1c795119213f3546e9307 WHIRLPOOL a6ff89249a9ea7d5a7d308f0446e304b4429992bd51953e4dbe1a87731c7b8c824b1d158fc1f734965c082508b1ed334ff4303bf610228228c858e29cfe71664 +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 diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/61-trousers.rules b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/61-trousers.rules new file mode 100644 index 0000000000..20e89cbe3a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/61-trousers.rules @@ -0,0 +1,2 @@ +KERNEL=="tpm[0-9]*", MODE="0660", OWNER="tss", GROUP="tss", SYMLINK+="tpm" +# vim: ft=udevrules: diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/system.data b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/system.data new file mode 100644 index 0000000000..8fa48a533f Binary files /dev/null and b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/system.data differ diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.service b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.service new file mode 100644 index 0000000000..f1960f79f2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tcsd.service @@ -0,0 +1,11 @@ +[Unit] +Description=TCG Core Services Daemon +ConditionPathExists=/dev/tpm0 + +[Service] +User=tss +ExecStart=/usr/sbin/tcsd -f + +[Install] +WantedBy=multi-user.target + diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tmpfiles.d/trousers.conf b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tmpfiles.d/trousers.conf new file mode 100644 index 0000000000..b81b584e69 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/tmpfiles.d/trousers.conf @@ -0,0 +1,3 @@ +d /var/lib/tpm 0755 tss tss - - +C /etc/tcsd.conf 0644 tss tss - /usr/share/trousers/tcsd.conf +C /var/lib/tpm/system.data 0644 tss tss - /usr/share/trousers/system.data \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.13-build.patch b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.13-build.patch new file mode 100644 index 0000000000..4e0e60e977 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.13-build.patch @@ -0,0 +1,77 @@ +--- 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; diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.13-nouseradd.patch b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.13-nouseradd.patch new file mode 100644 index 0000000000..5426e9929f --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.13-nouseradd.patch @@ -0,0 +1,12 @@ +diff -urNp trousers-0.3.13.org/dist/Makefile.am trousers-0.3.13/dist/Makefile.am +--- trousers-0.3.13.org/dist/Makefile.am 2014-04-24 21:05:43.000000000 +0300 ++++ trousers-0.3.13/dist/Makefile.am 2015-04-08 10:05:51.018955728 +0300 +@@ -11,8 +11,6 @@ endif + install-exec-hook: + /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi' + if !NOUSERCHECK +- /usr/sbin/groupadd tss || true +- /usr/sbin/useradd -r tss -g tss || true + /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true + /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm + endif diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.5-nouseradd.patch b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.5-nouseradd.patch new file mode 100644 index 0000000000..32114134da --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/files/trousers-0.3.5-nouseradd.patch @@ -0,0 +1,11 @@ +--- 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 diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/metadata.xml b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/metadata.xml new file mode 100644 index 0000000000..e47fe20d59 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/metadata.xml @@ -0,0 +1,9 @@ + + + + crypto + + cpe:/a:debian:trousers + trousers + + diff --git a/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/trousers-0.3.13-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/trousers-0.3.13-r1.ebuild new file mode 100644 index 0000000000..e10028b0df --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-crypt/trousers/trousers-0.3.13-r1.ebuild @@ -0,0 +1,111 @@ +# 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 +} diff --git a/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.10-r1 b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.10-r1 new file mode 100644 index 0000000000..e468e5d0a0 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.10-r1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=configure install postinst prepare setup +DEPEND=>=dev-libs/glib-2 >=dev-libs/openssl-0.9.7:0 virtual/pkgconfig !=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig virtual/pkgconfig +DESCRIPTION=An open-source TCG Software Stack (TSS) v1.1 implementation +EAPI=5 +HOMEPAGE=http://trousers.sf.net +IUSE=doc selinux +KEYWORDS=amd64 arm arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh x86 +LICENSE=CPL-1.0 GPL-2 +RDEPEND=>=dev-libs/glib-2 >=dev-libs/openssl-0.9.7:0 selinux? ( sec-policy/selinux-tcsd ) +SLOT=0 +SRC_URI=mirror://sourceforge/trousers/trousers-0.3.10.tar.gz +_eclasses_=autotools a9597abac7226d89ad9d010abeef6cfb eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 8cbc678e083c23e4ad546ca6509cf304 multilib 62927b3db3a589b0806255f3a002d5d3 readme.gentoo 106edea5533517715013de909a333abd systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 udev da001465a2e939c93f7ae16947ce3438 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=6482c7c811693df6960eb7f1e511765a diff --git a/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.13 b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.13 new file mode 100644 index 0000000000..fbd51b1192 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.13 @@ -0,0 +1,13 @@ +DEFINED_PHASES=configure install postinst prepare setup +DEPEND=>=dev-libs/glib-2 >=dev-libs/openssl-0.9.7:0 virtual/pkgconfig !=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig virtual/pkgconfig +DESCRIPTION=An open-source TCG Software Stack (TSS) v1.1 implementation +EAPI=5 +HOMEPAGE=http://trousers.sf.net +IUSE=doc selinux +KEYWORDS=~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 +LICENSE=CPL-1.0 GPL-2 +RDEPEND=>=dev-libs/glib-2 >=dev-libs/openssl-0.9.7:0 selinux? ( sec-policy/selinux-tcsd ) +SLOT=0 +SRC_URI=mirror://sourceforge/trousers/trousers-0.3.13.tar.gz +_eclasses_=autotools a9597abac7226d89ad9d010abeef6cfb eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 8cbc678e083c23e4ad546ca6509cf304 multilib 62927b3db3a589b0806255f3a002d5d3 readme.gentoo 106edea5533517715013de909a333abd systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 udev da001465a2e939c93f7ae16947ce3438 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=9ef775c34b3e52460323b90a1b8361e2 diff --git a/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.13-r1 b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.13-r1 new file mode 100644 index 0000000000..5f83a4e9bb --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/metadata/md5-cache/app-crypt/trousers-0.3.13-r1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=configure install postinst prepare setup +DEPEND=>=dev-libs/glib-2 !libressl? ( >=dev-libs/openssl-0.9.7:0 ) libressl? ( dev-libs/libressl ) virtual/pkgconfig !=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig virtual/pkgconfig +DESCRIPTION=An open-source TCG Software Stack (TSS) v1.1 implementation +EAPI=5 +HOMEPAGE=http://trousers.sf.net +IUSE=doc libressl selinux +KEYWORDS=~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 +LICENSE=CPL-1.0 GPL-2 +RDEPEND=>=dev-libs/glib-2 !libressl? ( >=dev-libs/openssl-0.9.7:0 ) libressl? ( dev-libs/libressl ) selinux? ( sec-policy/selinux-tcsd ) +SLOT=0 +SRC_URI=mirror://sourceforge/trousers/trousers-0.3.13.tar.gz +_eclasses_=autotools a9597abac7226d89ad9d010abeef6cfb eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 8cbc678e083c23e4ad546ca6509cf304 multilib 62927b3db3a589b0806255f3a002d5d3 readme.gentoo 106edea5533517715013de909a333abd systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 42408102d713fbad60ca21349865edb4 udev da001465a2e939c93f7ae16947ce3438 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=91db857a65beef4fa5d9930a4084b195