<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7a967aa02edf81cf6958fa8b29492e8beba42b51">https://github.com/macports/macports-ports/commit/7a967aa02edf81cf6958fa8b29492e8beba42b51</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 7a967aa02ed httping: Update to 2.9
</span>7a967aa02ed is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7a967aa02edf81cf6958fa8b29492e8beba42b51
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed May 31 16:33:00 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> httping: Update to 2.9
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/67541
</span>---
net/httping/Portfile | 31 ++++++++++++++++++------------
net/httping/files/LOCALEDIR.patch | 35 ++++++++++++++++++++++++++++++++++
net/httping/files/patch-configure.diff | 6 +++---
net/httping/files/unistd.patch | 13 +++++++++++++
4 files changed, 70 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/httping/Portfile b/net/httping/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4dd29c38850..b377559736c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/httping/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/httping/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,34 +1,41 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup folkertvanheusden HTTPing 2.9 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 49891c45e04e92aa83ea22038ea1c32b55f04c59 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 37da3c89b917611d2ff81e2f6c9e9de39d160ef0ca2cb6ffec0bebcb9b45ef5d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 83674
</span>
name httping
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span> categories net www
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license {GPL-2 OpenSSLException}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# License is unclear. Source file headers say AGPL 3 with OpenSSL exception as
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# they did in version 2.5 and was confirmed in license.txt but in 2.9 (there
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# don't appear to have been any 2.6, 2.7, or 2.8 releases) license.txt was
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# deleted and the new LICENSE file says GPL 3. This may be a mistake from when
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the new repository was created.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {AGPL-3 OpenSSLException}
</span> maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
description Ping-like tool for http-requests
long_description Give it an url, and it will show you how long it takes to \
connect, send a request and retrieve the reply (only the headers).
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://web.archive.org/web/20201108093618/https://www.vanheusden.com/httping/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f0154ece513637c3334dc2852a9435292996f00a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3e895a0a6d7bd79de25a255a1376d4da88eb09c34efdd0476ab5a907e75bfaf8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span>
depends_lib port:fftw-3 \
port:gettext \
port:ncurses \
path:lib/libssl.dylib:openssl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span>
patchfiles patch-configure.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append unistd.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append LOCALEDIR.patch
</span>
configure.pre_args
configure.universal_args
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +45,6 @@ configure.args --with-fftw3 \
</span> --with-tfo
configure.ldflags-append -lintl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args PREFIX=${prefix}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args {*}${build.args}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/httping/files/LOCALEDIR.patch b/net/httping/files/LOCALEDIR.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6631044ea17
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/httping/files/LOCALEDIR.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2022-10-29 14:34:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2023-05-31 15:10:22.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -30,7 +30,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TARGET=httping
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LOCALEDIR=/usr/share/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PREFIX?=/usr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LOCALEDIR=$(PREFIX)/share/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEBUG=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WFLAGS=-Wall -W -Wextra -pedantic -D_FORTIFY_SOURCE=2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -39,7 +40,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS+=-lm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PACKAGE=$(TARGET)-$(VERSION)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PREFIX?=/usr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BINDIR=$(PREFIX)/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MANDIR=$(PREFIX)/share/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DOCDIR=$(PREFIX)/share/doc/$(TARGET)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -121,10 +121,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifneq ($(NO_GETTEXT),yes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mkdir -p $(DESTDIR)/$(PREFIX)/share/locale/nl/LC_MESSAGES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cp nl.mo $(DESTDIR)/$(PREFIX)/share/locale/nl/LC_MESSAGES/httping.mo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mkdir -p $(DESTDIR)/$(PREFIX)/share/locale/ru/LC_MESSAGES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cp ru.mo $(DESTDIR)/$(PREFIX)/share/locale/ru/LC_MESSAGES/httping.mo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mkdir -p $(DESTDIR)$(LOCALEDIR)/nl/LC_MESSAGES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cp nl.mo $(DESTDIR)$(LOCALEDIR)/nl/LC_MESSAGES/httping.mo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mkdir -p $(DESTDIR)$(LOCALEDIR)/ru/LC_MESSAGES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cp ru.mo $(DESTDIR)$(LOCALEDIR)/ru/LC_MESSAGES/httping.mo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/httping/files/patch-configure.diff b/net/httping/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 76d0a14d43a..03369ea71a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/httping/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/httping/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2015-02-10 02:17:38.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2015-09-17 08:15:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-10-29 14:34:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-05-31 14:56:26.000000000 -0500
</span> @@ -1,7 +1,8 @@
#! /bin/sh
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@
</span> +FILE="`mktemp "$TMPDIR/httping.XXXXXX"`"
+FILE2="`mktemp "$TMPDIR/httping.XXXXXX"`"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo \*\*\* HTTPing v`grep VERSION version | cut -d = -f 2` \(`echo $Revision$ | awk '{ print $2; }'`\) configure script \*\*\*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo \*\*\* HTTPing v`grep VERSION version | cut -d = -f 2` configure script \*\*\*
</span> echo
@@ -86,6 +87,9 @@
fi
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/httping/files/unistd.patch b/net/httping/files/unistd.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2f88e3ca4c9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/httping/files/unistd.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: unknown type name 'useconds_t'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/folkertvanheusden/HTTPing/commit/aad3c275686344fe9a235faeac4ee3832f3aa8d5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- nc.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ nc.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,6 +8,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/ioctl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ncurses.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>