From dcceb7a5d0930bf49b8ab37a94cc4aad953a4c9b Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Thu, 16 Jul 2015 18:38:03 -0700 Subject: [PATCH] bump(net-libs/http-parser): sync with upstream --- .../md5-cache/net-libs/http-parser-2.3 | 11 ++++ .../md5-cache/net-libs/http-parser-2.4.1 | 11 ++++ .../md5-cache/net-libs/http-parser-2.4.2 | 11 ++++ .../md5-cache/net-libs/http-parser-2.5.0 | 11 ++++ .../net-libs/http-parser/ChangeLog | 63 +++++++++++++++++++ .../net-libs/http-parser/Manifest | 34 ++++++++++ .../files/http-parser-2.1-flags.patch | 32 ++++++++++ .../files/http-parser-2.3-flags.patch | 32 ++++++++++ .../http-parser/http-parser-2.3.ebuild | 41 ++++++++++++ .../http-parser/http-parser-2.4.1.ebuild | 43 +++++++++++++ .../http-parser/http-parser-2.4.2.ebuild | 43 +++++++++++++ .../http-parser/http-parser-2.5.0.ebuild | 42 +++++++++++++ .../net-libs/http-parser/metadata.xml | 13 ++++ 13 files changed, 387 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.3 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.1 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.2 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.5.0 create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/ChangeLog create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.1-flags.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.3-flags.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.3.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.5.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/http-parser/metadata.xml diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.3 new file mode 100644 index 0000000000..85e6d5be29 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.3 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=A parser for HTTP messages written in C. It parses both requests and responses +EAPI=5 +HOMEPAGE=https://github.com/joyent/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 ppc x86 +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 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4 +_md5_=8d3b4e4e9c27b62045169a55f288e38b diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.1 new file mode 100644 index 0000000000..4153fd0c7d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.1 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=http request/response parser for c +EAPI=5 +HOMEPAGE=https://github.com/joyent/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 ~ppc ~x86 +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 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4 +_md5_=e40c133add11e042b08a7b9b2c5ad28a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.2 new file mode 100644 index 0000000000..3c562d0aab --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.4.2 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=http request/response parser for c +EAPI=5 +HOMEPAGE=https://github.com/joyent/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 ~ppc ~x86 +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 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4 +_md5_=89a5fa69d1d2d84c35fe9cd875836e5a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.5.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.5.0 new file mode 100644 index 0000000000..f8610c23e1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/http-parser-2.5.0 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=http request/response parser for c +EAPI=5 +HOMEPAGE=https://github.com/joyent/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 ~ppc ~x86 +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 9fb270e417e0e83d64ca52586c4a79de multibuild 6d4858dc00f8bc51caf3f957f8430eb0 multilib 62927b3db3a589b0806255f3a002d5d3 multilib-build 0983c7893df461213a05f791cc7dea6d multilib-minimal 13dd976916c35a1e2c8d170e840c7018 toolchain-funcs 42408102d713fbad60ca21349865edb4 +_md5_=606e154a1b1ac07c72220d66e8b0c6ee diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/ChangeLog b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/ChangeLog new file mode 100644 index 0000000000..09ed33fed5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/ChangeLog @@ -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 http-parser-2.3.ebuild: + ppc stable wrt bug #517336 + +*http-parser-2.5.0 (11 May 2015) + + 11 May 2015; Michał Górny +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 +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 +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 -http-parser-2.1.ebuild: + Remove old. + + 25 Nov 2014; Julian Ospald metadata.xml: + drop maintainership + + 12 Oct 2014; Agostino Sarubbo http-parser-2.3.ebuild: + Stable for x86, wrt bug #521058 + + 24 Sep 2014; Chema Alonso http-parser-2.3.ebuild: + Stable for amd64 wrt bug #521058 + + 26 Aug 2014; Anthony G. Basile http-parser-2.1.ebuild, + http-parser-2.3.ebuild: + Keyword ~ppc, bug #513078 + + 24 Jun 2014; Markus Meier http-parser-2.3.ebuild: + add ~arm, bug #513078 + + 21 Jun 2014; Julian Ospald http-parser-2.3.ebuild: + add static-libs USE flag + +*http-parser-2.3 (21 Jun 2014) + + 21 Jun 2014; Julian Ospald +http-parser-2.3.ebuild, + +files/http-parser-2.3-flags.patch: + version bump wrt #514154 + + 05 Sep 2013; Agostino Sarubbo http-parser-2.1.ebuild: + Stable for x86, wrt bug #482608 + + 31 Aug 2013; Agostino Sarubbo http-parser-2.1.ebuild: + Stable for amd64, wrt bug #482608 + +*http-parser-2.1 (30 Jun 2013) + + 30 Jun 2013; Julian Ospald +http-parser-2.1.ebuild, + +files/http-parser-2.1-flags.patch, +metadata.xml: + initial import wrt #410339 diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/Manifest b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/Manifest new file mode 100644 index 0000000000..ec554ba805 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +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----- diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.1-flags.patch b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.1-flags.patch new file mode 100644 index 0000000000..fe9a59369c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.1-flags.patch @@ -0,0 +1,32 @@ +commit 3752e633e23284133decc8ca8481e4416a317fbc +Author: hasufell +Date: Sun Jun 30 12:27:04 2013 +0200 + + respect system flags + +diff --git a/Makefile b/Makefile +index 64e5c2f..2e20723 100644 +--- a/Makefile ++++ b/Makefile +@@ -7,9 +7,9 @@ CPPFLAGS_DEBUG += $(CPPFLAGS_DEBUG_EXTRA) + CPPFLAGS_FAST = $(CPPFLAGS) -DHTTP_PARSER_STRICT=0 + CPPFLAGS_FAST += $(CPPFLAGS_FAST_EXTRA) + +-CFLAGS += -Wall -Wextra -Werror +-CFLAGS_DEBUG = $(CFLAGS) -O0 -g $(CFLAGS_DEBUG_EXTRA) +-CFLAGS_FAST = $(CFLAGS) -O3 $(CFLAGS_FAST_EXTRA) ++CFLAGS += -Wall -Wextra ++CFLAGS_DEBUG = $(CFLAGS) $(CFLAGS_DEBUG_EXTRA) ++CFLAGS_FAST = $(CFLAGS) $(CFLAGS_FAST_EXTRA) + CFLAGS_LIB = $(CFLAGS_FAST) -fPIC + + test: test_g test_fast +@@ -44,7 +44,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) -shared -o libhttp_parser.so libhttp_parser.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o libhttp_parser.so libhttp_parser.o + + package: http_parser.o + $(AR) rcs libhttp_parser.a http_parser.o diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.3-flags.patch b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.3-flags.patch new file mode 100644 index 0000000000..3dc9b3305a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/files/http-parser-2.3-flags.patch @@ -0,0 +1,32 @@ +commit 3752e633e23284133decc8ca8481e4416a317fbc +Author: hasufell +Date: Sun Jun 30 12:27:04 2013 +0200 + + respect system flags + +diff --git a/Makefile b/Makefile +index 64e5c2f..2e20723 100644 +--- a/Makefile ++++ b/Makefile +@@ -7,9 +7,9 @@ CPPFLAGS_DEBUG += $(CPPFLAGS_DEBUG_EXTRA) + CPPFLAGS_FAST = $(CPPFLAGS) -DHTTP_PARSER_STRICT=0 + CPPFLAGS_FAST += $(CPPFLAGS_FAST_EXTRA) + +-CFLAGS += -Wall -Wextra -Werror +-CFLAGS_DEBUG = $(CFLAGS) -O0 -g $(CFLAGS_DEBUG_EXTRA) +-CFLAGS_FAST = $(CFLAGS) -O3 $(CFLAGS_FAST_EXTRA) ++CFLAGS += -Wall -Wextra ++CFLAGS_DEBUG = $(CFLAGS) $(CFLAGS_DEBUG_EXTRA) ++CFLAGS_FAST = $(CFLAGS) $(CFLAGS_FAST_EXTRA) + CFLAGS_LIB = $(CFLAGS_FAST) -fPIC + + test: test_g test_fast +@@ -44,7 +44,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) $(LDFLAGS_LIB) -o $(SONAME) $< + + package: http_parser.o + $(AR) rcs libhttp_parser.a http_parser.o diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.3.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.3.ebuild new file mode 100644 index 0000000000..6826e6d95b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.3.ebuild @@ -0,0 +1,41 @@ +# 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 $ + +EAPI=5 + +SONAMEVER="2.3" +SONAME="libhttp_parser.so.${SONAMEVER}" + +inherit eutils toolchain-funcs multilib multilib-minimal + +DESCRIPTION="A parser for HTTP messages written in C. It parses both requests and responses" +HOMEPAGE="https://github.com/joyent/http-parser" +SRC_URI="https://github.com/joyent/http-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${SONAMEVER}" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="static-libs" + +src_prepare() { + tc-export CC AR + epatch "${FILESDIR}"/${P}-flags.patch + multilib_copy_sources +} + +multilib_src_compile() { + emake library + use static-libs && emake package +} + +multilib_src_install() { + doheader http_parser.h + dolib.so ${SONAME} + dosym ${SONAME} /usr/$(get_libdir)/libhttp_parser.so + use static-libs && dolib.a libhttp_parser.a +} + +multilib_src_install_all() { + dodoc README.md +} diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.1.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.1.ebuild new file mode 100644 index 0000000000..4ac443f31b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.1.ebuild @@ -0,0 +1,43 @@ +# 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 $ + +EAPI=5 + +SONAME="libhttp_parser.so.${PV}" + +inherit eutils toolchain-funcs multilib multilib-minimal + +DESCRIPTION="http request/response parser for c" +HOMEPAGE="https://github.com/joyent/http-parser" +SRC_URI="https://github.com/joyent/http-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="static-libs" + +src_prepare() { + + sed -i -e 's: -Werror::' \ + -e 's:-O3 ::' \ + Makefile || die + tc-export CC AR + multilib_copy_sources +} + +multilib_src_compile() { + emake library + use static-libs && emake package +} + +multilib_src_install() { + doheader http_parser.h + dolib.so ${SONAME} + dosym ${SONAME} /usr/$(get_libdir)/libhttp_parser.so + use static-libs && dolib.a libhttp_parser.a +} + +multilib_src_install_all() { + dodoc README.md +} diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.2.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.2.ebuild new file mode 100644 index 0000000000..f3d97b2312 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.4.2.ebuild @@ -0,0 +1,43 @@ +# 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 $ + +EAPI=5 + +SONAME="libhttp_parser.so.${PV}" + +inherit eutils toolchain-funcs multilib multilib-minimal + +DESCRIPTION="http request/response parser for c" +HOMEPAGE="https://github.com/joyent/http-parser" +SRC_URI="https://github.com/joyent/http-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="static-libs" + +src_prepare() { + + sed -i -e 's: -Werror::' \ + -e 's:-O3 ::' \ + Makefile || die + tc-export CC AR + multilib_copy_sources +} + +multilib_src_compile() { + emake library + use static-libs && emake package +} + +multilib_src_install() { + doheader http_parser.h + dolib.so ${SONAME} + dosym ${SONAME} /usr/$(get_libdir)/libhttp_parser.so + use static-libs && dolib.a libhttp_parser.a +} + +multilib_src_install_all() { + dodoc README.md +} diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.5.0.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.5.0.ebuild new file mode 100644 index 0000000000..54358e71a6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/http-parser-2.5.0.ebuild @@ -0,0 +1,42 @@ +# 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 $ + +EAPI=5 + +SONAME="libhttp_parser.so.${PV}" + +inherit eutils toolchain-funcs multilib multilib-minimal + +DESCRIPTION="http request/response parser for c" +HOMEPAGE="https://github.com/joyent/http-parser" +SRC_URI="https://github.com/joyent/http-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="static-libs" + +src_prepare() { + sed -i -e 's: -Werror::' \ + -e 's:-O3 ::' \ + Makefile || die + tc-export CC AR + multilib_copy_sources +} + +multilib_src_compile() { + emake library + use static-libs && emake package +} + +multilib_src_install() { + doheader http_parser.h + dolib.so ${SONAME} + dosym ${SONAME} /usr/$(get_libdir)/libhttp_parser.so + use static-libs && dolib.a libhttp_parser.a +} + +multilib_src_install_all() { + dodoc README.md +} diff --git a/sdk_container/src/third_party/portage-stable/net-libs/http-parser/metadata.xml b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/metadata.xml new file mode 100644 index 0000000000..28beb72899 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/http-parser/metadata.xml @@ -0,0 +1,13 @@ + + + + proxy-maintainers + + bugs@bergstroem.nu + Johan Bergström + Proxied Maintainer + + + joyent/http-parser + +