diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/socketstream |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/socketstream')
-rw-r--r-- | dev-libs/socketstream/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/socketstream/files/0.7.0-missing_includes.patch | 11 | ||||
-rw-r--r-- | dev-libs/socketstream/files/socketstream-0.7.0-gcc47.patch | 15 | ||||
-rw-r--r-- | dev-libs/socketstream/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/socketstream/socketstream-0.7.0-r1.ebuild | 42 |
5 files changed, 86 insertions, 0 deletions
diff --git a/dev-libs/socketstream/Manifest b/dev-libs/socketstream/Manifest new file mode 100644 index 000000000000..dd07bca86700 --- /dev/null +++ b/dev-libs/socketstream/Manifest @@ -0,0 +1,7 @@ +AUX 0.7.0-missing_includes.patch 396 SHA256 0adfb95daa4c9aa063478a6d621bda1a86f988aceb38319560566ef01de01ba2 SHA512 ef55dabe5c6a6543448b3e28d205ef452762d11903d6288f7d4886c2bea5e6d1164ca6d79262aac10b3db2adfbe64874a0cdfde40862174fa17ea6f3bb6d7be5 WHIRLPOOL 53388038868020e950eaf9c016f06197966dd27f6e2b209e0150fa102f36449ed9ce5467a4a2166362d823fcf8e048c6676747a5511903f714bd87fbeb212614 +AUX socketstream-0.7.0-gcc47.patch 263 SHA256 d58de490cc41bd052138341fc19f38e5b236e2daeac82933c8c8c22a0203e3ac SHA512 2bf8ca41e0d755e4834a139e3c59788a018f3d43590e52f398676e5086827909cb0edee96548a8ecf90a2621cfd04e7ea2490d68944896e6a6abfefc428ac0c6 WHIRLPOOL f946e382babd71f4fe9fb1941b96aba137e7452ee8761e0034fcca97409a4a742feb380cf87132dd1b9d0a1114820956cd4d1a4a08083439f490145484764832 +DIST socketstream-0.7.0.tar.gz 464806 SHA256 98f3dd7d3a20b8efd882032871f4c680508dfbf7f6f704ff010f029974d778fd SHA512 61eae3e5df80329e5b81f8d4d3148d16b9ee278b8898ed59e058ea960bd82cfa0d9a01f5ac9ea18ddbabac9d2d3347c49bde870cc74c16a7deb46f99bf443fe9 WHIRLPOOL c03d06612f1db2ac191dace25dcc5df329bba701e155754ac26d516e4a6e4532640090dd38ec2f478086a62873b560ae28343820d3c5473795a1874d0014e792 +EBUILD socketstream-0.7.0-r1.ebuild 1018 SHA256 b48b1ace5627c046c543464d7793fac935b8ceda719a329b69ef26c5531fd215 SHA512 e7e688020c25381324f1fd6cf9452049ca5e4bc4f580f819cf0bf9e7aefb02358954566aa666650a18a7e5c39c8c1c8d9575b05c658b511214d564278097c300 WHIRLPOOL d461bb79ee71ec422d0591ec9762ffed21e2af98b2a48227ac575a941974c41a5aabca7af85232a9832bf51e69ab37ec1e653e6fbdfc29fb373231f1c9ee47b5 +MISC ChangeLog 2526 SHA256 cd3b961d6dabbfd00e00cfcad73e6ee12ff16b45ab60854c4da28bb3e420f2cc SHA512 4463a30b5d08b0ed3ed235d9515d54cb4cda7a53d9466641c71e770056cf8b300e986435c3e99da84cba7a5d4c0db5e6b0e6db2c3f9ec9bf3f03de10007c84dc WHIRLPOOL 34e9043829640c9b7c470ec75bb0ca6a8573542b404bcf25c7caffb7df50c4ebf38e794d0e817129449021052ddc19683a14e2d583ede6f7987089d63f6bf518 +MISC ChangeLog-2015 2288 SHA256 6ac99ebcae3a5204db885647c3cc3936b6111ec618d42c20c5f4ce2e26ce5ac1 SHA512 80eada08677ada9a499b715c219140b0ade38f41b570aafd38bb3283cfec4263982f77bda49f1d993c4d5aacde16bb6f1ad9b9ac5329101da237acb9e2ab814a WHIRLPOOL c45c3115c4cd98aefe831fca3ce8c3d8ffe9a7c8634b1390eeb3bbdab67da6a4eca7e0008d135a2e2be42c21a69325b08f4537338685e0d3befa6c385bef27b8 +MISC metadata.xml 331 SHA256 3e0496f16e98c083fbc2f5a194dfbdc11feb8248187c629540c6cdb7d110e2ac SHA512 9ee052189ef6c1f1b3257502f46b1e40edefdfb2ab545b8c5effb7a8baaa4178b61e483855c06816f96614a0a39af908ce0ef8e7d23c1b281c784f0f9ba78cba WHIRLPOOL 8036cbdf978c6706abf5306a5201f439ba9ef01ce35333311521eb0a4af06b5911d39cae685fe9a4a3ee513db4fce1667dd8ad8c714ea8278a50763827d14319 diff --git a/dev-libs/socketstream/files/0.7.0-missing_includes.patch b/dev-libs/socketstream/files/0.7.0-missing_includes.patch new file mode 100644 index 000000000000..22c29379ed10 --- /dev/null +++ b/dev-libs/socketstream/files/0.7.0-missing_includes.patch @@ -0,0 +1,11 @@ +diff -Naur socketstream-0.7.0.orig/src/socket_exception.cc socketstream-0.7.0/src/socket_exception.cc +--- socketstream-0.7.0.orig/src/socket_exception.cc 2008-06-16 22:08:13.000000000 +0200 ++++ socketstream-0.7.0/src/socket_exception.cc 2008-06-16 22:09:00.000000000 +0200 +@@ -24,6 +24,7 @@ + + #include <socketstream/socket_exception.h> + #include <cerrno> ++#include <cstring> + + namespace ss { + diff --git a/dev-libs/socketstream/files/socketstream-0.7.0-gcc47.patch b/dev-libs/socketstream/files/socketstream-0.7.0-gcc47.patch new file mode 100644 index 000000000000..248450847e0b --- /dev/null +++ b/dev-libs/socketstream/files/socketstream-0.7.0-gcc47.patch @@ -0,0 +1,15 @@ + https://bugs.gentoo.org/429292 + + src/basic_socket.cc | 1 + + 1 file changed, 1 insertion(+) + +--- a/src/basic_socket.cc ++++ b/src/basic_socket.cc +@@ -22,6 +22,7 @@ + * @doctodo + */ + ++#include <unistd.h> + #include <socketstream/basic_socket.h> + + namespace ss { diff --git a/dev-libs/socketstream/metadata.xml b/dev-libs/socketstream/metadata.xml new file mode 100644 index 000000000000..8c3a60f20d4f --- /dev/null +++ b/dev-libs/socketstream/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cpp@gentoo.org</email> + <name>Gentoo C++ Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">socketstream</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/socketstream/socketstream-0.7.0-r1.ebuild b/dev-libs/socketstream/socketstream-0.7.0-r1.ebuild new file mode 100644 index 000000000000..04ea4ef105ec --- /dev/null +++ b/dev-libs/socketstream/socketstream-0.7.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="C++ Streaming sockets library" +HOMEPAGE="http://socketstream.sourceforge.net/" +SRC_URI="mirror://sourceforge/socketstream/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ~ppc ~sparc x86" +IUSE="doc" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + # include/Makefile uses DIST_SUBDIRS and thus headers dont get installed + sed -i 's|^DIST_\(SUBDIRS =\)|\1|' include/Makefile.in || \ + die "sed include/Makefile.in failed" + + epatch "${FILESDIR}"/${PV}-missing_includes.patch + epatch "${FILESDIR}"/${P}-gcc47.patch +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" + + if use doc ; then + emake doxygen || die "failed to build docs" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README* HACKING TODO + use doc && dohtml -r docs/html/* +} |