diff -Nru libhdhomerun-20210624/debian/changelog libhdhomerun-20220303/debian/changelog --- libhdhomerun-20210624/debian/changelog 2021-08-21 19:22:03.000000000 +0000 +++ libhdhomerun-20220303/debian/changelog 2022-03-11 21:31:34.000000000 +0000 @@ -1,3 +1,18 @@ +libhdhomerun (20220303-2) unstable; urgency=medium + + * Update upstream changelog. + + -- Francois Marier Fri, 11 Mar 2022 13:31:34 -0800 + +libhdhomerun (20220303-1) unstable; urgency=medium + + * New upstream release (no changes) + * Disable watch file (see #1007135). + * Bump Standards-Version up to 4.6.0. + * Bump copyright years in debian/copyright. + + -- Francois Marier Fri, 11 Mar 2022 11:41:46 -0800 + libhdhomerun (20210624-1) unstable; urgency=medium * New upstream release diff -Nru libhdhomerun-20210624/debian/control libhdhomerun-20220303/debian/control --- libhdhomerun-20210624/debian/control 2021-08-21 19:22:03.000000000 +0000 +++ libhdhomerun-20220303/debian/control 2022-03-11 21:31:34.000000000 +0000 @@ -7,7 +7,7 @@ debhelper-compat (= 13), dh-exec (>=0.3), po-debconf, -Standards-Version: 4.5.1 +Standards-Version: 4.6.0 Rules-Requires-Root: no Vcs-Git: https://salsa.debian.org/debian/libhdhomerun.git Vcs-Browser: https://salsa.debian.org/debian/libhdhomerun diff -Nru libhdhomerun-20210624/debian/copyright libhdhomerun-20220303/debian/copyright --- libhdhomerun-20210624/debian/copyright 2021-08-21 19:22:03.000000000 +0000 +++ libhdhomerun-20220303/debian/copyright 2022-03-11 21:31:34.000000000 +0000 @@ -3,11 +3,11 @@ Source: https://www.silicondust.com/support/linux/ Files: * -Copyright: 2005-2020 Silicondust Engineering Ltd. +Copyright: 2005-2022 Silicondust Engineering Ltd. License: LGPL-2.1+ Files: debian/* -Copyright: 2010-2021 Francois Marier +Copyright: 2010-2022 Francois Marier 2009-2010 John Baab 2007-2008 Mario Limonciello License: LGPL-2.1+ diff -Nru libhdhomerun-20210624/debian/patches/upstream-changelog.patch libhdhomerun-20220303/debian/patches/upstream-changelog.patch --- libhdhomerun-20210624/debian/patches/upstream-changelog.patch 2021-08-21 19:22:03.000000000 +0000 +++ libhdhomerun-20220303/debian/patches/upstream-changelog.patch 2022-03-11 21:31:34.000000000 +0000 @@ -3,11 +3,60 @@ https://www.silicondust.com/support/downloads/software-changelog/ Forwarded: not-needed Author: Francois Marier -Last-Update: 2021-08-21 +Last-Update: 2022-03-11 --- /dev/null +++ b/ChangeLog -@@ -0,0 +1,1267 @@ +@@ -0,0 +1,1316 @@ ++Release 20220203/20220204: ++ ++ • Windows/Mac Installer: ++ □ Windows 10/11: Install latest HDHomeRun app. ++ □ NAS Install: Add support for WDC EX2100/DL2100/DL4100 running OS5. ++ □ Update firmware to 20220203. ++ ++Release 20220128: ++ ++ • Windows/Mac Installer: ++ □ Update record engine to 20220128. ++ □ Update HDHR5/HDVR/HDFX firmware to 20220128. ++ • RECORD engine: ++ □ Use https for image URLs. ++ ++Release 20220126: ++ ++ • Windows 10/11 App, Mac App: ++ □ Improvements to audio 5.1 conversion. ++ □ FHD video quality options. ++ • Windows 7: ++ □ Upgrade from TLS 1.0 to TLS 1.2 for web services. ++ • Windows/Mac Installer: ++ □ Update record engine to 20220126. ++ □ Update firmware to 20220125. ++ • RECORD engine: ++ □ Upgrade old image links in recordings. ++ □ Windows: Performance optimization. ++ ++Release 20211212: ++ ++ • Windows 10/11 App, Mac App: ++ □ Fix problem with audio volume level when converting between some ++ speaker configurations. ++ ++Release 20211210: ++ ++ • Windows 10/11 App: ++ □ ATSC 3.0 audio support. ++ □ Improved audio multi-channel conversion. ++ • Mac App: ++ □ ATSC 3.0 audio support. ++ □ Improved audio multi-channel conversion. ++ • Windows Software: ++ □ Latest Windows 10/11 app. ++ □ Latest installer/toolchain. ++ • RECORD: ++ □ FreeBSD: Target FreeBSD 12.3 and compatible. ++ +Release 20210624: + + • Windows/Mac Installer: diff -Nru libhdhomerun-20210624/debian/watch libhdhomerun-20220303/debian/watch --- libhdhomerun-20210624/debian/watch 2021-08-21 19:22:03.000000000 +0000 +++ libhdhomerun-20220303/debian/watch 2022-03-11 21:31:34.000000000 +0000 @@ -1,3 +1,6 @@ -version=4 +#version=4 +# +#https://download.silicondust.com/hdhomerun/libhdhomerun.tgz https://download.silicondust.com/hdhomerun/libhdhomerun_(\d.*).tgz -https://www.silicondust.com/support/linux/ https://download.silicondust.com/hdhomerun/libhdhomerun_(\d.*).tgz +# Disabled because uscan doesn't support extracting version information from the HTML of a redirect page. +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007135 diff -Nru libhdhomerun-20210624/hdhomerun_os_windows.c libhdhomerun-20220303/hdhomerun_os_windows.c --- libhdhomerun-20210624/hdhomerun_os_windows.c 2019-12-20 16:07:55.000000000 +0000 +++ libhdhomerun-20220303/hdhomerun_os_windows.c 2022-02-27 17:13:57.000000000 +0000 @@ -20,34 +20,12 @@ #include "hdhomerun.h" -#if defined(_WINRT) uint32_t random_get32(void) { - return (uint32_t)getcurrenttime(); -} -#else -uint32_t random_get32(void) -{ - static DWORD random_get32_context_tls = 0xFFFFFFFF; - if (random_get32_context_tls == 0xFFFFFFFF) { - random_get32_context_tls = TlsAlloc(); - } - - HCRYPTPROV *phProv = (HCRYPTPROV *)TlsGetValue(random_get32_context_tls); - if (!phProv) { - phProv = (HCRYPTPROV *)calloc(1, sizeof(HCRYPTPROV)); - CryptAcquireContext(phProv, 0, 0, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT); - TlsSetValue(random_get32_context_tls, phProv); - } - - uint32_t Result; - if (!CryptGenRandom(*phProv, sizeof(Result), (BYTE *)&Result)) { - return (uint32_t)getcurrenttime(); - } - + uint32_t Result = 0; + BCryptGenRandom(NULL, (uint8_t *)&Result, 4, BCRYPT_USE_SYSTEM_PREFERRED_RNG); return Result; } -#endif uint64_t getcurrenttime(void) {