|
@@ -3,9 +3,9 @@
|
|
|
Summary: Linux NTFS userspace driver
|
|
|
Summary(ja): Linux NTFS ユーザ空間ドライバ
|
|
|
Name: ntfs-3g
|
|
|
-Version: 2017.3.23
|
|
|
+Version: 2021.8.22
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Group: System Environment/Base
|
|
|
+Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
@@ -13,23 +13,12 @@ License: GPLv2+
|
|
|
URL: https://www.tuxera.com/community/open-source-ntfs-3g/
|
|
|
Source0: https://tuxera.com/opensource/ntfs-3g_ntfsprogs-%{version}.tgz
|
|
|
Patch0: ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch
|
|
|
-Patch1: check-mftmirr.patch
|
|
|
-Patch2: ntfs-3g-big-sectors.patch
|
|
|
-# Fix for ntfsclone crash.
|
|
|
-# Discussed with upstream developer but not upstream yet, see:
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1601146#c4
|
|
|
-Patch3: ntfsclone-full-clusters-bz1601146.patch
|
|
|
-# Upstream fix for CVE-2019-9755
|
|
|
-# https://sourceforge.net/p/ntfs-3g/ntfs-3g/ci/85c1634a26faa572d3c558d4cf8aaaca5202d4e9/
|
|
|
-Patch4: ntfs-3g-CVE-2019-9755.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: libtool
|
|
|
BuildRequires: libattr-devel
|
|
|
-%if %{?_dist_release} != "vl6"
|
|
|
BuildRequires: libconfig-devel
|
|
|
-%endif
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
BuildRequires: gnutls-devel
|
|
|
BuildRequires: libuuid-devel
|
|
@@ -49,10 +38,11 @@ streams and sparse files; it can handle special files like symbolic links,
|
|
|
devices, and FIFOs, ACL, extended attributes; moreover it provides full
|
|
|
file access right and ownership support.
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Development files and libraries for ntfs-3g
|
|
|
Summary(ja): ntfs-3g の開発ファイルとライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: pkgconfig
|
|
|
Provides: ntfsprogs-devel = %{version}-%{release}
|
|
@@ -62,10 +52,11 @@ Obsoletes: ntfsprogs-devel < 2.0.0-3
|
|
|
Headers and libraries for developing applications that use ntfs-3g
|
|
|
functionality.
|
|
|
|
|
|
+
|
|
|
%package -n ntfsprogs
|
|
|
Summary: NTFS filesystem libraries and utilities
|
|
|
Summary(ja): NTFS ファイルシステム用ライブラリおよびユーティリティ
|
|
|
-Group: System Environment/Base
|
|
|
+Group: system
|
|
|
Provides: ntfsprogs-gnomevfs = %{version}-%{release}
|
|
|
Obsoletes: ntfsprogs-gnomevfs < 2.0.0-3
|
|
|
|
|
@@ -76,13 +67,13 @@ such as mkntfs, ntfscat, ntfsls, ntfsresize, and ntfsundelete
|
|
|
installation).
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q -n %{name}_ntfsprogs-%{version}
|
|
|
%patch0 -p1 -b .unsupported
|
|
|
-%patch1 -p0 -b .check-mftmirr
|
|
|
-%patch2 -p0 -b .big-sectors
|
|
|
-%patch3 -p0 -b .ntfsclone
|
|
|
-%patch4 -p1 -b .CVE-2019-9755
|
|
|
+
|
|
|
|
|
|
%build
|
|
|
export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
|
|
@@ -104,6 +95,7 @@ export CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64"
|
|
|
|
|
|
make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=%{_bindir}/libtool install
|
|
@@ -133,12 +125,10 @@ mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig/libntfs-3g.pc $RPM_BUILD_ROOT%{_libdir}/pkg
|
|
|
# We get this on our own, thanks.
|
|
|
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/README
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
@@ -199,7 +189,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_mandir}/man8/ntfs[^m][^o]*.8*
|
|
|
%exclude %{_mandir}/man8/ntfs-3g*
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Thu Sep 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2021.8.22-1
|
|
|
+- new upstream release.
|
|
|
+- dropped Patch1-4.
|
|
|
+
|
|
|
* Fri Apr 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2017.3.23-1
|
|
|
- new upstream release.
|
|
|
- imported Patch1-4 from rawhide.
|