Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+2
View File
@@ -0,0 +1,2 @@
libeXosip is a library that hides the complexity of using the SIP protocol
for multimedia session establishment.
+25
View File
@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.2 2014/02/12 23:18:22 tron Exp $
DISTNAME= libeXosip2-4.0.0
PKGREVISION= 1
CATEGORIES= devel net
MASTER_SITES= http://download.savannah.nongnu.org/releases/exosip/
MAINTAINER= schwarz@NetBSD.org
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"
+12
View File
@@ -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
+24
View File
@@ -0,0 +1,24 @@
# $NetBSD: buildlink3.mk,v 1.2 2014/02/12 23:18:22 tron Exp $
BUILDLINK_TREE+= libexosip2
.if !defined(LIBEXOSIP2_BUILDLINK3_MK)
LIBEXOSIP2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libexosip2+= libeXosip2>=3.5.0
BUILDLINK_ABI_DEPENDS.libexosip2?= libeXosip2>=4.0.0nb1
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
+7
View File
@@ -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
+14
View File
@@ -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
+17
View File
@@ -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);
+21
View File
@@ -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"