bump(net-libs/http-parser): sync with upstream

This commit is contained in:
Nick Owens 2016-03-28 11:28:45 -07:00
parent 85502f02b1
commit a3c7213527
21 changed files with 513 additions and 81 deletions

View File

@ -8,4 +8,4 @@ LICENSE=MIT
SLOT=0/2.3
SRC_URI=https://github.com/joyent/http-parser/archive/v2.3.tar.gz -> http-parser-2.3.tar.gz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=8d3b4e4e9c27b62045169a55f288e38b
_md5_=c29c37d62529b365c47759754412bd09

View File

@ -8,4 +8,4 @@ LICENSE=MIT
SLOT=0/2.4.1
SRC_URI=https://github.com/joyent/http-parser/archive/v2.4.1.tar.gz -> http-parser-2.4.1.tar.gz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=e40c133add11e042b08a7b9b2c5ad28a
_md5_=3fa1f4162bbbdf434564e4eb7125adc6

View File

@ -8,4 +8,4 @@ LICENSE=MIT
SLOT=0/2.4.2
SRC_URI=https://github.com/joyent/http-parser/archive/v2.4.2.tar.gz -> http-parser-2.4.2.tar.gz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=89a5fa69d1d2d84c35fe9cd875836e5a
_md5_=3fa1f4162bbbdf434564e4eb7125adc6

View File

@ -8,4 +8,4 @@ LICENSE=MIT
SLOT=0/2.5.0
SRC_URI=https://github.com/joyent/http-parser/archive/v2.5.0.tar.gz -> http-parser-2.5.0.tar.gz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=606e154a1b1ac07c72220d66e8b0c6ee
_md5_=d4f867c0e29989075b7859439a128890

View File

@ -0,0 +1,11 @@
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Http request/response parser for C
EAPI=5
HOMEPAGE=https://github.com/nodejs/http-parser
IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~x86 ~x64-macos ~x64-solaris
LICENSE=MIT
SLOT=0/2.6.1
SRC_URI=https://github.com/nodejs/http-parser/archive/v2.6.1.tar.gz -> http-parser-2.6.1.tar.gz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=caa69aa17584979584b9548a405d5be8

View File

@ -0,0 +1,11 @@
DEFINED_PHASES=compile configure install prepare test
DESCRIPTION=Http request/response parser for C
EAPI=5
HOMEPAGE=https://github.com/nodejs/http-parser
IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~x86 ~x64-macos ~x64-solaris
LICENSE=MIT
SLOT=0/2.6.2
SRC_URI=https://github.com/nodejs/http-parser/archive/v2.6.2.tar.gz -> http-parser-2.6.2.tar.gz
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=caa69aa17584979584b9548a405d5be8

View File

