pkgsrc-WIP-changes archive

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

Import libzrtp as wip/libzrtp



Module Name:	pkgsrc-wip
Committed By:	Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By:	angelmadames
Date:		Wed May 24 10:39:37 2017 -0400
Changeset:	55dbcc365243dd317227dc6cfbf3dccbfa965830

Added Files:
	libzrtp/DESCR
	libzrtp/Makefile
	libzrtp/PLIST
	libzrtp/TODO
	libzrtp/buildlink3.mk
	libzrtp/distinfo

Log Message:
Import libzrtp as wip/libzrtp

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

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

diffstat:
 libzrtp/DESCR         |  1 +
 libzrtp/Makefile      | 29 +++++++++++++++++++++++++++++
 libzrtp/PLIST         | 35 +++++++++++++++++++++++++++++++++++
 libzrtp/TODO          |  7 +++++++
 libzrtp/buildlink3.mk | 13 +++++++++++++
 libzrtp/distinfo      |  6 ++++++
 6 files changed, 91 insertions(+)

diffs:
diff --git a/libzrtp/DESCR b/libzrtp/DESCR
new file mode 100644
index 0000000000..905004918e
--- /dev/null
+++ b/libzrtp/DESCR
@@ -0,0 +1 @@
+libZRTP SDK library, implements the ZRTP secure VoIP protocol.
diff --git a/libzrtp/Makefile b/libzrtp/Makefile
new file mode 100644
index 0000000000..dbfbd1b0a6
--- /dev/null
+++ b/libzrtp/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	libzrtp
+PKGNAME=	${DISTNAME}-0.7.1
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=traviscross/}
+EXTRACT_SUFX=	.zip
+GITHUB_TAG=	4cb5110147d2bb7e0466eec8ec838d8372ef54c9
+
+MAINTAINER=	angelmadames%gmail.com@localhost
+HOMEPAGE=	https://github.com/traviscross/libzrtp/
+COMMENT=	ZRTP Secure VoIP Protocol
+LICENSE=	gnu-agpl-v3
+
+USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	aclocal autoconf automake pkg-config gmake
+USE_LANGUAGES=	c c++
+
+post-extract:
+	cd ${WRKSRC}; ${MV} configure.in configure.ac
+	cd ${WRKSRC}/third_party/bnlib; ${MV} configure.in configure.ac
+
+pre-configure:
+	set -x; cd ${WRKSRC}; autoreconf -fiv
+	set -x; cd ${WRKSRC}/third_party/bnlib; autoreconf -fiv
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libzrtp/PLIST b/libzrtp/PLIST
new file mode 100644
index 0000000000..60f82ba73d
--- /dev/null
+++ b/libzrtp/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD$
+include/libzrtp/aes.h
+include/libzrtp/aesopt.h
+include/libzrtp/aestab.h
+include/libzrtp/bg2zrtp.h
+include/libzrtp/bn.h
+include/libzrtp/brg_types.h
+include/libzrtp/sha1.h
+include/libzrtp/sha2.h
+include/libzrtp/zrtp.h
+include/libzrtp/zrtp_base.h
+include/libzrtp/zrtp_cache.h
+include/libzrtp/zrtp_cache_file.h
+include/libzrtp/zrtp_config.h
+include/libzrtp/zrtp_config_unix.h
+include/libzrtp/zrtp_config_user.h
+include/libzrtp/zrtp_crypto.h
+include/libzrtp/zrtp_ec.h
+include/libzrtp/zrtp_engine.h
+include/libzrtp/zrtp_error.h
+include/libzrtp/zrtp_iface.h
+include/libzrtp/zrtp_iface_scheduler.h
+include/libzrtp/zrtp_iface_system.h
+include/libzrtp/zrtp_legal.h
+include/libzrtp/zrtp_list.h
+include/libzrtp/zrtp_log.h
+include/libzrtp/zrtp_pbx.h
+include/libzrtp/zrtp_protocol.h
+include/libzrtp/zrtp_sdes.h
+include/libzrtp/zrtp_srtp.h
+include/libzrtp/zrtp_srtp_builtin.h
+include/libzrtp/zrtp_string.h
+include/libzrtp/zrtp_types.h
+include/libzrtp/zrtp_version.h
+lib/libzrtp.a
diff --git a/libzrtp/TODO b/libzrtp/TODO
new file mode 100644
index 0000000000..1248c44359
--- /dev/null
+++ b/libzrtp/TODO
@@ -0,0 +1,7 @@
+- Find a workaround to avoid automake warnings in configure phase.
+	Enabling subdir-objects makes the build stage fail.
+	src/* is not included due to automake warnings.
+	third_party/* is explicitly configured in pre-configure phase.
+- This package has only been tested on FreeBSD 11.
+- PKG-VERSION in the ChangeLog file. 
+- Licensing is in the zrtp_legal.c file under src/.
diff --git a/libzrtp/buildlink3.mk b/libzrtp/buildlink3.mk
new file mode 100644
index 0000000000..bca4cc50af
--- /dev/null
+++ b/libzrtp/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libzrtp
+
+.if !defined(LIBZRTP_BUILDLINK3_MK)
+LIBZRTP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libzrtp+=	libzrtp>=0.7.1
+BUILDLINK_ABI_DEPENDS.libzrtp?=	libzrtp>=0.7.1
+BUILDLINK_PKGSRCDIR.libzrtp?=	../../wip/libzrtp
+.endif	# LIBZRTP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libzrtp
diff --git a/libzrtp/distinfo b/libzrtp/distinfo
new file mode 100644
index 0000000000..36edca511a
--- /dev/null
+++ b/libzrtp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libzrtp-4cb5110147d2bb7e0466eec8ec838d8372ef54c9.zip) = 0cad876fdbe548d2622e4c55af6d34fdf79872e9
+RMD160 (libzrtp-4cb5110147d2bb7e0466eec8ec838d8372ef54c9.zip) = 7a260a93d799ce4b8b8d2478837438e9a9651cac
+SHA512 (libzrtp-4cb5110147d2bb7e0466eec8ec838d8372ef54c9.zip) = 928793c8230b84821981e2f7816ddf8e1d374fb37db8c5816c7fd388c22d99c722b8eb23c6dc4030aaa9cb8547ade76f4a528c017c64a51c6fc243540b044ecf
+Size (libzrtp-4cb5110147d2bb7e0466eec8ec838d8372ef54c9.zip) = 860352 bytes


Home | Main Index | Thread Index | Old Index