commit:     638c9751016f9a48eae1d703f6376bf9f68d7c27
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Fri Feb 26 01:05:38 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 11:19:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638c9751

dev-libs/actor-framework: initial versions 0.13.2, 0.14.5

The C++ Actor Framework (CAF) is an implementation of the actor model in
C++. It's required for net-analyzer/bro, a network security scanner.

Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
Closes: https://github.com/gentoo/gentoo/pull/1069

 dev-libs/actor-framework/Manifest                  |  14 +++
 .../actor-framework/actor-framework-0.13.2.ebuild  | 114 +++++++++++++++++++++
 .../actor-framework/actor-framework-0.14.5.ebuild  | 114 +++++++++++++++++++++
 dev-libs/actor-framework/metadata.xml              |  33 ++++++
 4 files changed, 275 insertions(+)

diff --git a/dev-libs/actor-framework/Manifest 
b/dev-libs/actor-framework/Manifest
new file mode 100644
index 0000000..3d919bf
--- /dev/null
+++ b/dev-libs/actor-framework/Manifest
@@ -0,0 +1,14 @@
+DIST CAF_0.13.2-benchmarks.tar.gz 46365 SHA256 
0160a4e43c5995a37ae7337fab3707c5018d88571b38f2e7a2007cc537e4b998 SHA512 
8b0bc0ad21b454c70fbeef50bce3246a87b8f5ff0bd10ccd196aa2f6c155e252863b1c22e98c589519a5efc43601172dbcf1f9f2e961d49d2babd4f548b0b672
 WHIRLPOOL 
129db2c2960f875023949df0f356c68f6345f0161ea0bdb84e6d26c4aa9476b76568e1cbd72acf7285ed71fbdd1b0deee09f50f3d5849d7e70b52b6d97a25dfa
+DIST CAF_0.13.2-cash.tar.gz 7705 SHA256 
8cbd36e8775e4ceaec4a3929b978d44a3a33c625ec7e8f8301393840a3b50f4f SHA512 
a264bdc9573b71675b7a8c30fa1a985d1b7e5c39b603b01b53660f52bfcf09c4bd80fe942ef917bc0ecbe305941bf6df5f0305b43d1cfc015992fdf7520e2911
 WHIRLPOOL 
013c3f47f677dee6203ae8b3c3585f2ac837fc82e8d444427188a312c48b4bdcbf1d8121088406d672984f2d5f0810ae0ea11a93ab0af89c8c5b82d291d98434
+DIST CAF_0.13.2-nexus.tar.gz 2920 SHA256 
43574c5955d5cd424316d0f707e75734d24ee4ec331f0f205e3e5bb1e758e1aa SHA512 
4991ae663bfb5bbb71be9c17c23bef29903d2b797299d52cb68cd5f02681c826ce495ff2badc66442b7cdb0638bfe94209e5226ec5ee3031dc1a63573fe94ad6
 WHIRLPOOL 
0b427efbde875bbf0cd089ce6075acb28ab610f8c9ceb63f7e1669a05e16f1f5369e00665ea9a9390b116c31292a38fe59f1072e5c74c28ebc7649b836a8b30e
+DIST CAF_0.13.2-opencl.tar.gz 15040 SHA256 
d991f0116d99de60e526c3d0c886d8929b58398e02367925424e5266165e827f SHA512 
bc18469d2e63f504981cc803e9b08698c4eab100fbbe412caea674a619eece9c30f1ad9537eac833bd55b08ceb92cfd6a1f539ae8d908b46a682712b91d23eaf
 WHIRLPOOL 
5498d7660b44c509014a58d2f06839832f6810eed2c51da5b684272c1348d88d8f596fc4bfe164700381a4d31c1cca9d36420bee5f38b5bb48e5f9a69b3f526b
+DIST CAF_0.13.2-riac.tar.gz 6481 SHA256 
30bb84e526e60710612762fc493676b902457f8fac17e62ca3c9f73a1000403a SHA512 
ceba0926fa8f28b3af74f6af1d464934674a67daf74abd8c23547b464a64247fbcd5a7cc58d1852c616c477d50ad7b3f9c827b16cd32d81dbd3b0fd4b4f3b2e4
 WHIRLPOOL 
