1 |
alonbl 07/11/10 12:59:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: trousers-0.3.1.ebuild |
5 |
Removed: trousers-0.2.6.ebuild trousers-0.2.8.ebuild |
6 |
trousers-0.2.5.ebuild trousers-0.2.1.ebuild |
7 |
trousers-0.2.3.ebuild |
8 |
Log: |
9 |
Version bump, cleanup |
10 |
(Portage version: 2.1.3.19) |
11 |
|
12 |
Revision Changes Path |
13 |
1.15 app-crypt/trousers/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/ChangeLog?rev=1.15&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/ChangeLog?rev=1.15&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/ChangeLog?r1=1.14&r2=1.15 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v |
22 |
retrieving revision 1.14 |
23 |
retrieving revision 1.15 |
24 |
diff -u -r1.14 -r1.15 |
25 |
--- ChangeLog 24 Jan 2007 17:14:25 -0000 1.14 |
26 |
+++ ChangeLog 10 Nov 2007 12:59:17 -0000 1.15 |
27 |
@@ -1,6 +1,15 @@ |
28 |
# ChangeLog for app-crypt/trousers |
29 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.14 2007/01/24 17:14:25 genone Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.15 2007/11/10 12:59:17 alonbl Exp $ |
32 |
+ |
33 |
+*trousers-0.3.1 (10 Nov 2007) |
34 |
+ |
35 |
+ 10 Nov 2007; Alon Bar-Lev <alonbl@g.o> |
36 |
+ -files/trousers-0.2.1-nouseradd.patch, -files/trousers-0.2.3-ldadd.patch, |
37 |
+ -files/trousers-0.2.6-as-needed.patch, -trousers-0.2.1.ebuild, |
38 |
+ -trousers-0.2.3.ebuild, -trousers-0.2.5.ebuild, -trousers-0.2.6.ebuild, |
39 |
+ -trousers-0.2.8.ebuild, +trousers-0.3.1.ebuild: |
40 |
+ Version bump, cleanup |
41 |
|
42 |
24 Jan 2007; Marius Mauch <genone@g.o> trousers-0.2.1.ebuild, |
43 |
trousers-0.2.3.ebuild, trousers-0.2.5.ebuild, trousers-0.2.6.ebuild, |
44 |
|
45 |
|
46 |
|
47 |
1.1 app-crypt/trousers/trousers-0.3.1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/trousers-0.3.1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/trousers/trousers-0.3.1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: trousers-0.3.1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2007 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.3.1.ebuild,v 1.1 2007/11/10 12:59:17 alonbl Exp $ |
57 |
|
58 |
inherit eutils linux-info autotools |
59 |
|
60 |
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation" |
61 |
HOMEPAGE="http://trousers.sf.net" |
62 |
SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz" |
63 |
LICENSE="CPL-1.0" |
64 |
SLOT="0" |
65 |
KEYWORDS="~x86" |
66 |
IUSE="doc" |
67 |
|
68 |
RDEPEND=">=dev-libs/glib-2 |
69 |
>=x11-libs/gtk+-2 |
70 |
>=dev-libs/openssl-0.9.7" |
71 |
|
72 |
DEPEND="${RDEPEND} |
73 |
dev-util/pkgconfig" |
74 |
|
75 |
pkg_setup() { |
76 |
# Check for driver (not sure it can be an rdep, because ot depends on the |
77 |
# version of virtual/linux-sources... Is that supported by portage?) |
78 |
linux-info_pkg_setup |
79 |
local tpm_kernel_version tpm_kernel_present tpm_module |
80 |
kernel_is ge 2 6 12 && tpm_kernel_version="yes" |
81 |
linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes" |
82 |
has_version app-crypt/tpm-module && tpm_module="yes" |
83 |
has_version app-crypt/tpm-emulator && tpm_module="yes" |
84 |
if [ -n "${tpm_kernel_present}" ] ; then |
85 |
einfo "Good, you seem to have in-kernel TPM support." |
86 |
elif [ -n "${tpm_module}" ] ; then |
87 |
einfo "Good, you seem to have TPM support with the external module." |
88 |
if [ -n "${tpm_kernel_version}" ] ; then |
89 |
elog |
90 |
elog "Note that since you have a >=2.6.12 kernel, you could use" |
91 |
elog "the in-kernel driver instead of (CONFIG_TCG_TPM)." |
92 |
fi |
93 |
elif [ -n "${tpm_kernel_version}" ] ; then |
94 |
eerror |
95 |
eerror "To use this package, you will have to activate TPM support" |
96 |
eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM," |
97 |
eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)." |
98 |
eerror |
99 |
else |
100 |
eerror |
101 |
eerror "To use this package, you should install a TPM driver." |
102 |
eerror "You can have the following options:" |
103 |
eerror " - install app-crypt/tpm-module" |
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_unpack() { |
115 |
unpack ${A} |
116 |
cd "${S}/dist" |
117 |
epatch "${FILESDIR}/${PN}-0.2.3-nouseradd.patch" |
118 |
cd "${S}" |
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 |
|
131 |
|
132 |
-- |
133 |
gentoo-commits@g.o mailing list |