1 |
commit: cff4c006298f6c732eeb856aac354bd036230414 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 2 14:08:57 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 2 14:28:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff4c006 |
7 |
|
8 |
dev-libs/libevent: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/libevent/Manifest | 1 - |
13 |
.../libevent-2.1.5-event_signals_ordering.patch | 34 ----------- |
14 |
dev-libs/libevent/libevent-2.1.5-r4.ebuild | 69 ---------------------- |
15 |
3 files changed, 104 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest |
18 |
index 6e66ac6..1f0c68a 100644 |
19 |
--- a/dev-libs/libevent/Manifest |
20 |
+++ b/dev-libs/libevent/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST libevent-2.0.22-stable.tar.gz 854987 SHA256 71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3 SHA512 990637f12e890bfa7f86c194c8b112701436e92b60afb829194879efb85d558b986261e6508fe29bde73981feada874438e2d442cec8ea5730c889954f9bc907 WHIRLPOOL fe465e94a35dc489a86fad93fd4a82d5c314e3a66ebf1bcf8ba29014fe9bd2ebce4546b4a6a9fedee40d17010d73eb89b99596cec1dde3b7f9a4240cf6b6760d |
23 |
-DIST libevent-2.1.5-beta.tar.gz 972344 SHA256 79e1b82236a02f1432b6d95ef94186915790eb9910211647f9c01a85149066d8 SHA512 cc38885fc9c7f884085d6adb4bfa51834935475f9c24b76e1fe301b43520dd88935aea588eb4c5795942fa625a790ff575f06b709775e8424691f3307becd216 WHIRLPOOL a040e9b63933d422a7ffa75c4dd0649ae239ebd747fb733420df9f40eb48e9d6ff4d4e6f217b87655a1cbde53cba1ef03beed107d62bf8720391c1f05e010adb |
24 |
DIST libevent-2.1.7_rc.tar.gz 696447 SHA256 548362d202e22fe24d4c3fad38287b4f6d683e6c21503341373b89785fa6f991 SHA512 72187614ddd5ce0ef0560d54e526ca9986dde90d4c1542637217ce62a596d800dedda88e4da383529ebf961c198929da59a2b570b1a19dba9d2506684af8cb3a WHIRLPOOL 5e7e71c22729b068890aacc1e157680489662078c509a1be7689f21707d1b4d40538f97debb6e93df0393fbaa309d3c81f900bebddd2a352782299ff441e2efc |
25 |
|
26 |
diff --git a/dev-libs/libevent/files/libevent-2.1.5-event_signals_ordering.patch b/dev-libs/libevent/files/libevent-2.1.5-event_signals_ordering.patch |
27 |
deleted file mode 100644 |
28 |
index 27578b1..00000000 |
29 |
--- a/dev-libs/libevent/files/libevent-2.1.5-event_signals_ordering.patch |
30 |
+++ /dev/null |
31 |
@@ -1,34 +0,0 @@ |
32 |
---- a/event.c |
33 |
-+++ b/event.c |
34 |
-@@ -926,13 +926,13 @@ event_reinit(struct event_base *base) |
35 |
- event_del_nolock_(&base->sig.ev_signal, EVENT_DEL_AUTOBLOCK); |
36 |
- event_debug_unassign(&base->sig.ev_signal); |
37 |
- memset(&base->sig.ev_signal, 0, sizeof(base->sig.ev_signal)); |
38 |
-- if (base->sig.ev_signal_pair[0] != -1) |
39 |
-- EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[0]); |
40 |
-- if (base->sig.ev_signal_pair[1] != -1) |
41 |
-- EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[1]); |
42 |
- had_signal_added = 1; |
43 |
- base->sig.ev_signal_added = 0; |
44 |
- } |
45 |
-+ if (base->sig.ev_signal_pair[0] != -1) |
46 |
-+ EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[0]); |
47 |
-+ if (base->sig.ev_signal_pair[1] != -1) |
48 |
-+ EVUTIL_CLOSESOCKET(base->sig.ev_signal_pair[1]); |
49 |
- if (base->th_notify_fn != NULL) { |
50 |
- was_notifiable = 1; |
51 |
- base->th_notify_fn = NULL; |
52 |
-@@ -981,8 +981,12 @@ event_reinit(struct event_base *base) |
53 |
- if (evmap_reinit_(base) < 0) |
54 |
- res = -1; |
55 |
- } else { |
56 |
-- if (had_signal_added) |
57 |
- res = evsig_init_(base); |
58 |
-+ if (res == 0 && had_signal_added) { |
59 |
-+ res = event_add_nolock_(&base->sig.ev_signal, NULL, 0); |
60 |
-+ if (res == 0) |
61 |
-+ base->sig.ev_signal_added = 1; |
62 |
-+ } |
63 |
- } |
64 |
- |
65 |
- /* If we were notifiable before, and nothing just exploded, become |
66 |
|
67 |
diff --git a/dev-libs/libevent/libevent-2.1.5-r4.ebuild b/dev-libs/libevent/libevent-2.1.5-r4.ebuild |
68 |
deleted file mode 100644 |
69 |
index f3b169a..00000000 |
70 |
--- a/dev-libs/libevent/libevent-2.1.5-r4.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,69 +0,0 @@ |
73 |
-# Copyright 1999-2017 Gentoo Foundation |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
-# $Id$ |
76 |
- |
77 |
-EAPI=5 |
78 |
-inherit eutils libtool multilib-minimal |
79 |
- |
80 |
-MY_P="${P}-beta" |
81 |
- |
82 |
-DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" |
83 |
-HOMEPAGE="http://libevent.org/" |
84 |
-SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz" |
85 |
- |
86 |
-LICENSE="BSD" |
87 |
-# libevent-2.1.so.5 |
88 |
-SLOT="0/2.1-5" |
89 |
-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" |
90 |
-IUSE="debug libressl +ssl static-libs test +threads" |
91 |
- |
92 |
-DEPEND=" |
93 |
- ssl? ( |
94 |
- !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
95 |
- libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
96 |
- ) |
97 |
-" |
98 |
-RDEPEND=" |
99 |
- ${DEPEND} |
100 |
- !<=dev-libs/9libs-1.0 |
101 |
-" |
102 |
- |
103 |
-MULTILIB_WRAPPED_HEADERS=( |
104 |
- /usr/include/event2/event-config.h |
105 |
-) |
106 |
- |
107 |
-S=${WORKDIR}/${MY_P} |
108 |
- |
109 |
-src_prepare() { |
110 |
- elibtoolize |
111 |
- epatch "${FILESDIR}/${PN}-2.1.5-event_signals_ordering.patch" |
112 |
-} |
113 |
- |
114 |
-multilib_src_configure() { |
115 |
- # fix out-of-source builds |
116 |
- mkdir -p test || die |
117 |
- |
118 |
- ECONF_SOURCE="${S}" \ |
119 |
- econf \ |
120 |
- --disable-samples \ |
121 |
- $(use_enable debug debug-mode) \ |
122 |
- $(use_enable debug malloc-replacement) \ |
123 |
- $(use_enable ssl openssl) \ |
124 |
- $(use_enable static-libs static) \ |
125 |
- $(use_enable test libevent-regress) \ |
126 |
- $(use_enable threads thread-support) |
127 |
-} |
128 |
- |
129 |
-src_test() { |
130 |
- # The test suite doesn't quite work (see bug #406801 for the latest |
131 |
- # installment in a riveting series of reports). |
132 |
- : |
133 |
- # emake -C test check | tee "${T}"/tests |
134 |
-} |
135 |
- |
136 |
-DOCS=( ChangeLog{,-1.4,-2.0} ) |
137 |
- |
138 |
-multilib_src_install_all() { |
139 |
- einstalldocs |
140 |
- prune_libtool_files |
141 |
-} |