da223f6bd4c26619a0f4c0dbaf0a2b591ad9bafd93659542147d6e9a45cca87c508a92eef5659063d937fc98b1ff0d8948c51ecc67a24845c49c32a0a6cc3691
+DIST CAF_0.13.2-sash_cash.tar.gz 36108 SHA256 
580f83cb5797e5307d003fce3491d7b2de9450bc16d22f986f462cb1e25de3a7 SHA512 
e78d694268ddb0979781a0fc1ac9e7d70d4bfa73579afa0008e0b58bc0d7f9d853aec25a4badf90d6d398f9538b46ecdc25a66dfed6d24b9813e3100eec07aff
 WHIRLPOOL 
8173689930be4890ddf4952477460b6141224c3d0f2ac4ad74b7133e60b7fcc631fed0ae3fa2ac938697ad37ec977c372d1ac1fb9fd0534e744514f757d88edb
+DIST CAF_0.14.5-benchmarks.tar.gz 46245 SHA256 
39182070495ad3cf0c528e8e03492a295a1a7611550cf2ef19ceef8038599217 SHA512 
11edb5337be18b106c852fe95a7a0d50c9eaf2c21d9e64cee84a60d2e8443083447440a463a24d6cf376bcae421a0d5942b1b3fa6debb7f7102dc8648d1bb15f
 WHIRLPOOL 
975d1836d37d6d646ef0cd9b9ac7332e495c3e75bebcc0413f288d58c2a931197bb1ba4e33dc6272c4fed46163a88e2ca85737b904241df8027043167856bf0e
+DIST CAF_0.14.5-cash.tar.gz 8182 SHA256 
c5452c5ca1bf47f4c7c8b401af29a4d2b9bad805a76f3ebee75e59dba3339c33 SHA512 
0e4fe9dd433a6dc353404eb1a10b898c8589db455f550bafefcea3b0f04659cab3e2b63e353b5dab709080aaa1319942fd56d9eaf3c2d0e244f6eed202f81deb
 WHIRLPOOL 
5d00775b3f6b834197eeb6668025e14e3408675557161df3fa42140049b18d45e1572ce6cb2cf5d74f309545f32287f9bc2788c2f9e04259abbb3ee463e191e0
+DIST CAF_0.14.5-nexus.tar.gz 1510 SHA256 
14355a6c2b606adcaa5580e369be7353d67bac8677746c5a1744fee9d5218ed3 SHA512 
e71cfd629adf83a3fe5a0a33656d9cb499bb4de10cd73fdccf81c9235cc69b277de63dde035f9cd28c8dbc9a6311ce45af13e3d40d14b6c07c5ad9b714dccec1
 WHIRLPOOL 
7f452dc8c0dd98c3a3d9fbc5ad33a4e47d8322867db6be27e01deea306517d5c5d517de5b270ddfeb31ab1138a7fa88a996320ff1b1a814903fdb71965a42082
+DIST CAF_0.14.5-opencl.tar.gz 22047 SHA256 
db66a22265b84ef36c411ebaadd95c8d5c5651fb7a156b26e0c06d24aebf2c5c SHA512 
fb8ea40b16be7646ede25f054688945b21b90719526bdefc786f80581b3f1472945c643f4cc1641f1688252e73e0a0d388e4477c8055b685318d6bf1639cda00
 WHIRLPOOL 