@ -1,63 +1,116 @@
# ChangeLog for net-libs/http-parser
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/ChangeLog,v 1.15 2015/05/15 12:01:40 pacho Exp $
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
15 May 2015; Pacho Ramos <pacho@gentoo.org> http-parser-2.3.ebuild:
ppc stable wrt bug #517336
*http-parser-2.5.0 (09 Aug 2015)
*http-parser-2.4.2 (09 Aug 2015)
*http-parser-2.4.1 (09 Aug 2015)
*http-parser-2.3 (09 Aug 2015)
*http-parser-2.5.0 (11 May 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
+files/http-parser-2.1-flags.patch, +files/http-parser-2.3-flags.patch,
+http-parser-2.3.ebuild, +http-parser-2.4.1.ebuild,
+http-parser-2.4.2.ebuild, +http-parser-2.5.0.ebuild, +metadata.xml:
proj/gentoo: Initial commit
11 May 2015; Michał Górny <mgorny@gentoo.org> +http-parser-2.5.0.ebuild:
Version bump. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/109
by jbergstroem.
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
*http-parser-2.4.2 (28 Mar 2015)
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
28 Mar 2015; Manuel Rüger <mrueg@gentoo.org> +http-parser-2.4.2.ebuild:
Proxy commit for Johan Bergström. Version bump.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
*http-parser-2.4.1 (23 Jan 2015)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
23 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +http-parser-2.4.1.ebuild,
metadata.xml:
Proxy commit for Johan Bergström. Version bump. Add him as proxied maintainer.
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
31 Dec 2014; Michael Palimaka <kensington@gentoo.org> -http-parser-2.1.ebuild:
Remove old.
Convert all URLs for sites supporting encrypted connections from http to
https
25 Nov 2014; Julian Ospald <hasufell@gentoo.org> metadata.xml:
drop maintainership
Signed-off-by: Justin Lecher <jlec@gentoo.org>
12 Oct 2014; Agostino Sarubbo <ago@gentoo.org> http-parser-2.3.ebuild:
Stable for x86, wrt bug #521058
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
24 Sep 2014; Chema Alonso <nimiux@gentoo.org> http-parser-2.3.ebuild:
Stable for amd64 wrt bug #521058
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
26 Aug 2014; Anthony G. Basile <blueness@gentoo.org> http-parser-2.1.ebuild,
http-parser-2.3.ebuild:
Keyword ~ppc, bug #513078
Bug: https://bugs.gentoo.org/552720
24 Jun 2014; Markus Meier <maekke@gentoo.org> http-parser-2.3.ebuild:
add ~arm, bug #513078
*http-parser-2.6.0 (02 Nov 2015)
21 Jun 2014; Julian Ospald <hasufell@gentoo.org> http-parser-2.3.ebuild:
add static-libs USE flag
02 Nov 2015; Julian Ospald <hasufell@gentoo.org>
+files/0001-makefile-fix-DESTDIR-usage.patch,
+files/0002-makefile-quote-variables.patch,
+files/0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch,
+files/0004-makefile-add-CFLAGS-to-linking-command.patch,
+files/0005-makefile-fix-install-rule-dependency.patch,
+http-parser-2.6.0.ebuild:
version bump
*http-parser-2.3 (21 Jun 2014)
This also fixes the upstream build system instead of working around
it.
21 Jun 2014; Julian Ospald <hasufell@gentoo.org> +http-parser-2.3.ebuild,
+files/http-parser-2.3-flags.patch:
version bump wrt #514154
It also fixes missing CFLAGS in linking commands.
05 Sep 2013; Agostino Sarubbo <ago@gentoo.org> http-parser-2.1.ebuild:
Stable for x86, wrt bug #482608
06 Nov 2015; mschubert <mschu.dev@gmail.com> http-parser-2.6.0.ebuild:
respect ${EPREFIX}
31 Aug 2013; Agostino Sarubbo <ago@gentoo.org> http-parser-2.1.ebuild:
Stable for amd64, wrt bug #482608
23 Jan 2016; Fabian Groffen <grobian@gentoo.org> http-parser-2.6.0.ebuild:
marked ~x64-macos, bug #509586
*http-parser-2.1 (30 Jun 2013)
Package-Manager: portage-2.2.20-prefix
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Replace all herds with appropriate projects (GLEP 67)
Replace all uses of herd with appropriate project maintainers, or no
maintainers in case of herds requested to be disbanded.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)
*http-parser-2.6.1 (10 Feb 2016)
10 Feb 2016; Johan Bergström <bugs@bergstroem.nu> -http-parser-2.6.0.ebuild,
+http-parser-2.6.1.ebuild, metadata.xml:
version bump to 2.6.1
this is considered a security bump, so drop old.
04 Mar 2016; Steev Klimaszewski <steev@gentoo.org> http-parser-2.6.1.ebuild:
Keyword 2.6.1 for ~arm64
Tested on Cortex-A53
Package-Manager: portage-2.2.27
*http-parser-2.6.2 (09 Mar 2016)
09 Mar 2016; Patrick Lauer <patrick@gentoo.org> +http-parser-2.6.2.ebuild:
Bump
Package-Manager: portage-2.2.27
30 Jun 2013; Julian Ospald <hasufell@gentoo.org> +http-parser-2.1.ebuild,
+files/http-parser-2.1-flags.patch, +metadata.xml:
initial import wrt #410339

View File

