Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2015 12:54:24 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375919 - in head/security: . libzrtpcppcore libzrtpcppcore/files
Message-ID:  <201501011254.t01CsOXM011732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Jan  1 12:54:23 2015
New Revision: 375919
URL: https://svnweb.freebsd.org/changeset/ports/375919
QAT: https://qat.redports.org/buildarchive/r375919/

Log:
  Add security/libzrtpcppcore, the core ZRTP (RFC 6189) support library from
  the GNU ZRTP C++ project.

Added:
  head/security/libzrtpcppcore/
  head/security/libzrtpcppcore/Makefile   (contents, props changed)
  head/security/libzrtpcppcore/distinfo   (contents, props changed)
  head/security/libzrtpcppcore/files/
  head/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt   (contents, props changed)
  head/security/libzrtpcppcore/files/patch-common-Thread.h   (contents, props changed)
  head/security/libzrtpcppcore/pkg-descr   (contents, props changed)
  head/security/libzrtpcppcore/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Thu Jan  1 12:39:06 2015	(r375918)
+++ head/security/Makefile	Thu Jan  1 12:54:23 2015	(r375919)
@@ -295,6 +295,7 @@
     SUBDIR += libtomcrypt
     SUBDIR += libwhisker
     SUBDIR += libyubikey
+    SUBDIR += libzrtpcppcore
     SUBDIR += linux-c6-cyrus-sasl2
     SUBDIR += linux-c6-gnutls
     SUBDIR += linux-c6-libgcrypt

Added: head/security/libzrtpcppcore/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libzrtpcppcore/Makefile	Thu Jan  1 12:54:23 2015	(r375919)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	libzrtpcppcore
+DISTVERSIONPREFIX=	V
+DISTVERSION=	4.3.1
+CATEGORIES=	devel
+MASTER_SITES=	GHR
+
+MAINTAINER=	tijl@FreeBSD.org
+COMMENT=	GNU ZRTP library
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	wernerd
+GH_PROJECT=	ZRTPCPP
+WRKSRC=		${WRKDIR}/${GH_PROJECT}-${DISTVERSION}
+
+USES=		cmake:outsource
+CMAKE_ARGS=	-DCORE_LIB=true
+USE_LDCONFIG=	yes
+
+.include <bsd.port.mk>

Added: head/security/libzrtpcppcore/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libzrtpcppcore/distinfo	Thu Jan  1 12:54:23 2015	(r375919)
@@ -0,0 +1,2 @@
+SHA256 (libzrtpcppcore-V4.3.1.tar.gz) = d9cce8ba5946620ce030a6b04f58c4011cbd1deb79ee41a6b8999dc6b689604c
+SIZE (libzrtpcppcore-V4.3.1.tar.gz) = 1928961

Added: head/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt	Thu Jan  1 12:54:23 2015	(r375919)
@@ -0,0 +1,11 @@
+--- clients/no_client/CMakeLists.txt.orig	2014-11-18 15:26:49 UTC
++++ clients/no_client/CMakeLists.txt
+@@ -106,7 +106,7 @@ install(FILES
+ 
+ install(FILES ${CMAKE_SOURCE_DIR}/common/osSpecifics.h DESTINATION include/libzrtpcpp/common)
+ 
+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${zrtplibName}.pc DESTINATION ${LIBDIRNAME}/pkgconfig)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${zrtplibName}.pc DESTINATION ${LIBDIRNAME}data/pkgconfig)
+ 
+ install(TARGETS ${zrtplibName} DESTINATION ${LIBDIRNAME})
+ 

Added: head/security/libzrtpcppcore/files/patch-common-Thread.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libzrtpcppcore/files/patch-common-Thread.h	Thu Jan  1 12:54:23 2015	(r375919)
@@ -0,0 +1,11 @@
+--- common/Thread.h.orig	2014-11-18 15:26:49 UTC
++++ common/Thread.h
+@@ -62,7 +62,7 @@ typedef void *LPVOID;
+ 
+ #if defined(AS400) || defined(OS400)
+ typedef pthread_id_np_t ThreadId_t;
+-#elif defined(VMS) || defined(__NetBSD__)
++#elif defined(VMS) || defined(__NetBSD__) || defined(__FreeBSD__)
+ typedef pthread_t ThreadId_t;
+ #else
+ #ifdef USE_BEGIN_THREAD

Added: head/security/libzrtpcppcore/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libzrtpcppcore/pkg-descr	Thu Jan  1 12:54:23 2015	(r375919)
@@ -0,0 +1,4 @@
+This package provides the core ZRTP (RFC 6189) support library from
+the GNU ZRTP C++ project.
+
+WWW: https://github.com/wernerd/ZRTPCPP

Added: head/security/libzrtpcppcore/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/libzrtpcppcore/pkg-plist	Thu Jan  1 12:54:23 2015	(r375919)
@@ -0,0 +1,10 @@
+include/libzrtpcpp/ZrtpCWrapper.h
+include/libzrtpcpp/ZrtpCallback.h
+include/libzrtpcpp/ZrtpCodes.h
+include/libzrtpcpp/ZrtpConfigure.h
+include/libzrtpcpp/ZrtpUserCallback.h
+include/libzrtpcpp/common/osSpecifics.h
+lib/libzrtpcppcore.so
+lib/libzrtpcppcore.so.4
+lib/libzrtpcppcore.so.4.3.1
+libdata/pkgconfig/libzrtpcppcore.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501011254.t01CsOXM011732>