From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 496F51382C5 for ; Wed, 1 Jul 2020 06:39:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F3DAE0919; Wed, 1 Jul 2020 06:39:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E11F8E0916 for ; Wed, 1 Jul 2020 06:39:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D891E34F2D3 for ; Wed, 1 Jul 2020 06:39:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59F212C6 for ; Wed, 1 Jul 2020 06:39:08 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1593585511.caac8e6b80b698727c815c61f2c4c90b213417fa.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libwebsockets/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libwebsockets/Manifest net-libs/libwebsockets/libwebsockets-4.0.16.ebuild X-VCS-Directories: net-libs/libwebsockets/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: caac8e6b80b698727c815c61f2c4c90b213417fa X-VCS-Branch: master Date: Wed, 1 Jul 2020 06:39:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 29c8af28-2088-4199-ae6b-7f572039df55 X-Archives-Hash: a40abd1d4586a29cc72a6bf759b59e10 commit: caac8e6b80b698727c815c61f2c4c90b213417fa Author: Jakov Smolic sartura hr> AuthorDate: Mon Jun 15 15:13:03 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 1 06:38:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caac8e6b net-libs/libwebsockets: version bump to 4.0.16 Closes: https://bugs.gentoo.org/728340 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Joonas Niilola gentoo.org> net-libs/libwebsockets/Manifest | 1 + net-libs/libwebsockets/libwebsockets-4.0.16.ebuild | 84 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index 98c1527c4d4..218320ac46e 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,2 +1,3 @@ DIST libwebsockets-3.2.1.tar.gz 9868342 BLAKE2B d822552c611f7cd0ee416bf9b9576c6052e196c1aa68b12c46a00865d3dcd131840218394317f191485fc61d8f3b7654d4a652a47f11d279a555522df84a2350 SHA512 a2d30a7a0416a26484743efdaa8635542480a74b0ef0f6e172dab5de4688486efb13457fc8a884d9916f76322cab0cbc9ab675f496558edd1dd9b833d087207d DIST libwebsockets-4.0.10.tar.gz 12337448 BLAKE2B 91c38703e6cb98c66fb4e5fd6939c98d98c076b5a4ebd931a23da20e834de54cd61f4e8c121245970a34210d2e8720c0c7429846101ad6f4c4d3fd9a23fcf993 SHA512 25857c03d02c0c55dea1095fd64e1df112e938e975f04d8a28b56b4899a5cce900d500a139e9353ba548b0c59a23bad982dac0e0e0621e869b78e1e130c33cfe +DIST libwebsockets-4.0.16.tar.gz 12342950 BLAKE2B 980f3fad78f9bd2eaed3e43f71477bbe846c8ee6e26c6a66d0cb363148b81c1b16866fcbf4c91f72c61380c6503d3b4ee1f22a068223fc43bad028db87a58bd2 SHA512 aef67d622669e2efbe0f6e8a2b4be5552b3cde7281c74c9e743fc5b8c8e23243756ec8f119420a790cacd2620bcb49612ac84e0d935ef85d7f1472bc6fa97486 diff --git a/net-libs/libwebsockets/libwebsockets-4.0.16.ebuild b/net-libs/libwebsockets/libwebsockets-4.0.16.ebuild new file mode 100644 index 00000000000..6bc4ebdb391 --- /dev/null +++ b/net-libs/libwebsockets/libwebsockets-4.0.16.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake flag-o-matic + +DESCRIPTION="A flexible pure-C library for implementing network protocols" +HOMEPAGE="https://libwebsockets.org/" +SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/16" # libwebsockets.so.16 +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="access-log caps cgi client dbus generic-sessions http-proxy http2 ipv6 + +lejp libev libevent libressl libuv mbedtls peer-limits server-status smtp socks5 + sqlite3 ssl static-libs threads zip" + +REQUIRED_USE=" + access-log? ( http2 ) + generic-sessions? ( smtp sqlite3 ) + http-proxy? ( client ) + smtp? ( libuv ) + ssl? ( ?? ( libressl mbedtls ) ) + ?? ( libev libevent ) +" + +RDEPEND=" + sys-libs/zlib + caps? ( sys-libs/libcap ) + http-proxy? ( net-libs/libhubbub ) + libev? ( dev-libs/libev ) + libevent? ( dev-libs/libevent:= ) + libuv? ( dev-libs/libuv:= ) + sqlite3? ( dev-db/sqlite:= ) + ssl? ( + !libressl? ( + !mbedtls? ( dev-libs/openssl:0= ) + mbedtls? ( >net-libs/mbedtls-2.0.0 ) + ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/perl" + +PATCHES=( + "${FILESDIR}/libwebsockets-3.2.0-check_chown_result.patch" +) + +src_configure() { + append-cflags -Wno-error + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON + -DLWS_HAVE_LIBCAP=$(usex caps) + -DLWS_IPV6=$(usex ipv6) + -DLWS_ROLE_DBUS=$(usex dbus) + -DLWS_WITHOUT_CLIENT=$(usex !client) + -DLWS_WITHOUT_TEST_CLIENT=$(usex !client) + -DLWS_WITH_ACCESS_LOG=$(usex access-log) + -DLWS_WITH_CGI=$(usex cgi) + -DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions) + -DLWS_WITH_HTTP2=$(usex http2) + -DLWS_WITH_HTTP_PROXY=$(usex http-proxy) + -DLWS_WITH_HUBBUB=$(usex http-proxy) + -DLWS_WITH_LEJP=$(usex lejp) + -DLWS_WITH_LIBEV=$(usex libev) + -DLWS_WITH_LIBEVENT=$(usex libevent) + -DLWS_WITH_LIBUV=$(usex libuv) + -DLWS_WITH_MBEDTLS=$(usex mbedtls) + -DLWS_WITH_PEER_LIMITS=$(usex peer-limits) + -DLWS_WITH_SERVER_STATUS=$(usex server-status) + -DLWS_WITH_SMTP=$(usex smtp) + -DLWS_WITH_SOCKS5=$(usex socks5) + -DLWS_WITH_SQLITE3=$(usex sqlite3) + -DLWS_WITH_SSL=$(usex ssl) + -DLWS_WITH_STATIC=$(usex static-libs) + -DLWS_WITH_STRUCT_JSON=$(usex lejp) + -DLWS_WITH_THREADPOOL=$(usex threads) + -DLWS_WITH_ZIP_FOPS=$(usex zip) + -DLWS_WITHOUT_TESTAPPS=ON + ) + + cmake_src_configure +}