summaryrefslogtreecommitdiff
path: root/net/libexosip2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-11 09:30:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-11 09:30:31 +0000
commiteceb8266d68b552cfe0a9664ed2a076067a8e3aa (patch)
treea43d89e581a72360e2e157010ffd40d0d4b42735 /net/libexosip2
parent- Update to 0.10.1 (diff)
eXosip is a GPL library that extend the capability of the oSIP library.
It aims to implement a simple high layer API to control the SIP for sessions establishements and common extensions. Once completed, this eXtended library should provide an API for call management, messaging and presence features. eXosip2 has support for: * registrations. (REGISTER) * call initiation and modification. (INVITE, re-INVITE) * other methods within calls (INFO, OPTIONS, UPDATE) * call transfer. (REFER) * reliability for provisionnal response. (PRACK) * sip event package. (SUBSCRIBE/NOTIFY) * event state publication. (PUBLISH) * instant messaging. (MESSAGE) eXosip2 does not contain: * RTP. * audio interface * sdp negotiation. This allow you to write any kind of SIP endpoint/gateway. WWW: http://savannah.gnu.org/projects/exosip PR: ports/95799 Submitted by: Muhammad Moinur Rahman <bd_subzero@yahoo.com>
Notes
Notes: svn path=/head/; revision=165080
Diffstat (limited to 'net/libexosip2')
-rw-r--r--net/libexosip2/Makefile33
-rw-r--r--net/libexosip2/distinfo3
-rw-r--r--net/libexosip2/files/patch-josua-Makefile.in27
-rw-r--r--net/libexosip2/pkg-descr23
-rw-r--r--net/libexosip2/pkg-plist21
5 files changed, 107 insertions, 0 deletions
diff --git a/net/libexosip2/Makefile b/net/libexosip2/Makefile
new file mode 100644
index 000000000000..7177ceb64874
--- /dev/null
+++ b/net/libexosip2/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libeXosip2
+# Date created: 12 April 2006
+# Whom: Muhammad Moinur Rahman <bd_subzero@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libeXosip2
+PORTVERSION= 2.2.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= exosip
+
+MAINTAINER= bd_subzero@yahoo.com
+COMMENT= GPL library that extends the capability of the oSIP library
+
+LIB_DEPENDS= osip2:${PORTSDIR}/net/libosip2
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-tools
+INSTALLS_SHLIB= yes
+
+.if defined(WITH_UCL)
+LIB_DEPENDS+= uclmmbase:${PORTSDIR}/devel/uclmmbase
+CONFIGURE_ARGS+= --enable-ucl
+CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include
+PLIST_SUB+= JOSUA=""
+.else
+CONFIGURE_ARGS+= --disable-josua
+PLIST_SUB+= JOSUA="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/libexosip2/distinfo b/net/libexosip2/distinfo
new file mode 100644
index 000000000000..9338ab02894c
--- /dev/null
+++ b/net/libexosip2/distinfo
@@ -0,0 +1,3 @@
+MD5 (libeXosip2-2.2.2.tar.gz) = 3434df493dc780b4bae76467ce29d689
+SHA256 (libeXosip2-2.2.2.tar.gz) = 9642a33ffb50b256a1c2dc92f0dd0ecfb7af246c5b1295b41e75ab51ff89a5dd
+SIZE (libeXosip2-2.2.2.tar.gz) = 492317
diff --git a/net/libexosip2/files/patch-josua-Makefile.in b/net/libexosip2/files/patch-josua-Makefile.in
new file mode 100644
index 000000000000..65c53731c54b
--- /dev/null
+++ b/net/libexosip2/files/patch-josua-Makefile.in
@@ -0,0 +1,27 @@
+*** josua/Makefile.in Thu Nov 24 17:26:35 2005
+--- josua/Makefile.in Thu Apr 13 01:21:29 2006
+***************
+*** 281,291 ****
+ @GLIB_SUPPORT_TRUE@josua_LDFLAGS = -O @EXOSIP_LIB@ @PTHREAD_LIBS@ @JOSUA_LIB@ `pkg-config --libs glib-2.0`
+ @MEDIASTREAMER_SUPPORT_TRUE@@ORTP_SUPPORT_FALSE@@UCL_SUPPORT_FALSE@MORE_MYADD = -lortp -lm -lmediastreamer -lmsspeex
+ @ORTP_SUPPORT_TRUE@@UCL_SUPPORT_FALSE@MORE_MYADD = -L$(libdir) -lortp -lm
+! @UCL_SUPPORT_TRUE@MORE_MYADD = /usr/local/lib/libuclmmbase.a
+ @MEDIASTREAMER_SUPPORT_TRUE@@ORTP_SUPPORT_FALSE@@UCL_SUPPORT_FALSE@MORE_INCLUDES = -I$(includedir)/mediastreamer -I$(includedir)/ortp
+ @ORTP_SUPPORT_TRUE@@UCL_SUPPORT_FALSE@MORE_INCLUDES = -I$(includedir)/ortp
+ @UCL_SUPPORT_TRUE@MORE_INCLUDES = -I/ucl
+! josua_LDADD = $(top_builddir)/src/libeXosip2.la libjosua.la $(libdir)/libosip2.la $(libdir)/libosipparser2.la -lrt $(MORE_MYADD)
+ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include -I$(includedir) $(MORE_INCLUDES)
+ libjosua_la_LIBADD = $(top_builddir)/src/libeXosip2.la $(libdir)/libosip2.la $(libdir)/libosipparser2.la $(MORE_MYADD)
+ all: all-am
+--- 281,291 ----
+ @GLIB_SUPPORT_TRUE@josua_LDFLAGS = -O @EXOSIP_LIB@ @PTHREAD_LIBS@ @JOSUA_LIB@ `pkg-config --libs glib-2.0`
+ @MEDIASTREAMER_SUPPORT_TRUE@@ORTP_SUPPORT_FALSE@@UCL_SUPPORT_FALSE@MORE_MYADD = -lortp -lm -lmediastreamer -lmsspeex
+ @ORTP_SUPPORT_TRUE@@UCL_SUPPORT_FALSE@MORE_MYADD = -L$(libdir) -lortp -lm
+! @UCL_SUPPORT_TRUE@MORE_MYADD = uclmmbase
+ @MEDIASTREAMER_SUPPORT_TRUE@@ORTP_SUPPORT_FALSE@@UCL_SUPPORT_FALSE@MORE_INCLUDES = -I$(includedir)/mediastreamer -I$(includedir)/ortp
+ @ORTP_SUPPORT_TRUE@@UCL_SUPPORT_FALSE@MORE_INCLUDES = -I$(includedir)/ortp
+ @UCL_SUPPORT_TRUE@MORE_INCLUDES = -I/ucl
+! josua_LDADD = $(top_builddir)/src/libeXosip2.la libjosua.la $(libdir)/libosip2.la $(libdir)/libosipparser2.la -l$(MORE_MYADD)
+ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include -I$(includedir) $(MORE_INCLUDES)
+ libjosua_la_LIBADD = $(top_builddir)/src/libeXosip2.la $(libdir)/libosip2.la $(libdir)/libosipparser2.la $(MORE_MYADD)
+ all: all-am
diff --git a/net/libexosip2/pkg-descr b/net/libexosip2/pkg-descr
new file mode 100644
index 000000000000..429659f4993b
--- /dev/null
+++ b/net/libexosip2/pkg-descr
@@ -0,0 +1,23 @@
+eXosip is a GPL library that extend the capability of the oSIP library.
+It aims to implement a simple high layer API to control the SIP for sessions
+establishements and common extensions. Once completed, this eXtended library
+should provide an API for call management, messaging and presence features.
+
+eXosip2 has support for:
+ * registrations. (REGISTER)
+ * call initiation and modification. (INVITE, re-INVITE)
+ * other methods within calls (INFO, OPTIONS, UPDATE)
+ * call transfer. (REFER)
+ * reliability for provisionnal response. (PRACK)
+ * sip event package. (SUBSCRIBE/NOTIFY)
+ * event state publication. (PUBLISH)
+ * instant messaging. (MESSAGE)
+
+eXosip2 does not contain:
+ * RTP.
+ * audio interface
+ * sdp negotiation.
+
+This allow you to write any kind of SIP endpoint/gateway.
+
+WWW: http://savannah.gnu.org/projects/exosip
diff --git a/net/libexosip2/pkg-plist b/net/libexosip2/pkg-plist
new file mode 100644
index 000000000000..254699ca7ce5
--- /dev/null
+++ b/net/libexosip2/pkg-plist
@@ -0,0 +1,21 @@
+%%JOSUA%%bin/josua
+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
+include/josua/jmainconfig.h
+lib/libeXosip2.a
+lib/libeXosip2.la
+lib/libeXosip2.so
+lib/libeXosip2.so.5
+%%JOSUA%%lib/libjosua.a
+%%JOSUA%%lib/libjosua.la
+%%JOSUA%%lib/libjosua.so
+%%JOSUA%%lib/libjosua.so.0
+@dirrm include/eXosip2
+@dirrm include/josua