ChangeLog

# ChangeLog for app-crypt/trousers
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.17 2008/06/07 20:54:07 flameeyes Exp $

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

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX tcsd.confd 372 RMD160 d265222136e80a0fe0cdb535abba0e07078f08c2 SHA1 05a81dc90a2df80b3c0ea7a8cefc3c59098aadd8 SHA256 5a1f9150ce0d8cc3e9e80971e073ee0b1db018ec3af6809087a7c626b9ffa327
AUX tcsd.initd 958 RMD160 f90e6d4ec4d2dd0bd8218b3b2ef28328461d50b6 SHA1 34ab9b7cbf60e58b1f7b732891d30e053f2039a1 SHA256 388cef25be74c6263b9cb0e5de3bd08fbc0613e1a9fef958b006c571e4b691c8
AUX trousers-0.2.3-nouseradd.patch 988 RMD160 58d429fc0cd5880127b19727e571edb9dd5e1d3a SHA1 f819f24fa52f0681180c6bc81978351e5254cdbe SHA256 dd27e8ff34b13a94b7b810154536d638a375907db76353f8b77267b229c7fb35
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
EBUILD trousers-0.3.1.ebuild 2662 RMD160 3d533dfc670f4f1114775304c3511196b3cea1ce SHA1 f51f1134ca69a04c3bc39b81f60444aff35617c4 SHA256 56ae71f9c4b7418c0bc3e6f1491955ad5ffd6b07954151935521566d86f7eda1
MISC ChangeLog 3498 RMD160 b93586612274e0a58ac7f00c296da6f2c9fe6024 SHA1 1bf82df7421996ab3dabb140783ee98aad189dba SHA256 ff49e5fa2b3a6b4778df6af46e7b89ab0aec2837df80e22f505a64cb3c636b22
MISC metadata.xml 251 RMD160 9c13ff790c7419d4e0d2d370036b7f4e4594ea4f SHA1 563aa19984b291a6cade6d6487dbf4a2a17e6874 SHA256 1739a4e8833a2a5b9501182eb830cbd3e26014ccef5e9ae1b4d7a0686c665c1b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhK9XUACgkQAiZjviIA2XhXsgCg7onj3dn4UCMbNoJ2TAIg/n31
XE0AnAkFdfohMKWJciqBPaloMKH1rXVy
=NIXw
-----END PGP SIGNATURE-----

files

metadata.xml




crypto

crypto@gentoo.org
Crypto Herd

trousers-0.3.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.1.ebuild,v 1.3 2008/06/07 20:54:07 flameeyes Exp $

inherit 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.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND=">=dev-libs/glib-2
>=x11-libs/gtk+-2
>=dev-libs/openssl-0.9.7"

DEPEND="${RDEPEND}
dev-util/pkgconfig"

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-module && tpm_module="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-module"
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_unpack() {
unpack ${A}
cd "${S}/dist"
#http://sourceforge.net/tracker/index.php?func=detail&aid=1829497&group_id=126012&atid=704361
epatch "${FILESDIR}/${PN}-0.2.3-nouseradd.patch"
cd "${S}"
#http://sourceforge.net/tracker/index.php?func=detail&aid=1794686&group_id=126012&atid=704358
epatch "${FILESDIR}/${P}-qa.patch"
}

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
}