[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-ports
Subject: [UPDATE] net/livemedia to 20220207 WAS: net/livemedia - does an update make sense?
From: Volker Schlecht <openbsd-ports () schlecht ! dev>
Date: 2022-02-27 14:36:48
Message-ID: 6f7abc9e-45fa-130c-924c-a8b546d07e0b () schlecht ! dev
[Download RAW message or body]
In case you decide to keep it around, the attached diff builds and
portchecks cleanly for me. I have no idea how to test it, though.
I switched the mirror to https://download.videolan.org/contrib/live555/
since that's what most other ports/packages do.
On 2/25/22 20:47, Brad Smith wrote:
> On 2/25/2022 2:26 PM, Volker Schlecht wrote:
>> I just noticed that our version of net/livemedia is quite ancient. The
>> project is still actively developed
>> (http://live555.com/liveMedia/public/changelog.txt), however.
>>
>> Is it worth trying to update the port, or is nobody using it anymore?
>>
>> Just from scrolling through the changelogs, I'd say that keeping
>> around a 2012 version of that codebase doesn't look like a good idea.
>
>
> I was thinking about removing it. VLC currently has support disabled as
> what is in tree is too old API wise. Newer
> versions will not build with MPlayer as the codebase within MPlayer has
> not been maintained and will not build
> with newer Live555. The MPlayer maintainers have just disabled support
> by default with consideration for removing
> support. As added to their Changelog...
>
> * live555 deprecated and disabled by default, will be removed
> in future
>
["livemedia-20220207.diff" (text/x-patch)]
? build
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/livemedia/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile 12 Jul 2019 20:48:31 -0000 1.21
+++ Makefile 27 Feb 2022 14:22:52 -0000
@@ -2,18 +2,18 @@
COMMENT= LIVE555 streaming media library
-DISTNAME= live.2012.02.04
-PKGNAME= liveMedia-20120204
-REVISION = 4
+VERSION = 2022.02.07
+DISTNAME= live.${VERSION}
+PKGNAME= liveMedia-${VERSION:S/.//g}
CATEGORIES= net devel
-MASTER_SITES= https://comstyle.com/source/
+MASTER_SITES= https://download.videolan.org/contrib/live555/
HOMEPAGE= http://www.live555.com/liveMedia/
# LGPLv2.1+
PERMIT_PACKAGE= Yes
-WANTLIB= c m ${COMPILER_LIBCXX}
+WANTLIB= c m ssl crypto pthread ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/livemedia/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo 18 Jan 2015 03:14:42 -0000 1.9
+++ distinfo 27 Feb 2022 14:22:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (live.2012.02.04.tar.gz) = vVW3jXLYp7MqadVPGoUup8TmZrkCcqdAkRBbjJKS7M0=
-SIZE (live.2012.02.04.tar.gz) = 541332
+SHA256 (live.2022.02.07.tar.gz) = bwwfinHOtQa8v5abArSww2l7ThXa623LqYcsh0XOksY=
+SIZE (live.2022.02.07.tar.gz) = 687757
Index: files/config.fixed-openbsd
===================================================================
RCS file: /cvs/ports/net/livemedia/files/config.fixed-openbsd,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 config.fixed-openbsd
--- files/config.fixed-openbsd 19 Apr 2007 08:32:23 -0000 1.1.1.1
+++ files/config.fixed-openbsd 27 Feb 2022 14:22:52 -0000
@@ -13,6 +13,6 @@ CONSOLE_LINK_OPTS = $(LINK_OPTS)
LIBRARY_LINK = $(LD) -o
LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic
LIB_SUFFIX = a
-LIBS_FOR_CONSOLE_APPLICATION =
+LIBS_FOR_CONSOLE_APPLICATION = -lssl -lcrypto
LIBS_FOR_GUI_APPLICATION =
EXE =
Index: patches/patch-groupsock_GroupsockHelper_cpp
===================================================================
RCS file: patches/patch-groupsock_GroupsockHelper_cpp
diff -N patches/patch-groupsock_GroupsockHelper_cpp
--- patches/patch-groupsock_GroupsockHelper_cpp 28 Feb 2012 17:55:47 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-groupsock_GroupsockHelper_cpp,v 1.1 2012/02/28 17:55:47 stsp Exp $
-Fix "Unable to determine our source address: This computer has an
-invalid IP address: 0x7f000001"
---- groupsock/GroupsockHelper.cpp.orig Sat Feb 4 12:01:47 2012
-+++ groupsock/GroupsockHelper.cpp Sun Feb 26 14:51:00 2012
-@@ -582,7 +582,7 @@ netAddressBits ourIPAddress(UsageEnvironment& env) {
- break;
- }
-
-- loopbackWorks = 1;
-+ loopbackWorks = !badAddressForUs(fromAddr.sin_addr.s_addr);
- } while (0);
-
- if (sock >= 0) {
Index: patches/patch-groupsock_inet_c
===================================================================
RCS file: /cvs/ports/net/livemedia/patches/patch-groupsock_inet_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-groupsock_inet_c
--- patches/patch-groupsock_inet_c 28 Feb 2012 17:55:47 -0000 1.1
+++ patches/patch-groupsock_inet_c 27 Feb 2022 14:22:52 -0000
@@ -1,7 +1,8 @@
$OpenBSD: patch-groupsock_inet_c,v 1.1 2012/02/28 17:55:47 stsp Exp $
---- groupsock/inet.c.orig Sat Feb 4 12:01:47 2012
-+++ groupsock/inet.c Sun Feb 26 15:15:55 2012
-@@ -61,6 +61,10 @@ int initializeWinsockIfNecessary(void) { return 1; }
+Index: groupsock/inet.c
+--- groupsock/inet.c.orig
++++ groupsock/inet.c
+@@ -51,6 +51,10 @@ int initializeWinsockIfNecessary(void) { return 1; }
long our_random() {
#if defined(__WIN32__) || defined(_WIN32)
return rand();
Index: patches/patch-liveMedia_RTSPClient_cpp
===================================================================
RCS file: patches/patch-liveMedia_RTSPClient_cpp
diff -N patches/patch-liveMedia_RTSPClient_cpp
--- patches/patch-liveMedia_RTSPClient_cpp 10 Apr 2018 21:15:33 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-liveMedia_RTSPClient_cpp,v 1.4 2018/04/10 21:15:33 naddy Exp $
-
-Index: liveMedia/RTSPClient.cpp
---- liveMedia/RTSPClient.cpp.orig
-+++ liveMedia/RTSPClient.cpp
-@@ -837,7 +837,7 @@ Boolean RTSPClient::checkForHeader(char const* line, c
- // The line begins with the desired header name. Trim off any whitespace, and \
return the header parameters:
- unsigned paramIndex = headerNameLength;
- while (line[paramIndex] != '\0' && (line[paramIndex] == ' ' || line[paramIndex] \
== '\t')) ++paramIndex;
-- if (&line[paramIndex] == '\0') return False; // the header is assumed to be bad \
if it has no parameters
-+ if (line[paramIndex] == '\0') return False; // the header is assumed to be bad if \
it has no parameters
-
- headerParams = &line[paramIndex];
- return True;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/livemedia/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST 27 May 2012 09:04:11 -0000 1.5
+++ pkg/PLIST 27 Feb 2022 14:22:52 -0000
@@ -31,7 +31,6 @@ live/groupsock/include/IOHandlers.hh
live/groupsock/include/NetAddress.hh
live/groupsock/include/NetCommon.h
live/groupsock/include/NetInterface.hh
-live/groupsock/include/TunnelEncaps.hh
live/groupsock/include/groupsock_version.hh
live/groupsock/libgroupsock.a
live/groupsock/libgroupsock_pic.a
@@ -43,6 +42,7 @@ live/liveMedia/include/AC3AudioRTPSource
live/liveMedia/include/AC3AudioStreamFramer.hh
live/liveMedia/include/ADTSAudioFileServerMediaSubsession.hh
live/liveMedia/include/ADTSAudioFileSource.hh
+live/liveMedia/include/ADTSAudioStreamDiscreteFramer.hh
live/liveMedia/include/AMRAudioFileServerMediaSubsession.hh
live/liveMedia/include/AMRAudioFileSink.hh
live/liveMedia/include/AMRAudioFileSource.hh
@@ -55,6 +55,7 @@ live/liveMedia/include/AudioRTPSink.hh
live/liveMedia/include/Base64.hh
live/liveMedia/include/BasicUDPSink.hh
live/liveMedia/include/BasicUDPSource.hh
+live/liveMedia/include/BitVector.hh
live/liveMedia/include/ByteStreamFileSource.hh
live/liveMedia/include/ByteStreamMemoryBufferSource.hh
live/liveMedia/include/ByteStreamMultiFileSource.hh
@@ -62,7 +63,6 @@ live/liveMedia/include/DVVideoFileServer
live/liveMedia/include/DVVideoRTPSink.hh
live/liveMedia/include/DVVideoRTPSource.hh
live/liveMedia/include/DVVideoStreamFramer.hh
-live/liveMedia/include/DarwinInjector.hh
live/liveMedia/include/DeviceSource.hh
live/liveMedia/include/DigestAuthentication.hh
live/liveMedia/include/FileServerMediaSubsession.hh
@@ -71,6 +71,7 @@ live/liveMedia/include/FramedFileSource.
live/liveMedia/include/FramedFilter.hh
live/liveMedia/include/FramedSource.hh
live/liveMedia/include/GSMAudioRTPSink.hh
+live/liveMedia/include/GenericMediaServer.hh
live/liveMedia/include/H261VideoRTPSource.hh
live/liveMedia/include/H263plusVideoFileServerMediaSubsession.hh
live/liveMedia/include/H263plusVideoRTPSink.hh
@@ -82,11 +83,27 @@ live/liveMedia/include/H264VideoRTPSink.
live/liveMedia/include/H264VideoRTPSource.hh
live/liveMedia/include/H264VideoStreamDiscreteFramer.hh
live/liveMedia/include/H264VideoStreamFramer.hh
+live/liveMedia/include/H264or5VideoFileSink.hh
+live/liveMedia/include/H264or5VideoRTPSink.hh
+live/liveMedia/include/H264or5VideoStreamDiscreteFramer.hh
+live/liveMedia/include/H264or5VideoStreamFramer.hh
+live/liveMedia/include/H265VideoFileServerMediaSubsession.hh
+live/liveMedia/include/H265VideoFileSink.hh
+live/liveMedia/include/H265VideoRTPSink.hh
+live/liveMedia/include/H265VideoRTPSource.hh
+live/liveMedia/include/H265VideoStreamDiscreteFramer.hh
+live/liveMedia/include/H265VideoStreamFramer.hh
+live/liveMedia/include/HLSSegmenter.hh
+live/liveMedia/include/HMAC_SHA1.hh
+live/liveMedia/include/HMAC_hash.hh
live/liveMedia/include/InputFile.hh
+live/liveMedia/include/JPEG2000VideoRTPSink.hh
+live/liveMedia/include/JPEG2000VideoRTPSource.hh
live/liveMedia/include/JPEGVideoRTPSink.hh
live/liveMedia/include/JPEGVideoRTPSource.hh
live/liveMedia/include/JPEGVideoSource.hh
live/liveMedia/include/Locale.hh
+live/liveMedia/include/MIKEY.hh
live/liveMedia/include/MP3ADU.hh
live/liveMedia/include/MP3ADURTPSink.hh
live/liveMedia/include/MP3ADURTPSource.hh
@@ -94,7 +111,6 @@ live/liveMedia/include/MP3ADUTranscoder.
live/liveMedia/include/MP3ADUinterleaving.hh
live/liveMedia/include/MP3AudioFileServerMediaSubsession.hh
live/liveMedia/include/MP3FileSource.hh
-live/liveMedia/include/MP3HTTPSource.hh
live/liveMedia/include/MP3Transcoder.hh
live/liveMedia/include/MPEG1or2AudioRTPSink.hh
live/liveMedia/include/MPEG1or2AudioRTPSource.hh
@@ -110,6 +126,8 @@ live/liveMedia/include/MPEG1or2VideoStre
live/liveMedia/include/MPEG1or2VideoStreamFramer.hh
live/liveMedia/include/MPEG2IndexFromTransportStream.hh
live/liveMedia/include/MPEG2TransportFileServerMediaSubsession.hh
+live/liveMedia/include/MPEG2TransportStreamAccumulator.hh
+live/liveMedia/include/MPEG2TransportStreamDemux.hh
live/liveMedia/include/MPEG2TransportStreamFramer.hh
live/liveMedia/include/MPEG2TransportStreamFromESSource.hh
live/liveMedia/include/MPEG2TransportStreamFromPESSource.hh
@@ -133,11 +151,16 @@ live/liveMedia/include/Media.hh
live/liveMedia/include/MediaSession.hh
live/liveMedia/include/MediaSink.hh
live/liveMedia/include/MediaSource.hh
+live/liveMedia/include/MediaTranscodingTable.hh
live/liveMedia/include/MultiFramedRTPSink.hh
live/liveMedia/include/MultiFramedRTPSource.hh
+live/liveMedia/include/OggFile.hh
+live/liveMedia/include/OggFileServerDemux.hh
+live/liveMedia/include/OggFileSink.hh
live/liveMedia/include/OnDemandServerMediaSubsession.hh
live/liveMedia/include/OutputFile.hh
live/liveMedia/include/PassiveServerMediaSubsession.hh
+live/liveMedia/include/ProxyServerMediaSession.hh
live/liveMedia/include/QCELPAudioRTPSource.hh
live/liveMedia/include/QuickTimeFileSink.hh
live/liveMedia/include/QuickTimeGenericRTPSource.hh
@@ -147,18 +170,26 @@ live/liveMedia/include/RTPSink.hh
live/liveMedia/include/RTPSource.hh
live/liveMedia/include/RTSPClient.hh
live/liveMedia/include/RTSPCommon.hh
+live/liveMedia/include/RTSPRegisterSender.hh
live/liveMedia/include/RTSPServer.hh
-live/liveMedia/include/RTSPServerSupportingHTTPStreaming.hh
+live/liveMedia/include/RawVideoFrameParameters.hh
+live/liveMedia/include/RawVideoRTPSink.hh
+live/liveMedia/include/RawVideoRTPSource.hh
live/liveMedia/include/SIPClient.hh
+live/liveMedia/include/SRTPCryptographicContext.hh
live/liveMedia/include/ServerMediaSession.hh
live/liveMedia/include/SimpleRTPSink.hh
live/liveMedia/include/SimpleRTPSource.hh
live/liveMedia/include/StreamReplicator.hh
live/liveMedia/include/T140TextRTPSink.hh
-live/liveMedia/include/TCPStreamSink.hh
+live/liveMedia/include/TLSState.hh
live/liveMedia/include/TextRTPSink.hh
+live/liveMedia/include/TheoraVideoRTPSink.hh
+live/liveMedia/include/TheoraVideoRTPSource.hh
live/liveMedia/include/VP8VideoRTPSink.hh
live/liveMedia/include/VP8VideoRTPSource.hh
+live/liveMedia/include/VP9VideoRTPSink.hh
+live/liveMedia/include/VP9VideoRTPSource.hh
live/liveMedia/include/VideoRTPSink.hh
live/liveMedia/include/VorbisAudioRTPSink.hh
live/liveMedia/include/VorbisAudioRTPSource.hh
@@ -166,6 +197,7 @@ live/liveMedia/include/WAVAudioFileServe
live/liveMedia/include/WAVAudioFileSource.hh
live/liveMedia/include/liveMedia.hh
live/liveMedia/include/liveMedia_version.hh
+live/liveMedia/include/ourMD5.hh
live/liveMedia/include/uLawAudioFilter.hh
live/liveMedia/libliveMedia.a
live/liveMedia/libliveMedia_pic.a
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic