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