Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package live555 for openSUSE:Factory checked in at 2022-11-24 12:22:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/live555 (Old) and /work/SRC/openSUSE:Factory/.live555.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "live555" Thu Nov 24 12:22:30 2022 rev:35 rq:1037610 version:2022.11.19 Changes: -------- --- /work/SRC/openSUSE:Factory/live555/live555.changes 2022-10-04 20:36:56.688849692 +0200 +++ /work/SRC/openSUSE:Factory/.live555.new.1597/live555.changes 2022-11-24 12:22:40.941089028 +0100 @@ -1,0 +2,8 @@ +Tue Nov 22 20:26:02 UTC 2022 - Dirk Müller <[email protected]> + +- update to 2022.11.19: + - Added a new global variable "ReceivingInterfaceAddr6" (analogous to the existing + variable "ReceivingInterfaceAddr" for IPv4) to allow applications to optionally + change the default receiving address for IPv6. + +------------------------------------------------------------------- Old: ---- live.2022.10.01.tar.gz New: ---- live.2022.11.19.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ live555.spec ++++++ --- /var/tmp/diff_new_pack.5gYsix/_old 2022-11-24 12:22:41.581093095 +0100 +++ /var/tmp/diff_new_pack.5gYsix/_new 2022-11-24 12:22:41.589093146 +0100 @@ -20,7 +20,7 @@ %define lmdmaj 107 Name: live555 -Version: 2022.10.01 +Version: 2022.11.19 Release: 0 Summary: LIVE555 Streaming Media License: LGPL-2.1-only ++++++ live.2022.10.01.tar.gz -> live.2022.11.19.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh --- old/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh 2022-10-01 08:02:16.000000000 +0200 +++ new/live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh 2022-11-19 19:29:09.000000000 +0100 @@ -19,7 +19,7 @@ #ifndef _BASICUSAGEENVIRONMENT_VERSION_HH #define _BASICUSAGEENVIRONMENT_VERSION_HH -#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2022.10.01" -#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1664582400 +#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_STRING "2022.11.19" +#define BASICUSAGEENVIRONMENT_LIBRARY_VERSION_INT 1668816000 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/UsageEnvironment/include/UsageEnvironment_version.hh new/live/UsageEnvironment/include/UsageEnvironment_version.hh --- old/live/UsageEnvironment/include/UsageEnvironment_version.hh 2022-10-01 08:02:16.000000000 +0200 +++ new/live/UsageEnvironment/include/UsageEnvironment_version.hh 2022-11-19 19:29:09.000000000 +0100 @@ -19,7 +19,7 @@ #ifndef _USAGEENVIRONMENT_VERSION_HH #define _USAGEENVIRONMENT_VERSION_HH -#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2022.10.01" -#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1664582400 +#define USAGEENVIRONMENT_LIBRARY_VERSION_STRING "2022.11.19" +#define USAGEENVIRONMENT_LIBRARY_VERSION_INT 1668816000 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/config.linux-with-shared-libraries new/live/config.linux-with-shared-libraries --- old/live/config.linux-with-shared-libraries 2022-10-01 08:02:27.000000000 +0200 +++ new/live/config.linux-with-shared-libraries 2022-11-19 19:29:34.000000000 +0100 @@ -18,9 +18,9 @@ libUsageEnvironment_VERSION_AGE=1 libUsageEnvironment_LIB_SUFFIX=so.$(shell expr $(libUsageEnvironment_VERSION_CURRENT) - $(libUsageEnvironment_VERSION_AGE)).$(libUsageEnvironment_VERSION_AGE).$(libUsageEnvironment_VERSION_REVISION) -libgroupsock_VERSION_CURRENT=30 +libgroupsock_VERSION_CURRENT=31 libgroupsock_VERSION_REVISION=10 -libgroupsock_VERSION_AGE=0 +libgroupsock_VERSION_AGE=1 libgroupsock_LIB_SUFFIX=so.$(shell expr $(libgroupsock_VERSION_CURRENT) - $(libgroupsock_VERSION_AGE)).$(libgroupsock_VERSION_AGE).$(libgroupsock_VERSION_REVISION) ##### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/groupsock/GroupsockHelper.cpp new/live/groupsock/GroupsockHelper.cpp --- old/live/groupsock/GroupsockHelper.cpp 2022-10-01 08:02:16.000000000 +0200 +++ new/live/groupsock/GroupsockHelper.cpp 2022-11-19 19:29:09.000000000 +0100 @@ -51,6 +51,7 @@ // By default, use INADDR_ANY for the sending and receiving interfaces (IPv4 only): ipv4AddressBits SendingInterfaceAddr = INADDR_ANY; ipv4AddressBits ReceivingInterfaceAddr = INADDR_ANY; +in6_addr ReceivingInterfaceAddr6 = IN6ADDR_ANY_INIT; static void socketErr(UsageEnvironment& env, char const* errorMsg) { env.setResultErrMsg(errorMsg); @@ -176,13 +177,14 @@ } #endif } else { // IPv6 + in6_addr addr = IN6ADDR_ANY_INIT; if (port.num() != 0) { // For IPv6 sockets, we need the IPV6_V6ONLY flag set to 1, otherwise we would not // be able to have an IPv4 socket and an IPv6 socket bound to the same port: int const one = 1; (void)setsockopt(newSocket, IPPROTO_IPV6, IPV6_V6ONLY, (const char*)&one, sizeof one); - MAKE_SOCKADDR_IN6(name, port.num()); + MAKE_SOCKADDR_IN6(name, addr, port.num()); if (bind(newSocket, (struct sockaddr*)&name, sizeof name) != 0) { char tmpBuffer[100]; sprintf(tmpBuffer, "IPv6 bind() error (port number: %d): ", ntohs(port.num())); @@ -353,7 +355,7 @@ int const one = 1; (void)setsockopt(newSocket, IPPROTO_IPV6, IPV6_V6ONLY, (const char*)&one, sizeof one); - MAKE_SOCKADDR_IN6(name, port.num()); + MAKE_SOCKADDR_IN6(name, ReceivingInterfaceAddr6, port.num()); if (bind(newSocket, (struct sockaddr*)&name, sizeof name) != 0) { char tmpBuffer[100]; sprintf(tmpBuffer, "IPv6 bind() error (port number: %d): ", ntohs(port.num())); @@ -740,7 +742,7 @@ MAKE_SOCKADDR_IN(name, INADDR_ANY, 0); bind(socket, (struct sockaddr*)&name, sizeof name); } else { // IPv6 - MAKE_SOCKADDR_IN6(name, 0); + MAKE_SOCKADDR_IN6(name,IN6ADDR_ANY_INIT, 0); bind(socket, (struct sockaddr*)&name, sizeof name); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/groupsock/include/GroupsockHelper.hh new/live/groupsock/include/GroupsockHelper.hh --- old/live/groupsock/include/GroupsockHelper.hh 2022-10-01 08:02:16.000000000 +0200 +++ new/live/groupsock/include/GroupsockHelper.hh 2022-11-19 19:29:09.000000000 +0100 @@ -88,6 +88,7 @@ // are INADDR_ANY (i.e., 0), specifying the default interface.) extern ipv4AddressBits SendingInterfaceAddr; extern ipv4AddressBits ReceivingInterfaceAddr; +extern in6_addr ReceivingInterfaceAddr6; // Allocates a randomly-chosen IPv4 SSM (multicast) address: ipv4AddressBits chooseRandomIPv4SSMAddress(UsageEnvironment& env); @@ -110,10 +111,11 @@ var.sin_addr.s_addr = (adr);\ var.sin_port = (prt);\ SET_SOCKADDR_SIN_LEN(var); -#define MAKE_SOCKADDR_IN6(var,prt) /*adr,prt must be in network order*/\ +#define MAKE_SOCKADDR_IN6(var,adr,prt) /*adr,prt must be in network order*/\ struct sockaddr_in6 var;\ memset(&var, 0, sizeof var);\ var.sin6_family = AF_INET6;\ + var.sin6_addr=adr;\ var.sin6_port = (prt);\ SET_SOCKADDR_SIN6_LEN(var); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/groupsock/include/groupsock_version.hh new/live/groupsock/include/groupsock_version.hh --- old/live/groupsock/include/groupsock_version.hh 2022-10-01 08:02:16.000000000 +0200 +++ new/live/groupsock/include/groupsock_version.hh 2022-11-19 19:29:09.000000000 +0100 @@ -19,7 +19,7 @@ #ifndef _GROUPSOCK_VERSION_HH #define _GROUPSOCK_VERSION_HH -#define GROUPSOCK_LIBRARY_VERSION_STRING "2022.10.01" -#define GROUPSOCK_LIBRARY_VERSION_INT 1664582400 +#define GROUPSOCK_LIBRARY_VERSION_STRING "2022.11.19" +#define GROUPSOCK_LIBRARY_VERSION_INT 1668816000 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/liveMedia/include/liveMedia_version.hh new/live/liveMedia/include/liveMedia_version.hh --- old/live/liveMedia/include/liveMedia_version.hh 2022-10-01 08:02:16.000000000 +0200 +++ new/live/liveMedia/include/liveMedia_version.hh 2022-11-19 19:29:09.000000000 +0100 @@ -19,7 +19,7 @@ #ifndef _LIVEMEDIA_VERSION_HH #define _LIVEMEDIA_VERSION_HH -#define LIVEMEDIA_LIBRARY_VERSION_STRING "2022.10.01" -#define LIVEMEDIA_LIBRARY_VERSION_INT 1664582400 +#define LIVEMEDIA_LIBRARY_VERSION_STRING "2022.11.19" +#define LIVEMEDIA_LIBRARY_VERSION_INT 1668816000 #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/live/testProgs/playCommon.cpp new/live/testProgs/playCommon.cpp --- old/live/testProgs/playCommon.cpp 2022-10-01 08:02:16.000000000 +0200 +++ new/live/testProgs/playCommon.cpp 2022-11-19 19:29:09.000000000 +0100 @@ -217,9 +217,12 @@ struct sockaddr_storage interfaceAddress; copyAddress(interfaceAddress, addresses.firstAddress()); - if (interfaceAddress.ss_family == AF_INET) { // later, support IPv6 also + if (interfaceAddress.ss_family == AF_INET) { ReceivingInterfaceAddr = ((sockaddr_in&)interfaceAddress).sin_addr.s_addr; } + if (interfaceAddress.ss_family == AF_INET6) { + ReceivingInterfaceAddr6 = ((sockaddr_in6&)interfaceAddress).sin6_addr; + } ++argv; --argc; break; }
