pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat chat: add libstrophe
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5dc92383741
branches: trunk
changeset: 379390:f5dc92383741
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 15 19:12:11 2022 +0000
description:
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.
diffstat:
chat/Makefile | 3 ++-
chat/libstrophe/DESCR | 3 +++
chat/libstrophe/Makefile | 22 ++++++++++++++++++++++
chat/libstrophe/buildlink3.mk | 15 +++++++++++++++
chat/libstrophe/distinfo | 6 ++++++
chat/libstrophe/patches/patch-configure.ac | 15 +++++++++++++++
6 files changed, 63 insertions(+), 1 deletions(-)
diffs (98 lines):
diff -r ade6f818926a -r f5dc92383741 chat/Makefile
--- a/chat/Makefile Sun May 15 18:55:49 2022 +0000
+++ b/chat/Makefile Sun May 15 19:12:11 2022 +0000
@@ -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+= libotr
SUBDIR+= libpurple
SUBDIR+= libsignal-protocol-c
+SUBDIR+= libstrophe
SUBDIR+= libtelepathy
SUBDIR+= libtlen
SUBDIR+= loudmouth
diff -r ade6f818926a -r f5dc92383741 chat/libstrophe/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libstrophe/DESCR Sun May 15 19:12:11 2022 +0000
@@ -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.
diff -r ade6f818926a -r f5dc92383741 chat/libstrophe/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libstrophe/Makefile Sun May 15 19:12:11 2022 +0000
@@ -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@localhost
+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"
diff -r ade6f818926a -r f5dc92383741 chat/libstrophe/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libstrophe/buildlink3.mk Sun May 15 19:12:11 2022 +0000
@@ -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
diff -r ade6f818926a -r f5dc92383741 chat/libstrophe/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libstrophe/distinfo Sun May 15 19:12:11 2022 +0000
@@ -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
diff -r ade6f818926a -r f5dc92383741 chat/libstrophe/patches/patch-configure.ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libstrophe/patches/patch-configure.ac Sun May 15 19:12:11 2022 +0000
@@ -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 <stdarg.h>])
+
+-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],
Home |
Main Index |
Thread Index |
Old Index