1 |
commit: dd8cf33253c18b9f0fbe8ec36e2080588d1fc3f1 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 2 14:27:47 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 2 14:28:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8cf332 |
7 |
|
8 |
dev-libs/libevent: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/libevent/Manifest | 1 + |
13 |
dev-libs/libevent/libevent-2.1.8.ebuild | 67 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest |
17 |
index 1f0c68a..27f8d7c 100644 |
18 |
--- a/dev-libs/libevent/Manifest |
19 |
+++ b/dev-libs/libevent/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libevent-2.0.22-stable.tar.gz 854987 SHA256 71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3 SHA512 990637f12e890bfa7f86c194c8b112701436e92b60afb829194879efb85d558b986261e6508fe29bde73981feada874438e2d442cec8ea5730c889954f9bc907 WHIRLPOOL fe465e94a35dc489a86fad93fd4a82d5c314e3a66ebf1bcf8ba29014fe9bd2ebce4546b4a6a9fedee40d17010d73eb89b99596cec1dde3b7f9a4240cf6b6760d |
22 |
DIST libevent-2.1.7_rc.tar.gz 696447 SHA256 548362d202e22fe24d4c3fad38287b4f6d683e6c21503341373b89785fa6f991 SHA512 72187614ddd5ce0ef0560d54e526ca9986dde90d4c1542637217ce62a596d800dedda88e4da383529ebf961c198929da59a2b570b1a19dba9d2506684af8cb3a WHIRLPOOL 5e7e71c22729b068890aacc1e157680489662078c509a1be7689f21707d1b4d40538f97debb6e93df0393fbaa309d3c81f900bebddd2a352782299ff441e2efc |
23 |
+DIST libevent-2.1.8.tar.gz 1026485 SHA256 965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2 SHA512 a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17 WHIRLPOOL ac90b6613619e0acf039fa331769449b29a3b7698a6d51b811c9288a550a3178e07b5a18a0982141ee90b7e1c34afdc80658355135963ef487cd243c472ee79a |
24 |
|
25 |
diff --git a/dev-libs/libevent/libevent-2.1.8.ebuild b/dev-libs/libevent/libevent-2.1.8.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..ca87a24 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libevent/libevent-2.1.8.ebuild |
30 |
@@ -0,0 +1,67 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit autotools eutils multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" |
39 |
+HOMEPAGE="http://libevent.org/ https://github.com/libevent/libevent/" |
40 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}-stable/${P}-stable.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+# libevent-2.1.so.6 |
44 |
+SLOT="0/2.1-6" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
46 |
+IUSE="debug libressl +ssl static-libs test +threads" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ ssl? ( |
50 |
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
51 |
+ libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
52 |
+ ) |
53 |
+" |
54 |
+RDEPEND=" |
55 |
+ ${DEPEND} |
56 |
+ !<=dev-libs/9libs-1.0 |
57 |
+" |
58 |
+ |
59 |
+MULTILIB_WRAPPED_HEADERS=( |
60 |
+ /usr/include/event2/event-config.h |
61 |
+) |
62 |
+ |
63 |
+S=${WORKDIR}/${P}-stable |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+multilib_src_configure() { |
71 |
+ # fix out-of-source builds |
72 |
+ mkdir -p test || die |
73 |
+ |
74 |
+ ECONF_SOURCE="${S}" \ |
75 |
+ econf \ |
76 |
+ --disable-samples \ |
77 |
+ $(use_enable debug debug-mode) \ |
78 |
+ $(use_enable debug malloc-replacement) \ |
79 |
+ $(use_enable ssl openssl) \ |
80 |
+ $(use_enable static-libs static) \ |
81 |
+ $(use_enable test libevent-regress) \ |
82 |
+ $(use_enable threads thread-support) |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ # The test suite doesn't quite work (see bug #406801 for the latest |
87 |
+ # installment in a riveting series of reports). |
88 |
+ : |
89 |
+ # emake -C test check | tee "${T}"/tests |
90 |
+} |
91 |
+ |
92 |
+DOCS=( ChangeLog{,-1.4,-2.0} ) |
93 |
+ |
94 |
+multilib_src_install_all() { |
95 |
+ einstalldocs |
96 |
+ prune_libtool_files |
97 |
+} |