pkgsrc-WIP-changes archive

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

Import patched SOFIA-SIP version for UniMRCP as wip/unimrcp-sofiasip



Module Name:	pkgsrc-wip
Committed By:	Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By:	angelmadames
Date:		Tue May 23 15:21:31 2017 -0400
Changeset:	d97e719798bdc623ebe9497b878f8cdbaf006449

Added Files:
	unimrcp-sofiasip/DESCR
	unimrcp-sofiasip/Makefile
	unimrcp-sofiasip/PLIST
	unimrcp-sofiasip/TODO
	unimrcp-sofiasip/buildlink3.mk
	unimrcp-sofiasip/distinfo
	unimrcp-sofiasip/patches/patch-scripts_lcov-report
	unimrcp-sofiasip/patches/patch-scripts_uncovered

Log Message:
Import patched SOFIA-SIP version for UniMRCP as wip/unimrcp-sofiasip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d97e719798bdc623ebe9497b878f8cdbaf006449

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unimrcp-sofiasip/DESCR                             |   6 +
 unimrcp-sofiasip/Makefile                          |  42 +++++++
 unimrcp-sofiasip/PLIST                             | 129 +++++++++++++++++++++
 unimrcp-sofiasip/TODO                              |   6 +
 unimrcp-sofiasip/buildlink3.mk                     |  15 +++
 unimrcp-sofiasip/distinfo                          |   8 ++
 unimrcp-sofiasip/patches/patch-scripts_lcov-report |  15 +++
 unimrcp-sofiasip/patches/patch-scripts_uncovered   |  15 +++
 8 files changed, 236 insertions(+)