d7f8e8b6f5ddaa524d5e0487956dff4ace787bb0d236f3b4c79cfd524f7bf2cebcb19a2273d4622c59a348295e2ffb5dd56ade0efe3298fe9526c8b637d61de4
+DIST CAF_0.14.5-riac.tar.gz 8452 SHA256 
ce7e186667bc5db57d9c0fb6e48f835175f66217b3b99d08d7f9a02da810b1e5 SHA512 
b4a70548dd2a839dafadd091334a367d1ba7c8632c47f8df8f6c3ee730b4b4b75c8e00d7c335d719dd9f044e0d40436ea265b7717940ac81531b266b8cbcb5cf
 WHIRLPOOL 
494578e6019350ce3d08d40668858c836033ffaad4da6c9b32afe215edeb5d1de6e98ec2f8f8cea0d85a4c686e4418fa98ef9885b377a27ad03306a68931efbf
+DIST CAF_0.14.5-sash_cash.tar.gz 36600 SHA256 
ffbbdcf0f128a682ae3775f916358466ea94dea0b3a2153571c915767d6bae35 SHA512 
dc90af883553ac67ff8e7bfcc2213200892137a5f9bcbaab95561898bacddaa5687a39a23eef7fd08b9be54fed2816d4c7d6bb31848cfbbc337ac81312f68542
 WHIRLPOOL 
79bf1841764af3ab9b0e0adffcfa3e678da54d7351c1d400269bd4906e548ed298998ef9787b0ac9d9b6838edc04920a973931b4798f80665c6869145dda65f4
+DIST actor-framework-0.13.2.tar.gz 570416 SHA256 
3ccf7e469740e750eef31f14b965b00f7b6e3a89b05086a088ca905b3b1a04e6 SHA512 
fce8eaec477a1d1f141e631b3160eb4f39d6334023b325545035ab20546e4920cd9418378bf5bd6fadae995d793dfc618309556b541cdf125b377ba413658e6e
 WHIRLPOOL 
250cfcf4064ecbb87eab80671c537f935a0f4a96bfc907eb6ad74e2db57489037a2194a4c6f2daa920b1e01f6a40920b1b4ab56e7241b80256ec5ce4d8db2986
+DIST actor-framework-0.14.5.tar.gz 1239461 SHA256 
afc4bc928ecd7d017768e5c85b7300196aa5b70ef11d97e11b21a1ae28ce9d3f SHA512 
6bf9cd9868b633cdd249f4e5d503bb9d489a68f5a86e9ba505b3b65984ecf5d931878620ace504a8baed34da7a396a68a7c425ba8c8afef15e0557ed9aa19be9
 WHIRLPOOL 
53e804c64716c7b0f4d1455ab1cfcf9ea05594f6f16e804b97109baddf77dcfb55564a3d4243bfafd3c965c39f3f8711d3c02f93a92bc272378db40774d1a550

diff --git a/dev-libs/actor-framework/actor-framework-0.13.2.ebuild 
b/dev-libs/actor-framework/actor-framework-0.13.2.ebuild
new file mode 100644
index 0000000..9e9a0f1
--- /dev/null
+++ b/dev-libs/actor-framework/actor-framework-0.13.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic cmake-multilib
+
+bench_ref="78c746269bb53ff0b2026e7b1a8fe11fabc69e64"
+cash_ref="847edfb18afa6b755a91a203872bcd66bbeb5868"
+sash_ref="9da5a40793d77e7f6d3afb504cf02c0acb59d35c"
+opencl_ref="91ebbda2986f3f32a873d02ca5eb550f26c6b70d"
+riac_ref="855e725739b7688290f66f592f858149c92375c5"
+nexus_ref="90d42335ff3a2fe67ac4ae41a844f0b245bb123c"
+
+DESCRIPTION="The C++ Actor Framework (CAF)"
+HOMEPAGE="https://actor-framework.org/";
+SRC_URI="https://github.com/actor-framework/actor-framework/archive/${PV}.tar.gz
 -> ${P}.tar.gz
