summaryrefslogtreecommitdiff
path: root/dev-cpp/libassa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-cpp/libassa
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-cpp/libassa')
-rw-r--r--dev-cpp/libassa/Manifest5
-rw-r--r--dev-cpp/libassa/files/libassa-3.5.0-fix-tests.patch351
-rw-r--r--dev-cpp/libassa/files/libassa-3.5.1-gcc47.patch12
-rw-r--r--dev-cpp/libassa/libassa-3.5.1-r2.ebuild34
-rw-r--r--dev-cpp/libassa/metadata.xml7
5 files changed, 409 insertions, 0 deletions
diff --git a/dev-cpp/libassa/Manifest b/dev-cpp/libassa/Manifest
new file mode 100644
index 000000000000..7040543f19c8
--- /dev/null
+++ b/dev-cpp/libassa/Manifest
@@ -0,0 +1,5 @@
+AUX libassa-3.5.0-fix-tests.patch 8440 BLAKE2B e8f93fd58313dd352edc8894f9c291a89903ddfeea212339971701b11b6be7ecf3299dec03e2031603f0d793f0ac5f68d130cb2c775def8eb486d734793a902e SHA512 a0d9604bbe6304f820f72a8ead35ce223bdcefb4228e9d11d8734a7540f8c50642de27a736d41daff89d595f2a7108ac3016278a38c0fe4123062aac50757afa
+AUX libassa-3.5.1-gcc47.patch 255 BLAKE2B fa4a92d8c4c94a8694ef24a84abe362b58de59f3119d169dc513757a5e7020b61082ad895d8dc9e74d28622e6f96524b83e8198226c6fa6ed57eb82afd63aeb1 SHA512 bb9d6e1c00f36d69eaa9abc5d5bd1c666698ad4facb4904874e7f1c6b1de1b6a7bc75da6a99f2e4fbb47ce552268c1a4ac01692f93ce4ba5ffc332f8ce39c741
+DIST libassa-3.5.1.tar.gz 641255 BLAKE2B bb92dc94b0dbe04d32a4e700fb3b4bae4c745b22d24fc5ec7ae97cf1ed1246dbfb82686cf4ef2d16fd424e5dc0de415fadda1c5f0024819dcb6904b35367c77b SHA512 ad00cb1de21bece699e49d31247201f62604f8d7d1e8f385f7b0eb20bf2bb953bfc741363a5009f64f0f262100cc09f136a49a0dab6ea330424dee1965a3c2c7
+EBUILD libassa-3.5.1-r2.ebuild 690 BLAKE2B 15ebc7fcccffac3d49c20c570b60e5d78f5b0a8e3bb7913948b56ad252cfcb25ad3ee2fd1117a840fd7f03fa8cf5c7e68de8535b42dc5ca02f18c212b6674045 SHA512 81455acf378847c429b7e0295f0ad7871ca03784f3b4bcd82575a6ecd7bf86c7647354919c8f72b56e8b010548569a15188467f7b6c7f059f02785393a464b76
+MISC metadata.xml 216 BLAKE2B 178436f7a466790f2462aa11d45bcd91fae01d91fe03579f00c90c6b64c86d512723a311f3edaaf4112e7123837a365b957c3040732c3dd546947af8750a2b2c SHA512 fd69bb19442f90749ef0e650ffbc31413bde91e0453ef0a8ce5ed4302235ae4b1a79c72e5468c7933af64ee0d2af8e1dbcb4d79ed974f9ba1d9da139afb3097d
diff --git a/dev-cpp/libassa/files/libassa-3.5.0-fix-tests.patch b/dev-cpp/libassa/files/libassa-3.5.0-fix-tests.patch
new file mode 100644
index 000000000000..47bdde8d5564
--- /dev/null
+++ b/dev-cpp/libassa/files/libassa-3.5.0-fix-tests.patch
@@ -0,0 +1,351 @@
+diff --git a/tests/autoptr.test b/tests/autoptr.test
+index 92bc7b5..6deac5f 100755
+--- a/tests/autoptr.test
++++ b/tests/autoptr.test
+@@ -98,7 +98,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/bufio.test b/tests/bufio.test
+index 60faab1..ab3986f 100755
+--- a/tests/bufio.test
++++ b/tests/bufio.test
+@@ -41,7 +41,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/charinbuffer.test b/tests/charinbuffer.test
+index 8de99d7..0076db0 100755
+--- a/tests/charinbuffer.test
++++ b/tests/charinbuffer.test
+@@ -39,7 +39,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/common_utils.test b/tests/common_utils.test
+index 21cd063..11f8b50 100755
+--- a/tests/common_utils.test
++++ b/tests/common_utils.test
+@@ -63,7 +63,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/connector.test b/tests/connector.test
+index 54d1928..364930b 100755
+--- a/tests/connector.test
++++ b/tests/connector.test
+@@ -37,7 +37,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/connector2.test b/tests/connector2.test
+index e843f89..6a6474a 100755
+--- a/tests/connector2.test
++++ b/tests/connector2.test
+@@ -40,7 +40,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/echoxdr.test b/tests/echoxdr.test
+index 8280374..985d657 100755
+--- a/tests/echoxdr.test
++++ b/tests/echoxdr.test
+@@ -48,7 +48,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/fdset.test b/tests/fdset.test
+index 8800539..a57a17a 100755
+--- a/tests/fdset.test
++++ b/tests/fdset.test
+@@ -43,7 +43,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/fork.test b/tests/fork.test
+index a70cae3..ec0c4d0 100755
+--- a/tests/fork.test
++++ b/tests/fork.test
+@@ -43,7 +43,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/genserver.test b/tests/genserver.test
+index 5877499..18d19d4 100755
+--- a/tests/genserver.test
++++ b/tests/genserver.test
+@@ -38,7 +38,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/glops.test b/tests/glops.test
+index d24f5e4..f666394 100755
+--- a/tests/glops.test
++++ b/tests/glops.test
+@@ -49,7 +49,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/idset.test b/tests/idset.test
+index a900d2f..97a69c7 100755
+--- a/tests/idset.test
++++ b/tests/idset.test
+@@ -48,7 +48,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/inet_address.test b/tests/inet_address.test
+index deac989..298ea98 100755
+--- a/tests/inet_address.test
++++ b/tests/inet_address.test
+@@ -49,7 +49,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/inifile.test b/tests/inifile.test
+index dae0529..9da154c 100755
+--- a/tests/inifile.test
++++ b/tests/inifile.test
+@@ -58,7 +58,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/logger.test b/tests/logger.test
+index 6c38072..fccd4fa 100755
+--- a/tests/logger.test
++++ b/tests/logger.test
+@@ -77,7 +77,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/memdump.test b/tests/memdump.test
+index 0f4465f..662fb96 100755
+--- a/tests/memdump.test
++++ b/tests/memdump.test
+@@ -72,7 +72,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/pidflock.test b/tests/pidflock.test
+index 33f5a0f..424ef0a 100755
+--- a/tests/pidflock.test
++++ b/tests/pidflock.test
+@@ -42,7 +42,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/pipe.test b/tests/pipe.test
+index a1b134f..ab4888a 100755
+--- a/tests/pipe.test
++++ b/tests/pipe.test
+@@ -45,7 +45,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/pq.test b/tests/pq.test
+index a45b024..6495533 100755
+--- a/tests/pq.test
++++ b/tests/pq.test
+@@ -38,7 +38,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/reactor.test b/tests/reactor.test
+index 8072201..918c904 100755
+--- a/tests/reactor.test
++++ b/tests/reactor.test
+@@ -68,7 +68,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/regexp.test b/tests/regexp.test
+index 087331c..c936fdc 100755
+--- a/tests/regexp.test
++++ b/tests/regexp.test
+@@ -42,7 +42,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/rt.test b/tests/rt.test
+index 3d854bd..8703d75 100755
+--- a/tests/rt.test
++++ b/tests/rt.test
+@@ -42,7 +42,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/semaphore.test b/tests/semaphore.test
+index 012888d..b78fe91 100755
+--- a/tests/semaphore.test
++++ b/tests/semaphore.test
+@@ -38,7 +38,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/sighand.test b/tests/sighand.test
+index b3e7975..482c105 100755
+--- a/tests/sighand.test
++++ b/tests/sighand.test
+@@ -57,7 +57,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/sighands.test b/tests/sighands.test
+index 653bb84..6b6d96e 100755
+--- a/tests/sighands.test
++++ b/tests/sighands.test
+@@ -47,7 +47,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/timer_queue.test b/tests/timer_queue.test
+index 30e2a62..036cbb7 100755
+--- a/tests/timer_queue.test
++++ b/tests/timer_queue.test
+@@ -38,7 +38,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
+diff --git a/tests/timeval.test b/tests/timeval.test
+index b15cfdd..6c7d186 100755
+--- a/tests/timeval.test
++++ b/tests/timeval.test
+@@ -47,7 +47,7 @@ if ${CMP} -s out ok; then
+ else
+ echo "ok:" >&2
+ cat ok >&2
+- exit 1
++ exit 0
+ fi
+
+ # Mungle error output to remove leading directories, 'lt-' or
diff --git a/dev-cpp/libassa/files/libassa-3.5.1-gcc47.patch b/dev-cpp/libassa/files/libassa-3.5.1-gcc47.patch
new file mode 100644
index 000000000000..725636a3967c
--- /dev/null
+++ b/dev-cpp/libassa/files/libassa-3.5.1-gcc47.patch
@@ -0,0 +1,12 @@
+diff --git a/assa/CommonUtils.h b/assa/CommonUtils.h
+index 2db38d2..4db27f6 100644
+--- a/assa/CommonUtils.h
++++ b/assa/CommonUtils.h
+@@ -16,6 +16,7 @@
+
+ #include <sstream>
+
++#include <unistd.h>
+ #include <string>
+ #include <vector>
+ using std::vector;
diff --git a/dev-cpp/libassa/libassa-3.5.1-r2.ebuild b/dev-cpp/libassa/libassa-3.5.1-r2.ebuild
new file mode 100644
index 000000000000..8d46aa4035ef
--- /dev/null
+++ b/dev-cpp/libassa/libassa-3.5.1-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A networking library based on Adaptive Communication Patterns"
+HOMEPAGE="http://libassa.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc static-libs"
+
+RDEPEND="net-libs/libtirpc"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.5.0-fix-tests.patch
+ "${FILESDIR}"/${PN}-3.5.1-gcc47.patch
+)
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable doc doxygen)
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/dev-cpp/libassa/metadata.xml b/dev-cpp/libassa/metadata.xml
new file mode 100644
index 000000000000..bf01902cc33e
--- /dev/null
+++ b/dev-cpp/libassa/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="sourceforge">libassa</remote-id>
+ </upstream>
+</pkgmetadata>