git: 63bb888a3d08 - main - multimedia/libhdhomerun: Update to 20200907

Kevin Bowling kbowling at FreeBSD.org
Tue Jun 15 14:55:01 UTC 2021


The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63bb888a3d08b7298e9563a73dd371f40d9838a7

commit 63bb888a3d08b7298e9563a73dd371f40d9838a7
Author:     David O'Rourke <dor.bsd at xm0.uk>
AuthorDate: 2021-06-15 14:53:45 +0000
Commit:     Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-06-15 14:53:45 +0000

    multimedia/libhdhomerun: Update to 20200907
    
    Changes https://www.silicondust.com/support/downloads/software-changelog/
    
    PR:             251088
    Approved by:    maintainer
    MFH:            2021Q2
---
 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 c4fe6691adae..217a14e20b68 100644
--- a/multimedia/libhdhomerun/Makefile
+++ b/multimedia/libhdhomerun/Makefile
@@ -1,6 +1,5 @@
 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);
- 	}
- 
- 	/*


More information about the dev-commits-ports-main mailing list