gnu: readymedia: Update to 1.3.0.

Fixes CVE-2020-28926.

* gnu/packages/upnp.scm (readymedia): Update to 1.3.0.
[arguments]: Add configure-flag to not record kernel version of build
machine. Add phase to remove spurious substitution of ffmpeg libraries.
[inputs]: Add zlib.
This commit is contained in:
Efraim Flashner 2021-01-06 09:34:29 +02:00
parent de194a39d3
commit 406008a2ac
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -26,6 +26,7 @@ (define-module (gnu packages upnp)
#:use-module (gnu packages)
#:use-module (gnu packages gettext)
#:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
#:use-module (gnu packages video)
#:use-module (gnu packages photo)
#:use-module (gnu packages image)
@ -126,7 +127,7 @@ (define-public libupnp
(define-public readymedia
(package
(name "readymedia")
(version "1.2.1")
(version "1.3.0")
(source
(origin
(method git-fetch)
@ -137,8 +138,17 @@ (define-public readymedia
(file-name (git-file-name name version))
(sha256
(base32
"160915yv38k0p5zmyncs12kkbbcd8m8fk9jq70fkfd5x6dz40xm4"))))
"0g04lffj37wdv5bnpl5faxpnmlj6bbk8y7ziaz2wp6h82g6kb5wj"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--with-os-name=Linux") ; uname -s
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-source
(lambda _
(substitute* "Makefile.am"
((".*LIBAVUTIL_LIBS.*") ""))
#t)))))
(native-inputs
`(("automake" ,automake)
("autoconf" ,autoconf)
@ -150,7 +160,8 @@ (define-public readymedia
("flac" ,flac)
("libvorbis" ,libvorbis)
("sqlite" ,sqlite)
("ffmpeg" ,ffmpeg)))
("ffmpeg" ,ffmpeg)
("zlib" ,zlib)))
(home-page "https://sourceforge.net/projects/minidlna/")
(synopsis "DLNA/UPnP-AV media server")
(description "ReadyMedia (formerly known as MiniDLNA) is a simple media