pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/riemann-client



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr 14 09:37:31 UTC 2024

Modified Files:
        pkgsrc/sysutils/riemann-client: Makefile PLIST buildlink3.mk distinfo

Log Message:
riemann-client: update to 2.2.0.

Bump API depends.

riemann-c-client 2.2.0
======================
Released on 2023-03-30

License
-------

>From version 2.2.0 onwards, the library is licensed under the [European Union
Public License][eupl], version 1.2. The license is compatible with the
previously used [GNU Lesser General Public License][lgpl].

  [eupl]: https://eupl.eu/1.2/en
  [lgpl]: https://www.gnu.org/licenses/lgpl-3.0.en.html

Documentation
-------------

Updated the `riemann-client(1)` documentation, with a section about caveats,
thanks to Fabien Wernli.

Bugfixes
--------

Fixed `make dist`, so it includes all the files needed to build the library, for
all backing TLS libraries.

riemann-c-client 2.1.1
======================
Released on 2023-07-18

Bugfixes
--------

TLS communication when using GnuTLS has been fixed, thanks to Romain Tartière.
In previous versions, when sending or receiving data over TLS with GnuTLS, there
were scenarios where riemann-c-client prematurely ended communication. The fixed
code properly retries sending/receiving the remaining data.

Miscellaneous
-------------

Minor code cleanups have been made, so that the library uses `calloc()`, rather than a `malloc()` immediately followed by a `memset()` to zeros.

riemann-c-client 2.1.0
======================
Released on 2022-07-20

New features
------------

### OpenSSL is now supported as a backing TLS library

The library now supports OpenSSL as a backing TLS library, along with the
existing GnuTLS and wolfSSL support.

### New methods

The library now provides a `riemann_client_check_version()` function, which can
be used - by different language bindings, usually - to check whether the linked
library satisfies a version requirement.

Similarly, aimed at non-C language bindings, the library now provides a
`riemann_message_create_with_events_n()` method, to create a new message with
events set up front.

Built on top of `riemann_message_create_with_events_n()` is the new
`riemann_communicate_events_n()` function. Primarily intended for language
bindings, but can be useful in any situation where we have the list of events
precomputed, and do not wish to serialize them into a message ourselves.

Related to the above two, `riemann_event_create_full()` allows us to create an
event in a way where we can set all fields at once, if need be, without going
through hoops. The function is trivially bindable too.

Staying near events, the `riemann_event_set_tags()`,
`riemann_event_set_tags_va()`, and `riemann_event_set_tags_n()` trio of
functions are now also available, allowing us to efficiently replace the set of
tags within an event.

Still in the events area, like for tags, we have new functions for attributes
too: `riemann_event_set_attributes()`, `riemann_event_set_attributes_va()`, and
`riemann_event_set_attributes_n()`, for similar purposes as their tag
counterparts. In addition to these, `riemann_event_set_string_attributes_n()`
was also introduced, to set a known number of attributes, via strings.

### Miscellaneous

The `<riemann/simple.h>` header is no longer necessary, the functions formerly
provided by this header are now available by default when using the
`<riemann/riemann-client.h>` header. Using the old header will emit a helpful
deprecation warning.

Bugfixes
--------

The library no longer requires WolfSSL to be compiled with OpenSSL compatibility
support when compiling against said TLS library.

riemann-c-client 2.0.1
======================
Released on 2022-06-12

Bugfixes
--------

Fixed an issue where we were shadowing the `stdin` stream, which in turn
resulted in a compile-time error on at least OpenBSD and NetBSD.

Also updated the build system to allow compilation on the three major BSDs out
of the box, without patches.

riemann-c-client 2.0.0
======================
Released on 2022-03-26

New features
------------

### Multiple backing TLS libraries

The library now supports being compiled with either [GnuTLS][gnutls] or
[wolfSSL][wolfssl] as a backing TLS library.

 [gnutls]: https://gnutls.org/
 [wolfssl]: https://www.wolfssl.com/

### New methods

Added a new method, `riemann_client_get_tls_library()` to query the backing TLS
library at run-time. While most differences are transparently handled, there are
a few (namely, cipher priorities) that aren't. This new function makes it
possible for code building upon this library to conditionally handle them.

Breaking changes
----------------

The library is no longer ABI-compatible with riemann-c-client 1.x.y. API
compatibility has been preserved, but binaries will have to be recompiled.

Additionally, the SONAME of the library now depends on the backing TLS library.
This is transparent when using `pkg-config`, because that'll pull in the
appropriate file. But for packaging purposes, this is something to keep in mind.

riemann-c-client 1.10.5
=======================
Released on 2021-09-25

Bugfixes
--------

Despite the documentation saying so, TLS options were _not_ copied. While in
practice this should not have caused any issues, because the options were used
and never touched again before returning from the function that should've copied
them, it still went against the documentation and against best practices. All
options are properly copied now, and the copies free'd when they're no longer in
use.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/sysutils/riemann-client/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/riemann-client/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/riemann-client/buildlink3.mk
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/riemann-client/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/riemann-client/Makefile
diff -u pkgsrc/sysutils/riemann-client/Makefile:1.25 pkgsrc/sysutils/riemann-client/Makefile:1.26
--- pkgsrc/sysutils/riemann-client/Makefile:1.25        Sun Apr 14 09:15:34 2024
+++ pkgsrc/sysutils/riemann-client/Makefile     Sun Apr 14 09:37:31 2024
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.25 2024/04/14 09:15:34 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2024/04/14 09:37:31 wiz Exp $
 
