diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-01-01 12:54:23 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-01-01 12:54:23 +0000 |
commit | 10ccff46d9c3aa64b46a9b9ee63afbbdd2beb65e (patch) | |
tree | 330d38605f3762760b319abdb7f4d4b2f624a3d7 /security/libzrtpcppcore | |
parent | 0e5fce20c9ce81cf0d582ac56ab4692b1fab87a3 (diff) | |
download | ports-10ccff46d9c3aa64b46a9b9ee63afbbdd2beb65e.tar.gz ports-10ccff46d9c3aa64b46a9b9ee63afbbdd2beb65e.zip |
Notes
Diffstat (limited to 'security/libzrtpcppcore')
-rw-r--r-- | security/libzrtpcppcore/Makefile | 24 | ||||
-rw-r--r-- | security/libzrtpcppcore/distinfo | 2 | ||||
-rw-r--r-- | security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt | 11 | ||||
-rw-r--r-- | security/libzrtpcppcore/files/patch-common-Thread.h | 11 | ||||
-rw-r--r-- | security/libzrtpcppcore/pkg-descr | 4 | ||||
-rw-r--r-- | security/libzrtpcppcore/pkg-plist | 10 |
6 files changed, 62 insertions, 0 deletions
diff --git a/security/libzrtpcppcore/Makefile b/security/libzrtpcppcore/Makefile new file mode 100644 index 000000000000..cdc40ab4cc00 --- /dev/null +++ b/security/libzrtpcppcore/Makefile @@ -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> diff --git a/security/libzrtpcppcore/distinfo b/security/libzrtpcppcore/distinfo new file mode 100644 index 000000000000..7c3d95ddbb93 --- /dev/null +++ b/security/libzrtpcppcore/distinfo @@ -0,0 +1,2 @@ +SHA256 (libzrtpcppcore-V4.3.1.tar.gz) = d9cce8ba5946620ce030a6b04f58c4011cbd1deb79ee41a6b8999dc6b689604c +SIZE (libzrtpcppcore-V4.3.1.tar.gz) = 1928961 diff --git a/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt b/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt new file mode 100644 index 000000000000..7c08f2e76b25 --- /dev/null +++ b/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt @@ -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}) + diff --git a/security/libzrtpcppcore/files/patch-common-Thread.h b/security/libzrtpcppcore/files/patch-common-Thread.h new file mode 100644 index 000000000000..91e8d2af01bd --- /dev/null +++ b/security/libzrtpcppcore/files/patch-common-Thread.h @@ -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 diff --git a/security/libzrtpcppcore/pkg-descr b/security/libzrtpcppcore/pkg-descr new file mode 100644 index 000000000000..b39281eb3e5a --- /dev/null +++ b/security/libzrtpcppcore/pkg-descr @@ -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 diff --git a/security/libzrtpcppcore/pkg-plist b/security/libzrtpcppcore/pkg-plist new file mode 100644 index 000000000000..8fc15a760144 --- /dev/null +++ b/security/libzrtpcppcore/pkg-plist @@ -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 |