forked from pool/libfsapfs
Accepting request 898709 from security:forensics
OBS-URL: https://build.opensuse.org/request/show/898709 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfsapfs?expand=0&rev=3
This commit is contained in:
commit
c01d8b6d7b
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/libyal/libfsapfs</param>
|
||||||
|
<param name="revision">3def3dae10ef8916f76649e90dc9acc0ca471a92</param>
|
||||||
|
<!-- see configure.ac -->
|
||||||
|
<param name="versionformat">20210513</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
3
libfsapfs-20210513.tar.xz
Normal file
3
libfsapfs-20210513.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:564ea959150e7a9ab302e12570ed17772feb456df3b8d200c001d3dd63543a94
|
||||||
|
size 325600
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dc0543b86779a3c0b46913d780a9fd7fdb7af86e1fea61c54f0d1d0209a18f15
|
|
||||||
size 2080147
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEzBAABCAAdFiEEDtkCDakNP25wvTlF2WJeXXrQF34FAl+muTgACgkQ2WJeXXrQ
|
|
||||||
F35l6wf/TDnqSe6aA/5nvz2FokVUEez6+RpCyi9tx+Rcn/vrwsvjpjy0zd3BKHqf
|
|
||||||
g/T1muULw9hjJdgQLCIt/o87qhEocDgjSVESTtUrhCI6gs0znAFQYF6uHiQj2Pzg
|
|
||||||
gmsgXP8Der0OrEnd+yWlu6HKf5oNsx9s9LazaLbZ3AndjIDdBzT9yMYfvS+kc80F
|
|
||||||
YcGIOtiHbyZMpvpLmlU3IOJxemrBs3eyjZnurHmEg79kPIZF/KpI1jMa1/zsQ9KM
|
|
||||||
GYlem9nsBBOAyorRY2aBSDmI87c6sUe/F5rPXVLHdsllNI7p6GkiWZClMesp6QdA
|
|
||||||
hXdN3kukRf28LMHEXG03lddIjD4EJw==
|
|
||||||
=7I5J
|
|
||||||
-----END PGP SIGNATURE-----
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 14 22:36:13 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to snapshot 20210513 (3def3dae)
|
||||||
|
* No changelog was provided
|
||||||
|
- Add system-libs.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 28 18:09:58 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Sun Feb 28 18:09:58 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,42 +16,38 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define experimental_tag experimental-
|
|
||||||
Name: libfsapfs
|
Name: libfsapfs
|
||||||
Version: 20201107
|
Version: 20210513
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library and tools to access the Apple File System (APFS)
|
Summary: Library and tools to access the Apple File System (APFS)
|
||||||
License: LGPL-3.0-only
|
License: LGPL-3.0-only
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
URL: https://github.com/libyal/libfsapfs
|
URL: https://github.com/libyal/libfsapfs
|
||||||
Source0: https://github.com/libyal/%{name}/releases/download/%{version}/%{name}-%{?experimental_tag}%{version}.tar.gz
|
Source: %name-%version.tar.xz
|
||||||
Source1: https://github.com/libyal/%{name}/releases/download/%{version}/%{name}-%{?experimental_tag}%{version}.tar.gz.asc
|
Patch1: system-libs.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: c_compiler
|
||||||
BuildRequires: automake
|
BuildRequires: gettext-tools >= 0.18.1
|
||||||
BuildRequires: fuse-devel
|
|
||||||
BuildRequires: gettext-tools
|
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python3-devel
|
BuildRequires: pkgconfig(fuse) >= 2.6
|
||||||
BuildRequires: pkgconfig(libbfio)
|
BuildRequires: pkgconfig(libbfio) >= 20201229
|
||||||
BuildRequires: pkgconfig(libcaes) >= 20120425
|
BuildRequires: pkgconfig(libcaes) >= 20201012
|
||||||
BuildRequires: pkgconfig(libcdata)
|
BuildRequires: pkgconfig(libcdata) >= 20200509
|
||||||
BuildRequires: pkgconfig(libcerror) >= 20120526
|
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||||
BuildRequires: pkgconfig(libcfile) >= 20120526
|
BuildRequires: pkgconfig(libcfile) >= 20201229
|
||||||
BuildRequires: pkgconfig(libclocale) >= 20120425
|
BuildRequires: pkgconfig(libclocale) >= 20200913
|
||||||
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
BuildRequires: pkgconfig(libcnotify) >= 20200913
|
||||||
BuildRequires: pkgconfig(libcpath)
|
BuildRequires: pkgconfig(libcpath) >= 20200623
|
||||||
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
BuildRequires: pkgconfig(libcsplit) >= 20200703
|
||||||
BuildRequires: pkgconfig(libcthreads) >= 20130723
|
BuildRequires: pkgconfig(libcthreads) >= 20200508
|
||||||
BuildRequires: pkgconfig(libfcache)
|
BuildRequires: pkgconfig(libfcache) >= 20200708
|
||||||
BuildRequires: pkgconfig(libfdata)
|
BuildRequires: pkgconfig(libfdata) >= 20201129
|
||||||
BuildRequires: pkgconfig(libfdatetime)
|
BuildRequires: pkgconfig(libfdatetime) >= 20180910
|
||||||
BuildRequires: pkgconfig(libfdatetime)
|
BuildRequires: pkgconfig(libfguid) >= 20180724
|
||||||
BuildRequires: pkgconfig(libfguid)
|
BuildRequires: pkgconfig(libhmac) >= 20200104
|
||||||
BuildRequires: pkgconfig(libhmac) >= 20120425
|
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||||
BuildRequires: pkgconfig(libuna) >= 20120425
|
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(zlib) >= 1.2.5
|
BuildRequires: pkgconfig(zlib) >= 1.2.5
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -84,7 +80,6 @@ Requires: %{name} = %{version}
|
|||||||
%description devel
|
%description devel
|
||||||
Development files for %{name}.
|
Development files for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%package -n libfsapfs1
|
%package -n libfsapfs1
|
||||||
Summary: Library for access the Apple File System (APFS)
|
Summary: Library for access the Apple File System (APFS)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -102,9 +97,10 @@ Python bindings for %{name}, a library for access the Apple File System
|
|||||||
(APFS).
|
(APFS).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||||
%define _lto_cflags -ffat-lto-objects
|
%define _lto_cflags -ffat-lto-objects
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@ -114,7 +110,7 @@ export CFLAGS="%{optflags}"
|
|||||||
--enable-debug-output \
|
--enable-debug-output \
|
||||||
--enable-python3
|
--enable-python3
|
||||||
|
|
||||||
%make_build %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -127,8 +123,7 @@ make check || /bin/true
|
|||||||
%postun -n libfsapfs1 -p /sbin/ldconfig
|
%postun -n libfsapfs1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING*
|
||||||
%doc ChangeLog README
|
|
||||||
%{_bindir}/fsapfsinfo
|
%{_bindir}/fsapfsinfo
|
||||||
%{_bindir}/fsapfsmount
|
%{_bindir}/fsapfsmount
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
88
system-libs.patch
Normal file
88
system-libs.patch
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2021-05-12 17:36:02.536572543 +0200
|
||||||
|
|
||||||
|
Some dirs are not present in snapshots directly generated from git
|
||||||
|
(nor are they marked as a submodule). Patch it out, since we have
|
||||||
|
them as system libs.
|
||||||
|
---
|
||||||
|
Makefile.am | 32 --------------------------------
|
||||||
|
configure.ac | 16 ----------------
|
||||||
|
2 files changed, 48 deletions(-)
|
||||||
|
|
||||||
|
Index: libfsapfs/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libfsapfs.orig/Makefile.am
|
||||||
|
+++ libfsapfs/Makefile.am
|
||||||
|
@@ -3,22 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
SUBDIRS = \
|
||||||
|
include \
|
||||||
|
common \
|
||||||
|
- libcerror \
|
||||||
|
- libcthreads \
|
||||||
|
- libcdata \
|
||||||
|
- libclocale \
|
||||||
|
- libcnotify \
|
||||||
|
- libcsplit \
|
||||||
|
- libuna \
|
||||||
|
- libcfile \
|
||||||
|
- libcpath \
|
||||||
|
- libbfio \
|
||||||
|
- libfcache \
|
||||||
|
- libfdata \
|
||||||
|
- libfdatetime \
|
||||||
|
- libfguid \
|
||||||
|
- libhmac \
|
||||||
|
- libcaes \
|
||||||
|
libfsapfs \
|
||||||
|
pyfsapfs \
|
||||||
|
pyfsapfs-python2 \
|
||||||
|
@@ -80,22 +64,6 @@ lib: library
|
||||||
|
|
||||||
|
library:
|
||||||
|
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libfcache && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libfdata && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libhmac && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcaes && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/libfsapfs && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
|
||||||
|
Index: libfsapfs/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- libfsapfs.orig/configure.ac
|
||||||
|
+++ libfsapfs/configure.ac
|
||||||
|
@@ -183,22 +183,6 @@ dnl Generate Makefiles
|
||||||
|
AC_CONFIG_FILES([Makefile])
|
||||||
|
AC_CONFIG_FILES([include/Makefile])
|
||||||
|
AC_CONFIG_FILES([common/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcerror/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcthreads/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcdata/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libclocale/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcnotify/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcsplit/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libuna/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcfile/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcpath/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libbfio/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libfcache/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libfdata/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libfdatetime/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libfguid/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libhmac/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcaes/Makefile])
|
||||||
|
AC_CONFIG_FILES([libfsapfs/Makefile])
|
||||||
|
AC_CONFIG_FILES([pyfsapfs/Makefile])
|
||||||
|
AC_CONFIG_FILES([pyfsapfs-python2/Makefile])
|
Loading…
x
Reference in New Issue
Block a user