From 94e1a8d1fb0748a30b2d78463609727156eee05c4710c6d2a48ebdf46874268b Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Mon, 7 Jun 2021 21:41:29 +0000 Subject: [PATCH] Accepting request 898058 from home:jengelh:forensics - Update to snapshot 20210411 (9ece23ab) OBS-URL: https://build.opensuse.org/request/show/898058 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libcsplit?expand=0&rev=9 --- _service | 14 +++++++++++ libcsplit-20210411.tar.xz | 3 +++ libcsplit-beta-20200703.tar.gz | 3 --- libcsplit.changes | 7 ++++++ libcsplit.spec | 45 +++++++++++++++++----------------- system-libs.patch | 43 ++++++++++++++++++++++++++++++++ 6 files changed, 89 insertions(+), 26 deletions(-) create mode 100644 _service create mode 100644 libcsplit-20210411.tar.xz delete mode 100644 libcsplit-beta-20200703.tar.gz create mode 100644 system-libs.patch diff --git a/_service b/_service new file mode 100644 index 0000000..9d40d6f --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/libyal/libcsplit + 9ece23ab25febd2d0510b87e07ba7816b833aca7 + + 20210411 + + + *.tar + xz + + + diff --git a/libcsplit-20210411.tar.xz b/libcsplit-20210411.tar.xz new file mode 100644 index 0000000..6ea83ba --- /dev/null +++ b/libcsplit-20210411.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb3540b182b234cc4642e4a51c63212562dbf85dfdd7b77b8d6923f49b392f4a +size 57680 diff --git a/libcsplit-beta-20200703.tar.gz b/libcsplit-beta-20200703.tar.gz deleted file mode 100644 index bac6545..0000000 --- a/libcsplit-beta-20200703.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db9b473bdf954d81cff3725d70e067fd8a30dd77ae6ee55cf96bdd81e3ce67bf -size 512309 diff --git a/libcsplit.changes b/libcsplit.changes index 55b19a0..4947237 100644 --- a/libcsplit.changes +++ b/libcsplit.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 12 17:26:33 UTC 2021 - Jan Engelhardt + +- Update to snapshot 20210411 (9ece23ab) + * No changelog was provided +- Add system-libs.patch + ------------------------------------------------------------------- Tue Dec 29 22:35:01 UTC 2020 - Greg Freemyer diff --git a/libcsplit.spec b/libcsplit.spec index 83bf17c..867a873 100644 --- a/libcsplit.spec +++ b/libcsplit.spec @@ -1,7 +1,7 @@ # # spec file for package libcsplit # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -12,35 +12,37 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libcsplit %define lname libcsplit1 -%define timestamp 20200703 -Version: 0~%timestamp +Version: 20210411 Release: 0 -Summary: Library for cross-platform C split string functions -License: LGPL-3.0+ +Summary: Library for C split string functions +License: LGPL-3.0-or-later Group: Development/Libraries/C and C++ -Url: https://github.com/libyal/libcsplit/wiki -Source: https://github.com/libyal/libcsplit/releases/download/%timestamp/%{name}-beta-%timestamp.tar.gz -#BuildRequires: pkg-config -BuildRequires: pkgconfig(libcerror) >= 20130904 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://github.com/libyal/libcsplit +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 -A library for cross-platform C split string functions. +A library for C split string functions. This package is part of the libyal library collection and is used by other libraries in the collection %package -n %lname -Summary: Library for cross-platform C split string functions +Summary: Library for C split string functions Group: System/Libraries %description -n %lname -Library for cross-platform C split string functions. +Library for C split string functions. Part of the libyal family of libraries. @@ -53,25 +55,26 @@ Also see: libcnotify; notification functions libcfile; file functions libcpath; path functions - libcthreads; threads functions + libcthreads; threads functions %package devel -Summary: Development files for libcsplit, a cross-platform C split string library +Summary: Development files for libcsplit, a C split string library Group: Development/Libraries/C and C++ Requires: %lname = %{version} %description devel -A library for cross-platform C split string functions. +A library for C split string functions. This subpackage contains libraries and header files for developing applications that want to make use of libcsplit. %prep -%setup -qn libcsplit-%timestamp +%autosetup -p1 %build +if [ ! -e configure ]; then ./autogen.sh; fi %configure --disable-static --enable-wide-character-type -make %{?_smp_mflags} +%make_build %install %make_install @@ -81,14 +84,10 @@ rm -f "%{buildroot}/%{_libdir}"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc AUTHORS ChangeLog %license COPYING* %{_libdir}/libcsplit.so.1* %files devel -%defattr(-,root,root) -%doc AUTHORS ChangeLog %license COPYING* %{_includedir}/libcsplit* %{_libdir}/libcsplit.so diff --git a/system-libs.patch b/system-libs.patch new file mode 100644 index 0000000..2e91b92 --- /dev/null +++ b/system-libs.patch @@ -0,0 +1,43 @@ +From: Jan Engelhardt +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: libcsplit-20210411/Makefile.am +=================================================================== +--- libcsplit-20210411.orig/Makefile.am ++++ libcsplit-20210411/Makefile.am +@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = \ + include \ + common \ +- libcerror \ + libcsplit \ + po \ + manuals \ +@@ -53,7 +52,6 @@ lib: library + + library: + cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS) +- cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS) + cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS) + cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS) + +Index: libcsplit-20210411/configure.ac +=================================================================== +--- libcsplit-20210411.orig/configure.ac ++++ libcsplit-20210411/configure.ac +@@ -94,7 +94,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([libcsplit/Makefile]) + AC_CONFIG_FILES([po/Makefile.in]) + AC_CONFIG_FILES([po/Makevars])