@ -0,0 +1,63 @@
# ChangeLog for net-libs/http-parser
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/ChangeLog,v 1.15 2015/05/15 12:01:40 pacho Exp $
15 May 2015; Pacho Ramos <pacho@gentoo.org> http-parser-2.3.ebuild:
ppc stable wrt bug #517336
*http-parser-2.5.0 (11 May 2015)
11 May 2015; Michał Górny <mgorny@gentoo.org> +http-parser-2.5.0.ebuild:
Version bump. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/109
by jbergstroem.
*http-parser-2.4.2 (28 Mar 2015)
28 Mar 2015; Manuel Rüger <mrueg@gentoo.org> +http-parser-2.4.2.ebuild:
Proxy commit for Johan Bergström. Version bump.
*http-parser-2.4.1 (23 Jan 2015)
23 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +http-parser-2.4.1.ebuild,
metadata.xml:
Proxy commit for Johan Bergström. Version bump. Add him as proxied maintainer.
31 Dec 2014; Michael Palimaka <kensington@gentoo.org> -http-parser-2.1.ebuild:
Remove old.
25 Nov 2014; Julian Ospald <hasufell@gentoo.org> metadata.xml:
drop maintainership
12 Oct 2014; Agostino Sarubbo <ago@gentoo.org> http-parser-2.3.ebuild:
Stable for x86, wrt bug #521058
24 Sep 2014; Chema Alonso <nimiux@gentoo.org> http-parser-2.3.ebuild:
Stable for amd64 wrt bug #521058
26 Aug 2014; Anthony G. Basile <blueness@gentoo.org> http-parser-2.1.ebuild,
http-parser-2.3.ebuild:
Keyword ~ppc, bug #513078
24 Jun 2014; Markus Meier <maekke@gentoo.org> http-parser-2.3.ebuild:
add ~arm, bug #513078
21 Jun 2014; Julian Ospald <hasufell@gentoo.org> http-parser-2.3.ebuild:
add static-libs USE flag
*http-parser-2.3 (21 Jun 2014)
21 Jun 2014; Julian Ospald <hasufell@gentoo.org> +http-parser-2.3.ebuild,
+files/http-parser-2.3-flags.patch:
version bump wrt #514154
05 Sep 2013; Agostino Sarubbo <ago@gentoo.org> http-parser-2.1.ebuild:
Stable for x86, wrt bug #482608
31 Aug 2013; Agostino Sarubbo <ago@gentoo.org> http-parser-2.1.ebuild:
Stable for amd64, wrt bug #482608
*http-parser-2.1 (30 Jun 2013)
30 Jun 2013; Julian Ospald <hasufell@gentoo.org> +http-parser-2.1.ebuild,
+files/http-parser-2.1-flags.patch, +metadata.xml:
initial import wrt #410339

View File

