diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/http-parser | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
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.
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
Diffstat (limited to 'net-libs/http-parser')
-rw-r--r-- | net-libs/http-parser/Manifest | 4 | ||||
-rw-r--r-- | net-libs/http-parser/files/http-parser-2.1-flags.patch | 32 | ||||
-rw-r--r-- | net-libs/http-parser/files/http-parser-2.3-flags.patch | 32 | ||||
-rw-r--r-- | net-libs/http-parser/http-parser-2.3.ebuild | 41 | ||||
-rw-r--r-- | net-libs/http-parser/http-parser-2.4.1.ebuild | 43 | ||||
-rw-r--r-- | net-libs/http-parser/http-parser-2.4.2.ebuild | 43 | ||||
-rw-r--r-- | net-libs/http-parser/http-parser-2.5.0.ebuild | 42 | ||||
-rw-r--r-- | net-libs/http-parser/metadata.xml | 13 |
8 files changed, 250 insertions, 0 deletions
diff --git a/net-libs/http-parser/Manifest b/net-libs/http-parser/Manifest new file mode 100644 index 000000000000..2d8af53de859 --- /dev/null +++ b/net-libs/http-parser/Manifest @@ -0,0 +1,4 @@ +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 diff --git a/net-libs/http-parser/files/http-parser-2.1-flags.patch b/net-libs/http-parser/files/http-parser-2.1-flags.patch new file mode 100644 index 000000000000..fe9a59369c15 --- /dev/null +++ b/net-libs/http-parser/files/http-parser-2.1-flags.patch @@ -0,0 +1,32 @@ +commit 3752e633e23284133decc8ca8481e4416a317fbc +Author: hasufell <hasufell@gentoo.org> +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/net-libs/http-parser/files/http-parser-2.3-flags.patch b/net-libs/http-parser/files/http-parser-2.3-flags.patch new file mode 100644 index 000000000000..3dc9b3305ad7 --- /dev/null +++ b/net-libs/http-parser/files/http-parser-2.3-flags.patch @@ -0,0 +1,32 @@ +commit 3752e633e23284133decc8ca8481e4416a317fbc +Author: hasufell <hasufell@gentoo.org> +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/net-libs/http-parser/http-parser-2.3.ebuild b/net-libs/http-parser/http-parser-2.3.ebuild new file mode 100644 index 000000000000..c82c8a441a65 --- /dev/null +++ b/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 +# $Id$ + +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/net-libs/http-parser/http-parser-2.4.1.ebuild b/net-libs/http-parser/http-parser-2.4.1.ebuild new file mode 100644 index 000000000000..4488f386b134 --- /dev/null +++ b/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 +# $Id$ + +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/net-libs/http-parser/http-parser-2.4.2.ebuild b/net-libs/http-parser/http-parser-2.4.2.ebuild new file mode 100644 index 000000000000..4488f386b134 --- /dev/null +++ b/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 +# $Id$ + +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/net-libs/http-parser/http-parser-2.5.0.ebuild b/net-libs/http-parser/http-parser-2.5.0.ebuild new file mode 100644 index 000000000000..63b5c576261a --- /dev/null +++ b/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 +# $Id$ + +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/net-libs/http-parser/metadata.xml b/net-libs/http-parser/metadata.xml new file mode 100644 index 000000000000..28beb72899b5 --- /dev/null +++ b/net-libs/http-parser/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>bugs@bergstroem.nu</email> + <name>Johan Bergström</name> + <description>Proxied Maintainer</description> + </maintainer> + <upstream> + <remote-id type="github">joyent/http-parser</remote-id> + </upstream> +</pkgmetadata> |