Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 773177A1B7 for ; Thu, 13 Oct 2016 11:03:15 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id E6DC985F05; Thu, 13 Oct 2016 11:03:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7579485EFF for ; Thu, 13 Oct 2016 11:03:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id IPdMM_zeuJRp for ; Thu, 13 Oct 2016 11:03:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id C5D5484CF0 for ; Thu, 13 Oct 2016 11:03:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C00FDFBD2; Thu, 13 Oct 2016 11:03:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1476356593177100" MIME-Version: 1.0 Date: Thu, 13 Oct 2016 11:03:13 +0000 From: "Filip Hajny" Subject: CVS commit: pkgsrc/sysutils/riemann-client To: pkgsrc-changes@NetBSD.org Reply-To: fhajny@netbsd.org X-Mailer: log_accum Message-Id: <20161013110313.C00FDFBD2@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1476356593177100 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fhajny Date: Thu Oct 13 11:03:13 UTC 2016 Added Files: pkgsrc/sysutils/riemann-client: DESCR Makefile PLIST buildlink3.mk distinfo options.mk pkgsrc/sysutils/riemann-client/patches: patch-src_cmd-send.c Log Message: Import riemann-client 1.9.1 as sysutils/riemann-client. This is a C client library for the Riemann monitoring system, providing a convenient and simple API, high test coverage and a copyleft license, along with API and ABI stability. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/riemann-client/DESCR \ pkgsrc/sysutils/riemann-client/Makefile \ pkgsrc/sysutils/riemann-client/PLIST \ pkgsrc/sysutils/riemann-client/buildlink3.mk \ pkgsrc/sysutils/riemann-client/distinfo \ pkgsrc/sysutils/riemann-client/options.mk cvs rdiff -u -r0 -r1.1 \ pkgsrc/sysutils/riemann-client/patches/patch-src_cmd-send.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1476356593177100 Content-Disposition: inline Content-Length: 5235 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/sysutils/riemann-client/DESCR diff -u /dev/null pkgsrc/sysutils/riemann-client/DESCR:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/DESCR Thu Oct 13 11:03:13 2016 @@ -0,0 +1,3 @@ +This is a C client library for the Riemann monitoring system, +providing a convenient and simple API, high test coverage and a +copyleft license, along with API and ABI stability. Index: pkgsrc/sysutils/riemann-client/Makefile diff -u /dev/null pkgsrc/sysutils/riemann-client/Makefile:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/Makefile Thu Oct 13 11:03:13 2016 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2016/10/13 11:03:13 fhajny Exp $ + +DISTNAME= riemann-c-client-1.9.1 +PKGNAME= ${DISTNAME:S/c-//} +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_GITHUB:=algernon/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/algernon/riemann-c-client/ +COMMENT= C client library for the Riemann monitoring system +LICENSE= gnu-lgpl-v3 + +GITHUB_PROJECT= riemann-c-client +GITHUB_RELEASE= ${DISTNAME} + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake pkg-config + +.include "options.mk" + +.include "../../devel/protobuf-c/buildlink3.mk" +.include "../../textproc/json-c/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/sysutils/riemann-client/PLIST diff -u /dev/null pkgsrc/sysutils/riemann-client/PLIST:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/PLIST Thu Oct 13 11:03:13 2016 @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2016/10/13 11:03:13 fhajny Exp $ +bin/riemann-client +include/riemann/attribute.h +include/riemann/client.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/pkgconfig/riemann-client.pc +man/man1/riemann-client.1 Index: pkgsrc/sysutils/riemann-client/buildlink3.mk diff -u /dev/null pkgsrc/sysutils/riemann-client/buildlink3.mk:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/buildlink3.mk Thu Oct 13 11:03:13 2016 @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/10/13 11:03:13 fhajny 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_PKGSRCDIR.riemann-client?= ../../sysutils/riemann-client + +pkgbase := riemann-client +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.riemann-client:Mtls) +. include "../../security/gnutls/buildlink3.mk" +.endif + +.endif # RIEMANN_CLIENT_BUILDLINK3_MK + +BUILDLINK_TREE+= -riemann-client Index: pkgsrc/sysutils/riemann-client/distinfo diff -u /dev/null pkgsrc/sysutils/riemann-client/distinfo:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/distinfo Thu Oct 13 11:03:13 2016 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2016/10/13 11:03:13 fhajny Exp $ + +SHA1 (riemann-c-client-1.9.1.tar.xz) = 773c6e4ee6fcf58253811c39cb62a777ad0fc1f3 +RMD160 (riemann-c-client-1.9.1.tar.xz) = 706a9ccd629e8e845605e13af1d18d1824bb3e9f +SHA512 (riemann-c-client-1.9.1.tar.xz) = 92e0adb00e828b0cce66363ec061bc33a87beba4092a6ca642bf0d91d85d85a1e7965753cbe3713a9a1001780da8108062bb80cf3fbea147feb6a924f036573b +Size (riemann-c-client-1.9.1.tar.xz) = 282892 bytes +SHA1 (patch-src_cmd-send.c) = a4fa24be0b4c88fd4586807a636d10ca4b3ae743 Index: pkgsrc/sysutils/riemann-client/options.mk diff -u /dev/null pkgsrc/sysutils/riemann-client/options.mk:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/options.mk Thu Oct 13 11:03:13 2016 @@ -0,0 +1,16 @@ +# $NetBSD: options.mk,v 1.1 2016/10/13 11:03:13 fhajny Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.riemann-client +PKG_SUPPORTED_OPTIONS= tls +PKG_SUGGESTED_OPTIONS+= tls + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= tls + +.if !empty(PKG_OPTIONS:Mtls) +CONFIGURE_ARGS+= --enable-tls +.include "../../security/gnutls/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-tls +.endif Index: pkgsrc/sysutils/riemann-client/patches/patch-src_cmd-send.c diff -u /dev/null pkgsrc/sysutils/riemann-client/patches/patch-src_cmd-send.c:1.1 --- /dev/null Thu Oct 13 11:03:13 2016 +++ pkgsrc/sysutils/riemann-client/patches/patch-src_cmd-send.c Thu Oct 13 11:03:13 2016 @@ -0,0 +1,33 @@ +$NetBSD: patch-src_cmd-send.c,v 1.1 2016/10/13 11:03:13 fhajny Exp $ + +stdin is special. + +--- src/cmd-send.c.orig 2016-04-25 16:50:45.000000000 +0000 ++++ src/cmd-send.c +@@ -138,7 +138,7 @@ client_send (int argc, char *argv[]) + char *keyfn; + char *priorities; + } tls = {NULL, NULL, NULL, NULL}; +- int stdin = 0; ++ int rie_stdin = 0; + + event = riemann_event_new (); + +@@ -263,7 +263,7 @@ client_send (int argc, char *argv[]) + break; + + case '0': +- stdin = 1; ++ rie_stdin = 1; + break; + + case '?': +@@ -312,7 +312,7 @@ client_send (int argc, char *argv[]) + goto end; + } + +- if (stdin) ++ if (rie_stdin) + { + e = _send_continously (client_type, client, event); + --_----------=_1476356593177100--