[wireguard/f29] - Release 0.0.20190406
by Robert-André Mauchin
commit d853128f0bc411e43d7d15e2375825e81411d096
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Apr 6 13:31:20 2019 +0200
- Release 0.0.20190406
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a9d4a70..c409cd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/WireGuard-0.0.20181218.tar.xz
/WireGuard-0.0.20190123.tar.xz
/WireGuard-0.0.20190227.tar.xz
+/WireGuard-0.0.20190406.tar.xz
diff --git a/sources b/sources
index 9217180..76f26e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-148748a50ed153cbc2f21c086e5623f9 WireGuard-0.0.20190227.tar.xz
+c11254fe48695e61c145a7e82756ecba WireGuard-0.0.20190406.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index c33082a..4d47950 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,7 +1,7 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20190227
-Release: 2%{?dist}
+Version: 0.0.20190406
+Release: 1%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -74,6 +74,9 @@ sed -i '1s@/usr/bin/env bash@/bin/bash@' contrib/examples/ncat-client-server/cli
%changelog
+* Sat Apr 06 13:29:56 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190406-1
+- Release 0.0.20190406
+
* Thu Mar 07 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-2
- Unifying spec with Lubomir Rintel's one
- Rebuilt for akmods-ostree-post scriptlet
5 years, 7 months
[wireguard/f30] - Release 0.0.20190406
by Robert-André Mauchin
commit 8dfe0dd22349adb8bf5a45669e4f7578dc015249
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Apr 6 13:31:20 2019 +0200
- Release 0.0.20190406
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a9d4a70..c409cd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/WireGuard-0.0.20181218.tar.xz
/WireGuard-0.0.20190123.tar.xz
/WireGuard-0.0.20190227.tar.xz
+/WireGuard-0.0.20190406.tar.xz
diff --git a/sources b/sources
index 9217180..76f26e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-148748a50ed153cbc2f21c086e5623f9 WireGuard-0.0.20190227.tar.xz
+c11254fe48695e61c145a7e82756ecba WireGuard-0.0.20190406.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 2ca3050..59a3be5 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,7 +1,7 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20190227
-Release: 3%{?dist}
+Version: 0.0.20190406
+Release: 1%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -74,6 +74,9 @@ sed -i '1s@/usr/bin/env bash@/bin/bash@' contrib/examples/ncat-client-server/cli
%changelog
+* Sat Apr 06 13:29:56 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190406-1
+- Release 0.0.20190406
+
* Thu Mar 07 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-3
- Unifying spec with Lubomir Rintel's one
- Rebuilt for akmods-ostree-post scriptlet
5 years, 7 months
[wireguard-kmod/f30] Release 0.0.20190406
by Robert-André Mauchin
commit a94183634ab06143bc4630237dedb2d630251362
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Apr 6 13:32:55 2019 +0200
Release 0.0.20190406
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
.gitignore | 1 +
sources | 2 +-
wireguard-kmod.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a9d4a70..c409cd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/WireGuard-0.0.20181218.tar.xz
/WireGuard-0.0.20190123.tar.xz
/WireGuard-0.0.20190227.tar.xz
+/WireGuard-0.0.20190406.tar.xz
diff --git a/sources b/sources
index 9217180..76f26e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-148748a50ed153cbc2f21c086e5623f9 WireGuard-0.0.20190227.tar.xz
+c11254fe48695e61c145a7e82756ecba WireGuard-0.0.20190406.tar.xz
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index c183f2f..41789e9 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -3,8 +3,8 @@
Name: wireguard-kmod
Summary: Kernel module (kmod) for Wireguard
-Version: 0.0.20190227
-Release: 3%{?dist}
+Version: 0.0.20190406
+Release: 1%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -58,6 +58,9 @@ done
%changelog
+* Sat Apr 06 13:32:03 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190406-1
+- Release 0.0.20190406
+
* Thu Apr 04 19:27:39 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-3
- Rebuilt for akmods-ostree-post scriptlet
5 years, 7 months
[wireguard-kmod] Release 0.0.20190406
by Robert-André Mauchin
commit 04f374422c2f102d05eca14fbb3409afc7d22279
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Apr 6 13:32:55 2019 +0200
Release 0.0.20190406
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
.gitignore | 1 +
sources | 2 +-
wireguard-kmod.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a9d4a70..c409cd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/WireGuard-0.0.20181218.tar.xz
/WireGuard-0.0.20190123.tar.xz
/WireGuard-0.0.20190227.tar.xz
+/WireGuard-0.0.20190406.tar.xz
diff --git a/sources b/sources
index 9217180..76f26e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-148748a50ed153cbc2f21c086e5623f9 WireGuard-0.0.20190227.tar.xz
+c11254fe48695e61c145a7e82756ecba WireGuard-0.0.20190406.tar.xz
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index c183f2f..41789e9 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -3,8 +3,8 @@
Name: wireguard-kmod
Summary: Kernel module (kmod) for Wireguard
-Version: 0.0.20190227
-Release: 3%{?dist}
+Version: 0.0.20190406
+Release: 1%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -58,6 +58,9 @@ done
%changelog
+* Sat Apr 06 13:32:03 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190406-1
+- Release 0.0.20190406
+
* Thu Apr 04 19:27:39 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-3
- Rebuilt for akmods-ostree-post scriptlet
5 years, 7 months
[wireguard] - Release 0.0.20190406
by Robert-André Mauchin
commit 5a96d6cc4f45c249209f34e6ec9109b47350de6a
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Apr 6 13:31:20 2019 +0200
- Release 0.0.20190406
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
.gitignore | 1 +
sources | 2 +-
wireguard.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a9d4a70..c409cd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/WireGuard-0.0.20181218.tar.xz
/WireGuard-0.0.20190123.tar.xz
/WireGuard-0.0.20190227.tar.xz
+/WireGuard-0.0.20190406.tar.xz
diff --git a/sources b/sources
index 9217180..76f26e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-148748a50ed153cbc2f21c086e5623f9 WireGuard-0.0.20190227.tar.xz
+c11254fe48695e61c145a7e82756ecba WireGuard-0.0.20190406.tar.xz
diff --git a/wireguard.spec b/wireguard.spec
index 2ca3050..59a3be5 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,7 +1,7 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
-Version: 0.0.20190227
-Release: 3%{?dist}
+Version: 0.0.20190406
+Release: 1%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -74,6 +74,9 @@ sed -i '1s@/usr/bin/env bash@/bin/bash@' contrib/examples/ncat-client-server/cli
%changelog
+* Sat Apr 06 13:29:56 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190406-1
+- Release 0.0.20190406
+
* Thu Mar 07 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-3
- Unifying spec with Lubomir Rintel's one
- Rebuilt for akmods-ostree-post scriptlet
5 years, 7 months
[ffmpeg/f28: 4/4] Merge branch 'f29' into f28
by Nicolas Chauvet
commit b2fd18c8c26ba60ccd424862294dfa804f52a735
Merge: aa225a5 ce5ad63
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 12:26:45 2019 +0200
Merge branch 'f29' into f28
4361293fcf59edb56879c36edcd25f0a91e0edf8.patch | 32 ++++++++++++++++++++++++++
4a6d5f3cadaabefe6c3548e575bb7e713997762f.patch | 29 +++++++++++++++++++++++
4a976200d7853588336005a394dd31d905f5caf6.patch | 22 ++++++++++++++++++
ffmpeg.spec | 16 ++++++++++++-
4 files changed, 98 insertions(+), 1 deletion(-)
---
5 years, 7 months
[ffmpeg/f28] (4 commits) ...Merge branch 'f29' into f28
by Nicolas Chauvet
Summary of changes:
1e9f485... Backport upstream patch (*)
15dc5d9... Backport for Enable HEVC support for working Nvidia driver (*)
ce5ad63... Update changelog (*)
b2fd18c... Merge branch 'f29' into f28
(*) This commit already existed in another branch; no separate mail sent
5 years, 7 months
[ffmpeg/f29] Update changelog
by Nicolas Chauvet
commit ce5ad63e60cd85daee734c3bab345e3d0998712b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 12:25:37 2019 +0200
Update changelog
ffmpeg.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index a8193f3..d09e407 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -89,7 +89,7 @@ ExclusiveArch: armv7hnl
Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor}
Version: 4.0.4
-Release: 1%{?date}%{?date:git}%{?rel}%{?dist}
+Release: 2%{?date}%{?date:git}%{?rel}%{?dist}
License: %{ffmpeg_license}
URL: http://ffmpeg.org/
%if 0%{?date}
@@ -441,6 +441,10 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
%changelog
+* Sat Apr 06 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 4.0.4-2
+- Backport avutil/mem: Fix invalid use of av_alloc_size - rfbz#5149
+- Backport Enable HEVC support for working Nvidia driver versions - rfbz#5149
+
* Thu Mar 28 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 4.0.4-1
- Update to 4.0.4 release
5 years, 7 months
[ffmpeg/f29] Backport for Enable HEVC support for working Nvidia driver versions
by Nicolas Chauvet
commit 15dc5d91727f7891af67b23f200db7db92a02d0f
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 12:23:21 2019 +0200
Backport for Enable HEVC support for working Nvidia driver versions
4a6d5f3cadaabefe6c3548e575bb7e713997762f.patch | 29 ++++++++++++++++++++++++++
4a976200d7853588336005a394dd31d905f5caf6.patch | 22 +++++++++++++++++++
ffmpeg.spec | 6 ++++++
3 files changed, 57 insertions(+)
---
diff --git a/4a6d5f3cadaabefe6c3548e575bb7e713997762f.patch b/4a6d5f3cadaabefe6c3548e575bb7e713997762f.patch
new file mode 100644
index 0000000..0d2e2ba
--- /dev/null
+++ b/4a6d5f3cadaabefe6c3548e575bb7e713997762f.patch
@@ -0,0 +1,29 @@
+commit 4a6d5f3cadaabefe6c3548e575bb7e713997762f
+Author: ManojGuptaBonda <mbonda(a)nvidia.com>
+Date: Mon Oct 29 13:39:54 2018 +0530
+
+ avcodec/vdpau: Enable HEVC support for working Nvidia driver versions
+
+ The driver bugs that caused decoded HEVC content to have an incorrect
+ memory layout have been fully fixed in the 410.xx driver release so
+ we can start exposing support.
+
+diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
+index 1b2ec989cd..59454e8c4b 100644
+--- a/libavcodec/vdpau.c
++++ b/libavcodec/vdpau.c
+@@ -208,8 +208,12 @@ int ff_vdpau_common_init(AVCodecContext *avctx, VdpDecoderProfile profile,
+ return vdpau_error(status);
+ if (avctx->codec_id == AV_CODEC_ID_HEVC && strncmp(info_string, "NVIDIA ", 7) == 0 &&
+ !(avctx->hwaccel_flags & AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH)) {
+- av_log(avctx, AV_LOG_VERBOSE, "HEVC with NVIDIA VDPAU drivers is buggy, skipping.\n");
+- return AVERROR(ENOTSUP);
++ int driver_version;
++ sscanf(info_string, "NVIDIA VDPAU Driver Shared Library %d", &driver_version);
++ if (driver_version < 410) {
++ av_log(avctx, AV_LOG_VERBOSE, "HEVC with NVIDIA VDPAU drivers is buggy, skipping.\n");
++ return AVERROR(ENOTSUP);
++ }
+ }
+
+ status = vdctx->get_proc_address(vdctx->device,
diff --git a/4a976200d7853588336005a394dd31d905f5caf6.patch b/4a976200d7853588336005a394dd31d905f5caf6.patch
new file mode 100644
index 0000000..b599d2f
--- /dev/null
+++ b/4a976200d7853588336005a394dd31d905f5caf6.patch
@@ -0,0 +1,22 @@
+commit 4a976200d7853588336005a394dd31d905f5caf6
+Author: Philip Langdale <philipl(a)overt.org>
+Date: Wed Oct 31 16:58:09 2018 -0700
+
+ avcodec/vdpau: Initialise driver version variable explicitly
+
+ If the identification string ever changed, we might not match anything
+ in the sscanf(). At least have predictable behaviour.
+
+diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
+index 59454e8c4b..167f06d7ae 100644
+--- a/libavcodec/vdpau.c
++++ b/libavcodec/vdpau.c
+@@ -208,7 +208,7 @@ int ff_vdpau_common_init(AVCodecContext *avctx, VdpDecoderProfile profile,
+ return vdpau_error(status);
+ if (avctx->codec_id == AV_CODEC_ID_HEVC && strncmp(info_string, "NVIDIA ", 7) == 0 &&
+ !(avctx->hwaccel_flags & AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH)) {
+- int driver_version;
++ int driver_version = 0;
+ sscanf(info_string, "NVIDIA VDPAU Driver Shared Library %d", &driver_version);
+ if (driver_version < 410) {
+ av_log(avctx, AV_LOG_VERBOSE, "HEVC with NVIDIA VDPAU drivers is buggy, skipping.\n");
diff --git a/ffmpeg.spec b/ffmpeg.spec
index de38bb8..a8193f3 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -102,6 +102,10 @@ Patch0: 87cc7e8d4ef8fa643d8d4822525b9c95cc9e7307.patch
#Backport avutil/mem: Fix invalid use of av_alloc_size
#See rfbz#5221
Patch1: 4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
+#Backport Enable HEVC support for working Nvidia driver versions
+Patch2: 4a6d5f3cadaabefe6c3548e575bb7e713997762f.patch
+Patch3: 4a976200d7853588336005a394dd31d905f5caf6.patch
+
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel}
%{?_with_libnpp:BuildRequires: pkgconfig(nppc-%{_cuda_version})}
@@ -328,6 +332,8 @@ echo "git-snapshot-%{?branch}%{date}-rpmfusion" > VERSION
%endif
%patch0 -p1 -b .vmaf_build
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
# fix -O3 -g in host_cflags
sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure
5 years, 7 months
[ffmpeg/f29] Backport upstream patch
by Nicolas Chauvet
commit 1e9f485a4912eb740cd1654c02adf96ddc86f916
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 10:06:31 2019 +0200
Backport upstream patch
4361293fcf59edb56879c36edcd25f0a91e0edf8.patch | 32 ++++++++++++++++++++++++++
ffmpeg.spec | 4 ++++
2 files changed, 36 insertions(+)
---
diff --git a/4361293fcf59edb56879c36edcd25f0a91e0edf8.patch b/4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
new file mode 100644
index 0000000..7ade867
--- /dev/null
+++ b/4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
@@ -0,0 +1,32 @@
+From 4361293fcf59edb56879c36edcd25f0a91e0edf8 Mon Sep 17 00:00:00 2001
+From: Mark Harris <mark.hsj(a)gmail.com>
+Date: Sat, 24 Nov 2018 13:02:02 -0800
+Subject: [PATCH 1/1] avutil/mem: Fix invalid use of av_alloc_size
+
+The alloc_size attribute is valid only on functions that return a
+pointer. GCC 9 (not yet released) warns about invalid usage:
+
+./libavutil/mem.h:342:1: warning: 'alloc_size' attribute ignored on a function returning int' [-Wattributes]
+ 342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
+ | ^~~~~~~~~~~~~
+
+Signed-off-by: Michael Niedermayer <michael(a)niedermayer.cc>
+---
+ libavutil/mem.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libavutil/mem.h b/libavutil/mem.h
+index 55ae573..5fb1a02 100644
+--- a/libavutil/mem.h
++++ b/libavutil/mem.h
+@@ -339,7 +339,7 @@ av_alloc_size(2, 3) void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
+ * @warning Unlike av_malloc(), the allocated memory is not guaranteed to be
+ * correctly aligned.
+ */
+-av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
++int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
+
+ /**
+ * Reallocate the given buffer if it is not large enough, otherwise do nothing.
+--
+2.7.4
diff --git a/ffmpeg.spec b/ffmpeg.spec
index b16f606..de38bb8 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -99,6 +99,9 @@ Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
%endif
# Backport from master to allow vmaf 1.3.9
Patch0: 87cc7e8d4ef8fa643d8d4822525b9c95cc9e7307.patch
+#Backport avutil/mem: Fix invalid use of av_alloc_size
+#See rfbz#5221
+Patch1: 4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel}
%{?_with_libnpp:BuildRequires: pkgconfig(nppc-%{_cuda_version})}
@@ -324,6 +327,7 @@ echo "git-snapshot-%{?branch}%{date}-rpmfusion" > VERSION
%setup -q -n ffmpeg-%{version}
%endif
%patch0 -p1 -b .vmaf_build
+%patch1 -p1
# fix -O3 -g in host_cflags
sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure
5 years, 7 months