diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-22 17:56:56 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-22 17:56:56 +0000 |
commit | d2bbce9416a4990061572bb24885200ed53040fd (patch) | |
tree | 2cb7b9830652414b8760b8d1a504c7c333d04271 /app-crypt/trousers | |
parent | Stable for HPPA (bug #279380). (diff) | |
download | historical-d2bbce9416a4990061572bb24885200ed53040fd.tar.gz historical-d2bbce9416a4990061572bb24885200ed53040fd.tar.bz2 historical-d2bbce9416a4990061572bb24885200ed53040fd.zip |
Version bump (bug #280788).
Package-Manager: portage-14124-svn/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/trousers')
-rw-r--r-- | app-crypt/trousers/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/trousers/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/trousers/trousers-0.3.2.ebuild | 82 |
3 files changed, 92 insertions, 2 deletions
diff --git a/app-crypt/trousers/ChangeLog b/app-crypt/trousers/ChangeLog index 2610bfb0ee3a..a8ce8cb156af 100644 --- a/app-crypt/trousers/ChangeLog +++ b/app-crypt/trousers/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/trousers # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.21 2009/03/29 15:19:32 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.22 2009/08/22 17:56:56 arfrever Exp $ + +*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: diff --git a/app-crypt/trousers/Manifest b/app-crypt/trousers/Manifest index d768563e0dc9..b7868cf8fc25 100644 --- a/app-crypt/trousers/Manifest +++ b/app-crypt/trousers/Manifest @@ -4,6 +4,8 @@ AUX trousers-0.2.3-nouseradd.patch 1008 RMD160 dc1d81d6ceaf18d8464c5d7418b6733fa AUX trousers-0.3.1-gcc43.patch 852 RMD160 9392a7ef5f24dfeb0a7af78e83a7e738891b44cd SHA1 0c65705193adc4153f0e57b91ab98b3c73ca44fe SHA256 fe937a9dd111f60614c53308937a037c57ec22a96a9bdcf2c65c996cffad09ed AUX trousers-0.3.1-qa.patch 568 RMD160 918120a32124e3bf1b9a677698da1a6fb6a9e38f SHA1 27e7f1d1d3cbd23d63800e0e0f0a086fbeb83137 SHA256 518f14dc01c225b02f009cbfa34ff07f9fee91a9ad510f751acc929a13afdb6c DIST trousers-0.3.1.tar.gz 1306672 RMD160 1dc088249b4fc4aaf354caa216ffe25c8cecc9aa SHA1 0598efbb2282556a5edf0ce8c074175a33573951 SHA256 79d190a214584ceedd3900b4bc7484244d6e0d74289de5a38adcc7415cde3500 +DIST trousers-0.3.2.tar.bz2 1205561 RMD160 ecb046dbf8bd36143d3435345887961139e9784f SHA1 6502597eb801529ba2a7cdc4ca230772e178da9b SHA256 7681e0a80a68b55a24b4de888a32d13533eaf6988b613b59d02155151ecbd182 EBUILD trousers-0.3.1.ebuild 2457 RMD160 4c6dcf919e773e07f59eda581ca367ad66bf6121 SHA1 206c1617eab865371be3e63c68989808239b02b3 SHA256 f0bfb0fd6766b12df4e9d6ee421c62eb1008529f8623f127c7728f7fd045b2b6 -MISC ChangeLog 4116 RMD160 da96d43390f7c7bb61e29e2b927dbebbe29ed308 SHA1 53cb9da8edca27f5a4c6910d738021f617c74b14 SHA256 6fe914dc1ae947d92f85eef34863df1703b5c36886fb797e876f1891bc18fb3c +EBUILD trousers-0.3.2.ebuild 2560 RMD160 458555c43a3b5ee47b91176af00282239ccdd39b SHA1 14d7bf29cf53bbe1461883fa0ce2be710ea4dcc1 SHA256 94dc727a981796db535f7c6bf4e66d48d459256368f7c5777ca93bc42b1f040b +MISC ChangeLog 4277 RMD160 042f247828f1e9ba9f234e8a8d4dbde0a36dd216 SHA1 6212c437acf7db1912c58d098779ac2ec477d1ee SHA256 b7007f4826dd3e9146eaf94364501057c839c45a16dbb76a7ff219610aa6b96e MISC metadata.xml 251 RMD160 9c13ff790c7419d4e0d2d370036b7f4e4594ea4f SHA1 563aa19984b291a6cade6d6487dbf4a2a17e6874 SHA256 1739a4e8833a2a5b9501182eb830cbd3e26014ccef5e9ae1b4d7a0686c665c1b diff --git a/app-crypt/trousers/trousers-0.3.2.ebuild b/app-crypt/trousers/trousers-0.3.2.ebuild new file mode 100644 index 000000000000..2dc4089b4f66 --- /dev/null +++ b/app-crypt/trousers/trousers-0.3.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.2.ebuild,v 1.1 2009/08/22 17:56:56 arfrever Exp $ + +EAPI="2" + +inherit autotools base eutils linux-info + +DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation" +HOMEPAGE="http://trousers.sf.net" +SRC_URI="mirror://sourceforge/trousers/${P}.tar.bz2" +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=dev-libs/glib-2 + >=x11-libs/gtk+-2 + >=dev-libs/openssl-0.9.7" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-0.2.3-nouseradd.patch" ) + +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" + linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes" + 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() { + base_src_prepare + + sed -e "s/-Werror //" -i configure.in + eautoreconf +} + +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 +} + +pkg_postinst() { + elog "If you have problems starting tcsd, please check permissions and" + elog "ownership on /dev/tpm* and ~tss/system.data" +} |