2019-12-14 18:54:06 +08:00
|
|
|
Name: flatpak
|
2021-06-29 14:45:13 +08:00
|
|
|
Version: 1.10.2
|
2024-08-15 16:06:06 +08:00
|
|
|
Release: 9
|
2019-12-14 18:54:06 +08:00
|
|
|
Summary: Application deployment framework for desktop apps
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://flatpak.org/
|
|
|
|
|
Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2021-02-07 15:44:26 +08:00
|
|
|
Patch0000: modify-automake-version.patch
|
|
|
|
|
Patch0002: CVE-2021-21261-2.patch
|
|
|
|
|
Patch0004: CVE-2021-21261-4.patch
|
2021-06-29 14:45:13 +08:00
|
|
|
Patch0005: 0001-OCI-Switch-to-pax-format-for-tar-archives.patch
|
2021-10-20 17:17:20 +08:00
|
|
|
Patch6000: backport-0001-CVE-2021-41133.patch
|
|
|
|
|
Patch6001: backport-0002-CVE-2021-41133.patch
|
|
|
|
|
Patch6002: backport-0003-CVE-2021-41133.patch
|
|
|
|
|
Patch6003: backport-0004-CVE-2021-41133.patch
|
|
|
|
|
Patch6004: backport-0005-CVE-2021-41133.patch
|
|
|
|
|
Patch6005: backport-0006-CVE-2021-41133.patch
|
|
|
|
|
Patch6006: backport-0007-CVE-2021-41133.patch
|
|
|
|
|
Patch6007: backport-0008-CVE-2021-41133.patch
|
|
|
|
|
Patch6008: backport-run-Handle-unknown-syscalls-as-intended.patch
|
|
|
|
|
Patch6009: backport-Fix-handling-of-syscalls-only-allowed-by-de.patch
|
2022-01-25 14:32:45 +08:00
|
|
|
Patch6010: backport-support-new-pyparsing.patch
|
2022-01-25 15:05:34 +08:00
|
|
|
Patch6011: backport-CVE-2022-21682.patch
|
2022-01-29 18:56:01 +08:00
|
|
|
Patch6012: backport-0001-CVE-2021-43860.patch
|
|
|
|
|
Patch6013: backport-0002-CVE-2021-43860.patch
|
|
|
|
|
Patch6014: backport-0003-CVE-2021-43860.patch
|
|
|
|
|
Patch6015: backport-0004-CVE-2021-43860.patch
|
|
|
|
|
Patch6016: backport-0005-CVE-2021-43860.patch
|
2024-03-28 15:25:16 +08:00
|
|
|
Patch6017: backport-Fix-several-memory-leaks.patch
|
|
|
|
|
# https://github.com/flatpak/flatpak/commit/4206d681c5c52691dec0074e3f8c32dab1953a94
|
|
|
|
|
Patch6018: CVE-2023-28100-pre1.patch
|
|
|
|
|
# https://github.com/flatpak/flatpak/commit/b83fb81d1a66fe4ea31fd9c36ca425705eaaca99
|
|
|
|
|
Patch6019: CVE-2023-28100-pre2.patch
|
|
|
|
|
# https://github.com/flatpak/flatpak/commit/e7880e25b9d400feeaacb82f115fae676ce6c65d
|
|
|
|
|
Patch6020: CVE-2023-28100-pre3.patch
|
|
|
|
|
# https://github.com/flatpak/flatpak/commit/a9bf18040cc075a70657c6090a59d7f6fe78f893
|
|
|
|
|
Patch6021: CVE-2023-28100.patch
|
|
|
|
|
# https://github.com/flatpak/flatpak/commit/acd627a2fabe9856947399044dbf7aa79247c75b
|
|
|
|
|
Patch6022: CVE-2023-28101-1.patch
|
|
|
|
|
# https://github.com/flatpak/flatpak/commit/e88eedce76f79a5573df4fc38b344bbeaf7af024
|
|
|
|
|
Patch6023: CVE-2023-28101-2.patch
|
2024-04-13 02:05:46 +08:00
|
|
|
Patch6024: CVE-2024-32462.patch
|
2024-08-15 16:06:06 +08:00
|
|
|
Patch6025: CVE-2024-42472.patch
|
2019-12-14 18:54:06 +08:00
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(appstream-glib) pkgconfig(gio-unix-2.0) pkgconfig(gobject-introspection-1.0) >= 1.40.0 pkgconfig(json-glib-1.0) pkgconfig(libarchive) >= 2.8.0
|
2021-06-29 14:45:13 +08:00
|
|
|
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0) >= 2.4 pkgconfig(ostree-1) >= 2020.8 pkgconfig(polkit-gobject-1) pkgconfig(libseccomp) pkgconfig(xau)
|
|
|
|
|
BuildRequires: bison bubblewrap >= 0.4.0 docbook-dtds docbook-style-xsl gettext gpgme-devel libcap-devel systemd xmlto libxslt
|
|
|
|
|
BuildRequires: pkgconfig(libsystemd) pkgconfig(dconf) pkgconfig(fuse) pkgconfig(gdk-pixbuf-2.0) pkgconfig(libzstd) >= 0.8.1 python3-pyparsing xdg-dbus-proxy
|
|
|
|
|
|
|
|
|
|
%{?systemd_requires}
|
|
|
|
|
Requires: ostree%{?_isa} >= 2020.8 bubblewrap >= 0.4.0 ostree-libs%{?_isa} >= 2020.8
|
|
|
|
|
Requires: librsvg2 xdg-dbus-proxy systemd
|
|
|
|
|
Recommends: p11-kit xdg-desktop-portal > 0.10
|
2019-12-14 18:54:06 +08:00
|
|
|
Provides: %{name}-libs = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-libs
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
flatpak is a system for building, distributing and running sandboxed desktop
|
|
|
|
|
applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
|
|
|
|
|
more information.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains the pkg-config file and development headers for %{name}.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
|
2021-06-29 14:45:13 +08:00
|
|
|
%configure --with-priv-mode=none --with-system-dbus-proxy \
|
2019-12-14 18:54:06 +08:00
|
|
|
--with-system-bubblewrap --enable-docbook-docs $CONFIGFLAGS)
|
|
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
install -pm 644 NEWS README.md %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
install -d %{buildroot}%{_localstatedir}/lib/flatpak
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/flatpak/remotes.d
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/libflatpak.la
|
2021-06-29 14:45:13 +08:00
|
|
|
rm %{buildroot}%{_systemd_system_env_generator_dir}/60-flatpak-system-only
|
|
|
|
|
|
2019-12-14 18:54:06 +08:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
flatpak remote-list --system &> /dev/null || :
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc %{_pkgdocdir}
|
|
|
|
|
%{_bindir}/flatpak
|
|
|
|
|
%{_bindir}/flatpak-bisect
|
|
|
|
|
%{_bindir}/flatpak-coredumpctl
|
|
|
|
|
%{_datadir}/bash-completion
|
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.xml
|
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml
|
2021-06-29 14:45:13 +08:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.Authenticator.xml
|
2019-12-14 18:54:06 +08:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service
|
2021-06-29 14:45:13 +08:00
|
|
|
%{_datadir}/dbus-1/services/org.flatpak.Authenticator.Oci.service
|
2019-12-14 18:54:06 +08:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service
|
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service
|
2021-06-29 14:45:13 +08:00
|
|
|
%{_datadir}/fish/
|
2019-12-14 18:54:06 +08:00
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy
|
|
|
|
|
%{_datadir}/polkit-1/rules.d/org.freedesktop.Flatpak.rules
|
|
|
|
|
%{_datadir}/zsh/site-functions
|
2021-06-29 14:45:13 +08:00
|
|
|
%{_libexecdir}/flatpak-oci-authenticator
|
|
|
|
|
%{_libexecdir}/flatpak-validate-icon
|
|
|
|
|
%{_libexecdir}/revokefs-fuse
|
2019-12-14 18:54:06 +08:00
|
|
|
%{_libexecdir}/flatpak-portal
|
|
|
|
|
%{_libexecdir}/flatpak-session-helper
|
|
|
|
|
%{_libexecdir}/flatpak-system-helper
|
|
|
|
|
%dir %{_localstatedir}/lib/flatpak
|
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf
|
|
|
|
|
%{_sysconfdir}/flatpak/remotes.d
|
|
|
|
|
%{_sysconfdir}/profile.d/flatpak.sh
|
|
|
|
|
%{_unitdir}/flatpak-system-helper.service
|
2021-06-29 14:45:13 +08:00
|
|
|
%{_sysusersdir}/flatpak.conf
|
2019-12-14 18:54:06 +08:00
|
|
|
%{_userunitdir}/flatpak-session-helper.service
|
2021-06-29 14:45:13 +08:00
|
|
|
%{_userunitdir}/flatpak-oci-authenticator.service
|
|
|
|
|
%{_userunitdir}/flatpak-portal.service
|
|
|
|
|
%{_systemd_user_env_generator_dir}/60-flatpak
|
2019-12-14 18:54:06 +08:00
|
|
|
%{_libdir}/girepository-1.0/Flatpak-1.0.typelib
|
|
|
|
|
%{_libdir}/libflatpak.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/gir-1.0/Flatpak-1.0.gir
|
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
%{_libdir}/libflatpak.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/%{name}*.1*
|
|
|
|
|
%{_mandir}/man5/%{name}-metadata.5*
|
|
|
|
|
%{_mandir}/man5/flatpak-flatpakref.5*
|
|
|
|
|
%{_mandir}/man5/flatpak-flatpakrepo.5*
|
|
|
|
|
%{_mandir}/man5/flatpak-installation.5*
|
|
|
|
|
%{_mandir}/man5/flatpak-remote.5*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-08-15 16:06:06 +08:00
|
|
|
* Thu Aug 15 2024 wangkai <13474090681@163.com> - 1.10.2-9
|
|
|
|
|
- Fix CVE-2024-42472
|
|
|
|
|
|
2024-04-13 02:05:46 +08:00
|
|
|
* Fri Apr 19 2024 wangkai <13474090681@163.com> - 1.10.2-8
|
|
|
|
|
- Fix CVE-2024-32462
|
|
|
|
|
|
2024-03-28 15:25:16 +08:00
|
|
|
* Thu Mar 28 2024 yaoxin <yao_xin001@hoperun.com> - 1.10.2-7
|
|
|
|
|
- Fix CVE-2023-28100 and CVE-2023-28101
|
|
|
|
|
|
|
|
|
|
* Tue Dec 26 2023 maokecheng <maokecheng@xfusion.com> - 1.10.2-6
|
|
|
|
|
- DESC:Fix several memory leaks
|
|
|
|
|
|
2022-01-29 18:56:01 +08:00
|
|
|
* Sat Jan 29 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.10.2-5
|
|
|
|
|
- Fix CVE-2021-43860
|
|
|
|
|
|
2022-01-25 15:05:34 +08:00
|
|
|
* Tue Jan 25 2022 hanhui <hanhui15@huawei.com> - 1.10.2-4
|
|
|
|
|
- Fix CVE-2022-21682
|
|
|
|
|
|
2022-01-25 14:32:45 +08:00
|
|
|
* Tue Jan 25 2022 hanhui <hanhui15@huawei.com> - 1.10.2-3
|
|
|
|
|
- Fix compiler error when using pyparsing >= 3.0.2
|
|
|
|
|
|
2021-10-20 17:17:20 +08:00
|
|
|
* Thu Oct 21 2021 xingxing <xingxing9@huawei.com> - 1.10.2-2
|
|
|
|
|
- Fix CVE-2021-41133
|
|
|
|
|
|
2021-06-29 14:45:13 +08:00
|
|
|
* Tue Jun 29 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.10.2-1
|
|
|
|
|
- Upgrade to 1.10.2
|
|
|
|
|
- Delete patches that existed in this version 1.10.2, delete sed option
|
|
|
|
|
cause no file flatpak-docs.html
|
|
|
|
|
- Reserve three patches that still effictive
|
|
|
|
|
- Add patch 0001-OCI-Switch-to-pax-format-for-tar-archives.patch
|
|
|
|
|
|
2021-04-12 11:15:23 +08:00
|
|
|
* Mon Apr 12 2021 wangyue <wangyue92@huawei.com> - 1.0.3-5
|
|
|
|
|
- Fix CVE-2019-8308
|
|
|
|
|
|
2021-03-24 16:18:02 +08:00
|
|
|
* Wed Mar 24 2021 wangxiao <wangxiao65@huawei.com> - 1.0.3-4
|
|
|
|
|
- Fix CVE-2021-21381
|
|
|
|
|
|
|
|
|
|
* Sun Feb 07 2021 wangxiao <wangxiao65@huawei.com> - 1.0.3-3
|
2021-02-07 15:44:26 +08:00
|
|
|
- Modify automake version
|
|
|
|
|
- Fix CVE-2021-21261
|
|
|
|
|
|
2019-12-14 18:54:06 +08:00
|
|
|
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.3-2
|
|
|
|
|
- Package init
|