forked from pool/libfsclfs
Accepting request 898682 from home:jengelh:forensics
OBS-URL: https://build.opensuse.org/request/show/898682 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsclfs?expand=0&rev=1
This commit is contained in:
commit
4b9ef03d81
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
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/libfsclfs</param>
|
||||
<param name="revision">bf7ff004709b83bd7427fd43703c3a6fcc9d3dc4</param>
|
||||
<!-- see configure.ac -->
|
||||
<param name="versionformat">20210417</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
libfsclfs-20210417.tar.xz
Normal file
3
libfsclfs-20210417.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bf0cc808a5196e6b9edf905c4e5f1c7e812f14f2ebfee4fddb154a4d11928ca
|
||||
size 123188
|
6
libfsclfs.changes
Normal file
6
libfsclfs.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 16 10:54:01 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Initial package for build.opensuse.org
|
||||
(version 20210417/commit bf7ff004)
|
||||
- Add system-libs.patch
|
114
libfsclfs.spec
Normal file
114
libfsclfs.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package libfsclfs
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libfsclfs
|
||||
%define lname libfsclfs1
|
||||
Version: 20210417
|
||||
Release: 0
|
||||
Summary: Library and tools for accessing the Common Log File System (CLFS)
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/libyal/libfsclfs
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: system-libs.patch
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: gettext-tools >= 0.18.1
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libbfio) >= 20201229
|
||||
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(libfdata) >= 20201129
|
||||
BuildRequires: pkgconfig(libfdatetime) >= 20180910
|
||||
BuildRequires: pkgconfig(libfguid) >= 20180724
|
||||
BuildRequires: pkgconfig(libftxf) >= 20180815
|
||||
BuildRequires: pkgconfig(libftxr) >= 20180815
|
||||
BuildRequires: pkgconfig(libfusn) >= 20180726
|
||||
BuildRequires: pkgconfig(libfwnt) >= 20210421
|
||||
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||
|
||||
%description
|
||||
libfsclfs is a library to access the Common Log File System (CLFS).
|
||||
|
||||
Part of the libyal family of libraries.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for accessing the Common Log File System (CLFS)
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
libfsclfs is a library to access the Common Log File System (CLFS).
|
||||
|
||||
Part of the libyal family of libraries.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libfsclfs
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
libfsclfs is a library to access the Common Log File System (CLFS).
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libfsclfs.
|
||||
|
||||
%package tools
|
||||
Summary: Utilities to inspect Common Log File Systems
|
||||
Group: Productivity/File utilities
|
||||
|
||||
%description tools
|
||||
This subpackage provides the utilities from libfsclfs, which allows for
|
||||
reading Common Log File Systems (CLFS).
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||
%configure --disable-static --enable-wide-character-type
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%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
|
||||
%license COPYING*
|
||||
%_libdir/libfsclfs.so.*
|
||||
|
||||
%files devel
|
||||
%_includedir/*
|
||||
%_libdir/*.so
|
||||
%_libdir/pkgconfig/*.pc
|
||||
%_mandir/man3/*.3*
|
||||
|
||||
%files tools
|
||||
%_bindir/fsclfs*
|
||||
%_mandir/man1/fsclfs*
|
||||
|
||||
%changelog
|
93
system-libs.patch
Normal file
93
system-libs.patch
Normal file
@ -0,0 +1,93 @@
|
||||
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 | 18 ------------------
|
||||
2 files changed, 51 deletions(-)
|
||||
|
||||
Index: libfsclfs/Makefile.am
|
||||
===================================================================
|
||||
--- libfsclfs.orig/Makefile.am
|
||||
+++ libfsclfs/Makefile.am
|
||||
@@ -3,25 +3,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = \
|
||||
include \
|
||||
common \
|
||||
- libcerror \
|
||||
- libcthreads \
|
||||
- libcdata \
|
||||
- libclocale \
|
||||
- libcnotify \
|
||||
- libcsplit \
|
||||
- libuna \
|
||||
- libcfile \
|
||||
- libcpath \
|
||||
- libbfio \
|
||||
- libfcache \
|
||||
- libfdata \
|
||||
- libfdatetime \
|
||||
- libfguid \
|
||||
- libfwnt \
|
||||
libfsclfs \
|
||||
- libfusn \
|
||||
- libftxf \
|
||||
- libftxr \
|
||||
fsclfstools \
|
||||
po \
|
||||
manuals \
|
||||
@@ -73,21 +55,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)/libfwnt && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/libfsclfs && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||
|
||||
Index: libfsclfs/configure.ac
|
||||
===================================================================
|
||||
--- libfsclfs.orig/configure.ac
|
||||
+++ libfsclfs/configure.ac
|
||||
@@ -166,25 +166,7 @@ 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([libfwnt/Makefile])
|
||||
AC_CONFIG_FILES([libfsclfs/Makefile])
|
||||
-AC_CONFIG_FILES([libfusn/Makefile])
|
||||
-AC_CONFIG_FILES([libftxf/Makefile])
|
||||
-AC_CONFIG_FILES([libftxr/Makefile])
|
||||
AC_CONFIG_FILES([fsclfstools/Makefile])
|
||||
AC_CONFIG_FILES([po/Makefile.in])
|
||||
AC_CONFIG_FILES([po/Makevars])
|
Loading…
Reference in New Issue
Block a user