diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-11-16 07:19:08 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-11-16 07:19:08 +0000 |
commit | 130e991221b620c1f06cc6217813250a8eb3accd (patch) | |
tree | 2fa23de710f297ad0c2f1c260b1a87852d9424f3 /app-crypt/trousers | |
parent | Version bump. (diff) | |
download | historical-130e991221b620c1f06cc6217813250a8eb3accd.tar.gz historical-130e991221b620c1f06cc6217813250a8eb3accd.tar.bz2 historical-130e991221b620c1f06cc6217813250a8eb3accd.zip |
Bump
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/trousers')
-rw-r--r-- | app-crypt/trousers/ChangeLog | 7 | ||||
-rw-r--r-- | app-crypt/trousers/Manifest | 24 | ||||
-rw-r--r-- | app-crypt/trousers/trousers-0.3.10.ebuild | 102 |
3 files changed, 111 insertions, 22 deletions
diff --git a/app-crypt/trousers/ChangeLog b/app-crypt/trousers/ChangeLog index 3c36a631fd51..3b19d9bf1225 100644 --- a/app-crypt/trousers/ChangeLog +++ b/app-crypt/trousers/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/trousers # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.36 2012/09/10 23:00:32 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.37 2012/11/16 07:18:57 patrick Exp $ + +*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. diff --git a/app-crypt/trousers/Manifest b/app-crypt/trousers/Manifest index fc2593b3b983..d030f10acd7f 100644 --- a/app-crypt/trousers/Manifest +++ b/app-crypt/trousers/Manifest @@ -1,29 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX 61-trousers.rules 96 SHA256 8f25b51dca45b75caa85a00ef476fb40c09d6cc82e2351cb7af24ebc805dd949 SHA512 83fa5b8666bcb0111f69456e6b9ea73eca2e1933e44bf7b705ff4d3c7b63a63ae4d0a1c30b0a00ebe6a8b4206ed7df80abca8503ace1c795119213f3546e9307 WHIRLPOOL a6ff89249a9ea7d5a7d308f0446e304b4429992bd51953e4dbe1a87731c7b8c824b1d158fc1f734965c082508b1ed334ff4303bf610228228c858e29cfe71664 AUX tcsd.confd 372 SHA256 5a1f9150ce0d8cc3e9e80971e073ee0b1db018ec3af6809087a7c626b9ffa327 SHA512 1e33f521156d55ff450907e01a7c60750e2880520700de1e8fb42ed03d5a16a20332f6f437f2cc7ed155f65b9306bf2d670f46c4b7055d4c9248beaeb06f8a75 WHIRLPOOL d94c3719b438c2758d97f00dab463b9b76b0fc2d9329dcc9cd8867150a7f5351379254868165df8e19ef33ae0e9d6ab333706952dcabaf0da18833750c35f42e AUX tcsd.initd 954 SHA256 c3944c51317c8e1a3019ec062f091cdb2e11b974852a22e0fb8f0e6d9cfb7907 SHA512 33515433fc43848af92d0863d7343d40e2818980e596f309a54af293aa532418823692772df58f079d59a69adc974d8b26b8a06dd542202f4b0357e4939d76f8 WHIRLPOOL 25914fe7bddc33e955103838f56b62daebafa03306d0d48f3de41866b4e0017ecb608b13d56660af128f779cd1757b555b7be8747b2632286b3058eb041edcbd 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.6.tar.gz 1335084 SHA256 91025f60248af44df192e8df16fa6b0c0f1e48c54f6dc51626567ed95758b0d6 SHA512 a9eba2f8e06b163c29e2e9079e62240d96dc630d12fbe61aa0c6b2bc93f88d7f528ae0cabae1de82aba9676e91c2c338da2ce1690bbf21b768af803f7cdff6c3 WHIRLPOOL b13e46f3e2f95bd28a4ad3f7686638709d2484b56ac96f98823f56aafd1be852275a1831ae82a1b11b4eb3e4e9ad051012e59368425374b918e41ecf41d70f01 +EBUILD trousers-0.3.10.ebuild 3143 SHA256 f20aecad79273b7fb522cefdb570c7488d0c24d1d39bd10379092970d5dc6e08 SHA512 6ff8a2578eabc635da909e39aa314c5ff62a9434ad044fcdac127cbce6ac9334ae979895f40d0124b0a30d77948c450801503092a00e015836d24831eb35eb91 WHIRLPOOL e761766e8056c683545e03c658cdfc26abc0c31cec7185eca31326dd0ca0b3a46e14bc8fc273eafc54ec9ebd682e6c5a31624cef681f4107bdbd8e514dfad074 EBUILD trousers-0.3.6-r1.ebuild 3144 SHA256 0dad08955cb63510f58c676d4e7f2efc355692ef20809d6fdc18df30ef0117ad SHA512 3fd248208224a3b627dd6908fd191dd43c3c359a86f983dd476d8a9412fe7f0656f53ee4c1a9e664fce11bdd9a6dcb7d909ceef87f9226c54c475f79cb31f4b2 WHIRLPOOL d7d2b408f31ad14ad4a1f1412160b3d1da60d5d3476fa2909bb12d89b7c3a9f512d3de3041456ac9994dfbe0a81273c9a16ede7189da8ec972e326009090a702 EBUILD trousers-0.3.6.ebuild 2976 SHA256 5a08fc9d3d8e8cbb941015f8c5f00addda7792f47ec417777419fa6d7fb27eb9 SHA512 2120db171f95c29e7971c85c76c4378c348a6ce728c1c34073c271e6e55576ed42020307d2677ad0a74e81a9b7f9acb0bb699ae839298b82873ae85915a1a995 WHIRLPOOL 1e75ae789c402baa2a928bd1518b68da36e0b9ffc5f21074eb7bfdd7f094e9896ee6b7f9673729b9268c1dce1d78615a42a373a90cf1b8a5d9766626c279fd7d -MISC ChangeLog 6630 SHA256 7d25581717eba45db628ac66b06ba41b13f22d8312e84b1e719ecbf84fed81a6 SHA512 7b4697e7e9fb6d69b7edc01a68bc7e79a7d0fc0488a708257f211db93032e35046ccdd472de3b22036ae493b987edc8c1eba4feeae97bd63578bd10e73440c7f WHIRLPOOL 1a63bdbf88e9f26c9195ae51091c4dd7c3e72d7b8874047b6279506b0351068d4ecae79dcca1724180dcd1273691fc5d368766a80e2e845bffef20acd11afae1 +MISC ChangeLog 6746 SHA256 588d70c5c16004ca9392bcfbf7072133e872916a1bf6fbc4d35d9820cec5c948 SHA512 803a4c7078a41e58e064dd9a01289a96ea42a5edb0bf6cbab5569f4f09aa1e6fa53fca37d3cbe4bf6ce8d64df3d0db670e1c85acf1480f48473a91c76acf0b0d WHIRLPOOL 498c58f499510c22f797536fa4957334c7b30355a48860add9e7f7dedecb5204a4b1022e6d50afd91195aab97685ec2ca0dfbdb541c10d50223f53e5f547c285 MISC metadata.xml 159 SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 SHA512 96a1f7f082adc57e52a1a32666e1206e68f8ff03c728fdb7666ff98c255905977491fc4dfc37bc8bdf5da0eb50cdc408adec357bbd75bd980bc90659cc157194 WHIRLPOOL 82fca1c4b75b090abdb0a4233c8e49fc43535ca6e470f725c1872653ea922b6693e9646bc3ee1fd6f1293ebedad661642cec13b2817fb5315268300f7675a751 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJQTnGaAAoJELEHsLL7fEFWy6MQAKVmOeCdRNAuEbK/eb4jmQh7 -N0iLg2xjVnko8AGEw/j3WQUjnXcmyH8waae/VA7vhnvvUF6LZCGmChcgoKekbPh6 -DcybwEZR1nsgpOoxLGy3HG6sKPDSfSu7wbQQjctoRzPOGQbYVOirt1VggNeKbGPb -CUWKYmAFJFZAx4gOTKNjoQFH921GLchbIU1ODRB9Bi4gQeEtvnyFHUcqEvhTAnMR -olGIj7KmApGIPkC0eP84eOuB0SyuHlvyUbspkd4plksOLlBV2Ckru2ike0Q/ABUL -KoHmhLUpO4NWQwGFpZVx70Hrm7K83NDGj8nQ+4rcDBPTATJMjuAldkOoIvLxrG4g -FSfzfQzQfsXlImd5ZhtzS9ob+/2K08ZRizlaxKWFoHUOf6pvZkuN7HqNhrsG7IX+ -7DccSA8Pav2JmYXH7A555pu+cXNu9uHYHd5bC/18jptE2iGGqlBvhxo70l7QVDbi -7lJZXCA7ceHVeY2WGo/xHbgpdJ43nBYP+G4cFyjtdtkLcJEn65u+tihqj1LZuBIE -xofnJ9ENxcyk16vFCwlE61aYRm8sdQsgbk5TArwYwo9mY5F/GZSzqfpRQW6618m3 -orbmXavNc4yJcp2o2GmenT1+D0UEXdSZvWQJtxnH4hwhRrSkWX5TuM4TxyH+tXjA -LP/Qdn9uolhogWR8FcX/ -=/iy0 ------END PGP SIGNATURE----- diff --git a/app-crypt/trousers/trousers-0.3.10.ebuild b/app-crypt/trousers/trousers-0.3.10.ebuild new file mode 100644 index 000000000000..5c18a09f5b8b --- /dev/null +++ b/app-crypt/trousers/trousers-0.3.10.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.10.ebuild,v 1.1 2012/11/16 07:18:57 patrick Exp $ + +EAPI="3" + +inherit autotools eutils linux-info user toolchain-funcs + +#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" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc" # gtk + +# gtk support presently does NOT compile. +# gtk? ( >=x11-libs/gtk+-2 ) + +RDEPEND=">=dev-libs/glib-2 + >=dev-libs/openssl-0.9.7:0" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +# S="${WORKDIR}/${P}git" + +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}/${PN}-0.3.5-nouseradd.patch" + + sed -i -r \ + -e '/CFLAGS/s/ -(Werror|m64)//' \ + configure.in || die + eautoreconf +} + +src_configure() { + #econf --with-gui=$(usev gtk || echo openssl) || die "econf failed" + econf --with-gui=openssl || die "econf failed" +} + +src_install() { + keepdir /var/lib/tpm + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NICETOHAVES README TODO + use doc && dodoc doc/* + newinitd "${FILESDIR}/tcsd.initd" tcsd + newconfd "${FILESDIR}/tcsd.confd" tcsd + local udevdir=/lib/udev + has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + insinto "${udevdir}"/rules.d + doins "${FILESDIR}"/61-trousers.rules + fowners tss:tss /var/lib/tpm +} + +pkg_postinst() { + elog "If you have problems starting tcsd, please check permissions and" + elog "ownership on /dev/tpm* and ~tss/system.data" +} |