/[gentoo-x86]/net-misc/sks/sks-1.1.2.ebuild
Gentoo

Contents of /net-misc/sks/sks-1.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon May 5 22:02:47 2014 UTC (5 years, 7 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump. Cleanup old. Proxy commit for Kristian Fiskerstrand. Fixes bug #509352 (CVE-2014-3207).

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sks/sks-1.1.2.ebuild,v 1.4 2012/02/07 00:34:06 kingtaco Exp $
4
5 EAPI=4
6
7 inherit eutils multilib
8
9 DESCRIPTION="SKS Keyserver"
10 HOMEPAGE="http://code.google.com/p/sks-keyserver/"
11 SRC_URI="http://sks-keyserver.googlecode.com/files/${PF}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="optimize"
17
18 DEPEND="dev-lang/ocaml
19 dev-ml/cryptokit
20 sys-libs/db:4.6"
21 RDEPEND="${DEPEND}"
22
23 src_prepare() {
24 cp Makefile.local.unused Makefile.local || die
25 sed -i \
26 -e "s:^BDBLIB=.*$:BDBLIB=-L/usr/$(get_libdir):g" \
27 -e "s:^BDBINCLUDE=.*$:BDBINCLUDE=-I/usr/include/db4.6/:g" \
28 -e "s:^PREFIX=.*$:PREFIX=${D}/usr:g" \
29 -e "s:^MANDIR=.*$:MANDIR=${D}/usr/share/man:g" \
30 Makefile.local || die
31 sed -i \
32 -e 's:^CAMLINCLUDE= -I lib -I bdb$:CAMLINCLUDE= -I lib -I bdb -I +cryptokit:g' \
33 -e 's:-Werror-implicit-function-declaration::g' \
34 -e 's:LIBS.bc= lib/cryptokit.cma bdb/bdb.cma:LIBS.bc= bdb/bdb.cma:g' \
35 -e 's:sks_build.bc.sh:sks_build.sh:g' \
36 Makefile bdb/Makefile || die
37 epatch "${FILESDIR}/bdb_stubs-gentoo.patch"
38 }
39
40 src_compile() {
41 emake dep
42 emake all
43 if use optimize; then
44 emake all.bc
45 fi
46 }
47
48 src_install() {
49 if use optimize; then
50 emake install.bc
51 dosym /usr/bin/sks.bc usr/bin/sks
52 dosym /usr/bin/sks_add_mail.bc usr/bin/sks_add_mail
53 else
54 emake install
55 fi
56 }

  ViewVC Help
Powered by ViewVC 1.1.20