Sync from SUSE:SLFO:Main libmowgli2 revision 27a636efa79ba4f8fa7fa0aefd12339b

This commit is contained in:
Adrian Schröter 2024-05-06 13:39:16 +02:00
commit 430a03b9ba
4 changed files with 186 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

63
libmowgli2.changes Normal file
View File

@ -0,0 +1,63 @@
-------------------------------------------------------------------
Fri Sep 4 12:18:54 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile constructs
-------------------------------------------------------------------
Wed Aug 21 13:27:11 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 2.1.3
* Build system changes only
-------------------------------------------------------------------
Mon Sep 11 19:26:29 UTC 2017 - jengelh@inai.de
- Update to new upstream release 2.1.1
* Test whether openssl/ec.h exists and conditionally build with
that.
-------------------------------------------------------------------
Tue May 3 10:56:12 UTC 2016 - jengelh@inai.de
- Update to new upstream release 2.1.0
* Fix IPv6 reverse DNS lookups (address to name conversion)
- Remove platform.patch (fixed upstream)
-------------------------------------------------------------------
Wed Jul 23 12:13:51 UTC 2014 - jengelh@inai.de
- Enable openssl support
- Set symbol versions on the library because the API did change
upwards-compatibly
-------------------------------------------------------------------
Sun Jul 20 11:22:14 UTC 2014 - jengelh@inai.de
- Update to snapshot 2.0.0.g185 required by atheme-services-7.1.0
* Added a strndup implementation
* Add method to set SO_REUSEADDR on vio sockets
* eventloop: rename mowgli_eventloop_timer_t.when to
mowgli_eventloop_timer_t.deadline
-------------------------------------------------------------------
Mon Mar 3 21:46:30 UTC 2014 - jengelh@inai.de
- Update project URL
-------------------------------------------------------------------
Sun Mar 3 19:56:23 UTC 2013 - schwab@suse.de
- platform.patch:
Fix invalid cpp directive
-------------------------------------------------------------------
Mon Jun 11 11:59:46 UTC 2012 - cfarrell@suse.com
- license update: ISC
-------------------------------------------------------------------
Thu May 31 12:35:31 UTC 2012 - jengelh@inai.de
- Initial package for build.opensuse.org
- This mostly a rewrite of libmowgli, with a fresh history

97
libmowgli2.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package libmowgli2
#
# Copyright (c) 2020 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: libmowgli2
%define lname libmowgli-2-0
Version: 2.1.3
Release: 0
Summary: A development framework for C (like GLib)
License: ISC
Group: Development/Libraries/C and C++
URL: https://github.com/atheme/libmowgli-2
Source: https://github.com/atheme/libmowgli-2/archive/v%version.tar.gz
BuildRequires: pkgconfig(libssl)
%description
mowgli is a development framework for C (like GLib) which provides
flexible algorithms. It can be used as a suppliment to GLib to add
additional functions (dictionaries, hashes), or replace some of the
slow GLib list manipulation functions, or stand alone. It also
provides a hook system and convenient logging for code, as well as a
block allocator.
%package -n %lname
Summary: The mowgli Gen2 development framework for C
Group: System/Libraries
%description -n %lname
mowgli is a development framework for C (like GLib) which provides
flexible algorithms. It can be used as a suppliment to GLib to add
additional functions (dictionaries, hashes), or replace some of the
slow GLib list manipulation functions, or stand alone. It also
provides a hook system and convenient logging for code, as well as a
block allocator.
This package holds the shared library from libmowgli v2.
%package devel
Summary: The development files for libmowgli v2
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: glibc-devel
%description devel
mowgli is a development framework for C (like GLib) which provides
flexible algorithms. It can be used as a suppliment to GLib to add
additional functions (dictionaries, hashes), or replace some of the
slow GLib list manipulation functions, or stand alone. It also
provides a hook system and convenient logging for code, as well as a
block allocator.
This package holds the development files for libmowgli v2.
%prep
%autosetup -n libmowgli-2-%version -p1
%build
if [ ! -e configure ]; then
./autogen.sh
fi
%configure
# They are still on so.0, but functions were added
echo 'V_%version { global: *; };' >mowgli2.sym
%make_build LDFLAGS="-Wl,--version-script=$PWD/mowgli2.sym"
%install
%make_install
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/libmowgli-2.so.0*
%files devel
%doc doc/BOOST README
%license COPYING
%_includedir/libmowgli-2
%_libdir/libmowgli-2.so
%_libdir/pkgconfig/libmowgli-2.pc
%changelog

BIN
v2.1.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.