diffs:
diff --git a/unimrcp-sofiasip/DESCR b/unimrcp-sofiasip/DESCR
new file mode 100644
index 0000000000..2f9a041202
--- /dev/null
+++ b/unimrcp-sofiasip/DESCR
@@ -0,0 +1,6 @@
+** Patched SOFIA-SIP for UniMRCP **
+
+It can be used as a building block for SIP client software for uses such as
+VoIP, IM, and many other real-time and person-to-person communication services.
+The primary target platform for Sofia-SIP is GNU/Linux. Sofia-SIP is based on a
+SIP stack developed at the Nokia Research Center.
diff --git a/unimrcp-sofiasip/Makefile b/unimrcp-sofiasip/Makefile
new file mode 100644
index 0000000000..a04fa47a98
--- /dev/null
+++ b/unimrcp-sofiasip/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+DISTNAME=	sofia-sip-${VERSION}
+VERSION=	1.12.11-204-g6ff5f3f
+CATEGORIES=	devel
+MASTER_SITES=	https://sites.google.com/a/unimrcp.org/unimrcp/dependencies/
+
+MAINTAINER=	angelmadames%gmail.com@localhost
+HOMEPAGE=	https://sites.google.com/a/unimrcp.org/unimrcp/dependencies/
+COMMENT=	Patched SOFIA-SIP version for UniMRCP
+LICENSE=	apache-2.0
+
+HAS_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+USE_TOOLS+=	pkg-config autoconf aclocal automake awk:run
+USE_LANGUAGES=	c c++
+
+CONFIGURE_ARGS+=	--prefix=${PREFIX}/unimrcp/sofia-sip
+CONFIGURE_ARGS+=	--with-glib=no
+CONFIGURE_ARGS+=	--without-doxygen
+
+PKGCONFIG_OVERRIDE+=	packages/sofia-sip-ua-glib.pc.in
+PKGCONFIG_OVERRIDE+=	packages/sofia-sip-ua.pc.in
+
+# Taken from devel/sofia-sip
+SUBST_CLASSES+=		awk
+SUBST_FILES.awk+=	libsofia-sip-ua/msg/msg_parser.awk
+SUBST_FILES.awk+=	libsofia-sip-ua/su/tag_dll.awk
+SUBST_STAGE.awk=	pre-configure
+SUBST_SED.awk=		-e "s,/usr/bin/env *awk,${AWK},"
+SUBST_MESSAGE.awk=	Fixing path to awk.
+
+pre-configure:
+	set -x; cd ${WRKSRC}; autoreconf -fiv
+	${MAKE} ${PATCH}
+
+post-install:
+	${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/sofia-sip-ua/libsofia-sip-ua.la ${DESTDIR}${PREFIX}/unimrcp/sofia-sip/lib
+
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/unimrcp-sofiasip/PLIST b/unimrcp-sofiasip/PLIST
new file mode 100644
index 0000000000..ef36f386bc
--- /dev/null
+++ b/unimrcp-sofiasip/PLIST
@@ -0,0 +1,129 @@
+@comment $NetBSD$
+unimrcp/sofia-sip/bin/addrinfo
+unimrcp/sofia-sip/bin/localinfo
+unimrcp/sofia-sip/bin/sip-date
+unimrcp/sofia-sip/bin/sip-dig
+unimrcp/sofia-sip/bin/sip-options
+unimrcp/sofia-sip/bin/stunc
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-resolv/sres.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-resolv/sres_async.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-resolv/sres_cache.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-resolv/sres_config.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-resolv/sres_record.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/auth_client.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/auth_client_plugin.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/auth_common.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/auth_digest.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/auth_module.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/auth_plugin.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/base64.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/bnf.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/heap.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/hostdomain.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/htable.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/htable2.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_hclasses.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_header.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_parser.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_protos.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_status.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/http_tag_class.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_addr.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_buffer.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_date.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_header.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_mclass.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_mclass_hash.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_mime.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_mime_protos.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_parser.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_protos.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_tag_class.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/msg_types.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nea.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nea_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nta.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nta_stateless.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nta_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nta_tport.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nth.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nth_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nua.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/nua_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/rbtree.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sdp.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sdp_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_extra.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_extra.h.in
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_hclasses.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_hclasses.h.in
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_header.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_parser.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_protos.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_protos.h.in
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_status.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_tag.h.in
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_tag_class.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sip_util.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sl_utils.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/soa.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/soa_add.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/soa_session.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/soa_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sofia_features.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sres_sip.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/sresolv.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/string0.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/stun.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/stun_common.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/stun_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_addrinfo.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_alloc.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_alloc_stat.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_bm.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_config.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_configure.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_debug.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_errno.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_localinfo.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_log.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_md5.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_os_nw.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_random.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_string.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_strlst.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_tag_class.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_tag_inline.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_tag_io.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_tagarg.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_time.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_types.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_uniqueid.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_vector.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/su_wait.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/token64.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/tport.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/tport_plugins.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/tport_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/tstdef.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/uniqueid.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/url.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/url_tag.h
+unimrcp/sofia-sip/include/sofia-sip-1.12/sofia-sip/url_tag_class.h
+unimrcp/sofia-sip/lib/libsofia-sip-ua.la
+unimrcp/sofia-sip/lib/pkgconfig/sofia-sip-ua.pc
+unimrcp/sofia-sip/share/man/man1/addrinfo.1
+unimrcp/sofia-sip/share/man/man1/localinfo.1
+unimrcp/sofia-sip/share/man/man1/sip-date.1
+unimrcp/sofia-sip/share/man/man1/sip-dig.1
+unimrcp/sofia-sip/share/man/man1/sip-options.1
+unimrcp/sofia-sip/share/man/man1/stunc.1
+unimrcp/sofia-sip/share/sofia-sip/msg_parser.awk
+unimrcp/sofia-sip/share/sofia-sip/tag_dll.awk
diff --git a/unimrcp-sofiasip/TODO b/unimrcp-sofiasip/TODO
new file mode 100644
index 0000000000..58261bb74f
--- /dev/null
+++ b/unimrcp-sofiasip/TODO
@@ -0,0 +1,6 @@
+* Think a workaround for the long version tag (since it's a bundled patched version, I couldn't think of a better way). 
+* There's an libtool error in the install stage:
+	libtool: warning: '../libsofia-sip-ua/libsofia-sip-ua.la' has not been installed in '/usr/pkg/unimrcp/sofia-sip/lib'
+* This package has been only tested in FreeBSD 11.
+
+
diff --git a/unimrcp-sofiasip/buildlink3.mk b/unimrcp-sofiasip/buildlink3.mk
new file mode 100644
index 0000000000..92ffb78cbe
--- /dev/null
+++ b/unimrcp-sofiasip/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	sofia-sip-1.12.11-204
+
+.if !defined(SOFIA_SIP_1.12.11_204_BUILDLINK3_MK)
+SOFIA_SIP_1.12.11_204_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.sofia-sip-1.12.11-204+=	sofia-sip>=1.12.11
+BUILDLINK_ABI_DEPENDS.sofia-sip-1.12.11-204?=	sofia-sip>=1.12.11
+BUILDLINK_PKGSRCDIR.sofia-sip-1.12.11-204?=	../../wip/unimrcp-sofiasip
+
+.include "../../security/openssl/buildlink3.mk"
+.endif	# SOFIA_SIP_1.12.11_204_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-sofia-sip-1.12.11-204
diff --git a/unimrcp-sofiasip/distinfo b/unimrcp-sofiasip/distinfo
new file mode 100644
index 0000000000..442ffe9440
--- /dev/null
+++ b/unimrcp-sofiasip/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (sofia-sip-1.12.11-204-g6ff5f3f.tar.gz) = a83a8771295af8f04f67d22699389e638979769a
+RMD160 (sofia-sip-1.12.11-204-g6ff5f3f.tar.gz) = 3c53aaa300c8014dd156b5ad1ddf995d40db836a
+SHA512 (sofia-sip-1.12.11-204-g6ff5f3f.tar.gz) = 2626c814a54e6b71a9f06f7ea5d898a1f4795f36f421d5e1830e8fb8f9d895dbfcfe5075133d38cfe3557efbe8284b718d33074727a1e2400a028d68be58f15f
+Size (sofia-sip-1.12.11-204-g6ff5f3f.tar.gz) = 2523511 bytes
+SHA1 (patch-scripts_lcov-report) = d03d6a3f2472c0497078b9e1f91ed35f86f58d60
+SHA1 (patch-scripts_uncovered) = 6b38b32736e433bc6338968cade86604ae02aa61
diff --git a/unimrcp-sofiasip/patches/patch-scripts_lcov-report b/unimrcp-sofiasip/patches/patch-scripts_lcov-report
new file mode 100644
index 0000000000..28cc2372d5
--- /dev/null
+++ b/unimrcp-sofiasip/patches/patch-scripts_lcov-report
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix unportable test(1) construct.
+
+--- scripts/lcov-report.orig	2017-05-23 18:12:10.456599000 +0000
++++ scripts/lcov-report
+@@ -11,7 +11,7 @@
+ 
+ usage()
+ {
+-  test X$1 == X0 || exec >&2
++  test X$1 = X0 || exec >&2
+   cat << EOF
+ usage: coverage-report OPTIONS
+ where OPTIONS are
diff --git a/unimrcp-sofiasip/patches/patch-scripts_uncovered b/unimrcp-sofiasip/patches/patch-scripts_uncovered
new file mode 100644
index 0000000000..b6b47aff53
--- /dev/null
+++ b/unimrcp-sofiasip/patches/patch-scripts_uncovered
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix unportable test(1) construct.
+
+--- scripts/uncovered.orig	2017-05-23 18:11:58.368458000 +0000
++++ scripts/uncovered
+@@ -11,7 +11,7 @@
+ 
+ usage()
+ {
+-  test X$1 == X0 || exec >&2
++  test X$1 = X0 || exec >&2
+   cat <<EOF
+ usage: uncovered OPTIONS
+ where OPTIONS are


Home | Main Index | Thread Index | Old Index