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 98DD3138359 for ; Wed, 7 Oct 2020 16:15:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBB33E0877; Wed, 7 Oct 2020 16:15:58 +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 B3EAEE0877 for ; Wed, 7 Oct 2020 16:15:58 +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 95FC1335C5D for ; Wed, 7 Oct 2020 16:15:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FE2D373 for ; Wed, 7 Oct 2020 16:15:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1602087064.30956796db274c8222df94c4734b3e784a50ae28.sam@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.1.2.ebuild X-VCS-Directories: net-libs/libwebsockets/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 30956796db274c8222df94c4734b3e784a50ae28 X-VCS-Branch: master Date: Wed, 7 Oct 2020 16:15:56 +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: 3ab732aa-ffc0-4aa3-b98c-122cd2021e52 X-Archives-Hash: 55d9ca752d57fb00bfa2845a6901f5c0 commit: 30956796db274c8222df94c4734b3e784a50ae28 Author: Jakov Smolic sartura hr> AuthorDate: Wed Oct 7 09:28:39 2020 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 7 16:11:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30956796 net-libs/libwebsockets: bump to 4.1.2 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Sam James gentoo.org> net-libs/libwebsockets/Manifest | 1 + net-libs/libwebsockets/libwebsockets-4.1.2.ebuild | 84 +++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index e46296387d2..87036b053a7 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,3 +1,4 @@ DIST libwebsockets-3.2.1.tar.gz 9868342 BLAKE2B d822552c611f7cd0ee416bf9b9576c6052e196c1aa68b12c46a00865d3dcd131840218394317f191485fc61d8f3b7654d4a652a47f11d279a555522df84a2350 SHA512 a2d30a7a0416a26484743efdaa8635542480a74b0ef0f6e172dab5de4688486efb13457fc8a884d9916f76322cab0cbc9ab675f496558edd1dd9b833d087207d DIST libwebsockets-4.0.20.tar.gz 12342036 BLAKE2B 983190f7f63eb9db09b688ae056c6fdee32ac6d57f4afe3fb42cd662202c290c21a28e9c107d61cd3b2ddb25478f93b56008dc939ced28cd1c5abd6314fb1b32 SHA512 b2ab19623557b67abf157aed0317fb2305304e72c7e40c202c0bc855a499bbef64978e9187adcfdd2ef251497144db4a9fbaebaf37a320c7190720e9d194b67a DIST libwebsockets-4.1.1.tar.gz 12674646 BLAKE2B 4e05381405390b80fcec2143f3bf6a681b8030229748df7791d07a884f25092b72e8f01f51a18c905aa78c6b69c0e4aab3c19099cb955b721484c020b0063bec SHA512 05a4932a3b88df2933729ed79bdc9773a935eacfab810fcad1d4bccee2beb74ddfc86185e0042935b49acdc3b10aa2a4a431778efbf4243eb180b0e7bf74d91f +DIST libwebsockets-4.1.2.tar.gz 12676362 BLAKE2B 9b65217d799ffa6637dc79630224f3ec9e8c7e8075b7eebfc55a111d9ade534b912059c170bc4f435d2d8424340d5ccda75f3a8992a45ef128ea82bfc789391f SHA512 1aeb105191191c55eb01f0cf565d7d16e32e8239af3a3ee653dfb4bcccc5dfc42302490dfbdeac9c9cab0759e016a4a1c8c05938f26ce62a024e0d50600cdd86 diff --git a/net-libs/libwebsockets/libwebsockets-4.1.2.ebuild b/net-libs/libwebsockets/libwebsockets-4.1.2.ebuild new file mode 100644 index 00000000000..037328b71c7 --- /dev/null +++ b/net-libs/libwebsockets/libwebsockets-4.1.2.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 + +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/17" # libwebsockets.so.17 +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 ) + socks5? ( client http-proxy ) + ssl? ( ?? ( libressl mbedtls ) ) + mbedtls? ( ssl ) + ?? ( libev libevent ) +" + +RDEPEND=" + sys-libs/zlib + caps? ( sys-libs/libcap ) + dbus? ( sys-apps/dbus ) + 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 + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON + -DDISABLE_WERROR=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 +}