diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-libs/http-parser | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-libs/http-parser')
10 files changed, 2 insertions, 321 deletions
diff --git a/net-libs/http-parser/Manifest b/net-libs/http-parser/Manifest index 4aaf2818aefb..91f063de4977 100644 --- a/net-libs/http-parser/Manifest +++ b/net-libs/http-parser/Manifest @@ -1,14 +1,4 @@ -AUX 0001-makefile-fix-DESTDIR-usage.patch 2216 BLAKE2B a653a6d5378e099c4509061ad4adac974ad4a525d99e7db508ba6d9a686d24dfda639b949e8e40a3a1a85d145a3e17604e993c5c32b8405ea7cc20bdb00f290c SHA512 ebb481df21cb312824ed65e7d6a3e7b237451071235566595da97c09b165767693ec3c47c27c451bfbdc2d62cc45c7d5d9f996b80789dc7fedaa2543c94c9065 -AUX 0002-makefile-quote-variables.patch 1848 BLAKE2B b80c374ddb43f446c4a20f3a2cd98bc97ef5ab1077961b3fd1d8ed0622e982f206c7d9fce7fa83f6c844d4171853190468dd932d469056fa07bd0ce366dad76a SHA512 3637abedbf330af0f4a9721081db99fe0f6400322f21f77ab16d580546a9d200d40bc584e8dbb51adec249c2d468730c6e2487ccda3786626909d988b7f8856a -AUX 0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch 1286 BLAKE2B 85c81a759333073e0e85569354587b80135c01200a9878f264908647950831b00916309e3e79fca82d8a4d12b6dcc265fedde596f8a9e05467e05bf1f565e628 SHA512 8202d665963234ce6dd84439f281921cb959424024c2fec8a27b65693b3466cab8674a3549d22fdb2fc07edf69f94440368ef77738ae4be2a5d94c13e3c814bb -AUX 0004-makefile-add-CFLAGS-to-linking-command.patch 1038 BLAKE2B 38eb7d25cc5ff46a093a0992fc0be764a9ad912e9c1b49fbb755e3009975756e96e3a039752cb31431bd803960e7eb208e4259953d3e661d9dac612d8e3479ab SHA512 e18c163f2069795fb6b744ad9f6e44eb9efca7f560460a6759bc0121a404bfe8109031c0f43d36d4987bda3411e0a433dbab6d0eabb2dbb5c79f1ce878251aae -AUX 0005-makefile-fix-install-rule-dependency.patch 1090 BLAKE2B ece26b7808ca7769258157699b11ff5a70fde04a431d792f25fc66c2393ffb5fcd7299d2b7e4b3c1ab7c2ac65a2e4188cb61d154421a8139dedc366203490df8 SHA512 4cd120f406eeeb1e5a60c7d8955cdfead50d99b60f91a0fcdb2ae19403d08e5ed5619885c9e434ce40ffb442b317ee8c32ef636960429036f9bff92492f03968 -AUX http-parser-2.6.2-darwin.patch 452 BLAKE2B 3c300ae1a9d484c8c3d188df421b4ea28b60c4d16faea45ac552242e0a9b28ad00761fa10353729cb7290dbdc00b41ea44f556b6bb79a57eac81c5a97d657a78 SHA512 32b6e637597d57ae511dd421f300f74c9f12c72746989d61455ea00cd0585ed96e2787e0ca0d965f66bc4b7875bd157e90e20f6f6682b20a8d95ae7ccbccdeb1 -DIST http-parser-2.6.2.tar.gz 48292 BLAKE2B 054ffa66960bad29a31e1a697a035447eb551fb85ed2af3786664f161d8d5a62aad8142ce859b7f1af85489b703b188d09980bf82b56cb190c21ecbe9c3a2f5c SHA512 e19e5377b3eb7f149c428196826fb878564fdfa3716ff6df5a3845c51586aee0582e252e09d1f8ebad1163b3e66632ff0c6e78f6acb2f0da20d7a06e734406c1 -DIST http-parser-2.8.0.tar.gz 50575 BLAKE2B 0ea1973b452b62915ad2a92be95e09281c1aa2f152ff4a67580e99ab113b44544f98b2e33fa1fadb259144975f15dc69c8b0ecc9de59e603dbd0e0a0785b7976 SHA512 57252a29b75f91452fd9bf2d3805bf1ddd95c32aee864cbe47dc676861512b9db95a7b3a4e1b999d5c046ab0d50809e7f184994c24ad48fe97cc2bcc27d9eb7b DIST http-parser-2.8.1.tar.gz 50731 BLAKE2B 1c4f3f61550f7f8e86d7b47e3986754a108dc979c6232d87ac418f9f8295b88ee43c4a5af150460f707e6ade01f5d435801f980ccbff93369ee0a9dc2eb60656 SHA512 6f52f543d979f39688ccefae236527a8183929b3d30f5370570107b01cf89d0338b448249a81102b78d31615d2e8f6e7c708f8961f55ece08e7d3a40e5ad0883 -EBUILD http-parser-2.6.2.ebuild 1395 BLAKE2B 3ecf77d59826d0b5a82c3bb6dffb25b98837027e0ab915bfde595b38d2633203278422db4a60c6be2fcb142055b64ba9862e71b9bdf409fc3c074cb765a51bb3 SHA512 ff59a0b6f3b7aef3ca79483384df88eafaf7ad80f05ea809288c6798ce0234f83a9dd41b5b2c80a865c70cb449574b0f2100c87bec2a5c2fecf432874b5a07f3 -EBUILD http-parser-2.8.0.ebuild 980 BLAKE2B 95c2d5c50cb8571adc4ab93796c8622a816f6f94a20642cecc60e1ab5721c4d1016bc1b92df9e0da66067dc074350c52795de4bda35e17e96371681dbf358482 SHA512 20de8a72586400fdcd94da20ebadcc59c4c7dd22e60772d736c6b1b27bfe7fdbe16b89f0ae45f93c2524c2f3fedf3b7bc9fc6580fd15d7824feeee5442ab3f5d -EBUILD http-parser-2.8.1.ebuild 1004 BLAKE2B 55aee0eaf8b64cbe81131fe94fdda20d6774655f460a0a5a3d4b38e0dd6b71219dc8a4f579c7188a08f8afeea7c6e0d780c421eb66b3bfcf1e4e4ad75d34e3c6 SHA512 9ed1a395feecfd25ad17455429dea4cc93880dff36834e07c565ecad359bf96cbb3c6be7e1c51483f40f552ba517d47a7b6aa22cdf5cfd4197c923974d5dc305 +EBUILD http-parser-2.8.1.ebuild 1010 BLAKE2B 41fd9e9bc96b39e583f49ec1c01befc7a0b68af0ae21dfff5523c5a8e54bd141fb7b470e47c7ef7c5ab9eda7a19ec64ce290371307c974e753c5477daa70330f SHA512 e1690bdcb1a2b1bc9f1e255e8d494d0e53f46937f89abf24a8106e1194961213f2f2d72370e81be29e3d1a8568df143c9a7fd80967a5d4df3975ba724e89bd56 EBUILD http-parser-99999.ebuild 878 BLAKE2B f542c8332672550422d4de016d5921ca6972bcd1395bc466090a3d0f7cb8b2169a3424cfd017e9b42d676fd86bcfcce19577cb0cfa3a69a1948403608e7dda93 SHA512 49b9a884e6518be420614a59457eb6fc58f791e56c9c8ad2da866013331ae6b2413a21921c4298a0f9c9d5cdaf505d45d2368aa97a5d247531acfd1887721c62 MISC metadata.xml 289 BLAKE2B 805f4cc8d1b3649e03fe78b6b9b54e24bb9fd20ce85ebfd26e0b3876a9694de33790fc36fcadb0776a3fffec46b9b9083b419e8db54f19d4f624b9892130e5e8 SHA512 099cab401d2a3b0f7ca10fdbb5d31a9cc1f14dc016d75cfdcce122b6c3250cf17ef0215ca92574b1e64d4dc9bb460b3286be1b6a6d123acd0511a3c25c34a022 diff --git a/net-libs/http-parser/files/0001-makefile-fix-DESTDIR-usage.patch b/net-libs/http-parser/files/0001-makefile-fix-DESTDIR-usage.patch deleted file mode 100644 index a819cf441d32..000000000000 --- a/net-libs/http-parser/files/0001-makefile-fix-DESTDIR-usage.patch +++ /dev/null @@ -1,64 +0,0 @@ -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 - diff --git a/net-libs/http-parser/files/0002-makefile-quote-variables.patch b/net-libs/http-parser/files/0002-makefile-quote-variables.patch deleted file mode 100644 index 096ac6b6bd69..000000000000 --- a/net-libs/http-parser/files/0002-makefile-quote-variables.patch +++ /dev/null @@ -1,50 +0,0 @@ -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 - diff --git a/net-libs/http-parser/files/0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch b/net-libs/http-parser/files/0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch deleted file mode 100644 index cafe68d220c9..000000000000 --- a/net-libs/http-parser/files/0003-makefile-fix-SONAME-symlink-it-should-not-be-a-full-.patch +++ /dev/null @@ -1,35 +0,0 @@ -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 - diff --git a/net-libs/http-parser/files/0004-makefile-add-CFLAGS-to-linking-command.patch b/net-libs/http-parser/files/0004-makefile-add-CFLAGS-to-linking-command.patch deleted file mode 100644 index e21cd715499b..000000000000 --- a/net-libs/http-parser/files/0004-makefile-add-CFLAGS-to-linking-command.patch +++ /dev/null @@ -1,31 +0,0 @@ -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 - diff --git a/net-libs/http-parser/files/0005-makefile-fix-install-rule-dependency.patch b/net-libs/http-parser/files/0005-makefile-fix-install-rule-dependency.patch deleted file mode 100644 index da966373063f..000000000000 --- a/net-libs/http-parser/files/0005-makefile-fix-install-rule-dependency.patch +++ /dev/null @@ -1,33 +0,0 @@ -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 - diff --git a/net-libs/http-parser/files/http-parser-2.6.2-darwin.patch b/net-libs/http-parser/files/http-parser-2.6.2-darwin.patch deleted file mode 100644 index b04b4a32bb01..000000000000 --- a/net-libs/http-parser/files/http-parser-2.6.2-darwin.patch +++ /dev/null @@ -1,16 +0,0 @@ -Makefile: set install_name on Darwin - -https://bugs.gentoo.org/show_bug.cgi?id=546098 -https://github.com/nodejs/http-parser/issues/356 - ---- http-parser-2.6.2/Makefile -+++ http-parser-2.6.2/Makefile -@@ -62,6 +62,8 @@ - ifneq (darwin,$(PLATFORM)) - # TODO(bnoordhuis) The native SunOS linker expects -h rather than -soname... - LDFLAGS_LIB += -Wl,-soname=$(SONAME) -+else -+LDFLAGS_LIB += -Wl,-install_name,$(LIBDIR)/$(SONAME) - endif - - test: test_g test_fast diff --git a/net-libs/http-parser/http-parser-2.6.2.ebuild b/net-libs/http-parser/http-parser-2.6.2.ebuild deleted file mode 100644 index 33986a95474a..000000000000 --- a/net-libs/http-parser/http-parser-2.6.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 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 - "${FILESDIR}"/${PN}-2.6.2-darwin.patch -) - -src_prepare() { - tc-export CC AR - epatch "${PATCHES[@]}" - 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}" test -} - -multilib_src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install - use static-libs && dolib.a libhttp_parser.a -} diff --git a/net-libs/http-parser/http-parser-2.8.0.ebuild b/net-libs/http-parser/http-parser-2.8.0.ebuild deleted file mode 100644 index c4563e4bf414..000000000000 --- a/net-libs/http-parser/http-parser-2.8.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2018 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" - -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 -} diff --git a/net-libs/http-parser/http-parser-2.8.1.ebuild b/net-libs/http-parser/http-parser-2.8.1.ebuild index 2057dd48dc95..b1cdb5d9ae19 100644 --- a/net-libs/http-parser/http-parser-2.8.1.ebuild +++ b/net-libs/http-parser/http-parser-2.8.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/nodejs/http-parser/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0/2.8.0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x64-macos ~x64-solaris" IUSE="static-libs" src_prepare() { |