diff options
author | hasufell <julian.ospald@googlemail.com> | 2012-04-13 21:08:27 +0200 |
---|---|---|
committer | hasufell <julian.ospald@googlemail.com> | 2012-04-13 21:08:27 +0200 |
commit | 657584d66e08c337ce1f7ebb4f108c56b93130da (patch) | |
tree | 7d86720124840710df12147cfeb25402c418ea86 /net-libs | |
parent | dev-tex/latexdraw: New Ebuild for bug #403579 thanks to Tommy[D], sera and ha... (diff) | |
download | sunrise-reviewed-657584d66e08c337ce1f7ebb4f108c56b93130da.tar.gz sunrise-reviewed-657584d66e08c337ce1f7ebb4f108c56b93130da.tar.bz2 sunrise-reviewed-657584d66e08c337ce1f7ebb4f108c56b93130da.zip |
net-libs/http-parser: version bump
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/http-parser/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/http-parser/Manifest | 5 | ||||
-rw-r--r-- | net-libs/http-parser/files/20120413-makefile.patch | 17 | ||||
-rw-r--r-- | net-libs/http-parser/http-parser-1.0_pre20120413.ebuild | 36 |
4 files changed, 63 insertions, 1 deletions
diff --git a/net-libs/http-parser/ChangeLog b/net-libs/http-parser/ChangeLog index b3f53ca3d..63ca47bf9 100644 --- a/net-libs/http-parser/ChangeLog +++ b/net-libs/http-parser/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*http-parser-1.0_pre20120413 (13 Apr 2012) + + 13 Apr 2012; hasufell <julian.ospald@googlemail.com> + +files/20120413-makefile.patch, +http-parser-1.0_pre20120413.ebuild: + version bump + *http-parser-1.0_pre20120331 (31 Mar 2012) 31 Mar 2012; hasufell <julian.ospald@googlemail.com> diff --git a/net-libs/http-parser/Manifest b/net-libs/http-parser/Manifest index bd9e2a63f..e76b635c6 100644 --- a/net-libs/http-parser/Manifest +++ b/net-libs/http-parser/Manifest @@ -1,5 +1,8 @@ AUX 20120331-makefile.patch 534 RMD160 7bbb812a1207e074ea381ef7fecd393ee9893be5 SHA1 e9ad8c8ab8259a99baa741f53324c17ad570315e SHA256 a1c15c1b317eaa673b1847afa30e40dbce239a80aff63df9edb55389580c9ed2 +AUX 20120413-makefile.patch 554 RMD160 fd334ec3483cdfbf3ff8a297cb0c1b22756cfd8d SHA1 b34cf27890e916ab1c1bdc21f26cba486a40701a SHA256 f09560fbdcd5ae53d4377f6a421a319f3c21110658d21c60c8474fcdc5d25a6a DIST http-parser-1.0_pre20120331.tar.gz 36251 RMD160 35de87e00ea6d09546c6a73a2f2207d6a1a3beeb SHA1 b9d1351359328be3bc80e2dc3ae0a54ece330519 SHA256 a5601109269c1540d769011d502e6e68c5c963be0265539f229c9ec2a43a73fa +DIST http-parser-1.0_pre20120413.tar.gz 36327 RMD160 216d6be85bbcab707906c72c30a478814de66798 SHA1 c25232e42e16b9931d1c9dea4dc7ec3e342e32b0 SHA256 07551398f3bdf2d00dfff99b978f24cb2712898ec1b4a61eef131493c5f3528d EBUILD http-parser-1.0_pre20120331.ebuild 851 RMD160 e4994317605286da5bb8bc4f6fe693239ad5b53f SHA1 a3d1a10b100384d6f20945c2d2e4741715a63747 SHA256 9028ee40b627fcd68f2cf25caa1393b3ed0f27e58fffc0bfbbfb6a437f4ceaa3 -MISC ChangeLog 385 RMD160 35e40c5025420a3346fb48c9cdb3a05464df5df0 SHA1 9e571985a3cb290acc063122b92ebff0dd496e0d SHA256 8113bfcf834d2cdd58d3f634c81d9e823f5d3ca4028cf50a7d3b51df966e207c +EBUILD http-parser-1.0_pre20120413.ebuild 851 RMD160 3fcb91fec610001c29cbf1eedba2a2dbd5776e68 SHA1 390a0533d1503c0336c7c859bc228edb75547da4 SHA256 357c9285a842c00b6f199550870549f9d177c8d56eaf8f756991547764b7f398 +MISC ChangeLog 571 RMD160 ada80ca8b14ac11f1626b37ad197ab2b3181d5e4 SHA1 20ea4e806dde2fd9aabe361e65504f2562b62780 SHA256 4131b0ac8a0c04467c98fa9cfcea26e67ebdddbcb2a5b79c8e5efdb0fb6a6fc2 MISC metadata.xml 214 RMD160 efd8175069efb91061298ff4584218b633e44678 SHA1 d372fdbfcb7fd07a4082961d3f3527be4fca1d60 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 diff --git a/net-libs/http-parser/files/20120413-makefile.patch b/net-libs/http-parser/files/20120413-makefile.patch new file mode 100644 index 000000000..f140cd2d5 --- /dev/null +++ b/net-libs/http-parser/files/20120413-makefile.patch @@ -0,0 +1,17 @@ +From: Julian Ospald <julian.ospald@googlemail.com> +Date: Fri Apr 13 18:44:35 UTC 2012 + +fix "QA Notice: The following shared libraries lack a SONAME" +respect LDFLAGS and CFLAGS + +--- Makefile ++++ Makefile +@@ -44,7 +44,7 @@ + $(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) -Wl,-soname,libhttp_parser.so -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/http-parser-1.0_pre20120413.ebuild b/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild new file mode 100644 index 000000000..1d77d872a --- /dev/null +++ b/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +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/downloads/hasufell/tinkerbox/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + # fix SONAME/LDFLAGS + epatch "${FILESDIR}"/20120413-makefile.patch +} + +src_compile() { + tc-export CC + emake library +} + +src_install() { + insinto /usr/include/${PN} + doins http_parser.h + newlib.so libhttp_parser.so libhttp_parser.so.1.0 + dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so.1 + dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so + + newdoc README.md README +} |