- update to 2022.5.17 (bsc#1199978):
* Improved defence against maliciously tampered NTFS partitions * Improved defence against improper use of options * Updated the documentation * CVE-2022-30783, CVE-2022-30785, CVE-2022-30787 * CVE-2021-46790, CVE-2022-30784, CVE-2022-30786, * CVE-2022-30788, CVE-2022-30789 OBS-URL: https://build.opensuse.org/package/show/filesystems/ntfs-3g_ntfsprogs?expand=0&rev=44
This commit is contained in:
parent
be625b95c2
commit
056bdd3009
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:55b883aa05d94b2ec746ef3966cb41e66bed6db99f22ddd41d1b8b94bb202efb
|
|
||||||
size 1317499
|
|
3
ntfs-3g_ntfsprogs-2022.5.17.tgz
Normal file
3
ntfs-3g_ntfsprogs-2022.5.17.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0489fbb6972581e1b417ab578d543f6ae522e7fa648c3c9b49c789510fd5eb93
|
||||||
|
size 1318476
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 29 19:51:01 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2022.5.17 (bsc#1199978):
|
||||||
|
* Improved defence against maliciously tampered NTFS partitions
|
||||||
|
* Improved defence against improper use of options
|
||||||
|
* Updated the documentation
|
||||||
|
* CVE-2022-30783, CVE-2022-30785, CVE-2022-30787
|
||||||
|
* CVE-2021-46790, CVE-2022-30784, CVE-2022-30786,
|
||||||
|
* CVE-2022-30788, CVE-2022-30789
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 31 14:59:59 UTC 2021 - Michael Gorse <mgorse@suse.com>
|
Tue Aug 31 14:59:59 UTC 2021 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ntfs-3g_ntfsprogs
|
# spec file for package ntfs-3g_ntfsprogs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,22 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define sover 89
|
||||||
%if 0%{?usrmerged}
|
%if 0%{?usrmerged}
|
||||||
%define sbindir %_sbindir
|
%define sbindir %{_sbindir}
|
||||||
%else
|
%else
|
||||||
%define sbindir /sbin
|
%define sbindir /sbin
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define sover 89
|
|
||||||
|
|
||||||
Name: ntfs-3g_ntfsprogs
|
Name: ntfs-3g_ntfsprogs
|
||||||
|
Version: 2022.5.17
|
||||||
|
Release: 0
|
||||||
Summary: NTFS Support in Userspace
|
Summary: NTFS Support in Userspace
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Version: 2021.8.22
|
|
||||||
Release: 0
|
|
||||||
Source: http://tuxera.com/opensource/%{name}-%{version}.tgz
|
|
||||||
URL: https://github.com/tuxera/ntfs-3g/
|
URL: https://github.com/tuxera/ntfs-3g/
|
||||||
|
Source: https://tuxera.com/opensource/%{name}-%{version}.tgz
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: gnutls-devel
|
BuildRequires: gnutls-devel
|
||||||
BuildRequires: hwinfo-devel
|
BuildRequires: hwinfo-devel
|
||||||
@ -39,7 +37,6 @@ BuildRequires: libgcrypt-devel
|
|||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(fuse) >= 2.6.0
|
BuildRequires: pkgconfig(fuse) >= 2.6.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NTFS-3G allows for read/write access to NTFS partitions which can be
|
NTFS-3G allows for read/write access to NTFS partitions which can be
|
||||||
@ -63,12 +60,12 @@ NTFS-3G allows for read/write access to NTFS partitions which can be
|
|||||||
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
|
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
|
||||||
Vista and Windows Seven.
|
Vista and Windows Seven.
|
||||||
|
|
||||||
%package -n libntfs-3g%sover
|
%package -n libntfs-3g%{sover}
|
||||||
Summary: NTFS Support in Userspace -- Library
|
Summary: NTFS Support in Userspace -- Library
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
|
|
||||||
%description -n libntfs-3g%sover
|
%description -n libntfs-3g%{sover}
|
||||||
NTFS-3G allows for read/write access to NTFS partitions which can be
|
NTFS-3G allows for read/write access to NTFS partitions which can be
|
||||||
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
|
shared with Windows XP, Windows Server 2003, Windows 2000, Windows
|
||||||
Vista and Windows Seven.
|
Vista and Windows Seven.
|
||||||
@ -78,7 +75,7 @@ Summary: NTFS Support in Userspace -- Development Files
|
|||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libntfs-3g%sover = %{version}
|
Requires: libntfs-3g%{sover} = %{version}
|
||||||
Provides: ntfs-3g-devel = %{version}
|
Provides: ntfs-3g-devel = %{version}
|
||||||
Obsoletes: ntfs-3g-devel < %{version}
|
Obsoletes: ntfs-3g-devel < %{version}
|
||||||
|
|
||||||
@ -106,7 +103,7 @@ Group: System/Filesystems
|
|||||||
These are programs which are considered non-functional or only test-oriented. They are kept in the source
|
These are programs which are considered non-functional or only test-oriented. They are kept in the source
|
||||||
tarball so that volunteers can capitalize on them for improvement.
|
tarball so that volunteers can capitalize on them for improvement.
|
||||||
|
|
||||||
In particular ntfsck is just a place holder. Distributions are expected not to recommend inserting a positive value in the last field of /etc/fstab for ntfs partitions.
|
In particular ntfsck is just a place holder. Distributions are expected not to recommend inserting a positive value in the last field of %{_sysconfdir}/fstab for ntfs partitions.
|
||||||
|
|
||||||
They have been orphaned for ten years and are unlikely to be upgraded (except ntfsfallocate, if there is some demand).
|
They have been orphaned for ten years and are unlikely to be upgraded (except ntfsfallocate, if there is some demand).
|
||||||
|
|
||||||
@ -121,21 +118,21 @@ autoconf
|
|||||||
# which is signed and would possibly ok to be unsigned. Any solution to this
|
# which is signed and would possibly ok to be unsigned. Any solution to this
|
||||||
# needs to be carefully reviewed and tested, so we do not change the code now:
|
# needs to be carefully reviewed and tested, so we do not change the code now:
|
||||||
#
|
#
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -Wformat -Wformat-security -W -Wno-sign-compare -fPIE"
|
export CFLAGS="%{optflags} -Wformat -Wformat-security -W -Wno-sign-compare -fPIE"
|
||||||
export LDFLAGS="-pie"
|
export LDFLAGS="-pie"
|
||||||
%configure --exec-prefix=/ --disable-static --with-pic --disable-ldconfig \
|
%configure --exec-prefix=/ --disable-static --with-pic --disable-ldconfig \
|
||||||
--with-fuse=external --enable-posix-acls \
|
--with-fuse=external --enable-posix-acls \
|
||||||
--enable-extras \
|
--enable-extras \
|
||||||
--enable-crypto \
|
--enable-crypto \
|
||||||
--enable-quarantined
|
--enable-quarantined
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
%make_install
|
||||||
%if 0%{?usrmerged}
|
%if 0%{?usrmerged}
|
||||||
mv %{buildroot}/sbin/* %{buildroot}%{_sbindir}
|
mv %{buildroot}/sbin/* %{buildroot}%{_sbindir}
|
||||||
%endif
|
%endif
|
||||||
%{__rm} -v %{buildroot}%{_libdir}/libntfs-3g.la
|
rm -v %{buildroot}%{_libdir}/libntfs-3g.la
|
||||||
# Alternatives for mount.ntfs (binary and manpage)
|
# Alternatives for mount.ntfs (binary and manpage)
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
ln -s -f %{_sysconfdir}/alternatives/mount.ntfs %{buildroot}%{sbindir}/mount.ntfs
|
ln -s -f %{_sysconfdir}/alternatives/mount.ntfs %{buildroot}%{sbindir}/mount.ntfs
|
||||||
@ -160,12 +157,10 @@ if [ ! -f %{sbindir}/mount.ntfs-3g ]; then
|
|||||||
update-alternatives --remove mount.ntfs %{sbindir}/mount.ntfs-3g
|
update-alternatives --remove mount.ntfs %{sbindir}/mount.ntfs-3g
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n libntfs-3g%sover -p /sbin/ldconfig
|
%post -n libntfs-3g%{sover} -p /sbin/ldconfig
|
||||||
|
%postun -n libntfs-3g%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libntfs-3g%sover -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n ntfs-3g
|
%files -n ntfs-3g
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog CREDITS NEWS README
|
%doc AUTHORS ChangeLog CREDITS NEWS README
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/ntfs-3g
|
%{_bindir}/ntfs-3g
|
||||||
@ -186,21 +181,18 @@ fi
|
|||||||
%{_mandir}/man8/ntfssecaudit.8%{?ext_man}
|
%{_mandir}/man8/ntfssecaudit.8%{?ext_man}
|
||||||
%{_mandir}/man8/ntfsusermap.8%{?ext_man}
|
%{_mandir}/man8/ntfsusermap.8%{?ext_man}
|
||||||
# We already have this, so no need to package it again.
|
# We already have this, so no need to package it again.
|
||||||
%exclude /usr/share/doc/ntfs-3g/README
|
%exclude %{_datadir}/doc/ntfs-3g/README
|
||||||
|
|
||||||
%files -n libntfs-3g%sover
|
%files -n libntfs-3g%{sover}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license COPYING.LIB
|
%license COPYING.LIB
|
||||||
%{_libdir}/libntfs-3g.so.*
|
%{_libdir}/libntfs-3g.so.*
|
||||||
|
|
||||||
%files -n libntfs-3g-devel
|
%files -n libntfs-3g-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_includedir}/ntfs-3g/
|
%{_includedir}/ntfs-3g/
|
||||||
%{_libdir}/libntfs-3g.so
|
%{_libdir}/libntfs-3g.so
|
||||||
%{_libdir}/pkgconfig/libntfs-3g.pc
|
%{_libdir}/pkgconfig/libntfs-3g.pc
|
||||||
|
|
||||||
%files -n ntfsprogs
|
%files -n ntfsprogs
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc AUTHORS ChangeLog CREDITS NEWS README
|
%doc AUTHORS ChangeLog CREDITS NEWS README
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_sbindir}/mkfs.ntfs
|
%{_sbindir}/mkfs.ntfs
|
||||||
@ -240,7 +232,6 @@ fi
|
|||||||
%{_mandir}/man8/ntfsrecover.8%{?ext_man}
|
%{_mandir}/man8/ntfsrecover.8%{?ext_man}
|
||||||
|
|
||||||
%files -n ntfsprogs-extra
|
%files -n ntfsprogs-extra
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc AUTHORS ChangeLog CREDITS NEWS README
|
%doc AUTHORS ChangeLog CREDITS NEWS README
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/ntfsck
|
%{_bindir}/ntfsck
|
||||||
|
Loading…
Reference in New Issue
Block a user