/[gentoo-x86]/dev-libs/opensc/opensc-0.11.8.ebuild
Gentoo

Contents of /dev-libs/opensc/opensc-0.11.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Oct 24 00:57:45 2009 UTC (4 years, 9 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 14708-svn/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.11.8.ebuild,v 1.7 2009/05/22 22:45:10 maekke Exp $
4
5 EAPI="2"
6
7 inherit multilib
8
9 DESCRIPTION="SmartCard library and applications"
10 HOMEPAGE="http://www.opensc-project.org/opensc/"
11
12 SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 IUSE="pcsc-lite openct nsplugin doc"
18
19 RDEPEND="dev-libs/openssl
20 sys-libs/zlib
21 openct? ( >=dev-libs/openct-0.5.0 )
22 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
23 nsplugin? (
24 app-crypt/pinentry
25 x11-libs/libXt
26 )"
27 DEPEND="${RDEPEND}
28 dev-util/pkgconfig
29 nsplugin? ( dev-libs/libassuan )"
30
31 src_configure() {
32 econf \
33 --docdir="/usr/share/doc/${PF}" \
34 --htmldir="/usr/share/doc/${PF}/html" \
35 $(use_enable openct) \
36 $(use_enable pcsc-lite pcsc) \
37 $(use_enable nsplugin) \
38 $(use_enable doc) \
39 --with-pinentry="/usr/bin/pinentry"
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die "emake install failed"
44 }
45
46 pkg_postinst() {
47 elog "This package contains security fix for CVE-2009-1603. pkcs11-tool from OpenSC 0.11.7,"
48 elog "when used with third-party PKCS#11 modules, generated RSA keys with incorrect public"
49 elog "exponents, which allows attackers to read the cleartext form of messages that were"
50 elog "intended to be encrypted."
51 elog "See http://www.opensc-project.org/pipermail/opensc-announce/2009-May/000025.html"
52 elog "for details"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20