+       benchmarks? ( 
https://github.com/actor-framework/benchmarks/archive/${bench_ref}.tar.gz -> 
CAF_${PV}-benchmarks.tar.gz )
+       cash? ( 
https://github.com/actor-framework/cash/archive/${cash_ref}.tar.gz -> 
CAF_${PV}-cash.tar.gz
+               https://github.com/Neverlord/sash/archive/${sash_ref}.tar.gz -> 
CAF_${PV}-sash_cash.tar.gz )
+       nexus? ( 
https://github.com/actor-framework/nexus/archive/${nexus_ref}.tar.gz -> 
CAF_${PV}-nexus.tar.gz )
+       opencl? ( 
https://github.com/actor-framework/opencl/archive/${opencl_ref}.tar.gz -> 
CAF_${PV}-opencl.tar.gz )
+       riac? ( 
https://github.com/actor-framework/riac/archive/${riac_ref}.tar.gz -> 
CAF_${PV}-riac.tar.gz )"
+LICENSE="|| ( Boost-1.0 BSD )"
+SLOT="0/13.2"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost benchmarks cash debug doc examples +mem_management nexus opencl 
riac static test"
+
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen
+               dev-texlive/texlive-latex
+               dev-tex/hevea
+       )"
+RDEPEND="boost? ( dev-libs/boost[${MULTILIB_USEDEP}] )
+       net-misc/curl[${MULTILIB_USEDEP}]
+       opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )"
+REQUIRED_USE="cash? ( riac )"
+
+src_unpack() {
+       unpack ${A}
+       for i in cash nexus; do
+               if use ${i}; then
+                       mv "${i}"*/* "${S}/${i}/" || die "died copying sources 
for ${i}"
+               fi
+       done
+       for i in opencl riac; do
+               if use ${i}; then
+                       mv "${i}"*/* "${S}/libcaf_${i}/" || die "died copying 
sources for ${i}"
+               fi
+       done
+       if use cash; then
+               mv sash*/* "${S}/cash/sash/" || die "died copying sources for 
sash"
+       fi
+       if use benchmarks; then
+               mv "${WORKDIR}/benchmarks-"* "${WORKDIR}/benchmarks" || die 
"died moving benchmarks"
+       fi
+}
+
+src_prepare() {
+       find "${S}" -name CMakeLists.txt \
+               -exec sed -i 's#\(install(.* DESTINATION 
\)lib#\1${LIBRARY_OUTPUT_PATH}#g' \{\} + \
+               || die
+       rm examples/CMakeLists.txt || die
+       append-cxxflags "-std=c++11 -pthread -Wextra -Wall -pedantic"
+       append-cflags "-std=c11 -pthread -Wextra -Wall -pedantic"
+
+       cmake-utils_src_prepare
+}
+
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DCAF_NO_EXAMPLES=ON
+               -DCAF_NO_BENCHMARKS=ON
+               -DCAF_USE_ASIO=$(usex boost)
+               -DCAF_NO_CASH=$(usex cash OFF ON)
+               -DCAF_LOG_LEVEL=$(usex debug 3 0)
+               -DCAF_ENABLE_RUNTIME_CHECKS=$(usex debug)
+               -DCAF_ENABLE_ADDRESS_SANITIZER=$(usex debug)
+               -DCAF_NO_MEM_MANAGEMENT=$(usex mem_management OFF ON)
+               -DCAF_NO_NEXUS=$(usex nexus OFF ON)
+               -DCAF_NO_OPENCL=$(usex opencl OFF ON)
+               -DCAF_NO_RIAC=$(usex riac OFF ON)
+               -DCAF_BUILD_STATIC=$(usex static)
+               -DCAF_NO_UNIT_TESTS=$(usex test OFF ON )
+               -DLIBRARY_OUTPUT_PATH="$(get_libdir)"
+       )
+
+       cmake-utils_src_configure
+}
+
+multilib_src_compile() {
+       cmake-utils_src_compile
+
+       if use doc; then
+               emake doc
+               emake -C "${S}/manual/build-pdf"
+               emake -C "${S}/manual/build-html"
+       fi
+}
+
+multilib_src_install() {
+       DOCS=( README.md )
+       use examples && DOCS+=( "${S}/examples" )
+       use benchmarks && DOCS+=( "${WORKDIR}/benchmarks/" )
+       if use doc; then
+               HTML_DOCS=( "${S}/html/"* )
+               for i in pdf html; do
+                       DOCS+=( "${S}"/manual/build-${i}/manual.${i} )
+               done
+       fi
+
+       cmake-utils_src_install
+}

diff --git a/dev-libs/actor-framework/actor-framework-0.14.5.ebuild 
b/dev-libs/actor-framework/actor-framework-0.14.5.ebuild
new file mode 100644
index 0000000..701cfcf
--- /dev/null
+++ b/dev-libs/actor-framework/actor-framework-0.14.5.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-multilib
+
+bench_ref="2c45d8c1c2b934e062baf378809201ac66d169a7"
+cash_ref="38bcdedf7df5536899dd4373969e6653380d2a86"
+sash_ref="75e68c37ccafbcb7b7da8c0afe564d59bcf10594"
+opencl_ref="200eb3f43fb243515d0652324e6d606dede3f676"
+riac_ref="83de14803c841a7113c4b13c94624a55f3eec984"
+nexus_ref="254fbf76f83bb06e6001943b78838644345211a4"
+
+DESCRIPTION="The C++ Actor Framework (CAF)"
+HOMEPAGE="https://actor-framework.org/";
+SRC_URI="https://github.com/actor-framework/actor-framework/archive/${PV}.tar.gz
 -> ${P}.tar.gz
+       benchmarks? ( 
https://github.com/actor-framework/benchmarks/archive/${bench_ref}.tar.gz -> 
CAF_${PV}-benchmarks.tar.gz )
+       cash? ( 
https://github.com/actor-framework/cash/archive/${cash_ref}.tar.gz -> 
CAF_${PV}-cash.tar.gz
+               https://github.com/Neverlord/sash/archive/${sash_ref}.tar.gz -> 
CAF_${PV}-sash_cash.tar.gz )
+       nexus? ( 
https://github.com/actor-framework/nexus/archive/${nexus_ref}.tar.gz -> 
CAF_${PV}-nexus.tar.gz )
+       opencl? ( 
https://github.com/actor-framework/opencl/archive/${opencl_ref}.tar.gz -> 
CAF_${PV}-opencl.tar.gz )
+       riac? ( 
https://github.com/actor-framework/riac/archive/${riac_ref}.tar.gz -> 
CAF_${PV}-riac.tar.gz )"
+LICENSE="|| ( Boost-1.0 BSD )"
+SLOT="0/14.5"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost benchmarks cash debug doc examples +mem_management nexus opencl 
riac static test"
+
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen
+               dev-texlive/texlive-latex
+               dev-tex/hevea
+       )"
+RDEPEND="boost? ( dev-libs/boost[${MULTILIB_USEDEP}] )
+       net-misc/curl[${MULTILIB_USEDEP}]
+       opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )"
+REQUIRED_USE="cash? ( riac )"
+
+src_unpack() {
+       unpack ${A}
+       for i in cash nexus; do
+               if use ${i}; then
+                       mv "${i}"*/* "${S}/${i}/" || die "died copying sources 
for ${i}"
+               fi
+       done
+       for i in opencl riac; do
+               if use ${i}; then
+                       mv "${i}"*/* "${S}/libcaf_${i}/" || die "died copying 
sources for ${i}"
+               fi
+       done
+       if use cash; then
+               mv sash*/* "${S}/cash/sash/" || die "died copying sources for 
sash"
+       fi
+       if use benchmarks; then
+               mv "${WORKDIR}/benchmarks-"* "${WORKDIR}/benchmarks" || die 
"died moving benchmarks"
+       fi
+}
+
+src_prepare() {
+       find "${S}" -name CMakeLists.txt \
+               -exec sed -i 's#\(install(.* DESTINATION 
\)lib#\1${LIBRARY_OUTPUT_PATH}#g' \{\} + \
+               || die
+       rm examples/CMakeLists.txt || die
+       append-cxxflags "-std=c++11 -pthread -Wextra -Wall -pedantic"
+       append-cflags "-std=c11 -pthread -Wextra -Wall -pedantic"
+
+       cmake-utils_src_prepare
+}
+
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DCAF_NO_EXAMPLES=ON
+               -DCAF_NO_BENCHMARKS=ON
+               -DCAF_USE_ASIO=$(usex boost)
+               -DCAF_NO_CASH=$(usex cash OFF ON)
+               -DCAF_LOG_LEVEL=$(usex debug 3 0)
+               -DCAF_ENABLE_RUNTIME_CHECKS=$(usex debug)
+               -DCAF_ENABLE_ADDRESS_SANITIZER=$(usex debug)
+               -DCAF_NO_MEM_MANAGEMENT=$(usex mem_management OFF ON)
+               -DCAF_NO_NEXUS=$(usex nexus OFF ON)
+               -DCAF_NO_OPENCL=$(usex opencl OFF ON)
+               -DCAF_NO_RIAC=$(usex riac OFF ON)
+               -DCAF_BUILD_STATIC=$(usex static)
+               -DCAF_NO_UNIT_TESTS=$(usex test OFF ON )
+               -DLIBRARY_OUTPUT_PATH="$(get_libdir)"
+       )
+
+       cmake-utils_src_configure
+}
+
+multilib_src_compile() {
+       cmake-utils_src_compile
+
+       if use doc; then
+               emake doc
+               emake -C "${S}/manual/build-pdf"
+               emake -C "${S}/manual/build-html"
+       fi
+}
+
+multilib_src_install() {
+       DOCS=( README.md )
+       use examples && DOCS+=( "${S}/examples" )
+       use benchmarks && DOCS+=( "${WORKDIR}/benchmarks/" )
+       if use doc; then
+               HTML_DOCS=( "${S}/html/"* )
+               for i in pdf html; do
+                       DOCS+=( "${S}"/manual/build-${i}/manual.${i} )
+               done
+       fi
+
+       cmake-utils_src_install
+}

