Accepting request 898674 from home:jengelh:forensics
OBS-URL: https://build.opensuse.org/request/show/898674 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfcrypto?expand=0&rev=1
This commit is contained in:
commit
ecd997c8dc
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/libfcrypto</param>
|
||||
<param name="revision">b240d99e66c2ac57cee58dab5308c9a3a70abd34</param>
|
||||
<!-- see configure.ac -->
|
||||
<param name="versionformat">20210415</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
libfcrypto-20210415.tar.xz
Normal file
3
libfcrypto-20210415.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c1c4bbfab326a285451519b7b26e11c7b08947b39086d9b7a41cf0d06f62651
|
||||
size 66748
|
6
libfcrypto.changes
Normal file
6
libfcrypto.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 14 00:16:45 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Initial package for build.opensuse.org
|
||||
(version 20210415/commit b240d99e)
|
||||
- Add system-libs.patch
|
85
libfcrypto.spec
Normal file
85
libfcrypto.spec
Normal file
@ -0,0 +1,85 @@
|
||||
#
|
||||
# spec file for package libfcrypto
|
||||
#
|
||||
# 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: libfcrypto
|
||||
%define lname libfcrypto1
|
||||
Version: 20210415
|
||||
Release: 0
|
||||
Summary: Library for encryption formats
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/libyal/libfcrypto
|
||||
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(libcerror) >= 20201121
|
||||
|
||||
%description
|
||||
libfcrypto is a library for encryption formats.
|
||||
|
||||
Part of the libyal family of libraries.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for encryption formats
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
libfcrypto is a library for encryption formats.
|
||||
|
||||
Part of the libyal family of libraries.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libfcrypto
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
libfcrypto is a library for encryption formats.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libfcrypto.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||
%configure --disable-static
|
||||
%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/libfcrypto.so.*
|
||||
|
||||
%files devel
|
||||
%_includedir/*
|
||||
%_libdir/*.so
|
||||
%_libdir/pkgconfig/*.pc
|
||||
%_mandir/man3/*.3*
|
||||
|
||||
%changelog
|
43
system-libs.patch
Normal file
43
system-libs.patch
Normal file
@ -0,0 +1,43 @@
|
||||
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 | 2 --
|
||||
configure.ac | 1 -
|
||||
2 files changed, 3 deletions(-)
|
||||
|
||||
Index: libfcrypto/Makefile.am
|
||||
===================================================================
|
||||
--- libfcrypto.orig/Makefile.am
|
||||
+++ libfcrypto/Makefile.am
|
||||
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = \
|
||||
include \
|
||||
common \
|
||||
- libcerror \
|
||||
libfcrypto \
|
||||
po \
|
||||
manuals \
|
||||
@@ -53,7 +52,6 @@ lib: library
|
||||
|
||||
library:
|
||||
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/libfcrypto && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||
|
||||
Index: libfcrypto/configure.ac
|
||||
===================================================================
|
||||
--- libfcrypto.orig/configure.ac
|
||||
+++ libfcrypto/configure.ac
|
||||
@@ -91,7 +91,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([libfcrypto/Makefile])
|
||||
AC_CONFIG_FILES([po/Makefile.in])
|
||||
AC_CONFIG_FILES([po/Makevars])
|
Loading…
Reference in New Issue
Block a user