guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: readymedia: Update to 1.3.0.


From: guix-commits
Subject: 03/05: gnu: readymedia: Update to 1.3.0.
Date: Wed, 6 Jan 2021 02:38:21 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 406008a2ac8b03317623a9967ec2e5fd3dca7650
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jan 6 09:34:29 2021 +0200

    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.
---
 gnu/packages/upnp.scm | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm
index fed5eb1..9106dd1 100644
--- a/gnu/packages/upnp.scm
+++ b/gnu/packages/upnp.scm
@@ -26,6 +26,7 @@
   #: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 @@ and others.")
 (define-public readymedia
   (package
     (name "readymedia")
-    (version "1.2.1")
+    (version "1.3.0")
     (source
      (origin
        (method git-fetch)
@@ -137,8 +138,17 @@ and others.")
        (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 @@ and others.")
        ("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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]