pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat



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.

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@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"
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 <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