From nobody Wed Oct 20 02:48:42 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0027917F0D7E; Wed, 20 Oct 2021 02:48:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYw6L6Hb1z4nWB; Wed, 20 Oct 2021 02:48:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B72A41FD01; Wed, 20 Oct 2021 02:48:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19K2mgg0003022; Wed, 20 Oct 2021 02:48:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19K2mg3N003021; Wed, 20 Oct 2021 02:48:42 GMT (envelope-from git) Date: Wed, 20 Oct 2021 02:48:42 GMT Message-Id: <202110200248.19K2mg3N003021@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 441a956e5fab - main - lang/libhx: the port had been updated (+) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 441a956e5fab5e8c7194b97a1d62d679f16f10e4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=441a956e5fab5e8c7194b97a1d62d679f16f10e4 commit 441a956e5fab5e8c7194b97a1d62d679f16f10e4 Author: Alexey Dokuchaev AuthorDate: 2021-10-20 02:47:18 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-10-20 02:47:19 +0000 lang/libhx: the port had been updated (+) - Update libHX to version 4.2 - Sadly, the author no longer hosts the project on SourceForge but on his own site instead, this affects MASTER_SITES and WWW line in the port description - Disable getsockopt(SO_BINDTODEVICE) call for now as FreeBSD does not implement this socket option (patches welcome) - While here, assume maintainership of the port --- lang/libhx/Makefile | 7 +++---- lang/libhx/distinfo | 6 +++--- lang/libhx/files/patch-src_socket.c | 18 ++++++++++++++++++ lang/libhx/pkg-descr | 2 +- lang/libhx/pkg-plist | 6 ++++-- 5 files changed, 29 insertions(+), 10 deletions(-) diff --git a/lang/libhx/Makefile b/lang/libhx/Makefile index 5808e8060cdd..ecf8256ff922 100644 --- a/lang/libhx/Makefile +++ b/lang/libhx/Makefile @@ -1,17 +1,16 @@ # Created by: Sylvio Cesar PORTNAME= libHX -PORTVERSION= 3.25 +PORTVERSION= 4.2 CATEGORIES= lang -MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME} +MASTER_SITES= https://inai.de/files/libhx/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danfe@FreeBSD.org COMMENT= C/C++ library with common data structures and functions LICENSE= LGPL21+ USES= cpe libtool localbase tar:xz - USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig diff --git a/lang/libhx/distinfo b/lang/libhx/distinfo index 9d28411aa741..64991e7c360d 100644 --- a/lang/libhx/distinfo +++ b/lang/libhx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1589449721 -SHA256 (libHX-3.25.tar.xz) = 72ddc565dc9a5bab55438cb782ea01cec07cb6069f5e6930030b2be44cb05b89 -SIZE (libHX-3.25.tar.xz) = 890576 +TIMESTAMP = 1634477831 +SHA256 (libHX-4.2.tar.xz) = 5216b765f73c36ff91e999fd5eabc1dbc13801d140b8238fc80ba9c263d723e6 +SIZE (libHX-4.2.tar.xz) = 365120 diff --git a/lang/libhx/files/patch-src_socket.c b/lang/libhx/files/patch-src_socket.c new file mode 100644 index 000000000000..4f185a52b567 --- /dev/null +++ b/lang/libhx/files/patch-src_socket.c @@ -0,0 +1,18 @@ +--- src/socket.c.orig 2021-10-17 13:36:53 UTC ++++ src/socket.c +@@ -54,6 +54,7 @@ static int try_sk_from_env(int fd, const struct addrin + return -1; + if (intf == nullptr) + return fd; ++#ifdef SO_BINDTODEVICE + char ifname[32]; + optlen = sizeof(ifname); + ret = getsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, ifname, &optlen); +@@ -65,6 +66,7 @@ static int try_sk_from_env(int fd, const struct addrin + ifname[sizeof(ifname)-1] = '\0'; + if (strcmp(intf, ifname) != 0) + return -1; ++#endif + return fd; + } + diff --git a/lang/libhx/pkg-descr b/lang/libhx/pkg-descr index f32f04231bfa..774552121f50 100644 --- a/lang/libhx/pkg-descr +++ b/lang/libhx/pkg-descr @@ -11,4 +11,4 @@ secondarily, the amount of code) a developer has to spend for otherwise implementing such. Subsequently, proficient coders can use this to code as fast as for a scripting language. -WWW: http://libhx.sourceforge.net/ +WWW: https://inai.de/projects/libhx/ diff --git a/lang/libhx/pkg-plist b/lang/libhx/pkg-plist index e6ca23333235..10c14d62cd23 100644 --- a/lang/libhx/pkg-plist +++ b/lang/libhx/pkg-plist @@ -3,6 +3,7 @@ include/libHX/ctype_helper.h include/libHX/defs.h include/libHX/deque.h include/libHX/init.h +include/libHX/intdiff.hpp include/libHX/io.h include/libHX/libxml_helper.h include/libHX/list.h @@ -10,10 +11,11 @@ include/libHX/map.h include/libHX/misc.h include/libHX/option.h include/libHX/proc.h +include/libHX/socket.h include/libHX/string.h include/libHX/wx_helper.hpp -lib/libHX_rtcheck.so lib/libHX.so lib/libHX.so.32 -lib/libHX.so.32.0.0 +lib/libHX.so.32.2.0 +lib/libHX_rtcheck.so libdata/pkgconfig/libHX.pc