Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmowgli/
Date: Sun, 26 Jun 2016 00:09:41
Message-Id: 1466896474.b2342287cb89c1bdb887ce0d028cb07e1eef09ac.blueness@gentoo
1 commit: b2342287cb89c1bdb887ce0d028cb07e1eef09ac
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 23:14:34 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 23:14:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2342287
7
8 dev-libs/libmowgli: add libressl support
9
10 Package-Manager: portage-2.2.28
11
12 dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild | 26 ++++++++++++++++++++++++++
13 dev-libs/libmowgli/libmowgli-9999.ebuild | 11 +++++++----
14 2 files changed, 33 insertions(+), 4 deletions(-)
15
16 diff --git a/dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild b/dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild
17 new file mode 100644
18 index 0000000..510eae7
19 --- /dev/null
20 +++ b/dev-libs/libmowgli/libmowgli-2.0.0-r1.ebuild
21 @@ -0,0 +1,26 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +DESCRIPTION="Useful set of performance and usability-oriented extensions to C"
29 +HOMEPAGE="http://www.atheme.org/project/mowgli"
30 +SRC_URI="http://atheme.org/downloads/${P}.tar.gz"
31 +IUSE="libressl ssl"
32 +
33 +LICENSE="BSD-2"
34 +SLOT="2"
35 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
36 +RDEPEND="ssl? (
37 + !libressl? ( dev-libs/openssl:0= )
38 + libressl? ( dev-libs/libressl:0= )
39 +)"
40 +DEPEND="${RDEPEND}"
41 +DOCS="AUTHORS README doc/BOOST doc/design-concepts.txt"
42 +
43 +src_configure() {
44 + # disabling SSL is "broken" in 2.0.0 so we have to use this hack till 2.0.1
45 + use !ssl && myconf="--with-openssl=/dev/null"
46 + econf ${myconf}
47 +}
48
49 diff --git a/dev-libs/libmowgli/libmowgli-9999.ebuild b/dev-libs/libmowgli/libmowgli-9999.ebuild
50 index f2e1e27..2638178 100644
51 --- a/dev-libs/libmowgli/libmowgli-9999.ebuild
52 +++ b/dev-libs/libmowgli/libmowgli-9999.ebuild
53 @@ -1,20 +1,23 @@
54 -# Copyright 1999-2012 Gentoo Foundation
55 +# Copyright 1999-2016 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Id$
58
59 -EAPI=4
60 +EAPI=5
61
62 inherit git-2
63
64 DESCRIPTION="Useful set of performance and usability-oriented extensions to C"
65 HOMEPAGE="http://www.atheme.org/project/mowgli"
66 EGIT_REPO_URI="git://github.com/atheme/libmowgli-2.git"
67 -IUSE="ssl"
68 +IUSE="libressl ssl"
69
70 LICENSE="BSD-2"
71 SLOT="2"
72 KEYWORDS=""
73 -RDEPEND="ssl? ( dev-libs/openssl )"
74 +RDEPEND="ssl? (
75 + !libressl? ( dev-libs/openssl:0= )
76 + libressl? ( dev-libs/libressl:0= )
77 +)"
78 DEPEND="${RDEPEND}"
79 DOCS="AUTHORS README doc/BOOST doc/design-concepts.txt"