[libndi/f33] Initial import
by Nicolas Chauvet
Summary of changes:
8a41a8c... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 8 months
[libndi/f34] Initial import
by Nicolas Chauvet
Summary of changes:
8a41a8c... Initial import (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 8 months
[libndi] Initial import
by Nicolas Chauvet
commit 8a41a8c948866345dfba74f9a85fa1bc34a69e27
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Mar 20 16:48:42 2021 +0100
Initial import
.gitignore | 1 +
libndi.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 77 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b9a8405 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+libndi-*.tar.gz
diff --git a/libndi.spec b/libndi.spec
new file mode 100644
index 0000000..d8abb9d
--- /dev/null
+++ b/libndi.spec
@@ -0,0 +1,75 @@
+%global commit0 c14b40caafb26a02249f062e7f907ceaa53c1b74
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+
+Name: libndi
+Version: 0.0.1
+Release: 2.git%{?shortcommit0}%{?dist}
+Summary: Open-source library done to interact with NDI streams
+
+License: LGPLv2+
+URL: https://code.videolan.org/jbk/libndi
+Source0: %{url}/-/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: meson
+BuildRequires: cmake
+
+BuildRequires: ffmpeg-devel
+BuildRequires: pkgconfig(microdns)
+
+
+%description
+The goal of this project is to provide a way to interact with NDI streams,
+without requiring to use a non-open-source SDK, and targetting numerous
+platforms. The library is now at an alpha level of quality, do not use
+in production.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package utils
+Summary: Utility for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description utils
+The %{name}-utils package contains utilities for %{name}.
+
+
+%prep
+%autosetup -p1 -n %{name}-%{commit0}
+
+
+%build
+%meson
+%meson_build
+
+
+%install
+%meson_install
+
+
+%{?ldconfig_scriptlets}
+
+
+%files
+%license COPYING
+%doc NEWS README.md
+%{_libdir}/libndi.so.0*
+
+%files devel
+%{_includedir}/libndi.h
+%{_libdir}/libndi.so
+
+%files utils
+%{_bindir}/ndi
+
+
+%changelog
+* Wed Feb 24 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.0.1-2.gitc14b40c
+- Initial spec file
diff --git a/sources b/sources
index e69de29..21fe670 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libndi-c14b40c.tar.gz) = 62719b8ed80c1c14488c12245859fe4dcd1f5ff877604c976e6dfc794c581a140ab5688a8e5b860ccba6108119ac59f7d63502e13ea83dc40a04964cbaa055f8
3 years, 8 months
[minidlna] Fix core dump (BZ #5938) Fix leaked sockets by correctly initialising the ev struct
by Andrea Musuruane
commit 833fae19709871397c7749b46fef3977375f0669
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sat Mar 20 16:43:34 2021 +0100
Fix core dump (BZ #5938)
Fix leaked sockets by correctly initialising the ev struct
minidlna-1.3.0-fd-leak.patch | 28 ++++++++++++++++++++++++++++
minidlna-1.3.0-select_use_after_free.patch | 12 ++++++++++++
minidlna.spec | 13 ++++++++++++-
3 files changed, 52 insertions(+), 1 deletion(-)
---
diff --git a/minidlna-1.3.0-fd-leak.patch b/minidlna-1.3.0-fd-leak.patch
new file mode 100644
index 0000000..eec2bcd
--- /dev/null
+++ b/minidlna-1.3.0-fd-leak.patch
@@ -0,0 +1,28 @@
+diff --git a/upnpevents.c b/upnpevents.c
+index 4de6ce8..1126fa7 100644
+--- a/upnpevents.c
++++ b/upnpevents.c
+@@ -290,18 +290,17 @@ upnp_event_create_notify(struct subscriber *sub)
+ addr.sin_family = AF_INET;
+ inet_aton(obj->addrstr, &addr.sin_addr);
+ addr.sin_port = htons(port);
+- DPRINTF(E_DEBUG, L_HTTP, "%s: '%s' %hu '%s'\n", "upnp_event_notify_connect",
++ DPRINTF(E_DEBUG, L_HTTP, "%s: '%s' %hu '%s'\n", "upnp_event_create_notify",
+ obj->addrstr, port, obj->path);
+ obj->state = EConnecting;
++ obj->ev = (struct event ){ .fd = s, .rdwr = EVENT_WRITE,
++ .process = upnp_event_process_notify, .data = obj };
++ event_module.add(&obj->ev);
+ if(connect(s, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
+ if(errno != EINPROGRESS && errno != EWOULDBLOCK) {
+- DPRINTF(E_ERROR, L_HTTP, "%s: connect(): %s\n", "upnp_event_notify_connect", strerror(errno));
++ DPRINTF(E_ERROR, L_HTTP, "%s: connect(): %s\n", "upnp_event_create_notify", strerror(errno));
+ obj->state = EError;
+ }
+- } else {
+- obj->ev = (struct event ){ .fd = s, .rdwr = EVENT_WRITE,
+- .process = upnp_event_process_notify, .data = obj };
+- event_module.add(&obj->ev);
+ }
+
+ return;
diff --git a/minidlna-1.3.0-select_use_after_free.patch b/minidlna-1.3.0-select_use_after_free.patch
new file mode 100644
index 0000000..6a29b08
--- /dev/null
+++ b/minidlna-1.3.0-select_use_after_free.patch
@@ -0,0 +1,12 @@
+fix potential use-after-free in child process
+diff -wpruN '--exclude=*.orig' a~/select.c a/select.c
+--- a~/select.c 1970-01-01 00:00:00
++++ a/select.c 1970-01-01 00:00:00
+@@ -83,6 +83,7 @@ select_fini(void)
+
+ free(events);
+ events = NULL;
++ nevents = 0;
+ }
+
+ static int
diff --git a/minidlna.spec b/minidlna.spec
index a07e1a4..1c3d012 100644
--- a/minidlna.spec
+++ b/minidlna.spec
@@ -1,7 +1,8 @@
%global _lto_cflags %{nil}
+
Name: minidlna
Version: 1.3.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Lightweight DLNA/UPnP-AV server targeted at embedded systems
License: GPLv2
@@ -14,6 +15,12 @@ Source2: %{name}-tmpfiles.conf
# Fix compiling with -fno-common
# https://sourceforge.net/p/minidlna/bugs/332/
Patch0: %{name}-1.3.0-fno-common.patch
+# Fix core dump
+# https://sourceforge.net/p/minidlna/bugs/333/
+Patch1: %{name}-1.3.0-select_use_after_free.patch
+# Fix leaked sockets by correctly initialising the ev struct
+# https://bugs.gentoo.org/768030
+Patch2: %{name}-1.3.0-fd-leak.patch
BuildRequires: make
BuildRequires: gcc
@@ -127,6 +134,10 @@ exit 0
%changelog
+* Sat Mar 20 2021 Andrea Musuruane <musuruan(a)gmail.com> - 1.3.0-4
+- Fix core dump (BZ #5938)
+- Fix leaked sockets by correctly initialising the ev struct
+
* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3 years, 8 months
[EmptyEpsilon] Rebase to version 2021.03.16
by Michal Schorm
commit 64649c0d1cd0ee3d7004379c0a84d0711a9032ed
Author: Michal Schorm <mschorm(a)redhat.com>
Date: Sat Mar 20 02:17:55 2021 +0100
Rebase to version 2021.03.16
.gitignore | 2 ++
EmptyEpsilon.spec | 14 +++++++-------
sources | 4 ++--
3 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3a935ee..ed9f085 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@
/SeriousProton-EE-2020.08.25.zip
/EmptyEpsilon-EE-2020.11.23.zip
/SeriousProton-EE-2020.11.23.zip
+/EmptyEpsilon-EE-2021.03.16.zip
+/SeriousProton-EE-2021.03.16.zip
diff --git a/EmptyEpsilon.spec b/EmptyEpsilon.spec
index e4ef778..92b2f6c 100644
--- a/EmptyEpsilon.spec
+++ b/EmptyEpsilon.spec
@@ -1,13 +1,13 @@
-%global version_major 2020
-%global version_minor 11
-%global version_patch 23
+%global version_major 2021
+%global version_minor 03
+%global version_patch 16
%undefine __cmake_in_source_build
Name: EmptyEpsilon
Summary: Spaceship bridge simulator game
Version: %{version_major}.%{version_minor}.%{version_patch}
-Release: 2%{?dist}
+Release: 1%{?dist}
License: GPLv2
Recommends: xclip
BuildRequires: cmake3
@@ -47,9 +47,6 @@ Note: Network play require port 35666 UDP and TCP allowed in firewall.
%install
%cmake3_install
-# auto-generated help from /usr to buildroot
-mv %{buildroot}%{_prefix}/script_reference.html ./
-
# icon to pixmaps
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -p -m 644 ./logo.png %{buildroot}%{_datadir}/pixmaps/EmptyEpsilon.png
@@ -78,6 +75,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}.desktop
%changelog
+* Fri Mar 19 2021 Michal Schorm <mschorm(a)redhat.com> - 2021.03.16-1
+- Rebase to version 2021.03.16
+
* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2020.11.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index e63c528..366c32d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (EmptyEpsilon-EE-2020.11.23.zip) = 9cbd9217216aa6836eea6e816c3be0c9f6bee9f0547e9dbdc994fb2a39ee22980055830238444a7a312d4da6ea3cc5981e0fdda49d31da10d01e0dafecb377db
-SHA512 (SeriousProton-EE-2020.11.23.zip) = 64790a8117f933a1c2e11d859d08dfab6954e594808db0c6fb0db75129ef44f9431ba84e7436649825b947e1884e8e5261fbf452241a6d714126c9f3cb438a4f
+SHA512 (EmptyEpsilon-EE-2021.03.16.zip) = 3e59d092b029204cb3e3242b217d3842f66ce88c8f667f75832047606d1916b5e81d9aecba6cc1f073762efcf6a63e83098c54ba8a38dbd62a2bb3719028d863
+SHA512 (SeriousProton-EE-2021.03.16.zip) = 26633007d0f72e2f6ca5ca68d100879dd70e632a11c450fd615737e22be9b9462da8183625ffbe269c5f20382b41c1f158896f5908d629e009c2aa79b7de3576
3 years, 8 months
[nvidia-xconfig/el8: 3/3] Merge branch 'master' into el8
by Leigh Scott
commit 5cef978a137ef6429acb8df54e091fd2a9bb7cfe
Merge: fca3658 2301b13
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Mar 19 09:10:05 2021 +0000
Merge branch 'master' into el8
nvidia-xconfig.spec | 7 ++++++-
sources | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
---
3 years, 8 months