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 5EF0E13835A for ; Sat, 10 Apr 2021 22:13:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2664E0885; Sat, 10 Apr 2021 22:13:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 968E1E0882 for ; Sat, 10 Apr 2021 22:13:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 61A0B3408A6 for ; Sat, 10 Apr 2021 22:13:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 021265B8 for ; Sat, 10 Apr 2021 22:13:11 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1618092655.fee68e109afccd2bc894b6394877408726827763.epsilon-0@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-libs/usockets/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-libs/usockets/Manifest net-libs/usockets/usockets-0.7.1_p20210214.ebuild X-VCS-Directories: net-libs/usockets/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: fee68e109afccd2bc894b6394877408726827763 X-VCS-Branch: dev Date: Sat, 10 Apr 2021 22:13:11 +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: 2737b594-2d3c-4561-adfe-cf27c01c9b39 X-Archives-Hash: ab0a3a1c3a80905277a8d7aab1743009 commit: fee68e109afccd2bc894b6394877408726827763 Author: Aisha Tammy aisha cc> AuthorDate: Sat Apr 10 22:10:55 2021 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Sat Apr 10 22:10:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fee68e10 net-libs/usockets: version bump to dated fixes read-write order error Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Aisha Tammy aisha.cc> net-libs/usockets/Manifest | 1 + net-libs/usockets/usockets-0.7.1_p20210214.ebuild | 50 +++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-libs/usockets/Manifest b/net-libs/usockets/Manifest index 5637694ac..c3a151dd8 100644 --- a/net-libs/usockets/Manifest +++ b/net-libs/usockets/Manifest @@ -1 +1,2 @@ DIST usockets-0.7.1.tar.gz 62337 BLAKE2B 84f4274e560fae5bd12d22c87d0c44234421939ec978218b094848506448b622d32648d6f5163e95abf956f18bd6e26ffc58e27403572e49295572fd0f8eed32 SHA512 06e5ae094fd07b623d65dfcb3168cf6dcd115fc41c8af1858527be6bef08cbfa432a87021c32e7b3c87d56662a32a971b08b3b2934e91b822cf68407951015ed +DIST usockets-0.7.1_p20210214.tar.gz 62372 BLAKE2B 2853792af6f86954d7920cd33936ddd586cdeb9149dbffd0687b3bbc0965526d28c363864398d17182df9e038c35dc384271f01e72f7a60189319b9e820de3cb SHA512 d4827982a288c81edfcb167cfa6ee8fe11bbae90d25ed9086c006cf6098dfad8b6b910f8fb93ecc67fbea76452627dd4666c7ae3d74fb20112f8e22f7091ec11 diff --git a/net-libs/usockets/usockets-0.7.1_p20210214.ebuild b/net-libs/usockets/usockets-0.7.1_p20210214.ebuild new file mode 100644 index 000000000..499d8f975 --- /dev/null +++ b/net-libs/usockets/usockets-0.7.1_p20210214.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="tiny eventing, networking & crypto for async applications" +HOMEPAGE="https://github.com/uNetworking/uSockets" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/uNetworking/uSockets.git" +else + COMMIT=5440dbac79bd76444175b76ee95dfcade12a6aac + SRC_URI="https://github.com/uNetworking/uSockets/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/uSockets-${COMMIT}" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="libuv +ssl static-libs" + +DEPEND=" + libuv? ( dev-libs/libuv[static-libs?] ) + ssl? ( >=dev-libs/openssl-1.1.0[static-libs?] ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.7.1-Makefile.patch" +) + +src_configure() { + tc-export CC CXX + export VERSION="${PV%_*}" \ + LIB="$(get_libdir)" \ + WITH_OPENSSL="$(usex ssl 1 0)" + WITH_LIBUV="$(usex libuv 1 0)" + default +} + +src_install() { + default + einstalldocs + if ! use static-libs; then + rm -f "${ED}/usr/$(get_libdir)/libusockets.a" || die + fi +}