Accepting request 898735 from home:jengelh:forensics
- Update to snapshot 20210419 (7b40e4b7) OBS-URL: https://build.opensuse.org/request/show/898735 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libluksde?expand=0&rev=6
This commit is contained in:
parent
05e6d8495c
commit
e1f7fd8d37
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/libluksde</param>
|
||||
<param name="revision">7b40e4b77cf02541dea5a327bbd98a9f08868e8d</param>
|
||||
<!-- see configure.ac -->
|
||||
<param name="versionformat">20210419</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
libluksde-20210419.tar.xz
Normal file
3
libluksde-20210419.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb191cc148d1f9ab49f38a3ed4f6423b298e5d12aadfaa089c9059dc3f03a23e
|
||||
size 154244
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09102caad26d2ca8a0d3cdbd5a356f4d22ac43dc9ba67724d512b89be74864ff
|
||||
size 1585131
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 13 23:47:24 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to snapshot 20210419 (7b40e4b7)
|
||||
* No changelog was provided
|
||||
- Add system-libs.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 02:20:26 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libluksde
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,38 +17,38 @@
|
||||
|
||||
|
||||
%define lname libluksde1
|
||||
%define timestamp 20200205
|
||||
Name: libluksde
|
||||
Version: 0~%{timestamp}
|
||||
Version: 20210419
|
||||
Release: 0
|
||||
Summary: Library and tools to access LUKS Disk Encryption encrypted files
|
||||
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
||||
License: GFDL-1.3-or-later AND LGPL-3.0-or-later
|
||||
Group: Productivity/File utilities
|
||||
URL: https://github.com/libyal/libluksde/wiki
|
||||
Source: https://github.com/libyal/libluksde/releases/download/%{timestamp}/%{name}-experimental-%{timestamp}.tar.gz
|
||||
URL: https://github.com/libyal/libluksde
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch1: system-libs.patch
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: gettext-tools >= 0.18.1
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: pkgconfig(libbfio) >= 20130721
|
||||
BuildRequires: pkgconfig(libcdata) >= 20130904
|
||||
BuildRequires: pkgconfig(libcfile) >= 20130609
|
||||
BuildRequires: pkgconfig(libclocale) >= 20130609
|
||||
BuildRequires: pkgconfig(libcnotify) >= 20130609
|
||||
BuildRequires: pkgconfig(libcpath) >= 20130609
|
||||
BuildRequires: pkgconfig(libcsplit) >= 20130609
|
||||
BuildRequires: pkgconfig(libcstring) >= 20150101
|
||||
BuildRequires: pkgconfig(libcsystem) >= 20120425
|
||||
BuildRequires: pkgconfig(libcthreads)
|
||||
BuildRequires: pkgconfig(libfdatetime) >= 20130317
|
||||
BuildRequires: pkgconfig(libfguid) >= 20130904
|
||||
BuildRequires: pkgconfig(libfwnt)
|
||||
BuildRequires: pkgconfig(libuna) >= 20120425
|
||||
#as of Feb 28, 2017, recent releases of the below all cause compile errors.
|
||||
#BuildRequires: pkgconfig(libfdata)
|
||||
#BuildRequires: pkgconfig(libfcache)
|
||||
#BuildRequires: pkgconfig(libcerror) > 20170101
|
||||
#not yet in OBS
|
||||
#BuildRequires: pkgconfig(libfusn)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig(libbfio) >= 20201229
|
||||
BuildRequires: pkgconfig(libcaes) >= 20201012
|
||||
BuildRequires: pkgconfig(libcdata) >= 20200509
|
||||
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||
BuildRequires: pkgconfig(libcfile) >= 20201229
|
||||
BuildRequires: pkgconfig(libclocale) >= 20200913
|
||||
BuildRequires: pkgconfig(libcnotify) >= 20200913
|
||||
BuildRequires: pkgconfig(libcpath) >= 20200623
|
||||
BuildRequires: pkgconfig(libcsplit) >= 20200703
|
||||
BuildRequires: pkgconfig(libcthreads) >= 20200508
|
||||
BuildRequires: pkgconfig(libfcache) >= 20200708
|
||||
BuildRequires: pkgconfig(libfcrypto) >= 20200104
|
||||
BuildRequires: pkgconfig(libfdata) >= 20201129
|
||||
BuildRequires: pkgconfig(libfdatetime) >= 20180910
|
||||
BuildRequires: pkgconfig(libfguid) >= 20180724
|
||||
BuildRequires: pkgconfig(libhmac) >= 20200104
|
||||
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||
BuildRequires: pkgconfig(python3)
|
||||
|
||||
%description
|
||||
Library and tools to access the New Technology File System (NTFS).
|
||||
@ -73,7 +73,7 @@ libluksde-tools is a project to access LUKS Disk Encrypted volumes.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libluksde
|
||||
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
||||
License: GFDL-1.3-or-later AND LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
@ -87,41 +87,35 @@ applications that want to make use of %{name}.
|
||||
Summary: Python 3 bindings for libluksde
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Requires: %{lname} = %{version}
|
||||
Requires: python3
|
||||
BuildRequires: pkgconfig(python3)
|
||||
|
||||
%description -n python3-%{name}
|
||||
Python 3 binding for libluksde, which can access the NTFS filesystem.
|
||||
|
||||
%prep
|
||||
%setup -q -n libluksde-%{timestamp}
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||
%configure --disable-static --enable-wide-character-type --enable-python3
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog
|
||||
%license COPYING*
|
||||
%{_libdir}/libluksde.so.*
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/luksde*
|
||||
%{_mandir}/man1/luksdeinfo.1*
|
||||
%{_mandir}/man1/luksdemount.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libluksde.h
|
||||
%{_includedir}/libluksde/
|
||||
%{_libdir}/libluksde.so
|
||||
@ -129,9 +123,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_mandir}/man3/libluksde.3*
|
||||
|
||||
%files -n python3-%{name}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS
|
||||
%license COPYING
|
||||
%license COPYING*
|
||||
%{python3_sitearch}/pyluksde.so
|
||||
|
||||
%changelog
|
||||
|
89
system-libs.patch
Normal file
89
system-libs.patch
Normal file
@ -0,0 +1,89 @@
|
||||
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 | 33 ---------------------------------
|
||||
configure.ac | 16 ----------------
|
||||
2 files changed, 49 deletions(-)
|
||||
|
||||
Index: libluksde/Makefile.am
|
||||
===================================================================
|
||||
--- libluksde.orig/Makefile.am
|
||||
+++ libluksde/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 \
|
||||
- libfguid \
|
||||
- libhmac \
|
||||
- libcaes \
|
||||
- libfcrypto \
|
||||
libluksde \
|
||||
luksdetools \
|
||||
pyluksde \
|
||||
@@ -80,23 +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)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libhmac && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcaes && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libfcrypto && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/libluksde && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||
|
||||
Index: libluksde/configure.ac
|
||||
===================================================================
|
||||
--- libluksde.orig/configure.ac
|
||||
+++ libluksde/configure.ac
|
||||
@@ -179,22 +179,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([libfguid/Makefile])
|
||||
-AC_CONFIG_FILES([libhmac/Makefile])
|
||||
-AC_CONFIG_FILES([libcaes/Makefile])
|
||||
-AC_CONFIG_FILES([libfcrypto/Makefile])
|
||||
AC_CONFIG_FILES([libluksde/Makefile])
|
||||
AC_CONFIG_FILES([pyluksde/Makefile])
|
||||
AC_CONFIG_FILES([pyluksde-python2/Makefile])
|
Loading…
Reference in New Issue
Block a user