diff --git a/dev-libs/actor-framework/metadata.xml 
b/dev-libs/actor-framework/metadata.xml
new file mode 100644
index 0000000..2501b20
--- /dev/null
+++ b/dev-libs/actor-framework/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <maintainer type="person">
+        <email>tombo...@sina.cn</email>
+        <name>M.B.</name>
+        <description>Maintainer, assign bugs to him</description>
+    </maintainer>
+    <maintainer type="project">
+        <email>proxy-ma...@gentoo.org</email>
+        <name>Proxy Maintainers</name>
+    </maintainer>
+    <use>
+        <flag name="benchmarks">Due to the number of out-of-tree deps, these 
only get installed as docs</flag>
+        <flag name="boost">Make use of Boost's ASIO functionality</flag>
+        <flag name="cash">Build the C Actor Shell for introspection and 
debugging</flag>
+        <flag name="debug">Raises log-level to DEBUG, enables runtime checks 
and address sanitizer</flag>
+        <flag name="doc">Compiles and installs the documentation as PDF and 
HTML</flag>
+        <flag name="examples">Installs the provided example source files</flag>
+        <flag name="mem_management">Enables built-in memory management</flag>
+        <flag name="nexus">Nexus is the central component for CAF's runtime 
inspection</flag>
+        <flag name="opencl">Compiles against the provided opencl 
implementation</flag>
+        <flag name="riac">Runtime inspection and configuration</flag>
+        <flag name="static">Provides a static build</flag>
+        <flag name="test">Builds the provided unit tests</flag>
+    </use>
+    <upstream>
+        <remote-id type="github">actor-framework/actor-framework</remote-id>
+    </upstream>
+    <longdescription lang="en">
+        An implementation of the Actor Model of distributed computation in C++.
+    </longdescription>
+</pkgmetadata>

Reply via email to