-#GITHUB_PROJECT=       riemann-c-client
-#GITHUB_TAG=           ${DISTNAME}
-DISTNAME=              riemann-c-client-1.10.4
-PKGNAME=               ${DISTNAME:S/c-//}
-PKGREVISION=           17
-CATEGORIES=            sysutils
-#MASTER_SITES=         ${MASTER_SITE_GITHUB:=algernon/}
+DISTNAME=      riemann-c-client-2.2.0
+PKGNAME=       ${DISTNAME:S/c-//}
+CATEGORIES=    sysutils
+MASTER_SITES=  https://git.madhouse-project.org/algernon/riemann-c-client/archive/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://git.madhouse-project.org/algernon/riemann-c-client
 COMMENT=       C client library for the Riemann monitoring system
-LICENSE=       gnu-lgpl-v3
+LICENSE=       eupl-v1.2
 
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    autoconf automake autoreconf gmake pkg-config
 
+WRKSRC=                ${WRKDIR}/riemann-c-client
+
 TEST_TARGET=   check
 
 LDFLAGS.SunOS+=        -lsocket

Index: pkgsrc/sysutils/riemann-client/PLIST
diff -u pkgsrc/sysutils/riemann-client/PLIST:1.1 pkgsrc/sysutils/riemann-client/PLIST:1.2
--- pkgsrc/sysutils/riemann-client/PLIST:1.1    Thu Oct 13 11:03:13 2016
+++ pkgsrc/sysutils/riemann-client/PLIST        Sun Apr 14 09:37:31 2024
@@ -1,13 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2016/10/13 11:03:13 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/04/14 09:37:31 wiz Exp $
 bin/riemann-client
 include/riemann/attribute.h
 include/riemann/client.h
+include/riemann/communicate.h
 include/riemann/event.h
 include/riemann/message.h
 include/riemann/proto/riemann.pb-c.h
 include/riemann/query.h
 include/riemann/riemann-client.h
 include/riemann/simple.h
-lib/libriemann-client.la
+lib/libriemann-client-gnutls.la
 lib/pkgconfig/riemann-client.pc
 man/man1/riemann-client.1

Index: pkgsrc/sysutils/riemann-client/buildlink3.mk
diff -u pkgsrc/sysutils/riemann-client/buildlink3.mk:1.13 pkgsrc/sysutils/riemann-client/buildlink3.mk:1.14
--- pkgsrc/sysutils/riemann-client/buildlink3.mk:1.13   Sun Apr 14 09:15:34 2024
+++ pkgsrc/sysutils/riemann-client/buildlink3.mk        Sun Apr 14 09:37:31 2024
@@ -1,12 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.13 2024/04/14 09:15:34 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2024/04/14 09:37:31 wiz Exp $
 
 BUILDLINK_TREE+=       riemann-client
 
 .if !defined(RIEMANN_CLIENT_BUILDLINK3_MK)
 RIEMANN_CLIENT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.riemann-client+= riemann-client>=1.9.0
-BUILDLINK_ABI_DEPENDS.riemann-client?= riemann-client>=1.10.4nb14
+BUILDLINK_API_DEPENDS.riemann-client+= riemann-client>=2
 BUILDLINK_PKGSRCDIR.riemann-client?=   ../../sysutils/riemann-client
 
 pkgbase := riemann-client

Index: pkgsrc/sysutils/riemann-client/distinfo
diff -u pkgsrc/sysutils/riemann-client/distinfo:1.5 pkgsrc/sysutils/riemann-client/distinfo:1.6
--- pkgsrc/sysutils/riemann-client/distinfo:1.5 Tue Oct 26 11:20:07 2021
+++ pkgsrc/sysutils/riemann-client/distinfo     Sun Apr 14 09:37:31 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:20:07 nia Exp $
+$NetBSD: distinfo,v 1.6 2024/04/14 09:37:31 wiz Exp $
 
-BLAKE2s (riemann-c-client-1.10.4.tar.gz) = cf931d2be8152138b4d54c4d52353aa44932f2e8a149d917bcf9f88baa552f23
-SHA512 (riemann-c-client-1.10.4.tar.gz) = b46d892adc031a6636d1b3688f9bf7d56a7c956100a544f0d0daa9ba6a1478b65933fff7dafd6e535ebb3589807e6139bd89370d39e24bd5ce7a7f2fe72300a1
-Size (riemann-c-client-1.10.4.tar.gz) = 64007 bytes
-SHA1 (patch-src_cmd-send.c) = a4fa24be0b4c88fd4586807a636d10ca4b3ae743
+BLAKE2s (riemann-c-client-2.2.0.tar.gz) = 6503b21198cf02b6c4a724169bbc47f7b25f00f6481b1f3b5a2af2b9762d4919
+SHA512 (riemann-c-client-2.2.0.tar.gz) = 2f9b68a62227a67400b0964a797d5b41e673b94e0cf2edf9825da0d2d6ecd9a14bc372520c3ba0be017d602de62f83ec0ba917865ee33056f7ab1228aa01aa24
+Size (riemann-c-client-2.2.0.tar.gz) = 68880 bytes



Home | Main Index | Thread Index | Old Index