plautrba pushed to policycoreutils (rawhide). "policycoreutils-3.3-5
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:38:38 UTC
From e68faf500b289ff9120062a08016c57ea3023e58 Mon Sep 17 00:00:00 2001
From: Petr Lautrbach <plautrba(a)redhat.com>
Date: Feb 22 2022 09:07:05 +0000
Subject: policycoreutils-3.3-5
- Improve error message when selabel_open fails
---
diff --git a/0026-policycoreutils-Improve-error-message-when-selabel_o.patch b/0026-policycoreutils-Improve-error-message-when-selabel_o.patch
new file mode 100644
index 0000000..46617fe
--- /dev/null
+++ b/0026-policycoreutils-Improve-error-message-when-selabel_o.patch
@@ -0,0 +1,41 @@
+From d83caa39d7ff497bddabb54619a8985227ad1264 Mon Sep 17 00:00:00 2001
+From: Vit Mojzis <vmojzis(a)redhat.com>
+Date: Mon, 10 Jan 2022 18:35:27 +0100
+Subject: [PATCH] policycoreutils: Improve error message when selabel_open
+ fails
+
+When selabel_open fails to locate file_context files and
+selabel_opt_path is not specified (e.g. when the policy type is
+missconfigured in /etc/selinux/config), perror only prints
+"No such file or directory".
+This can be confusing in case of "restorecon" since it's
+not apparent that the issue is in policy store.
+
+Before:
+ \# restorecon -v /tmp/foo.txt
+ No such file or directory
+After:
+ \# restorecon -v /tmp/foo.txt
+ /etc/selinux/yolo/contexts/files/file_contexts: No such file or directory
+
+Signed-off-by: Vit Mojzis <vmojzis(a)redhat.com>
+---
+ policycoreutils/setfiles/restore.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/policycoreutils/setfiles/restore.c b/policycoreutils/setfiles/restore.c
+index 74d48bb3752d..e9ae33ad039a 100644
+--- a/policycoreutils/setfiles/restore.c
++++ b/policycoreutils/setfiles/restore.c
+@@ -29,7 +29,7 @@ void restore_init(struct restore_opts *opts)
+
+ opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3);
+ if (!opts->hnd) {
+- perror(opts->selabel_opt_path);
++ perror(opts->selabel_opt_path ? opts->selabel_opt_path : selinux_file_context_path());
+ exit(1);
+ }
+
+--
+2.35.1
+
diff --git a/policycoreutils.spec b/policycoreutils.spec
index bff54d6..afd4a43 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -11,7 +11,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 3.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2
# https://github.com/SELinuxProject/selinux/wiki/Releases
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.3/selinux-3...
@@ -56,6 +56,7 @@ Patch0022: 0022-semodule-Don-t-forget-to-munmap-data.patch
Patch0023: 0023-semodule-libsemanage-move-module-hashing-into-libsem.patch
Patch0024: 0024-semodule-add-command-line-option-to-detect-module-ch.patch
Patch0025: 0025-policycoreutils-fixfiles-Use-parallel-relabeling.patch
+Patch0026: 0026-policycoreutils-Improve-error-message-when-selabel_o.patch
# Patch list end
Obsoletes: policycoreutils < 2.0.61-2
@@ -482,6 +483,9 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service
%changelog
+* Tue Feb 22 2022 Petr Lautrbach <plautrba(a)redhat.com> - 3.3-5
+- Improve error message when selabel_open fails
+
* Sat Feb 19 2022 Petr Lautrbach <plautrba(a)redhat.com> - 3.3-4
- semodule: add command-line option to detect module changes
- fixfiles: Use parallel relabeling
https://src.fedoraproject.org/rpms/policycoreutils/c/e68faf500b289ff91200...
2Â years, 1Â month
smani pushed to mingw-filesystem (f35). "Bump release"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:34:41 UTC
From ae9028c3518f1b0962d4f66859bae4fcb04f73f1 Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro(a)gmail.com>
Date: Feb 10 2022 15:52:43 +0000
Subject: Bump release
---
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index 64c6105..0195735 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -7,7 +7,7 @@
Name: mingw-filesystem
Version: 131
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW cross compiler base filesystem and environment
License: GPLv2+
@@ -358,6 +358,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
%changelog
+* Thu Feb 10 2022 Sandro Mani <manisandro(a)gmail.com> - 131-2
+- Bump release
+
* Thu Feb 10 2022 Sandro Mani <manisandro(a)gmail.com> - 131-1
- Move python dependency generation to mingw32/64_python3.attr in mingw-python3 package
- More generic mingw_pkg_name macros to also deduce mingw package name from native name
https://src.fedoraproject.org/rpms/mingw-filesystem/c/ae9028c3518f1b0962d...
2Â years, 1Â month
smani pushed to mingw-filesystem (f35). "Create build_winXX
directories with mkdir -p"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:34:41 UTC
From a1c19e33ff01fc8d2dcbfc428ececdba7805ed6e Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro(a)gmail.com>
Date: Feb 22 2022 09:34:23 +0000
Subject: Create build_winXX directories with mkdir -p
---
diff --git a/macros.mingw b/macros.mingw
index 5e5b5f0..034c5b8 100644
--- a/macros.mingw
+++ b/macros.mingw
@@ -37,13 +37,13 @@ run_mingw_configure() \
[ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \
done ; \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_configure} "$@" \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_configure} "$@" \
popd \
@@ -67,13 +67,13 @@ run_mingw_make
run_mingw_cmake() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_cmake "$@"} \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_cmake "$@"} \
popd \
@@ -85,13 +85,13 @@ run_mingw_cmake
run_mingw_cmake_kde4() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_cmake_kde4 "$@"} \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_cmake_kde4 "$@"} \
popd \
@@ -103,13 +103,13 @@ run_mingw_cmake_kde4
run_mingw_qmake_qt4() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_qmake_qt4} "$@" \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_qmake_qt4} "$@" \
popd \
@@ -121,13 +121,13 @@ run_mingw_qmake_qt4
run_mingw_qmake_qt5() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_qmake_qt5} "$@" \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_qmake_qt5} "$@" \
popd \
@@ -139,13 +139,13 @@ run_mingw_qmake_qt5
run_mingw_meson() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_meson "$@"} \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_meson "$@"} \
popd \
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index 0195735..acea6f2 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -6,8 +6,8 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: mingw-filesystem
-Version: 131
-Release: 2%{?dist}
+Version: 132
+Release: 1%{?dist}
Summary: MinGW cross compiler base filesystem and environment
License: GPLv2+
@@ -358,6 +358,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
%changelog
+* Mon Feb 21 2022 Sandro Mani <manisandro(a)gmail.com> - 132-1
+- Create build_winXX directories with mkdir -p
+
* Thu Feb 10 2022 Sandro Mani <manisandro(a)gmail.com> - 131-2
- Bump release
https://src.fedoraproject.org/rpms/mingw-filesystem/c/a1c19e33ff01fc8d2dc...
2Â years, 1Â month
smani pushed to mingw-filesystem (f35). "More generic mingw_pkg_name
macros to also deduce mingw package name from native name"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:34:41 UTC
From 03aa020c111ff4ec6a81409eb0f87e6e1b3d8c23 Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro(a)gmail.com>
Date: Feb 10 2022 10:37:08 +0000
Subject: More generic mingw_pkg_name macros to also deduce mingw package name from native name
---
diff --git a/macros.mingw32 b/macros.mingw32
index e791e03..040e808 100644
--- a/macros.mingw32
+++ b/macros.mingw32
@@ -1,6 +1,6 @@
# RPM macros for Fedora MinGW.
-%mingw32_pkg_name %(echo %{name} | sed 's/^mingw-/mingw32-/')
+%mingw32_pkg_name %(echo %{name} | sed -E 's/^(mingw-|)/mingw32-/')
%mingw32_target i686-w64-mingw32
# Paths.
diff --git a/macros.mingw64 b/macros.mingw64
index 81c10aa..896b290 100644
--- a/macros.mingw64
+++ b/macros.mingw64
@@ -1,6 +1,6 @@
# RPM macros for Fedora MinGW.
-%mingw64_pkg_name %(echo %{name} | sed 's/^mingw-/mingw64-/')
+%mingw64_pkg_name %(echo %{name} | sed -E 's/^(mingw-|)/mingw64-/')
%mingw64_target x86_64-w64-mingw32
# Paths.
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index 044f54a..c530dfc 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -6,7 +6,7 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: mingw-filesystem
-Version: 130
+Version: 131
Release: 1%{?dist}
Summary: MinGW cross compiler base filesystem and environment
@@ -358,6 +358,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
%changelog
+* Thu Feb 10 2022 Sandro Mani <manisandro(a)gmail.com> - 131-1
+- More generic mingw_pkg_name macros to also deduce mingw package name from native name
+
* Wed Feb 02 2022 Sandro Mani <manisandro(a)gmail.com> - 130-1
- Drop evaling $@ in mingw-scripts, ensure mingw macros invoked by mingw-scripts contain $@
https://src.fedoraproject.org/rpms/mingw-filesystem/c/03aa020c111ff4ec6a8...
2Â years, 1Â month
smani pushed to mingw-filesystem (f35). "Move python dependency
generation to mingw32/64_python3.attr in mingw-python3 package"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:34:41 UTC
From 21591ade5eeab4c8fdc1758acba591b09d5fa2d0 Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro(a)gmail.com>
Date: Feb 10 2022 12:51:35 +0000
Subject: Move python dependency generation to mingw32/64_python3.attr in mingw-python3 package
---
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index c530dfc..64c6105 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -359,6 +359,7 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
%changelog
* Thu Feb 10 2022 Sandro Mani <manisandro(a)gmail.com> - 131-1
+- Move python dependency generation to mingw32/64_python3.attr in mingw-python3 package
- More generic mingw_pkg_name macros to also deduce mingw package name from native name
* Wed Feb 02 2022 Sandro Mani <manisandro(a)gmail.com> - 130-1
diff --git a/mingw-find-debuginfo.sh b/mingw-find-debuginfo.sh
index 0dd2045..317749a 100755
--- a/mingw-find-debuginfo.sh
+++ b/mingw-find-debuginfo.sh
@@ -28,7 +28,7 @@ do
mingw-objcopy --only-keep-debug $f $dest || :
pushd `dirname $dest`
keep_symbols=`mktemp`
- mingw-nm $dest --format=sysv --defined-only | awk -F \| '{ if ($4 ~ "Function") print $1 }' | sort > "$keep_symbols"
+ mingw-nm $dest --format=sysv --defined-only | awk -F \| '{ if ($4 ~ "Function") print $1 }' | sort > "$keep_symbols"
mingw-objcopy --add-gnu-debuglink=`basename $dest` --strip-unneeded $f --keep-symbols="$keep_symbols" || :
rm -f "$keep_symbols"
popd
diff --git a/mingw.req b/mingw.req
index 622e7f8..b7bb6d4 100755
--- a/mingw.req
+++ b/mingw.req
@@ -17,7 +17,6 @@ filelist=`sed "s/['\"]/\\\&/g"`
dlls=$(echo $filelist | tr '[:blank:]' '\n' | grep -Ei '\.(dll|exe|pyd)$')
pkgconfig_files=$(echo $filelist | tr '[:blank:]' '\n' | grep -Ei '\.(pc)$')
-py3_files=$(echo $filelist | tr '[:blank:]' '\n' | grep -Ei '\.(pyd?)$')
for target in $targets; do
dll_found=false
@@ -38,6 +37,7 @@ for target in $targets; do
echo "${target}-crt"
fi
+ # Add a dependency on $target-pkg-config if necessary
pkgconfig_files_found=false
for f in $pkgconfig_files; do
if [[ $f =~ .*$host_triplet.* ]]; then
@@ -46,21 +46,8 @@ for target in $targets; do
fi
done
- py3_files_found=false
- for f in $py3_files; do
- if [[ $f =~ .*$host_triplet.*lib/python3.* ]]; then
- py3_files_found=true
- break
- fi
- done
-
- # Add a dependency on $target-pkg-config if necessary
if [ $pkgconfig_files_found = true ]; then
echo "${target}-pkg-config"
fi
- # Add a dependency on python if necessary
- if [ $py3_files_found = true ]; then
- echo "${target}-python3";
- fi
done | sort -u
https://src.fedoraproject.org/rpms/mingw-filesystem/c/21591ade5eeab4c8fdc...
2Â years, 1Â month
smani pushed to mingw-filesystem (rawhide). "Create build_winXX
directories with mkdir -p"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:34:32 UTC
From a1c19e33ff01fc8d2dcbfc428ececdba7805ed6e Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro(a)gmail.com>
Date: Feb 22 2022 09:34:23 +0000
Subject: Create build_winXX directories with mkdir -p
---
diff --git a/macros.mingw b/macros.mingw
index 5e5b5f0..034c5b8 100644
--- a/macros.mingw
+++ b/macros.mingw
@@ -37,13 +37,13 @@ run_mingw_configure() \
[ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \
done ; \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_configure} "$@" \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_configure} "$@" \
popd \
@@ -67,13 +67,13 @@ run_mingw_make
run_mingw_cmake() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_cmake "$@"} \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_cmake "$@"} \
popd \
@@ -85,13 +85,13 @@ run_mingw_cmake
run_mingw_cmake_kde4() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_cmake_kde4 "$@"} \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_cmake_kde4 "$@"} \
popd \
@@ -103,13 +103,13 @@ run_mingw_cmake_kde4
run_mingw_qmake_qt4() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_qmake_qt4} "$@" \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_qmake_qt4} "$@" \
popd \
@@ -121,13 +121,13 @@ run_mingw_qmake_qt4
run_mingw_qmake_qt5() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_qmake_qt5} "$@" \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_qmake_qt5} "$@" \
popd \
@@ -139,13 +139,13 @@ run_mingw_qmake_qt5
run_mingw_meson() \
{ \
%if 0%{?mingw_build_win32} == 1 \
-mkdir build_win32$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win32$MINGW_BUILDDIR_SUFFIX \
pushd build_win32$MINGW_BUILDDIR_SUFFIX \
%{?mingw32_meson "$@"} \
popd \
%endif \
%if 0%{?mingw_build_win64} == 1 \
-mkdir build_win64$MINGW_BUILDDIR_SUFFIX \
+mkdir -p build_win64$MINGW_BUILDDIR_SUFFIX \
pushd build_win64$MINGW_BUILDDIR_SUFFIX \
%{?mingw64_meson "$@"} \
popd \
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index 0195735..acea6f2 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -6,8 +6,8 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: mingw-filesystem
-Version: 131
-Release: 2%{?dist}
+Version: 132
+Release: 1%{?dist}
Summary: MinGW cross compiler base filesystem and environment
License: GPLv2+
@@ -358,6 +358,9 @@ echo ".so man1/pkgconf.1" > %{buildroot}%{_mandir}/man1/x86_64-w64-mingw32-pkg-c
%changelog
+* Mon Feb 21 2022 Sandro Mani <manisandro(a)gmail.com> - 132-1
+- Create build_winXX directories with mkdir -p
+
* Thu Feb 10 2022 Sandro Mani <manisandro(a)gmail.com> - 131-2
- Bump release
https://src.fedoraproject.org/rpms/mingw-filesystem/c/a1c19e33ff01fc8d2dc...
2Â years, 1Â month
dchen pushed to barrier (f36). "- Upstream update to 2.4.0 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:33:58 UTC
From 79bd7efcec325618e2b3d5b6dedf4a19b2c45556 Mon Sep 17 00:00:00 2001
From: Ding-Yi Chen <dchen(a)redhat.com>
Date: Feb 22 2022 07:47:01 +0000
Subject: - Upstream update to 2.4.0
- Fixed CVE-2021-42072 (RHBZ 2022094)
- BuildDepends added: gmock-devel, gulrak-filesystem-devel
- Address the issue from pull request #1, thanks aekoroglu.
---
diff --git a/.gitignore b/.gitignore
index b4715cc..0f0334b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/barrier-2.3.2.tar.gz
/barrier-2.3.3.tar.gz
+/barrier-2.4.0.tar.gz
diff --git a/barrier.spec b/barrier.spec
index 22e59f6..0019cec 100644
--- a/barrier.spec
+++ b/barrier.spec
@@ -1,18 +1,23 @@
-%{!?_vpath_builddir:%define _vpath_builddir build}
+%undefine __cmake_in_source_build
%global icon_path %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
Summary: Use a single keyboard and mouse to control multiple computers
Name: barrier
-Version: 2.3.3
-Release: 6%{?dist}
+Version: 2.4.0
+Release: 1%{?dist}
License: GPLv2
URL: https://github.com/debauchee/barrier/wiki
Source0: https://github.com/debauchee/%{name}/archive/v%{version}/%{name}-%{versio...
+# https://github.com/debauchee/barrier/issues/1366
+Patch0: fix-includes.patch
+
BuildRequires: avahi-compat-libdns_sd-devel
BuildRequires: cmake3
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
+BuildRequires: gmock-devel
BuildRequires: gtest-devel
+BuildRequires: gulrak-filesystem-devel
BuildRequires: libX11-devel
BuildRequires: libXtst-devel
BuildRequires: libcurl-devel
@@ -30,29 +35,22 @@ which machine to control by moving your mouse to the edge of the screen,
or by using a key press to switch focus to a different system.
%prep
-%setup -q
-## ext/gtest and ext/gmock does not seems to contain *.cc
+%autosetup -p1
## thus remove test
-rm -fr src/test
-sed -i.remove-test -e 's/\(add_subdirectory(test)\)/# \1/' src/CMakeLists.txt
+## thus ignore the tests
+sed -i.remove-test -e 's/.*gtest.cmake/#&/' src/CMakeLists.txt
## Category DesktopUtility is NOT registered
sed -i.remove-invalid -e 's/DesktopUtility;//' res/%{name}.desktop
+sed -i.use-gcc-ar -e '/include (CheckIncludeFiles)/ i set(CMAKE_AR "/usr/bin/gcc-ar")' CMakeLists.txt
+sed -i.use-gcc-ranlib -e '/include (CheckIncludeFiles)/ i set(CMAKE_RANLIB "/usr/bin/gcc-ranlib")' CMakeLists.txt
+
%build
-%if 0%{?fedora} < 33
-mkdir %{_vpath_builddir}
-cd %{_vpath_builddir}
-%{cmake3} ..
-%make_build
-%else
-%{cmake}
-%{cmake_build}
-%endif
-
-%if 0%{?fedora} < 33
-cd -
-%endif
+%cmake . \
+ -DBARRIER_BUILD_INSTALLER=OFF \
+ -DBARRIER_BUILD_TESTS=no
+%cmake_build
%install
cd %{_vpath_builddir}
@@ -95,7 +93,7 @@ cat <<END> %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
</provides>
<releases>
- <release version="%{version}" date="2020-10-30" />
+ <release version="%{version}" date="2021-11-02" />
</releases>
</component>
END
@@ -123,6 +121,12 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/barrier.desktop
%{_mandir}/man1/barriers.1*
%changelog
+* Tue Feb 22 2022 Ding-Yi Chen <dchen(a)redhat.com> - 2.4.0-1
+- Upstream update to 2.4.0
+ - Fixed CVE-2021-42072 (RHBZ 2022094)
+- BuildDepends added: gmock-devel, gulrak-filesystem-devel
+- Address the issue from pull request #1, thanks aekoroglu.
+
* Wed Jan 19 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/fix-includes.patch b/fix-includes.patch
new file mode 100644
index 0000000..ea33149
--- /dev/null
+++ b/fix-includes.patch
@@ -0,0 +1,22 @@
+From 1b74a4bc8c975d99b27fe23ec2c4185b5b21e496 Mon Sep 17 00:00:00 2001
+From: Simon Lees <sflees(a)suse.de>
+Date: Wed, 3 Nov 2021 13:16:39 +1030
+Subject: [PATCH] Include <cstddef> for NULL
+
+Fixes #1366
+---
+ src/lib/base/Event.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/base/Event.h b/src/lib/base/Event.h
+index 38a2cf1129..7f4461c914 100644
+--- a/src/lib/base/Event.h
++++ b/src/lib/base/Event.h
+@@ -18,6 +18,7 @@
+
+ #pragma once
+
++#include <cstddef>
+ #include "common/basic_types.h"
+ #include "common/stdmap.h"
+
diff --git a/sources b/sources
index 5166621..92c5892 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (barrier-2.3.3.tar.gz) = 1ac945ce090d5bbdae7bab7d4ca802cc2d54c1644a12088203b240e38078d32d3b30ae2f764ba27d66c9d709e430b0eb1b4576314d99dd6177d8b88d19b89777
+SHA512 (barrier-2.4.0.tar.gz) = dff8d95c358688952baee0bbbf56b818e40a6c0483d58f6cadd55558ab5d0cefc92a37b0751bfd70868686e1716c729871ae00a30ee9b0ba944f531dfb742449
https://src.fedoraproject.org/rpms/barrier/c/79bd7efcec325618e2b3d5b6dedf...
2Â years, 1Â month
pghmcfc pushed to perl-Math-Pari (rawhide). "Update to 2.030519 (see
Changes for details)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-02-22 09:32:18 UTC
From 9d47430600d643389233df761742e7f4bd2fe3e5 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Feb 22 2022 09:15:17 +0000
Subject: Update to 2.030519 (see Changes for details)
---
diff --git a/Math-Pari-2.030509-optflags.patch b/Math-Pari-2.030509-optflags.patch
deleted file mode 100644
index 70998dd..0000000
--- a/Math-Pari-2.030509-optflags.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-%Config::Config is read-only.
-We'll set compiler flags to distribution-wide defaults anyway.
-
---- Makefile.PL
-+++ Makefile.PL
-@@ -1,13 +1,6 @@
- # $Id: Makefile.PL,v 1.1 1995/01/23 04:46:12 ilya Exp $
- use strict;
- use Config '%Config';
--
--BEGIN { # Need to do before ExtUtils::MakeMaker caches them
-- if ($Config{gccversion} and grep /^OPTIMIZE=.*(?<![^\s=])-g(?!\S)/, @ARGV) { # XXXX Bug in Perl configuration: these should be in {optimize} only
-- $Config{"${_}flags"} =~ s/(?<!\S)-(s|O(\d+|s|fast)?)(?!\S)//g for qw(cc cpp ld lddl);
-- } # gnukfreebsd(lddl) cygwin strawberry openbsd netbsd linux(lddl)
--}
--
- use ExtUtils::MakeMaker;
-
- BEGIN {unshift @INC, 'utils'}
diff --git a/Math-Pari-2.030518-MP_NOGNUPLOT.patch b/Math-Pari-2.030518-MP_NOGNUPLOT.patch
deleted file mode 100644
index 3c8156e..0000000
--- a/Math-Pari-2.030518-MP_NOGNUPLOT.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- t/02_sections.t
-+++ t/02_sections.t
-@@ -6,7 +6,11 @@ BEGIN { unshift @INC, './lib', '../lib';
-
- $test = 0;
- $| = 1;
--my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8 matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
-+if ($ENV{MP_NOGNUPLOT}) {
-+ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8 matrank 9 sumalt 11 forstep); # 2.3.5
-+} else {
-+ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8 matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
-+}
- my $secs = keys %sec;
- my $mx = 10;
- $mx < $_ and $mx = $_ for keys %sec;
---- test_eng/Testout.pm
-+++ test_eng/Testout.pm
-@@ -70,6 +70,11 @@ my $DEFAULT = undef;
-
- if ($file =~ /plot|graph|all/) {
- if ($ENV{MP_NOGNUPLOT}) {
-+ @not_yet_defined{qw(
-+ plotbox plotcolor plotcursor plotdraw ploth plothraw plotinit plotlines
-+ plotmove plotpoints plotrline plotrmove plotrpoint psdraw psploth
-+ psplothraw plotscale plotkill
-+ )} = (1) x 10000;
- $skip_gnuplot = 1;
- } else {
- eval { link_gnuplot() };
diff --git a/Math-Pari-2.030519-MP_NOGNUPLOT.patch b/Math-Pari-2.030519-MP_NOGNUPLOT.patch
new file mode 100644
index 0000000..209f065
--- /dev/null
+++ b/Math-Pari-2.030519-MP_NOGNUPLOT.patch
@@ -0,0 +1,29 @@
+--- t/02_sections.t
++++ t/02_sections.t
+@@ -9,7 +9,11 @@ use Math::Pari;
+
+ $test = 0;
+ $| = 1;
+-my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8 matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
++if ($ENV{MP_NOGNUPLOT}) {
++ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8 matrank 9 sumalt 11 forstep); # 2.3.5
++} else {
++ my %sec = qw(1 max 2 lift 3 erfc 4 factorint 5 elleta 6 idealnorm 7 polresultant 8 matrank 9 sumalt 10 ploth 11 forstep); # 2.3.5
++}
+ my $secs = keys %sec;
+ my($mx, @extra) = 11;
+ $mx < $_ and $mx = $_ for keys %sec;
+--- test_eng/Testout.pm
++++ test_eng/Testout.pm
+@@ -70,6 +70,11 @@ my $DEFAULT = undef;
+
+ if ($file =~ /plot|graph|all/) {
+ if ($ENV{MP_NOGNUPLOT}) {
++ @not_yet_defined{qw(
++ plotbox plotcolor plotcursor plotdraw ploth plothraw plotinit plotlines
++ plotmove plotpoints plotrline plotrmove plotrpoint psdraw psploth
++ psplothraw plotscale plotkill
++ )} = (1) x 10000;
+ $skip_gnuplot = 1;
+ } else {
+ eval { link_gnuplot() };
diff --git a/Math-Pari-2.030519-optflags.patch b/Math-Pari-2.030519-optflags.patch
new file mode 100644
index 0000000..263c983
--- /dev/null
+++ b/Math-Pari-2.030519-optflags.patch
@@ -0,0 +1,17 @@
+--- Makefile.PL
++++ Makefile.PL
+@@ -1,14 +1,6 @@
+ # $Id: Makefile.PL,v 1.1 1995/01/23 04:46:12 ilya Exp $
+ use strict;
+ use Config '%Config';
+-
+-BEGIN { # Need to do before ExtUtils::MakeMaker caches them
+- if ($Config{gccversion} and grep /^OPTIMIZE=.*(?<![^\s=])-g(?!\S)/, @ARGV) { # XXXX Bug in Perl configuration: these should be in {optimize} only
+- my $c = tied(%Config) || \%Config;
+- ($c->{"${_}flags"} = $Config{"${_}flags"}) =~ s/(?<!\S)-(s|O(\d+|s|fast)?)(?!\S)//g for qw(cc cpp ld lddl);
+- } # gnukfreebsd(lddl) cygwin strawberry openbsd netbsd linux(lddl)
+-}
+-
+ use ExtUtils::MakeMaker;
+
+ BEGIN {unshift @INC, 'utils'}
diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec
index 8f531d0..628ee4d 100644
--- a/perl-Math-Pari.spec
+++ b/perl-Math-Pari.spec
@@ -3,26 +3,26 @@
Summary: Perl interface to PARI
Name: perl-Math-Pari
-Version: 2.030518
-Release: 10%{?dist}
+Version: 2.030519
+Release: 1%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-Pari
-Source0: https://cpan.metacpan.org/modules/by-module/Math/Math-Pari-%{version}%{ex...
+Source0: https://cpan.metacpan.org/modules/by-module/Math/Math-Pari-%{version}%{ex...
Patch0: Math-Pari-2.030518-system-pari.patch
Patch1: Math-Pari-2.030506-docs-and-testsuite.patch
Patch3: Math-Pari-2.030512-utf8.patch
Patch4: Math-Pari-2.030506-escape-left-braces-in-regex.patch
-Patch5: Math-Pari-2.030518-MP_NOGNUPLOT.patch
-Patch6: Math-Pari-2.030509-optflags.patch
+Patch5: Math-Pari-2.030519-MP_NOGNUPLOT.patch
+Patch6: Math-Pari-2.030519-optflags.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: libpari23-devel
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::Constant)
@@ -80,6 +80,9 @@ ln -s $(pkg-config --variable=paridir libpari23)/src libpari23/src
# Don't try to fiddle with compiler flags, we'll set them ourselves anyway
%patch6
+# Remove bogus executable permissions on documentation
+chmod -c -x Changes README
+
%build
paridir=$(pkg-config --variable=paridir libpari23)
perl Makefile.PL \
@@ -113,6 +116,10 @@ make test MP_NOGNUPLOT=1
%exclude %{_mandir}/man3/Math::libPARI.dumb.3*
%changelog
+* Tue Feb 22 2022 Paul Howarth <paul(a)city-fan.org> - 2.030519-1
+- Update to 2.030519 (see Changes for details)
+- Remove bogus executable permissions on documentation
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.030518-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index 6fdfffa..5f6e71d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Math-Pari-2.030518.zip) = 9bb5d789b5789b38c1d2f07b400f394f8b94872321e9b4de8177e0546fde5f13c277a268f707fbd4c35b336d5f1f86c62744e8a8d0a7d54acece89f1125a89a2
+SHA512 (Math-Pari-2.030519.tar.gz) = a4fa77d88b443525173c6968bd47734a841862f984d07466cc7e73b50cd973784d291f06d7a44f6ebb95f65e25900638d97e3e9eb40f3139fff1b679452b4ce5
https://src.fedoraproject.org/rpms/perl-Math-Pari/c/9d47430600d643389233d...
2Â years, 1Â month