SHA256
1
0
forked from pool/libewf

- Update to snapshot 20230324

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libewf?expand=0&rev=29
This commit is contained in:
Jan Engelhardt 2023-03-26 10:13:29 +00:00 committed by Git OBS Bridge
parent d0d95aef58
commit 26f39688f6
3 changed files with 114 additions and 2 deletions

104
20230324.diff Normal file
View File

@ -0,0 +1,104 @@
git diff 20230212..20230324 -w -p
diff --git a/configure.ac b/configure.ac
index 933684ef..d808beaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.71])
AC_INIT(
[libewf],
- [20230212],
+ [20230324],
[joachim.metz@gmail.com])
AC_CONFIG_SRCDIR(
diff --git a/libewf/libewf_libfdata.h b/libewf/libewf_libfdata.h
index 68dd5d19..f7cf74bd 100644
--- a/libewf/libewf_libfdata.h
+++ b/libewf/libewf_libfdata.h
@@ -34,8 +34,6 @@
#include <libfdata_list_element.h>
#include <libfdata_range_list.h>
#include <libfdata_stream.h>
-#include <libfdata_tree.h>
-#include <libfdata_tree_node.h>
#include <libfdata_types.h>
#include <libfdata_vector.h>
diff --git a/m4/libfdata.m4 b/m4/libfdata.m4
index 483cb64f..718b4fbc 100644
--- a/m4/libfdata.m4
+++ b/m4/libfdata.m4
@@ -1,6 +1,6 @@
dnl Functions for libfdata
dnl
-dnl Version: 20201130
+dnl Version: 20230318
dnl Function to detect if libfdata is available
dnl ac_libfdata_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l<library> arguments
@@ -125,9 +125,6 @@ AC_DEFUN([AX_LIBFDATA_CHECK_LIB],
[ac_cv_libfdata_dummy=yes],
[ac_cv_libfdata=no])
- dnl Balanced tree functions
- dnl TODO: add functions
-
dnl List functions
AC_CHECK_LIB(
fdata,
diff --git a/m4/libodraw.m4 b/m4/libodraw.m4
index cdb37cd1..9da9198f 100644
--- a/m4/libodraw.m4
+++ b/m4/libodraw.m4
@@ -1,6 +1,6 @@
dnl Checks for libodraw required headers and functions
dnl
-dnl Version: 20190308
+dnl Version: 20230218
dnl Function to detect if libodraw is available
dnl ac_libodraw_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l<library> arguments
@@ -197,7 +197,7 @@ AC_DEFUN([AX_LIBODRAW_CHECK_LIB],
dnl Function to detect if libodraw dependencies are available
AC_DEFUN([AX_LIBODRAW_CHECK_LOCAL],
- [AM_PROG_LEX
+ [AC_PROG_LEX(noyywrap)
AC_PROG_YACC
ac_cv_libodraw_CPPFLAGS="-I../libodraw";
diff --git a/msvscpp/libfdata/libfdata.vcproj b/msvscpp/libfdata/libfdata.vcproj
index ef9af59c..5ddb62e2 100644
--- a/msvscpp/libfdata/libfdata.vcproj
+++ b/msvscpp/libfdata/libfdata.vcproj
@@ -198,14 +198,6 @@
RelativePath="..\..\libfdata\libfdata_support.c"
>
</File>
- <File
- RelativePath="..\..\libfdata\libfdata_tree.c"
- >
- </File>
- <File
- RelativePath="..\..\libfdata\libfdata_tree_node.c"
- >
- </File>
<File
RelativePath="..\..\libfdata\libfdata_vector.c"
>
@@ -288,14 +280,6 @@
RelativePath="..\..\libfdata\libfdata_support.h"
>
</File>
- <File
- RelativePath="..\..\libfdata\libfdata_tree.h"
- >
- </File>
- <File
- RelativePath="..\..\libfdata\libfdata_tree_node.h"
- >
- </File>
<File
RelativePath="..\..\libfdata\libfdata_types.h"
>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 26 10:01:31 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 20230324
* Adjust to changed libfdata API
- Add 20230324.diff
-------------------------------------------------------------------
Tue Feb 14 01:22:44 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -32,6 +32,7 @@ Source21: Expert_Witness_Compression_Format_EWF.pdf
Source23: Expert_Witness_Compression_Format_2_EWF2.pdf
Patch1: remove_date_time_macros.patch
Patch2: system-libs.patch
Patch3: 20230324.diff
BuildRequires: %{python_module devel}
BuildRequires: bison
BuildRequires: c_compiler
@ -140,8 +141,8 @@ echo "$python" >lastpython
}
%install
mv %_builddir/rt/* %buildroot/
find %buildroot -type f -name "*.la" -delete -print
mv "%_builddir/rt"/* "%buildroot/"
find "%buildroot" -type f -name "*.la" -delete -print
install -Dpm0755 %_sourcedir/mount*py "%buildroot/%_sbindir/mount.ewf"
ln -s mount.ewf "%buildroot%_sbindir/umount.ewf"