From owner-dev-commits-ports-all@freebsd.org Tue Jun 15 14:55:54 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 13CD264BEF1; Tue, 15 Jun 2021 14:55:54 +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 4G4BG137ybz3wPT; Tue, 15 Jun 2021 14:55:53 +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 411AB2404; Tue, 15 Jun 2021 14:55:53 +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 15FEtrA1060669; Tue, 15 Jun 2021 14:55:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15FEtr5N060668; Tue, 15 Jun 2021 14:55:53 GMT (envelope-from git) Date: Tue, 15 Jun 2021 14:55:53 GMT Message-Id: <202106151455.15FEtr5N060668@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kevin Bowling Subject: git: 914092bdcf3c - 2021Q2 - multimedia/libhdhomerun: Update to 20200907 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q2 X-Git-Reftype: branch X-Git-Commit: 914092bdcf3ca9e6dfd2915038e252aec8880780 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2021 14:55:54 -0000 The branch 2021Q2 has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=914092bdcf3ca9e6dfd2915038e252aec8880780 commit 914092bdcf3ca9e6dfd2915038e252aec8880780 Author: David O'Rourke AuthorDate: 2021-06-15 14:53:45 +0000 Commit: Kevin Bowling CommitDate: 2021-06-15 14:55:34 +0000 multimedia/libhdhomerun: Update to 20200907 Changes https://www.silicondust.com/support/downloads/software-changelog/ PR: 251088 Approved by: maintainer MFH: 2021Q2 (cherry picked from commit 63bb888a3d08b7298e9563a73dd371f40d9838a7) --- multimedia/libhdhomerun/Makefile | 3 +- multimedia/libhdhomerun/distinfo | 6 ++-- .../libhdhomerun/files/patch-hdhomerun__discover.c | 35 ---------------------- 3 files changed, 4 insertions(+), 40 deletions(-) diff --git a/multimedia/libhdhomerun/Makefile b/multimedia/libhdhomerun/Makefile index f32bfd5f2b9f..126481e18e23 100644 --- a/multimedia/libhdhomerun/Makefile +++ b/multimedia/libhdhomerun/Makefile @@ -1,7 +1,6 @@ PORTNAME= libhdhomerun -PORTVERSION= 20190621 -PORTREVISION= 1 +PORTVERSION= 20200907 CATEGORIES= multimedia MASTER_SITES= https://download.silicondust.com/hdhomerun/ DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/multimedia/libhdhomerun/distinfo b/multimedia/libhdhomerun/distinfo index d81a9b6bec5f..2bb77b2f9efc 100644 --- a/multimedia/libhdhomerun/distinfo +++ b/multimedia/libhdhomerun/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1569315689 -SHA256 (libhdhomerun_20190621.tgz) = 9a60f663b00de5f820bdb85806662e25f22da248b14942e33a8b43a0331f855a -SIZE (libhdhomerun_20190621.tgz) = 50817 +TIMESTAMP = 1623768784 +SHA256 (libhdhomerun_20200907.tgz) = cbaeb779c5a4e07db45310ef4271872bcb7c472402ebc3c58e224653c09400ed +SIZE (libhdhomerun_20200907.tgz) = 51014 diff --git a/multimedia/libhdhomerun/files/patch-hdhomerun__discover.c b/multimedia/libhdhomerun/files/patch-hdhomerun__discover.c deleted file mode 100644 index 088440edc395..000000000000 --- a/multimedia/libhdhomerun/files/patch-hdhomerun__discover.c +++ /dev/null @@ -1,35 +0,0 @@ -# Backport FreeBSD broadcast patch -# https://github.com/Silicondust/libhdhomerun/commit/b0e5d5f5c8e2bf37dea34beb014e08ebb598ebf6 - ---- hdhomerun_discover.c.orig 2019-09-30 16:45:23 UTC -+++ hdhomerun_discover.c -@@ -183,7 +183,8 @@ static bool hdhomerun_discover_send(struct hdhomerun_d - unsigned int i; - for (i = 1; i < ds->sock_count; i++) { - struct hdhomerun_discover_sock_t *dss = &ds->socks[i]; -- -+ uint32_t send_ip = target_ip; -+ - if (target_ip != 0xFFFFFFFF) { - if (dss->subnet_mask == 0) { - continue; -@@ -193,7 +194,18 @@ static bool hdhomerun_discover_send(struct hdhomerun_d - } - } - -- result |= hdhomerun_discover_send_internal(ds, dss, target_ip, device_type, device_id); -+#if defined(IP_ONESBCAST) -+ /* FreeBSD special handling - send subnet broadcast */ -+ if (target_ip == 0xFFFFFFFF) { -+ send_ip = dss->local_ip | ~dss->subnet_mask; -+ -+ if ((send_ip == 0x00000000) || (send_ip == 0xFFFFFFFF)) { -+ continue; -+ } -+ } -+#endif -+ -+ result |= hdhomerun_discover_send_internal(ds, dss, send_ip, device_type, device_id); - } - - /*