<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b08fc74de364fad681146de41869e267fe57641e">https://github.com/macports/macports-ports/commit/b08fc74de364fad681146de41869e267fe57641e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b08fc74de364fad681146de41869e267fe57641e
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jan 7 10:58:20 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> http-parser: Update to 2.9.4
</span>---
www/http-parser/Portfile | 13 +++++++------
www/http-parser/files/patch-Makefile.diff | 12 ++++++------
2 files changed, 13 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/http-parser/Portfile b/www/http-parser/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 57d728cedf0..cfcd5b2fb5f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/http-parser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/http-parser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,13 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup nodejs http-parser 2.8.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup nodejs http-parser 2.9.4 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 af153ca374bdfef3dd6354e1ec528b00eeef1924 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 467b9e30fd0979ee301065e70f637d525c28193449e1b13fbcb1b1fab3ad224f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 52056
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories www devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license MIT
maintainers {gmail.com:g.litenstein @Lord-Kamina} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,9 +19,7 @@ long_description This is a parser for HTTP messages written in C. It
</span> It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. \
Depending on your architecture, it only requires about 40 bytes of data per message stream (in a web server that is per connection).
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8ebe6c4b7ea28b40c31b1ef1abbfd7a89f57f7fb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6d6a66251dd4236c6e15565849777230f5bc78a92e16eb2d40cec1f7c0f5bbe3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 50744
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span>
patchfiles patch-Makefile.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +30,6 @@ universal_variant yes
</span> configure.cflags-append -DHTTP_PARSER_STRICT=0
build.target library
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.post_args-delete VERBOSE=ON
</span> build.env CC=${configure.cc} \
PREFIX=${prefix}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/http-parser/files/patch-Makefile.diff b/www/http-parser/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 320d3fc1768..ea06852c88d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/http-parser/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/http-parser/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,8 +8,8 @@ Fix the library target so that it only rebuilds the library if needed.
</span> Do not use install's -D option which is a GNU extension not supported on macOS.
Mark the library target as phony.
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig 2018-03-31 01:07:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile 2018-10-04 12:34:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2020-03-24 05:54:06.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2022-01-07 10:55:33.000000000 -0600
</span> @@ -52,13 +52,17 @@
CPPFLAGS_FAST += $(CPPFLAGS_FAST_EXTRA)
CPPFLAGS_BENCH = $(CPPFLAGS_FAST)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,16 +49,16 @@ Mark the library target as phony.
</span> - $(INSTALL) -D $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
+ $(INSTALL) -c http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -c $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
</span>
install-strip: library
- $(INSTALL) -D http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
- $(INSTALL) -D -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
+ $(INSTALL) -c http_parser.h $(DESTDIR)$(INCLUDEDIR)/http_parser.h
+ $(INSTALL) -c -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBNAME)
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -sf $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SOLIBNAME).$(SOEXT)
</span>
@@ -157,4 +162,4 @@
contrib/url_parser.c: http_parser.h
</pre><pre style='margin:0'>
</pre>