summaryrefslogtreecommitdiff
path: root/dev-libs/libevent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libevent
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r--dev-libs/libevent/Manifest6
-rw-r--r--dev-libs/libevent/libevent-2.1.8.ebuild66
-rw-r--r--dev-libs/libevent/libevent-9999.ebuild58
-rw-r--r--dev-libs/libevent/metadata.xml16
4 files changed, 146 insertions, 0 deletions
diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest
new file mode 100644
index 000000000000..0ae07bedb347
--- /dev/null
+++ b/dev-libs/libevent/Manifest
@@ -0,0 +1,6 @@
+DIST libevent-2.1.8.tar.gz 1026485 SHA256 965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2 SHA512 a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17 WHIRLPOOL ac90b6613619e0acf039fa331769449b29a3b7698a6d51b811c9288a550a3178e07b5a18a0982141ee90b7e1c34afdc80658355135963ef487cd243c472ee79a
+EBUILD libevent-2.1.8.ebuild 1719 SHA256 83a29e9746c3d286b6082b4bd905a001652abfb65a0e7783db41d8f48c128730 SHA512 1ab87fbd2e18d3bd265c999850b2a8e71c7767cbc8f868f24681f39913c1b506e8eccb4ce091ca138de7c72cb2663bccab0c255b672ae440c5d2c2b83d7f9bfa WHIRLPOOL 3410bde881828235348d94b30e26b586526dc80ea10bb56393d10dbb1fc434b56f319d9969d29cffc4079e73118fdd492109ffe111debf6a358cf2c32786eabd
+EBUILD libevent-9999.ebuild 1205 SHA256 15c6e31e82adaebb6896c2d571e44045dabd185c21b46998e520bf087dd1b1d8 SHA512 ecb96696ecccaf8fffbdf147d3d75c8521cf746498bae305280adc4849f9e0dc740b5e364057a1299a196410fe0204d98edfa6058bd9c0a1c821b8f590264931 WHIRLPOOL 5cc2dcb682a7314a18b2e92f7168a14b928a3b046cd41ffddc1a138c057062caf5bd320ae1ed76bec26ca011433dfb0d662ad6dd6ee61929d0cf00892e077451
+MISC ChangeLog 5494 SHA256 eac9ebd3dc3b637174116ebcafef9a3a917e0dd6a80a2e27742996705d13ec24 SHA512 dcc777e00d6d95d6fcb88bbcf7e450a4bd092a3768e2aa8f814c3737f91d6d8a8f0f328a3a6fd25b99505fa657eb7eb30ce05170f4e7ad12e50fb34421fe8f54 WHIRLPOOL 313ab1dbad65948712a90c696d34f1db8e68cde80ca21bc0d2ad4ba54efd890f913f7cd31b327b7cc6c4c4df0482e020d80490c6037626b768f8e687a6b8f8d7
+MISC ChangeLog-2015 34971 SHA256 1d4925a7ba78d257b422a8eed3a27603cb6d970624bb6991858895857a2be74b SHA512 c89ef36c02a445e5f78f18d2ef5cdcbad1dbae4980a77a87b75942832a1499f5d1fc4b506d9b7ac01aad831ed15b28504acb00b4c5df3ab7e60aec984535d79a WHIRLPOOL 6b4a1936db5e1c44fd68d2eb9d721d2d8680dcf6d88163510f0004481aac538ac7325bb850a9f940c8579dbe6416a11a85012783653c9612f79654fe2d89f1e2
+MISC metadata.xml 547 SHA256 7476b428c7c784eca3a454043553542d9cf2b4e8aaa829faca2684802393a1a4 SHA512 556eebbb7d05a8234e9705126549520a8b8d553cf6331f353bf7a5bad343b0ad56292dbdda5bccec827772faf07bf17f0163e4b479530eea0832e31d9f17f73a WHIRLPOOL 3e57e58f279ee148b674d2c29b56ade51810991389bc2f3e0215d79d27b05d5cc33292807bb0a7cef899ee27cefef197b77c553475a9286a65c42d8654569f82
diff --git a/dev-libs/libevent/libevent-2.1.8.ebuild b/dev-libs/libevent/libevent-2.1.8.ebuild
new file mode 100644
index 000000000000..4d738989668c
--- /dev/null
+++ b/dev-libs/libevent/libevent-2.1.8.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor"
+HOMEPAGE="http://libevent.org/ https://github.com/libevent/libevent/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}-stable/${P}-stable.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+# libevent-2.1.so.6
+SLOT="0/2.1-6"
+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"
+IUSE="debug libressl +ssl static-libs test +threads"
+
+DEPEND="
+ ssl? (
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ !<=dev-libs/9libs-1.0
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/event2/event-config.h
+)
+
+S=${WORKDIR}/${P}-stable
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # fix out-of-source builds
+ mkdir -p test || die
+
+ ECONF_SOURCE="${S}" \
+ econf \
+ --disable-samples \
+ $(use_enable debug debug-mode) \
+ $(use_enable debug malloc-replacement) \
+ $(use_enable ssl openssl) \
+ $(use_enable static-libs static) \
+ $(use_enable test libevent-regress) \
+ $(use_enable threads thread-support)
+}
+
+src_test() {
+ # The test suite doesn't quite work (see bug #406801 for the latest
+ # installment in a riveting series of reports).
+ :
+ # emake -C test check | tee "${T}"/tests
+}
+
+DOCS=( ChangeLog{,-1.4,-2.0} )
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}
diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-9999.ebuild
new file mode 100644
index 000000000000..708484a46c36
--- /dev/null
+++ b/dev-libs/libevent/libevent-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils git-r3 multilib-minimal
+
+DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor"
+HOMEPAGE="http://libevent.org/"
+EGIT_REPO_URI="https://github.com/libevent/libevent"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug libressl +ssl static-libs test +threads"
+RESTRICT="test"
+
+DEPEND="
+ ssl? (
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ !<=dev-libs/9libs-1.0
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/event2/event-config.h
+)
+DOCS=(
+ ChangeLog{,-1.4,-2.0}
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # fix out-of-source builds
+ mkdir -p test || die
+
+ ECONF_SOURCE="${S}" \
+ econf \
+ --disable-samples \
+ $(use_enable debug debug-mode) \
+ $(use_enable debug malloc-replacement) \
+ $(use_enable ssl openssl) \
+ $(use_enable static-libs static) \
+ $(use_enable test libevent-regress) \
+ $(use_enable threads thread-support)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}
diff --git a/dev-libs/libevent/metadata.xml b/dev-libs/libevent/metadata.xml
new file mode 100644
index 000000000000..6036c10bd580
--- /dev/null
+++ b/dev-libs/libevent/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:niels_provos:libevent</remote-id>
+ <remote-id type="sourceforge">levent</remote-id>
+ <remote-id type="github">libevent/libevent</remote-id>
+ </upstream>
+ <use>
+ <flag name="debug">Support runtime debug mode and malloc hooks (for programmers)</flag>
+ </use>
+</pkgmetadata>