Received: by mail.netbsd.org (Postfix, from userid 605) id 9EF9784D80; Sun, 15 May 2022 19:11:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D5BB084D50 for ; Sun, 15 May 2022 19:11:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vTg9oqM8WVzQ for ; Sun, 15 May 2022 19:11:44 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E413E84CE8 for ; Sun, 15 May 2022 19:11:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 01905FAEB; Sun, 15 May 2022 19:12:11 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1652641931108890" MIME-Version: 1.0 Date: Sun, 15 May 2022 19:12:11 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/chat To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20220515191212.01905FAEB@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1652641931108890 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Sun May 15 19:12:11 UTC 2022 Modified Files: pkgsrc/chat: Makefile Added Files: pkgsrc/chat/libstrophe: DESCR Makefile buildlink3.mk distinfo pkgsrc/chat/libstrophe/patches: patch-configure.ac Log Message: chat: add libstrophe libstrophe is a minimal XMPP library written in C. It has almost no external dependencies, only an XML parsing library (expat or libxml are both supported). It is designed for both POSIX and Windows systems. To generate a diff of this commit: cvs rdiff -u -r1.271 -r1.272 pkgsrc/chat/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/chat/libstrophe/DESCR \ pkgsrc/chat/libstrophe/Makefile pkgsrc/chat/libstrophe/buildlink3.mk \ pkgsrc/chat/libstrophe/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/chat/libstrophe/patches/patch-configure.ac Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1652641931108890 Content-Disposition: inline Content-Length: 4004 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/chat/Makefile diff -u pkgsrc/chat/Makefile:1.271 pkgsrc/chat/Makefile:1.272 --- pkgsrc/chat/Makefile:1.271 Wed Apr 20 10:19:26 2022 +++ pkgsrc/chat/Makefile Sun May 15 19:12:11 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.271 2022/04/20 10:19:26 js Exp $ +# $NetBSD: Makefile,v 1.272 2022/05/15 19:12:11 nia Exp $ # COMMENT= Communication programs @@ -73,6 +73,7 @@ SUBDIR+= libmsn SUBDIR+= libotr SUBDIR+= libpurple SUBDIR+= libsignal-protocol-c +SUBDIR+= libstrophe SUBDIR+= libtelepathy SUBDIR+= libtlen SUBDIR+= loudmouth Added files: Index: pkgsrc/chat/libstrophe/DESCR diff -u /dev/null pkgsrc/chat/libstrophe/DESCR:1.1 --- /dev/null Sun May 15 19:12:11 2022 +++ pkgsrc/chat/libstrophe/DESCR Sun May 15 19:12:11 2022 @@ -0,0 +1,3 @@ +libstrophe is a minimal XMPP library written in C. It has almost no external +dependencies, only an XML parsing library (expat or libxml are both supported). +It is designed for both POSIX and Windows systems. Index: pkgsrc/chat/libstrophe/Makefile diff -u /dev/null pkgsrc/chat/libstrophe/Makefile:1.1 --- /dev/null Sun May 15 19:12:11 2022 +++ pkgsrc/chat/libstrophe/Makefile Sun May 15 19:12:11 2022 @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2022/05/15 19:12:11 nia Exp $ + +DISTNAME= libstrophe-0.12.0 +CATEGORIES= chat +MASTER_SITES= ${MASTER_SITE_GITHUB:=strophe/} +GITHUB_PROJECT= libstrophe +GITHUB_RELEASE= ${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://strophe.im/libstrophe/ +COMMENT= XMPP library for C +LICENSE= mit OR gnu-gpl-v3 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config gmake + +PKGCONFIG_OVERRIDE+= libstrophe.pc.in + +.include "../../textproc/expat/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/chat/libstrophe/buildlink3.mk diff -u /dev/null pkgsrc/chat/libstrophe/buildlink3.mk:1.1 --- /dev/null Sun May 15 19:12:11 2022 +++ pkgsrc/chat/libstrophe/buildlink3.mk Sun May 15 19:12:11 2022 @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2022/05/15 19:12:11 nia Exp $ + +BUILDLINK_TREE+= libstrophe + +.if !defined(LIBSTROPHE_BUILDLINK3_MK) +LIBSTROPHE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libstrophe+= libstrophe>=0.12.0 +BUILDLINK_PKGSRCDIR.libstrophe?= ../../chat/libstrophe + +.include "../../textproc/expat/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.endif # LIBSTROPHE_BUILDLINK3_MK + +BUILDLINK_TREE+= -libstrophe Index: pkgsrc/chat/libstrophe/distinfo diff -u /dev/null pkgsrc/chat/libstrophe/distinfo:1.1 --- /dev/null Sun May 15 19:12:11 2022 +++ pkgsrc/chat/libstrophe/distinfo Sun May 15 19:12:11 2022 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2022/05/15 19:12:11 nia Exp $ + +BLAKE2s (libstrophe-0.12.0.tar.gz) = 933826f3853df7c9320e9ec051c9884cb8845615088f1a82e3bd5631c3415aed +SHA512 (libstrophe-0.12.0.tar.gz) = cfd47f4cd7737cb18a4c0d7a5aa7819035466f2c81de3919d406ac599f322cde69cec82bfa6832d29c4cf74e0053bf5ee358ee0559881a6d02540ca413f21aee +Size (libstrophe-0.12.0.tar.gz) = 576407 bytes +SHA1 (patch-configure.ac) = 5c3a8a29234c9b2b81f1add61cf48f3b37ee8c21 Index: pkgsrc/chat/libstrophe/patches/patch-configure.ac diff -u /dev/null pkgsrc/chat/libstrophe/patches/patch-configure.ac:1.1 --- /dev/null Sun May 15 19:12:11 2022 +++ pkgsrc/chat/libstrophe/patches/patch-configure.ac Sun May 15 19:12:11 2022 @@ -0,0 +1,15 @@ +$NetBSD: patch-configure.ac,v 1.1 2022/05/15 19:12:11 nia Exp $ + +Shell portability. + +--- configure.ac.orig 2022-05-09 13:40:28.000000000 +0000 ++++ configure.ac +@@ -84,7 +84,7 @@ AC_SEARCH_LIBS([socket], [network socket + AC_CHECK_FUNCS([snprintf vsnprintf], [], [have_snprintf=no]) + AC_CHECK_DECLS([va_copy], [], [], [#include ]) + +-if test "x$enable_tls" != xno -a "x$with_gnutls" == xyes; then ++if test "x$enable_tls" != xno -a "x$with_gnutls" = xyes; then + PKG_CHECK_MODULES([gnutls], [gnutls], + [PC_REQUIRES="gnutls ${PC_REQUIRES}"], + [AC_CHECK_HEADER([gnutls/gnutls.h], --_----------=_1652641931108890--