@ -1,34 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
AUX 0001-makefile-fix-DESTDIR-usage.patch 2216 SHA256 785012d9e0efb70c4dcc137f354ab57afabdcb0fb7c8cb2580c3c4a7e9add330 SHA512 ebb481df21cb312824ed65e7d6a3e7b237451071235566595da97c09b165767693ec3c47c27c451bfbdc2d62cc45c7d5d9f996b80789dc7fedaa2543c94c9065 WHIRLPOOL 8d6ddfaaf636d3360a42bc12917d972b520723d8fc05db2d87bf71ea5c3f850d45f65da85b34f8f2243ffe31acaa2d0364f3b15432e507447e6d40151a4ba40a
AUX 0002-makefile-quote-variables.patch 1848 SHA256 80fdf673731f27f328d45f4da7daa613613d8db40f1dc84d2ce65fad0130c054 SHA512 3637abedbf330af0f4a9721081db99fe0f6400322f21f77ab16d580546a9d200d40bc584e8dbb51adec249c2d468730c6e2487ccda3786626909d988b7f8856a WHIRLPOOL e946f75eb854f7ae81d79bdfced973b43bacdb4227c806b706287b59fef81ccd849f952e950332336681da8d1bbaeab9401a864f83a95937cdc9d5797471ebbe
AUX 0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch 1286 SHA256 9854f5f205ec0959cc10cab80d16ff54f33a9979e5fd310ba9a4624b60c84ee9 SHA512 8202d665963234ce6dd84439f281921cb959424024c2fec8a27b65693b3466cab8674a3549d22fdb2fc07edf69f94440368ef77738ae4be2a5d94c13e3c814bb WHIRLPOOL 041200f8fa60bb8a0a24ed2bb5c8bae72d45c796c124613053c32c61f81ab2ee7ffb75f6d5a42b7623da6ff2afaeed436a2e74275d79dad7768d05735562cd02
AUX 0004-makefile-add-CFLAGS-to-linking-command.patch 1038 SHA256 e69fa304327dbb0626edaf147b73dc9fb4718b656b225794a04937206929c0df SHA512 e18c163f2069795fb6b744ad9f6e44eb9efca7f560460a6759bc0121a404bfe8109031c0f43d36d4987bda3411e0a433dbab6d0eabb2dbb5c79f1ce878251aae WHIRLPOOL e9196da8b6544a30258c3ae9bcdceda318317b97b14adb4fc7d7f2636f0ac664e7d0ef024be61aca9d5e0d45e85792d90b3bd9507076a73d266f11733053bc7c
AUX 0005-makefile-fix-install-rule-dependency.patch 1090 SHA256 04898654adef3f3dbf1e29e66f8e9fc4467f68389e224beb03387d33ee263212 SHA512 4cd120f406eeeb1e5a60c7d8955cdfead50d99b60f91a0fcdb2ae19403d08e5ed5619885c9e434ce40ffb442b317ee8c32ef636960429036f9bff92492f03968 WHIRLPOOL e522fd3eaab1f94c13f33900b37755776c5c48910fa87ccc875b3b08198a21f983bf2728b81b1f2cd64263d1a22940e3daef2d9f97acf708a437584328498ebb
AUX http-parser-2.1-flags.patch 1093 SHA256 b3dd9c2e0e6aaf83635b067b0fa29aa7dbb25476c91b3609ec738333a175e86e SHA512 4ac7b6380d7123b071d6aa4dfe5b2b8e3eb7d3d3c85b2e576b28d1d3c7d9959679105fc8f9c6921f770784eb136e1f6b7b8ae94794cc4b6efc856db461bd9e12 WHIRLPOOL 77dd32aa582598817ab9467e947598324e3b25251aa69a8ea2e8aee0b4424664fe8ef87fe33d31c5da0e4c8925295b6c33920ffb94b6a582c11db8af6a6d9c03
AUX http-parser-2.3-flags.patch 1052 SHA256 de4279f3d2a3c7736cee76a18c83e733dab75e640f94f467dcbede18680823af SHA512 5719d676a369ae558f2ec6f1cc3617bbd9bfcffb38f70c7c1cc688a55c59359f4c03d3c1a46c9cf493f8db49d6d7da343897fd7cd95664c75f0b6349e72e3c71 WHIRLPOOL a510aebc80c02e57e2584c08457d572650b1dd5abb42968380492574f6037cdbbb95ec7a16472a3003a5d4486ba2b61c64422c34e79ccb7dd843b33412b09ee6
DIST http-parser-2.3.tar.gz 42538 SHA256 3bfe6b4ab7656c86e48b4a43a7a08aee7fd72c17b213655166f6a3cb8d21d5e2 SHA512 63ec361dd0bdb2d30676b430fc122eb4df5a6ff90a6a188ee9975ea9c46263f0322ebf51fb1816643d1b8d58bfd8793d7c6e2f6bd96778539095517ea320de2e WHIRLPOOL 8bc4d67857d2ac57bcac46c012f521c374f2875b7a4edb987189571b27ccb8ea5544b0b7eeba56b1f3f1a7bb1680a9a33821aab3863e373be12f3eba85371c66
DIST http-parser-2.4.1.tar.gz 44724 SHA256 4a2597c37b874ce46b30764960d158d18cae2b4cd46458ce3cad98aa106427c9 SHA512 f56b84f0af57cefa46daa10ac2e7b3015c185fa4c55615efa33f9131871a980b5c06ffad1699302ebe847c9325b41403520e0ef4d34bf5f6c48c6edabf1f4cb8 WHIRLPOOL 1873e97df046b10ed7a7da9ad3ba43055634af230b0b4391a8a814bb00455f8864ead809ba2555715e63b9a74202287b2a3c68ced884edf152e794bf70a0cfeb
DIST http-parser-2.4.2.tar.gz 44814 SHA256 d93d6cd4d587355bc714d6a79f4e5676d7dd2ccd2fafb21606c87268ea440cbf SHA512 fa2ac6a27807252a8e2ca61e307b92fa7004424dbea69d9ffbd2297f47e0c2af740033126aeb6b11ea172e03c2fbf957c0ab0387836647920c3a9304d07f68ab WHIRLPOOL cbf45915f622ad07ee095f3a592c565847f427575ab0a062ce7d8dbfe3b8b92d4ec97787c3dec4710b7dec4f5b4cde49ece80063b29399c2f44acc14816c08ff
DIST http-parser-2.5.0.tar.gz 46070 SHA256 e3b4ba58f4e6ee5fbec781df020e5cb74c3a799a07f059e1e125127a0b801481 SHA512 da94b21f313d09f0557e61574e1187d06ef3bc4e8115c6f8120eac8d26ba6db51469ee5ddb6da5a0c05f49279838e5028afff6a15790708cdca147b3bc66e18f WHIRLPOOL 933ab2f8065fd2e7734d61284a042579edea40f0a0dea6b339a1ba07d9e50f2cd5e14f081d9889b728024171f2faeff7aab97b43c531fbd6badd882026261254
EBUILD http-parser-2.3.ebuild 1056 SHA256 26a7b8bfbb9505d834d8f9eca33e2dc7458add3f9188a09955c0014087b8974d SHA512 9cd2807714285134d3b918181e2174b05c8ac7d2b846685a4891983e593463e8e584e8fbac4600d12b5e6a5ec08ff2b48ce88549b02fca3acc42814e479f459a WHIRLPOOL 57b0d99f7bca2aa5a09e5960ab31448d3a5214e8b394f7e194187d6cb97aa567c681391eb72c2cef74cf9d0fbab8b88816a77c36058f8ff932343802070799e7
EBUILD http-parser-2.4.1.ebuild 1014 SHA256 770216e088e7be500c9921f4b5d35b58e2668e2f9b3dcac3c09bfb998ae549d4 SHA512 ffa8f8035bada72263572acb2f831726612402009d59b72663cb1589c353d4f7e6ac30834e93b73a32f29ca299ce5e0214490f86c13af694300b39a943e55984 WHIRLPOOL 36624d2764af23fa41d66dc79f76c13aabb8d5f844a4d22fc9fa9e8d77becb23ae6ebdd0fd0df345f9fe2b6864867a654ee8d4a268c929b2415d0d4a0758df3a
EBUILD http-parser-2.4.2.ebuild 1014 SHA256 d23e94335ef0927b080d16ff49ae80be8dd64c895876328cd9a9ae7f4bba1704 SHA512 c34498241ecd1060d04e1c628fdabb98f7e9542f12af7f76609d73f5d8c0e7f848612701f4622f41dbd3d0c0864bca9730c572f8da63bcfb054faaeb1192dbb7 WHIRLPOOL b43adbfa9dc618efe59e0237ea4d79be90fd4ea7708de08691d557b384a5427bfc22e333ddf309109a079a09faf61aa5a80be77b434b9f6dccd934e3240df787
EBUILD http-parser-2.5.0.ebuild 1014 SHA256 03d7f5433150a9a874704fc22cd2049070d65033273e4b77924c2bcab3ba2f9c SHA512 221a090b7cf811c3ee2dc9a23737c97b2aa9d0fd7c20b4e9876a05b6843bb77d7510316bab96e908e9eb8de28391a2fb0448d9c6930999bbf753bd81e8fb32db WHIRLPOOL d96efe735652b23671f6f0cc75a9faa18c81637ffbcbce89ac2a62b06c6a66cafb0b8713f4acdbee008950587bd661027e80807b6436b91c876dc531c181e881
MISC ChangeLog 2207 SHA256 a4e427c1f74e2d4d526f67acb0556015956bb98236bfefba4935f7ff7f6de6ad SHA512 dcd33ae28a0652cbe4ab4b86e84ccec084613bde19cd83e74a1c18a90fde1dd97ed820957128f9e0039772d9bbc724b744836fe117ed83ea89e1c8c8811dea2c WHIRLPOOL 05b8b8baa9221698172d95565fc1f937137e663cb95a76fd1e5dc4fce2d390797e512cc4dc48637f5fbd5683ad4e3388975d75faa963afc0ce28a86828779808
MISC metadata.xml 399 SHA256 dde0972088eb48406d8e021e1cf49d182b4191b702586a535184dd7f38625ad1 SHA512 8bcbaaa46e82df7225abc6760fa3e450ebbccbba68689fa84cae25f66bcbe547058e51dc63170dc6bacd62bdab28c115df4af4a029e4693311d88992716aa1d7 WHIRLPOOL a2b87a32f6b02264d581fc65533d72f46bf1df3938f00896a9cdeac422c2a335cc7fedb269e81ba457d418e460825f2db8eb9581d36e20c9f0fbaa5f97b8836d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
iQJ8BAEBCgBmBQJVfw0nXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiKSgQAJzHbzPYYlxMFZBkC5w19GDo
heNjbzsWurB/OvBESdGgPbI/NDGtUKFs2N8neino82/s28fsbxEHmX64Oruirav9
6qukcBkAVaTILVAfbm8Bmh7KzTu02gKBUd0boJu58gvGr6hWCKIvRX0dPh6RKe24
eg8fcaYWotA3Zvsk3Rj4BSsE3nbbtixaKKxRti2SL4xIbxJHw8IS4x+9BPjPNKYn
ZfNlqRrem8k7WOfhgbFhgZddjT8XxymyqHR7OLs9itmJNUgV0KQ4pn6FkTa6wGL+
QbInYxYU9Qjx0/bldBXOqYOHPGlzOSpQVZtPbBQf9wdvFmHxa17+Qy7mKo4rGuzI
PAzAvT63iGjMyt/WouV1R+iq82QMujA2eVlaGWakiPftfA84gv1y8BlyrrncgeSl
NoHbcciSAEFTf9Hna/ksIEGBJbQeg15PI5nmhUyHHcRyKk39h+80PshfR1fALsdW
ygruHDiQSPoFD0wPd+Wdjc4ispCGf9RD06Ks+LYINAgmtXhuMqiKJeveAzpaSHxI
w/rvNzK//mMCeDGL6fm0UmjxhmVJwpXBSBTVwbJ47fvxkxEVgrbZKIimy2Sb1aSS
ODa2E4fjfdTUV9XH8MydkV8Uf9y3anp9PfrsHCceUgvBxA3rLBinV3fSFzp/Y56C
de8EXPR9qoM7H7wt8cCb
=/PX8
-----END PGP SIGNATURE-----
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
EBUILD http-parser-2.3.ebuild 946 SHA256 8e64833aebf715b4261cfca4b18b4cef0de9711a284612b78207bb0ecef60881 SHA512 0398caa0a85125c79aa68835197439b07c6da6736423323ebc7f155b6e225b204f2c1563848394e02b8c4b157c4e2494d5b8c734b22a357727ec5ce42dec6fa5 WHIRLPOOL 3ba671f83f76253defe3cd6741e8c8f9f752f729fc9cbf9b80b9e2253703185a7d858e002756225a07d5b0c7dbd868d21faec39e4c9937d17b6e3d871febf983
EBUILD http-parser-2.4.1.ebuild 902 SHA256 eae29ff86bdc293bd5611845c295c2592fcc4f86a8421eaf0c497b9adcc5f2fa SHA512 ef312a095a01f06ad4f3130f33ca8d42e4d84dc180b1cc32dc78ee06ebef22f104fb164769418b027936a776c5bc75f0dd8ff0c9a12272b0d943c1f63da71068 WHIRLPOOL 9db1bee9d7a5d6bc01a68175b69a82e012238a179dc480f10ca0299617dbbaf8f83c6bee08915af01e7d78ef89a288811faafa1fef7273355ec2fd04a2a7526a
EBUILD http-parser-2.4.2.ebuild 902 SHA256 eae29ff86bdc293bd5611845c295c2592fcc4f86a8421eaf0c497b9adcc5f2fa SHA512 ef312a095a01f06ad4f3130f33ca8d42e4d84dc180b1cc32dc78ee06ebef22f104fb164769418b027936a776c5bc75f0dd8ff0c9a12272b0d943c1f63da71068 WHIRLPOOL 9db1bee9d7a5d6bc01a68175b69a82e012238a179dc480f10ca0299617dbbaf8f83c6bee08915af01e7d78ef89a288811faafa1fef7273355ec2fd04a2a7526a
EBUILD http-parser-2.5.0.ebuild 901 SHA256 0d919019ad0a6043ee29a311241ec1a305278e076be9eb07178fc969c5b77334 SHA512 e06ed91b34237a88fcf83cd503bc701991668c8c2816f6ad6440b8181ce4980e5062ce8927ed2fc4366d4276fd3c11091336b466f1546a757370d29eb629dcad WHIRLPOOL 5c75d9ef89c42ec07df40f2fe6dd0d6855bb2b8bfa15d41f66e5793afed0bcf5a4e7c8b74fc38092ff50927cb759828bd4d04f76d8cc5faff217ecb6b54fdfc0
EBUILD http-parser-2.6.1.ebuild 1283 SHA256 10f291ab8d45ed67cabc8375315166376d984dd764879ebe33f4b486ffc267d4 SHA512 d163429f45b0105da04ec5f18273e9cf927516274912493e5a42c45442d966cb0ceb187ae66ac0de1caca0f93e1e6dc30b53a2508adb8b6029e9c8136dca87d1 WHIRLPOOL 4678bf70d85195a27d3c7b81403c32f49afae3dc88561bc22edee3a4d9daedb31b8635bd9bf7ea6bc428d50ef7e08c7b1365d37a651a53595f5af36a98e2ffa7
EBUILD http-parser-2.6.2.ebuild 1283 SHA256 10f291ab8d45ed67cabc8375315166376d984dd764879ebe33f4b486ffc267d4 SHA512 d163429f45b0105da04ec5f18273e9cf927516274912493e5a42c45442d966cb0ceb187ae66ac0de1caca0f93e1e6dc30b53a2508adb8b6029e9c8136dca87d1 WHIRLPOOL 4678bf70d85195a27d3c7b81403c32f49afae3dc88561bc22edee3a4d9daedb31b8635bd9bf7ea6bc428d50ef7e08c7b1365d37a651a53595f5af36a98e2ffa7
MISC ChangeLog 4039 SHA256 7960d8a87287b74a4dcdf993f3f06cf5e8a2c376feb2af2b6e02606af7974a7b SHA512 455b1a975eb70e61b99f891063d9002680f103200d1ed2e431b957e426bc511381e3a36379f00b5a55661c7c272a8913badcea73fd0622530d5fcfb7035413a8 WHIRLPOOL 9d177fc76aef8d6817ada1e290b1a6f1c280b2f691df85e03b67e90805c47e099598cbcd4c401c45c2f3c916e2b81f039f049f6f61390f5de15cc11c8c19d95c
MISC ChangeLog-2015 2207 SHA256 a4e427c1f74e2d4d526f67acb0556015956bb98236bfefba4935f7ff7f6de6ad SHA512 dcd33ae28a0652cbe4ab4b86e84ccec084613bde19cd83e74a1c18a90fde1dd97ed820957128f9e0039772d9bbc724b744836fe117ed83ea89e1c8c8811dea2c WHIRLPOOL 05b8b8baa9221698172d95565fc1f937137e663cb95a76fd1e5dc4fce2d390797e512cc4dc48637f5fbd5683ad4e3388975d75faa963afc0ce28a86828779808
MISC metadata.xml 498 SHA256 6bf5eb85a8dd5b5d84d3f8fa29de93aa0ab0a1950edcaa6ffc4d31792775c927 SHA512 df2f7895ff5d5187ac4ddd24fc5ba678977bdb86f58f31cb3a6cc9c2295dea61bffaa2ac4e40fe57dd52bfd6f1966db5ebb1b2dfcd3b5812eefac9fbadae18c9 WHIRLPOOL 6fd5db1cd7f52c7d7eaec5bca9f6b1a5cfb57cda621e9e518fd88132b5e7c7fe987e9fc8fdf60d8e1568fee08b3c23c7a1d3c8d2750411fbae1981dabe6523c1

