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 5DF281396D0 for ; Wed, 23 Aug 2017 04:38:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 921841FC002; Wed, 23 Aug 2017 04:38:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 5EF4F1FC002 for ; Wed, 23 Aug 2017 04:38:42 +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 30CCC341CF5 for ; Wed, 23 Aug 2017 04:38:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C585B7F5D for ; Wed, 23 Aug 2017 04:38:39 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1503462771.c397d60f4dcb69a9c5a2df8653abc2b368a17de1.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/http-parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/http-parser/Manifest net-libs/http-parser/http-parser-2.7.1.ebuild X-VCS-Directories: net-libs/http-parser/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: c397d60f4dcb69a9c5a2df8653abc2b368a17de1 X-VCS-Branch: master Date: Wed, 23 Aug 2017 04:38:39 +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-Archives-Salt: 7f449cf0-5596-4cf5-a1ff-aa018b2279fe X-Archives-Hash: 5d38af15b55397797209f018ebc76d05 commit: c397d60f4dcb69a9c5a2df8653abc2b368a17de1 Author: Tim Harder gentoo org> AuthorDate: Wed Aug 23 04:27:36 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Aug 23 04:32:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c397d60f net-libs/http-parser: version bump to 2.7.1 net-libs/http-parser/Manifest | 1 + net-libs/http-parser/http-parser-2.7.1.ebuild | 44 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/net-libs/http-parser/Manifest b/net-libs/http-parser/Manifest index f0701bc91fb..1a4df285f76 100644 --- a/net-libs/http-parser/Manifest +++ b/net-libs/http-parser/Manifest @@ -4,3 +4,4 @@ DIST http-parser-2.4.2.tar.gz 44814 SHA256 d93d6cd4d587355bc714d6a79f4e5676d7dd2 DIST http-parser-2.5.0.tar.gz 46070 SHA256 e3b4ba58f4e6ee5fbec781df020e5cb74c3a799a07f059e1e125127a0b801481 SHA512 da94b21f313d09f0557e61574e1187d06ef3bc4e8115c6f8120eac8d26ba6db51469ee5ddb6da5a0c05f49279838e5028afff6a15790708cdca147b3bc66e18f WHIRLPOOL 933ab2f8065fd2e7734d61284a042579edea40f0a0dea6b339a1ba07d9e50f2cd5e14f081d9889b728024171f2faeff7aab97b43c531fbd6badd882026261254 DIST http-parser-2.6.1.tar.gz 48265 SHA256 48ce852009121e9959c28408017902423ed0b5125de923cd0fdde77fce862aad SHA512 98e34bfb18d5d1e36225f10600c82dc0c818190a07ee8c19096cef2527ddf33e238cae6ccb7ae1f99854d9c76779b693c02a24d807504ba41dcb33f08a2beb72 WHIRLPOOL 59b4a3502f71eb704855e19263f18a282ea21f751a1356eeacc2a5480c5df46a0173ddfef19ae9c22836c73f32bb17b1d25aa5ba6b5a874795b9ed97d26ea24f DIST http-parser-2.6.2.tar.gz 48292 SHA256 80fffc3b64ef6968cecdd4b299a96986007dff4bd12ae6c58cbcb506959b90ad SHA512 e19e5377b3eb7f149c428196826fb878564fdfa3716ff6df5a3845c51586aee0582e252e09d1f8ebad1163b3e66632ff0c6e78f6acb2f0da20d7a06e734406c1 WHIRLPOOL 25e5f3ff8bc37d8a06d1929e31683326bb4d3a13f1e899e4f357787973be56fc007dd4ad16567067a9bce587ddc81360f777332a097fbb6dcf22cbad26872962 +DIST http-parser-2.7.1.tar.gz 48578 SHA256 70409ad324e5de2da6a0f39e859e566d497c1ff0a249c0c38a5012df91b386b3 SHA512 c0fe86455db1a563a5c668f118dfa9a27b9a637ee1c0e2f2f18a5b816352436ed90435ea978e3f3d85b037d3c630234e47d609dc3b7086b898286c4e54d9f031 WHIRLPOOL be51ed5aed8a01d8d544a21a87f3d1c928c1e2bdca95c71f42ff291a9381381e9fa6d437e52b5818526e59ea81fdf3d92792b6c4f32af62ff169582d57d7ee1d diff --git a/net-libs/http-parser/http-parser-2.7.1.ebuild b/net-libs/http-parser/http-parser-2.7.1.ebuild new file mode 100644 index 00000000000..94a06a97b5e --- /dev/null +++ b/net-libs/http-parser/http-parser-2.7.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Http request/response parser for C" +HOMEPAGE="https://github.com/nodejs/http-parser" +SRC_URI="https://github.com/nodejs/http-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x64-solaris" +IUSE="static-libs" + +# https://github.com/nodejs/http-parser/pull/272 +PATCHES=( + "${FILESDIR}"/0001-makefile-fix-DESTDIR-usage.patch + "${FILESDIR}"/0002-makefile-quote-variables.patch + "${FILESDIR}"/0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch + "${FILESDIR}"/0004-makefile-add-CFLAGS-to-linking-command.patch + "${FILESDIR}"/0005-makefile-fix-install-rule-dependency.patch +) + +src_prepare() { + default + tc-export CC AR + multilib_copy_sources +} + +multilib_src_compile() { + emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" CFLAGS_FAST="${CFLAGS}" library + use static-libs && emake CFLAGS_FAST="${CFLAGS}" package +} + +multilib_src_test() { + emake CFLAGS_DEBUG="${CFLAGS}" CFLAGS_FAST="${CFLAGS}" test +} + +multilib_src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install + use static-libs && dolib.a libhttp_parser.a +}