From owner-svn-ports-all@FreeBSD.ORG Sun Jul 13 12:50:32 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CAAE3E1B; Sun, 13 Jul 2014 12:50:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABB3B239B; Sun, 13 Jul 2014 12:50:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6DCoWHQ058680; Sun, 13 Jul 2014 12:50:32 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6DCoV7p058668; Sun, 13 Jul 2014 12:50:31 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201407131250.s6DCoV7p058668@svn.freebsd.org> From: Tijl Coosemans Date: Sun, 13 Jul 2014 12:50:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361675 - in head/net: . belle-sip belle-sip/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2014 12:50:33 -0000 Author: tijl Date: Sun Jul 13 12:50:30 2014 New Revision: 361675 URL: http://svnweb.freebsd.org/changeset/ports/361675 QAT: https://qat.redports.org/buildarchive/r361675/ Log: New port: net/belle-sip Belle-sip is a SIP (RFC3261) implementation written in C, with an object oriented API. * RFC3261 compliant implementation of SIP parser, writer, transactions and dialog layers * http client api * support of client TLS certificate * fully asynchronous transport layer (UDP, TCP, TLS) * fully asynchronous DNS resolution with SRV * full dual-stack IPv6 support * SIP transaction state machines with lastest corrections (RFC6026) * automatic management of request refreshes with network disconnection resiliency thanks to the "refresher" object * supported platforms: Linux, Mac OSX, windows XP+, iOS, Android, Blackberry 10 PR: 191528 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> Added: head/net/belle-sip/ head/net/belle-sip/Makefile (contents, props changed) head/net/belle-sip/distinfo (contents, props changed) head/net/belle-sip/files/ head/net/belle-sip/files/patch-configure (contents, props changed) head/net/belle-sip/files/patch-src_belle__sip__internal.h (contents, props changed) head/net/belle-sip/pkg-descr (contents, props changed) head/net/belle-sip/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sun Jul 13 12:15:15 2014 (r361674) +++ head/net/Makefile Sun Jul 13 12:50:30 2014 (r361675) @@ -44,6 +44,7 @@ SUBDIR += bcusdk-eibd SUBDIR += beacon SUBDIR += beanstalkd + SUBDIR += belle-sip SUBDIR += bindtest SUBDIR += binkd SUBDIR += bird @@ -346,7 +347,6 @@ SUBDIR += linc-reference SUBDIR += linknx SUBDIR += linphone - SUBDIR += linphone-base SUBDIR += linux-f10-nss_ldap SUBDIR += linux-f10-openldap SUBDIR += linuxigd Added: head/net/belle-sip/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/belle-sip/Makefile Sun Jul 13 12:50:30 2014 (r361675) @@ -0,0 +1,50 @@ +# $FreeBSD$ + +PORTNAME= belle-sip +PORTVERSION= 1.3.0 +CATEGORIES= net +MASTER_SITES= SAVANNAH/linphone/${PORTNAME}/:source1 \ + http://www.antlr3.org/download/:source2 +DISTFILES= belle-sip-1.3.0.tar.gz:source1 \ + antlr-3.4-complete.jar:source2 +EXTRACT_ONLY= belle-sip-1.3.0.tar.gz + +MAINTAINER= 5u623l20@gmail.com +COMMENT= Belle-sip is a SIP (RFC3261) implementation written in C + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libantlr3c.so:${PORTSDIR}/devel/libantlr3c + +GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS= --disable-tests +INSTALL_TARGET= install-strip +USES= compiler:c11 gmake libtool pathfix +USE_JAVA= yes +JAVA_BUILD= jre +JAVA_VERSION= 1.6+ +USE_LDCONFIG= yes + +OPTIONS_DEFINE= POLARSSL +OPTIONS_DEFAULT=POLARSSL + +POLARSSL_CONFIGURE_ENABLE= tls +POLARSSL_LIB_DEPENDS= libpolarssl.so:${PORTSDIR}/security/polarssl + +.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) +CONFIGURE_ARGS+=--enable-debug +.endif + +post-extract: + @${CP} ${DISTDIR}/antlr-3.4-complete.jar ${WRKDIR}/antlr-complete.jar + +post-patch: + @${REINPLACE_CMD} -e 's|%%WRKDIR%%|${WRKDIR}|' -e 's|-lrt||' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-timezone||' \ + ${WRKSRC}/src/belle_sip_headers_impl.c + +.include Added: head/net/belle-sip/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/belle-sip/distinfo Sun Jul 13 12:50:30 2014 (r361675) @@ -0,0 +1,4 @@ +SHA256 (belle-sip-1.3.0.tar.gz) = 50f0106903bdf67fcbc674dd6b3ec2930d5a5e735d9ba70dbe21f4bc76f08091 +SIZE (belle-sip-1.3.0.tar.gz) = 665281 +SHA256 (antlr-3.4-complete.jar) = 9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 +SIZE (antlr-3.4-complete.jar) = 2388361 Added: head/net/belle-sip/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/belle-sip/files/patch-configure Sun Jul 13 12:50:30 2014 (r361675) @@ -0,0 +1,44 @@ +--- configure.orig ++++ configure +@@ -15655,10 +15655,10 @@ + resolv_h_hav_res_ndestroy=no + LIBS_save=$LIBS + +-LIBS="$LIBS -lresolv" + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ ++#include + #include + int + main () +@@ -15683,7 +15683,8 @@ + conftest$ac_exeext conftest.$ac_ext + + ac_fn_c_check_decl "$LINENO" "res_ndestroy +- " "ac_cv_have_decl_res_ndestroy___" "#include ++ " "ac_cv_have_decl_res_ndestroy___" "#include ++#include + " + if test "x$ac_cv_have_decl_res_ndestroy___" = xyes; then : + resolv_h_hav_res_ndestroy=yes +@@ -15748,17 +15749,11 @@ + + + if test $ANTLR = "no" ; then +-antlr_java_prefixes="$antlr_prefix/share/java /usr/local/share/java /usr/share/java /opt/local/share/java" ++antlr_java_prefixes="/usr/obj/ports/usr/home/tijl/projects/freebsd/ports/head/net/belle-sip/work" + + for antlr_java_prefix in $antlr_java_prefixes + do +- antlr_jar=$antlr_java_prefix/antlr.jar +- if test -f $antlr_jar ; then +- break +- else +- antlr_jar=no +- fi +- antlr_jar=$antlr_java_prefix/antlr3.jar ++ antlr_jar=$antlr_java_prefix/antlr-complete.jar + if test -f $antlr_jar ; then + break + else Added: head/net/belle-sip/files/patch-src_belle__sip__internal.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/belle-sip/files/patch-src_belle__sip__internal.h Sun Jul 13 12:50:30 2014 (r361675) @@ -0,0 +1,10 @@ +--- src/belle_sip_internal.h.orig 2014-06-30 16:50:46.873520744 +0600 ++++ src/belle_sip_internal.h 2014-06-30 16:51:05.264521071 +0600 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + /* include all public headers*/ + #include "belle-sip/belle-sip.h" Added: head/net/belle-sip/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/belle-sip/pkg-descr Sun Jul 13 12:50:30 2014 (r361675) @@ -0,0 +1,17 @@ +Belle-sip is a SIP (RFC3261) implementation written in C, with an object +oriented API. + +* RFC3261 compliant implementation of SIP parser, writer, transactions and + dialog layers +* http client api +* support of client TLS certificate +* fully asynchronous transport layer (UDP, TCP, TLS) +* fully asynchronous DNS resolution with SRV +* full dual-stack IPv6 support +* SIP transaction state machines with lastest corrections (RFC6026) +* automatic management of request refreshes with network disconnection + resiliency thanks to the "refresher" object +* supported platforms: Linux, Mac OSX, windows XP+, iOS, Android, + Blackberry 10 + +WWW: http://www.linphone.org/ Added: head/net/belle-sip/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/belle-sip/pkg-plist Sun Jul 13 12:50:30 2014 (r361675) @@ -0,0 +1,32 @@ +include/belle-sip/auth-helper.h +include/belle-sip/belle-sdp.h +include/belle-sip/belle-sip.h +include/belle-sip/defs.h +include/belle-sip/dialog.h +include/belle-sip/dict.h +include/belle-sip/generic-uri.h +include/belle-sip/headers.h +include/belle-sip/http-listener.h +include/belle-sip/http-message.h +include/belle-sip/http-provider.h +include/belle-sip/list.h +include/belle-sip/listener.h +include/belle-sip/listeningpoint.h +include/belle-sip/mainloop.h +include/belle-sip/message.h +include/belle-sip/object.h +include/belle-sip/parameters.h +include/belle-sip/provider.h +include/belle-sip/refresher.h +include/belle-sip/resolver.h +include/belle-sip/sip-uri.h +include/belle-sip/sipstack.h +include/belle-sip/transaction.h +include/belle-sip/types.h +include/belle-sip/utils.h +lib/libbellesip.a +lib/libbellesip.so +lib/libbellesip.so.0 +lib/libbellesip.so.0.0.0 +libdata/pkgconfig/belle-sip.pc +@dirrm include/belle-sip