View File

@ -0,0 +1,64 @@
From 7fbc87986baa09c342abb21e34613e8bbdc3c9c7 Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
Date: Mon, 2 Nov 2015 16:24:43 +0100
Subject: [PATCH 1/4] makefile: fix DESTDIR usage
DESTDIR is not supposed to be set inside other variables. It is
standard to have this variable in install/uninstall rules, so it
can be reliably set separately no matter what other variables are set
to.
This also avoids potential bugs with setting SONAME or seds on
installed files (like pkgconfig) which then might include the
temporary DESTDIR directory.
DESTDIR is really just for installing into a temporary directory or
a chroot, mostly used by package managers.
---
Makefile | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index 33c8ba0..76153a0 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ CFLAGS_LIB = $(CFLAGS_FAST) -fPIC
LDFLAGS_LIB = $(LDFLAGS) -shared
INSTALL ?= install
-PREFIX ?= $(DESTDIR)/usr/local
+PREFIX ?= /usr/local
LIBDIR = $(PREFIX)/lib
INCLUDEDIR = $(PREFIX)/include
@@ -123,19 +123,19 @@ tags: http_parser.c http_parser.h test.c
ctags $^
install: library
- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D $(SONAME) $(LIBDIR)/$(SONAME)
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
+ $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -D $(SONAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
+ ln -s $(LIBDIR)/$(SONAME) $(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)
install-strip: library
- $(INSTALL) -D http_parser.h $(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D -s $(SONAME) $(LIBDIR)/$(SONAME)
- ln -s $(LIBDIR)/$(SONAME) $(LIBDIR)/libhttp_parser.$(SOEXT)
+ $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -D -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
+ ln -s $(LIBDIR)/$(SONAME) $(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)
uninstall:
- rm $(INCLUDEDIR)/http_parser.h
- rm $(LIBDIR)/$(SONAME)
- rm $(LIBDIR)/libhttp_parser.so
+ rm $(DESTDIR)$(INCLUDEDIR)/http_parser.h
+ rm $(DESTDIR)$(LIBDIR)/$(SONAME)
+ rm $(DESTDIR)$(LIBDIR)/libhttp_parser.so
clean:
rm -f *.o *.a tags test test_fast test_g \
--
2.6.1

View File

@ -0,0 +1,50 @@
From 9bce473ba7417b45bfdb59d4151a8857dcfff4ad Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
Date: Mon, 2 Nov 2015 16:27:06 +0100
Subject: [PATCH 2/4] makefile: quote variables
Make does not take care of this in make rules. If any of the variables
DESTDIR, INCLUDEDIR or LIBDIR contain whitespaces, then the related
install command will fail.
This is even more important for the uninstall rule.
---
Makefile | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Makefile b/Makefile
index 76153a0..8c4a9d7 100644
--- a/Makefile
+++ b/Makefile
@@ -123,19 +123,19 @@ tags: http_parser.c http_parser.h test.c
ctags $^
install: library
- $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D $(SONAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
- ln -s $(LIBDIR)/$(SONAME) $(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)
+ $(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
+ $(INSTALL) -D $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
+ ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
install-strip: library
- $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
- ln -s $(LIBDIR)/$(SONAME) $(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)
+ $(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
+ $(INSTALL) -D -s $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
+ ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
uninstall:
- rm $(DESTDIR)$(INCLUDEDIR)/http_parser.h
- rm $(DESTDIR)$(LIBDIR)/$(SONAME)
- rm $(DESTDIR)$(LIBDIR)/libhttp_parser.so
+ rm "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
+ rm "$(DESTDIR)$(LIBDIR)/$(SONAME)"
+ rm "$(DESTDIR)$(LIBDIR)/libhttp_parser.so"
clean:
rm -f *.o *.a tags test test_fast test_g \
--
2.6.1

View File

@ -0,0 +1,35 @@
From f45b38c42e7e92a5d0215c44dcf306616536011e Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
Date: Mon, 2 Nov 2015 16:32:11 +0100
Subject: [PATCH 3/4] makefile: fix SONAME symlink, it should not be a full
path
The symlink destination being a full path doesn't give any benefit and
may break a few use cases of copying these files to a different
destination, while preserving the symlink.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 8c4a9d7..cbe93e8 100644
--- a/Makefile
+++ b/Makefile
@@ -125,12 +125,12 @@ tags: http_parser.c http_parser.h test.c
install: library
$(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
$(INSTALL) -D $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
- ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
+ ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
install-strip: library
$(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
$(INSTALL) -D -s $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
- ln -s $(LIBDIR)/$(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
+ ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
uninstall:
rm "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
--
2.6.1

View File

@ -0,0 +1,31 @@
From 62b1450cfe2e0df2d912279d38edf1b916020101 Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
Date: Mon, 2 Nov 2015 16:39:31 +0100
Subject: [PATCH 4/4] makefile: add CFLAGS to linking command
Although we compile the objects explicitly there are some CFLAGS
that may also affect linking, which is not always obvious.
This can also be a problem for toolchains that support multiple ABIs
and need to set CFLAGS=<abi selector>, which will cause linking
to either fail or produce an unusable executable/library.
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index cbe93e8..ae16f08 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ libhttp_parser.o: http_parser.c http_parser.h Makefile
$(CC) $(CPPFLAGS_FAST) $(CFLAGS_LIB) -c http_parser.c -o libhttp_parser.o
library: libhttp_parser.o
- $(CC) $(LDFLAGS_LIB) -o $(SONAME) $<
+ $(CC) $(CFLAGS_LIB) $(LDFLAGS_LIB) -o $(SONAME) $<
package: http_parser.o
$(AR) rcs libhttp_parser.a http_parser.o
--
2.6.1

View File

@ -0,0 +1,33 @@
From b67bfbe6a07529dd82e2ee83b6848d017e6e422f Mon Sep 17 00:00:00 2001
From: hasufell <hasufell@hasufell.de>
Date: Mon, 2 Nov 2015 16:51:28 +0100
Subject: [PATCH 5/5] makefile: fix install rule dependency
Otherwise the install rule will recompile the library, no matter
if it has already been compiled.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index ae16f08..df0b59f 100644
--- a/Makefile
+++ b/Makefile
@@ -122,12 +122,12 @@ parsertrace_g: http_parser_g.o contrib/parsertrace.c
tags: http_parser.c http_parser.h test.c
ctags $^
-install: library
+install: $(SONAME)
$(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
$(INSTALL) -D $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
-install-strip: library
+install-strip: $(SONAME)
$(INSTALL) -D http_parser.h "$(DESTDIR)$(INCLUDEDIR)/http_parser.h"
$(INSTALL) -D -s $(SONAME) "$(DESTDIR)$(LIBDIR)/$(SONAME)"
ln -s $(SONAME) "$(DESTDIR)$(LIBDIR)/libhttp_parser.$(SOEXT)"
--
2.6.1

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild,v 1.7 2015/05/15 12:01:40 pacho Exp $
# $Id$
EAPI=5

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.4.1.ebuild,v 1.1 2015/01/23 00:25:43 mrueg Exp $
# $Id$
EAPI=5

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.4.2.ebuild,v 1.1 2015/03/28 21:55:40 mrueg Exp $
# $Id$
EAPI=5

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.5.0.ebuild,v 1.1 2015/05/11 16:40:31 mgorny Exp $
# $Id$
EAPI=5

View File

@ -0,0 +1,45 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs multilib 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 ~x86 ~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() {
tc-export CC AR
epatch ${PATCHES[@]}
multilib_copy_sources
}
multilib_src_compile() {
emake CFLAGS_FAST="${CFLAGS}" library
use static-libs && emake CFLAGS_FAST="${CFLAGS}" package
}
multilib_src_test() {
emake CFLAGS_DEBUG="${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
}

View File

@ -0,0 +1,45 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs multilib 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 ~x86 ~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() {
tc-export CC AR
epatch ${PATCHES[@]}
multilib_copy_sources
}
multilib_src_compile() {
emake CFLAGS_FAST="${CFLAGS}" library
use static-libs && emake CFLAGS_FAST="${CFLAGS}" package
}
multilib_src_test() {
emake CFLAGS_DEBUG="${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
}

View File

@ -1,13 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>proxy-maintainers</herd>
<maintainer>
<maintainer type="person">
<email>bugs@bergstroem.nu</email>
<name>Johan Bergström</name>
<description>Proxied Maintainer</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">joyent/http-parser</remote-id>
<remote-id type="github">nodejs/http-parser</remote-id>
</upstream>
</pkgmetadata>