1 |
arfrever 09/08/22 17:56:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: trousers-0.3.2.ebuild |
5 |
Log: |
6 |
Version bump (bug #280788). |
7 |
(Portage version: 14124-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 app-crypt/trousers/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 29 Mar 2009 15:19:32 -0000 1.21 |
23 |
+++ ChangeLog 22 Aug 2009 17:56:56 -0000 1.22 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-crypt/trousers |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.21 2009/03/29 15:19:32 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.22 2009/08/22 17:56:56 arfrever Exp $ |
29 |
+ |
30 |
+*trousers-0.3.2 (22 Aug 2009) |
31 |
+ |
32 |
+ 22 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 |
+ +trousers-0.3.2.ebuild: |
34 |
+ Version bump (bug #280788). |
35 |
|
36 |
29 Mar 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
37 |
trousers-0.3.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-crypt/trousers/trousers-0.3.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/trousers-0.3.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/trousers-0.3.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: trousers-0.3.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.2.ebuild,v 1.1 2009/08/22 17:56:56 arfrever Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit autotools base eutils linux-info |
55 |
|
56 |
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation" |
57 |
HOMEPAGE="http://trousers.sf.net" |
58 |
SRC_URI="mirror://sourceforge/trousers/${P}.tar.bz2" |
59 |
LICENSE="CPL-1.0" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="doc" |
63 |
|
64 |
RDEPEND=">=dev-libs/glib-2 |
65 |
>=x11-libs/gtk+-2 |
66 |
>=dev-libs/openssl-0.9.7" |
67 |
|
68 |
DEPEND="${RDEPEND} |
69 |
dev-util/pkgconfig" |
70 |
|
71 |
PATCHES=( "${FILESDIR}/${PN}-0.2.3-nouseradd.patch" ) |
72 |
|
73 |
pkg_setup() { |
74 |
# Check for driver (not sure it can be an rdep, because ot depends on the |
75 |
# version of virtual/linux-sources... Is that supported by portage?) |
76 |
linux-info_pkg_setup |
77 |
local tpm_kernel_version tpm_kernel_present tpm_module |
78 |
kernel_is ge 2 6 12 && tpm_kernel_version="yes" |
79 |
linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes" |
80 |
has_version app-crypt/tpm-emulator && tpm_module="yes" |
81 |
if [[ -n "${tpm_kernel_present}" ]] ; then |
82 |
einfo "Good, you seem to have in-kernel TPM support." |
83 |
elif [[ -n "${tpm_module}" ]] ; then |
84 |
einfo "Good, you seem to have TPM support with the external module." |
85 |
if [[ -n "${tpm_kernel_version}" ]] ; then |
86 |
elog |
87 |
elog "Note that since you have a >=2.6.12 kernel, you could use" |
88 |
elog "the in-kernel driver instead of (CONFIG_TCG_TPM)." |
89 |
fi |
90 |
elif [[ -n "${tpm_kernel_version}" ]] ; then |
91 |
eerror |
92 |
eerror "To use this package, you will have to activate TPM support" |
93 |
eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM," |
94 |
eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)." |
95 |
eerror |
96 |
else |
97 |
eerror |
98 |
eerror "To use this package, you should install a TPM driver." |
99 |
eerror "You can have the following options:" |
100 |
eerror " - install app-crypt/tpm-emulator" |
101 |
eerror " - switch to a >=2.6.12 kernel and compile the kernel module" |
102 |
eerror |
103 |
fi |
104 |
|
105 |
# New user/group for the daemon |
106 |
enewgroup tss |
107 |
enewuser tss -1 -1 /var/lib/tpm tss |
108 |
} |
109 |
|
110 |
src_prepare() { |
111 |
base_src_prepare |
112 |
|
113 |
sed -e "s/-Werror //" -i configure.in |
114 |
eautoreconf |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
keepdir /var/lib/tpm |
119 |
make DESTDIR="${D}" install || die |
120 |
dodoc AUTHORS ChangeLog NICETOHAVES README TODO |
121 |
use doc && dodoc doc/* |
122 |
newinitd "${FILESDIR}/tcsd.initd" tcsd |
123 |
newconfd "${FILESDIR}/tcsd.confd" tcsd |
124 |
} |
125 |
|
126 |
pkg_postinst() { |
127 |
elog "If you have problems starting tcsd, please check permissions and" |
128 |
elog "ownership on /dev/tpm* and ~tss/system.data" |
129 |
} |