Accepting request 898782 from security:forensics
OBS-URL: https://build.opensuse.org/request/show/898782 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevtx?expand=0&rev=19
This commit is contained in:
commit
dd55474cb9
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/libevtx</param>
|
||||||
|
<param name="revision">c23e14d09d0e20e1cc8166219e353da6fe64e12f</param>
|
||||||
|
<!-- see configure.ac -->
|
||||||
|
<param name="versionformat">20210504</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
libevtx-20210504.tar.xz
Normal file
3
libevtx-20210504.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2450a6e15c8f92ed2444693b296de084485d4652d2e56ac410d95afec12add53
|
||||||
|
size 185212
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4209bd251204b7903168748941a431ad70e11218fb006e1fe7cd75a64ce14c0e
|
|
||||||
size 1952427
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 13 11:32:48 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to snapshot 20210504 (c23e14d0)
|
||||||
|
* No changelog was provided
|
||||||
|
- Add system-libs.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 26 23:59:25 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
Sat Dec 26 23:59:25 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
97
libevtx.spec
97
libevtx.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libevtx
|
# spec file for package libevtx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
@ -17,50 +17,46 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: libevtx
|
|
||||||
%define lname libevtx1
|
%define lname libevtx1
|
||||||
%define timestamp 20200709
|
Name: libevtx
|
||||||
Version: 0~%timestamp
|
Version: 20210504
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library and tools to access the Windows XML Event Log (EVTX) format
|
Summary: Library and tools to access the Windows XML Event Log (EVTX) format
|
||||||
License: LGPL-3.0-or-later AND GFDL-1.3-only
|
License: GFDL-1.3-only AND LGPL-3.0-or-later
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
URL: https://github.com/libyal/libevtx/wiki
|
URL: https://github.com/libyal/libevtx
|
||||||
Source: https://github.com/libyal/libevtx/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
|
Source: %name-%version.tar.xz
|
||||||
Source2: Windows_XML_Event_Log_EVTX.pdf
|
Source2: Windows_XML_Event_Log_EVTX.pdf
|
||||||
|
Patch1: system-libs.patch
|
||||||
|
BuildRequires: c_compiler
|
||||||
|
BuildRequires: gettext-tools >= 0.18.1
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: pkgconfig(libbfio) >= 20201229
|
||||||
|
BuildRequires: pkgconfig(libcdata) >= 20200509
|
||||||
|
BuildRequires: pkgconfig(libcdirectory) >= 20200702
|
||||||
|
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(libexe) >= 20210424
|
||||||
|
BuildRequires: pkgconfig(libfcache) >= 20200708
|
||||||
|
BuildRequires: pkgconfig(libfdata) >= 20201129
|
||||||
|
BuildRequires: pkgconfig(libfdatetime) >= 20180910
|
||||||
|
BuildRequires: pkgconfig(libfguid) >= 20180724
|
||||||
|
BuildRequires: pkgconfig(libfvalue) >= 20210510
|
||||||
|
BuildRequires: pkgconfig(libfwevt) >= 20210508
|
||||||
|
BuildRequires: pkgconfig(libfwnt) >= 20210421
|
||||||
|
BuildRequires: pkgconfig(libregf) >= 20210419
|
||||||
|
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||||
|
BuildRequires: pkgconfig(libwrc) >= 20210425
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python-devel
|
BuildRequires: pkgconfig(python2)
|
||||||
%endif
|
%endif
|
||||||
#latest version of these in OBS as of Jan 28, 2016
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(libbfio) >= 20160108
|
|
||||||
BuildRequires: pkgconfig(libcdata) >= 20130407
|
|
||||||
BuildRequires: pkgconfig(libcdirectory) >= 20120425
|
|
||||||
BuildRequires: pkgconfig(libcfile) >= 20130609
|
|
||||||
BuildRequires: pkgconfig(libclocale) >= 20150101
|
|
||||||
BuildRequires: pkgconfig(libcnotify) >= 20150101
|
|
||||||
BuildRequires: pkgconfig(libcpath) >= 20130609
|
|
||||||
BuildRequires: pkgconfig(libcsplit) >= 20130609
|
|
||||||
BuildRequires: pkgconfig(libcsystem) >= 20150629
|
|
||||||
BuildRequires: pkgconfig(libexe) >= 20120405
|
|
||||||
BuildRequires: pkgconfig(libfcache) >= 20120405
|
|
||||||
BuildRequires: pkgconfig(libfdata) >= 20120405
|
|
||||||
BuildRequires: pkgconfig(libregf) >= 20140803
|
|
||||||
BuildRequires: pkgconfig(libuna) >= 20130609
|
|
||||||
BuildRequires: pkgconfig(libwrc) >= 20140803
|
|
||||||
|
|
||||||
#testing fails if the factory package is used, use the internal version
|
|
||||||
#verified 2/2/2016
|
|
||||||
#BuildRequires: pkgconfig(libfvalue) > 20151226
|
|
||||||
#BuildRequires: pkgconfig(libfguid) >= 20150104
|
|
||||||
#BuildRequires: pkgconfig(libfdatetime) >= 20150507
|
|
||||||
#BuildRequires: pkgconfig(libfwnt) >= 20151206
|
|
||||||
#BuildRequires: pkgconfig(libfwevt) >= 20160103
|
|
||||||
#build fails if the factory package is used, use the internal version
|
|
||||||
#verified 1/28/2016
|
|
||||||
#BuildRequires: pkgconfig(libcstring) > 20150101
|
|
||||||
#BuildRequires: pkgconfig(libcerror) > 20150407
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Library and tools to access the Windows XML Event Log (EVTX) format.
|
Library and tools to access the Windows XML Event Log (EVTX) format.
|
||||||
@ -85,7 +81,7 @@ Tools for parsing EVTX files. These include evtxinfo and evtxexport.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libevtx, a Windows XML Event file parser
|
Summary: Development files for libevtx, a Windows XML Event file parser
|
||||||
License: LGPL-3.0-or-later AND GFDL-1.3-only
|
License: GFDL-1.3-only AND LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
@ -99,8 +95,6 @@ applications that want to make use of %name.
|
|||||||
Summary: Python2 bindings for libevtx
|
Summary: Python2 bindings for libevtx
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %lname = %version
|
|
||||||
BuildRequires: pkgconfig(python2)
|
|
||||||
Obsoletes: pyevtx <= 20191221
|
Obsoletes: pyevtx <= 20191221
|
||||||
Obsoletes: python-%name <= 20191221
|
Obsoletes: python-%name <= 20191221
|
||||||
|
|
||||||
@ -111,17 +105,16 @@ Python bindings for libevtx, which can read Windows XML Event files.
|
|||||||
Summary: Python bindings for libevtx
|
Summary: Python bindings for libevtx
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %lname = %version
|
|
||||||
BuildRequires: pkgconfig(python3)
|
|
||||||
|
|
||||||
%description -n python3-%name
|
%description -n python3-%name
|
||||||
Python bindings for libevtx, which can read Windows XML Event files.
|
Python bindings for libevtx, which can read Windows XML Event files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn libevtx-%timestamp
|
%autosetup -p1
|
||||||
cp "%SOURCE2" .
|
cp "%SOURCE2" .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-wide-character-type \
|
--enable-wide-character-type \
|
||||||
@ -129,28 +122,24 @@ cp "%SOURCE2" .
|
|||||||
--enable-python2 \
|
--enable-python2 \
|
||||||
%endif
|
%endif
|
||||||
--enable-python3
|
--enable-python3
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
%make_install
|
||||||
find %buildroot -name '*.la' -delete
|
find %buildroot -name '*.la' -delete
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%license COPYING*
|
||||||
%doc AUTHORS ChangeLog
|
|
||||||
%license COPYING
|
|
||||||
%_libdir/libevtx.so.*
|
%_libdir/libevtx.so.*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%_bindir/evtx*
|
%_bindir/evtx*
|
||||||
%_mandir/man1/evt*.1*
|
%_mandir/man1/evt*.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Windows_XML_Event_Log*.pdf
|
%doc Windows_XML_Event_Log*.pdf
|
||||||
%_includedir/libevtx.h
|
%_includedir/libevtx.h
|
||||||
%_includedir/libevtx/
|
%_includedir/libevtx/
|
||||||
@ -160,16 +149,12 @@ find %buildroot -name '*.la' -delete
|
|||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%files -n python2-%name
|
%files -n python2-%name
|
||||||
%defattr(-,root,root)
|
%license COPYING*
|
||||||
%doc AUTHORS README
|
|
||||||
%license COPYING
|
|
||||||
%python2_sitearch/pyevtx.so
|
%python2_sitearch/pyevtx.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python3-%name
|
%files -n python3-%name
|
||||||
%defattr(-,root,root)
|
%license COPYING*
|
||||||
%doc AUTHORS README
|
|
||||||
%license COPYING
|
|
||||||
%python3_sitearch/pyevtx.so
|
%python3_sitearch/pyevtx.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
104
system-libs.patch
Normal file
104
system-libs.patch
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
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 | 38 --------------------------------------
|
||||||
|
configure.ac | 21 ---------------------
|
||||||
|
2 files changed, 59 deletions(-)
|
||||||
|
|
||||||
|
Index: libevtx/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libevtx.orig/Makefile.am
|
||||||
|
+++ libevtx/Makefile.am
|
||||||
|
@@ -3,28 +3,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
SUBDIRS = \
|
||||||
|
include \
|
||||||
|
common \
|
||||||
|
- libcerror \
|
||||||
|
- libcthreads \
|
||||||
|
- libcdata \
|
||||||
|
- libclocale \
|
||||||
|
- libcnotify \
|
||||||
|
- libcsplit \
|
||||||
|
- libuna \
|
||||||
|
- libcfile \
|
||||||
|
- libcpath \
|
||||||
|
- libbfio \
|
||||||
|
- libfcache \
|
||||||
|
- libfdata \
|
||||||
|
- libfdatetime \
|
||||||
|
- libfguid \
|
||||||
|
- libfvalue \
|
||||||
|
- libfwevt \
|
||||||
|
- libfwnt \
|
||||||
|
libevtx \
|
||||||
|
- libexe \
|
||||||
|
- libregf \
|
||||||
|
- libwrc \
|
||||||
|
- libcdirectory \
|
||||||
|
evtxtools \
|
||||||
|
pyevtx \
|
||||||
|
pyevtx-python2 \
|
||||||
|
@@ -86,23 +65,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)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libfwevt && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libfwnt && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/libevtx && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
|
||||||
|
Index: libevtx/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- libevtx.orig/configure.ac
|
||||||
|
+++ libevtx/configure.ac
|
||||||
|
@@ -191,31 +191,10 @@ 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([libfvalue/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libfwevt/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libfwnt/Makefile])
|
||||||
|
AC_CONFIG_FILES([libevtx/Makefile])
|
||||||
|
AC_CONFIG_FILES([pyevtx/Makefile])
|
||||||
|
AC_CONFIG_FILES([pyevtx-python2/Makefile])
|
||||||
|
AC_CONFIG_FILES([pyevtx-python3/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libexe/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libregf/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libwrc/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcdirectory/Makefile])
|
||||||
|
AC_CONFIG_FILES([evtxtools/Makefile])
|
||||||
|
AC_CONFIG_FILES([po/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([po/Makevars])
|
Loading…
x
Reference in New Issue
Block a user