pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libexosip Import libeXosip2-4.0.0 as net/libexosip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21d30d04d25d
branches:  trunk
changeset: 621746:21d30d04d25d
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Tue Jul 16 02:12:26 2013 +0000

description:
Import libeXosip2-4.0.0 as net/libexosip.

libeXosip is a library that hides the complexity of using the SIP protocol
for mutlimedia session establishement.

diffstat:

 net/libexosip/DESCR            |   2 ++
 net/libexosip/Makefile         |  24 ++++++++++++++++++++++++
 net/libexosip/PLIST            |  12 ++++++++++++
 net/libexosip/buildlink3.mk    |  23 +++++++++++++++++++++++
 net/libexosip/distinfo         |   7 +++++++
 net/libexosip/options.mk       |  14 ++++++++++++++
 net/libexosip/patches/patch-aa |  17 +++++++++++++++++
 net/libexosip/patches/patch-ab |  21 +++++++++++++++++++++
 8 files changed, 120 insertions(+), 0 deletions(-)

diffs (152 lines):

diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/DESCR       Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,2 @@
+libeXosip is a library that hides the complexity of using the SIP protocol
+for mutlimedia session establishement.
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/Makefile    Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/07/16 02:12:26 rodent Exp $
+
+DISTNAME=      libeXosip2-4.0.0
+CATEGORIES=    devel net
+MASTER_SITES=  http://download.savannah.nongnu.org/releases/exosip/
+
+MAINTAINER=    schwarz%NetBSD.org@localhost
+HOMEPAGE=      http://savannah.nongnu.org/projects/exosip
+COMMENT=       The Extended Open SIP library
+LICENSE=       gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+USE_FEATURES+= getopt_long
+
+.include "options.mk"
+
+LIBS.SunOS+=   -lsocket -lnsl
+
+.include "../../net/libcares/buildlink3.mk"
+.include "../../devel/libosip/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/PLIST       Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/16 02:12:26 rodent Exp $
+bin/sip_reg
+include/eXosip2/eX_call.h
+include/eXosip2/eX_message.h
+include/eXosip2/eX_options.h
+include/eXosip2/eX_publish.h
+include/eXosip2/eX_refer.h
+include/eXosip2/eX_register.h
+include/eXosip2/eX_setup.h
+include/eXosip2/eX_subscribe.h
+include/eXosip2/eXosip.h
+lib/libeXosip2.la
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/buildlink3.mk       Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/07/16 02:12:26 rodent Exp $
+
+BUILDLINK_TREE+=       libexosip2
+
+.if !defined(LIBEXOSIP2_BUILDLINK3_MK)
+LIBEXOSIP2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libexosip2+=     libeXosip2>=3.5.0
+BUILDLINK_PKGSRCDIR.libexosip2?=       ../../net/libexosip
+
+pkgbase := libeXosip2
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.libeXosip2:Mopenssl)
+.include "../../security/openssl/buildlink3.mk"
+.endif
+
+.include "../../net/libcares/buildlink3.mk"
+.include "../../devel/libosip/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.endif # LIBEXOSIP2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libexosip2
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/distinfo    Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2013/07/16 02:12:26 rodent Exp $
+
+SHA1 (libeXosip2-4.0.0.tar.gz) = e5b50c20395db3dd50577af4363ad7a0c2f9de6e
+RMD160 (libeXosip2-4.0.0.tar.gz) = 4134a1e15d00938bdf819d4d6ec60583a2ea62da
+Size (libeXosip2-4.0.0.tar.gz) = 526339 bytes
+SHA1 (patch-aa) = 0f7acee4031a827998bde64b4dc847b0831ea5e3
+SHA1 (patch-ab) = 929e7949d783a6065bb34c1a622284ad4ad24603
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/options.mk  Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2013/07/16 02:12:26 rodent Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libeXosip2
+PKG_SUPPORTED_OPTIONS= openssl
+PKG_SUGGESTED_OPTIONS+=        openssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mopenssl)
+.include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-openssl
+.else
+CONFIGURE_ARGS+=       --disable-openssl
+.endif
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/patches/patch-aa    Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2013/07/16 02:12:26 rodent Exp $
+
+Defines INADDR_NONE, which is needed on Solaris.
+
+--- src/eXutils.c.orig 2012-11-26 10:04:37.000000000 +0000
++++ src/eXutils.c
+@@ -542,6 +542,10 @@ _eXosip_guess_ip_for_via (struct eXosip_
+ 
+ #include <stdio.h>
+ 
++#ifndef INADDR_NONE
++#define INADDR_NONE   ((unsigned long) -1)    /* needed on Solaris */
++#endif
++
+ static int _eXosip_default_gateway_ipv4 (struct eXosip_t *excontext, char *address, int size);
+ 
+ static int _eXosip_default_gateway_ipv6 (struct eXosip_t *excontext, char *address, int size);
diff -r b458963bf8ee -r 21d30d04d25d net/libexosip/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libexosip/patches/patch-ab    Tue Jul 16 02:12:26 2013 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2013/07/16 02:12:26 rodent Exp $
+
+Pull in NetBSD compatibility headers for use with other headers.
+
+--- tools/sip_reg.c.orig       2012-11-15 17:51:44.000000000 +0000
++++ tools/sip_reg.c
+@@ -56,8 +56,14 @@
+ 
+ #if !defined(WIN32) && !defined(_WIN32_WCE) && !defined(__arc__)
+ #define _GNU_SOURCE
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/config.h>  /* needed for the other headers */
++#include <nbcompat/cdefs.h>   /* needed for the other headers */
++#include <nbcompat/getopt.h>
++#else
+ #include <getopt.h>
+ #endif
++#endif
+ 
+ #define PROG_NAME "sipreg"
+ #define PROG_VER  "1.0"



Home | Main Index | Thread Index | Old Index