[Midnightbsd-cvs] mports [18526] trunk/security: add libzrtpcppcore
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Apr 1 06:49:13 EDT 2015
Revision: 18526
http://svnweb.midnightbsd.org/mports/?rev=18526
Author: laffer1
Date: 2015-04-01 06:49:12 -0400 (Wed, 01 Apr 2015)
Log Message:
-----------
add libzrtpcppcore
Modified Paths:
--------------
trunk/security/Makefile
Added Paths:
-----------
trunk/security/libzrtpcppcore/
trunk/security/libzrtpcppcore/Makefile
trunk/security/libzrtpcppcore/distinfo
trunk/security/libzrtpcppcore/files/
trunk/security/libzrtpcppcore/files/patch-CMakeLists.txt
trunk/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt
trunk/security/libzrtpcppcore/files/patch-common-Thread.h
trunk/security/libzrtpcppcore/pkg-descr
trunk/security/libzrtpcppcore/pkg-plist
Modified: trunk/security/Makefile
===================================================================
--- trunk/security/Makefile 2015-04-01 10:47:23 UTC (rev 18525)
+++ trunk/security/Makefile 2015-04-01 10:49:12 UTC (rev 18526)
@@ -46,6 +46,7 @@
SUBDIR += libssh
SUBDIR += libssh2
SUBDIR += libtasn1
+SUBDIR += libzrtpcppcore
SUBDIR += linux-f10-cyrus-sasl2
SUBDIR += linux-f10-gnutls
SUBDIR += linux-f10-libgcrypt
Added: trunk/security/libzrtpcppcore/Makefile
===================================================================
--- trunk/security/libzrtpcppcore/Makefile (rev 0)
+++ trunk/security/libzrtpcppcore/Makefile 2015-04-01 10:49:12 UTC (rev 18526)
@@ -0,0 +1,25 @@
+# $MidnightBSD$
+# $FreeBSD: head/security/libzrtpcppcore/Makefile 376798 2015-01-11 19:25:27Z tijl $
+
+PORTNAME= libzrtpcppcore
+DISTVERSIONPREFIX= V
+DISTVERSION= 4.3.1
+CATEGORIES= security
+MASTER_SITES= GHR
+
+MAINTAINER= ports at MidnightBSD.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>
Property changes on: trunk/security/libzrtpcppcore/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/libzrtpcppcore/distinfo
===================================================================
--- trunk/security/libzrtpcppcore/distinfo (rev 0)
+++ trunk/security/libzrtpcppcore/distinfo 2015-04-01 10:49:12 UTC (rev 18526)
@@ -0,0 +1,2 @@
+SHA256 (libzrtpcppcore-V4.3.1.tar.gz) = d9cce8ba5946620ce030a6b04f58c4011cbd1deb79ee41a6b8999dc6b689604c
+SIZE (libzrtpcppcore-V4.3.1.tar.gz) = 1928961
Property changes on: trunk/security/libzrtpcppcore/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/libzrtpcppcore/files/patch-CMakeLists.txt
===================================================================
--- trunk/security/libzrtpcppcore/files/patch-CMakeLists.txt (rev 0)
+++ trunk/security/libzrtpcppcore/files/patch-CMakeLists.txt 2015-04-01 10:49:12 UTC (rev 18526)
@@ -0,0 +1,18 @@
+--- CMakeLists.txt.orig 2014-11-18 15:26:49 UTC
++++ CMakeLists.txt
+@@ -156,14 +156,12 @@ endif()
+ # necessary and required modules checked, ready to generate config.h in top-level build directory
+ configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
+
+-add_definitions(-g -O2 -fno-strict-aliasing)
++add_definitions(-fno-strict-aliasing)
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ # add_definitions(-Wno-long-long -Wno-char-subscripts)
+ # add_definitions(-Wall -ansi -pedantic)
+ # add_definitions(-Wall -pedantic)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -std=c99")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -std=c++11")
+- add_definitions(-DNEW_STDCPP)
+ endif()
+
+ include_directories(BEFORE ${CMAKE_BINARY_DIR})
Property changes on: trunk/security/libzrtpcppcore/files/patch-CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt
===================================================================
--- trunk/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt (rev 0)
+++ trunk/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt 2015-04-01 10:49:12 UTC (rev 18526)
@@ -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})
+
Property changes on: trunk/security/libzrtpcppcore/files/patch-clients-no_client-CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/libzrtpcppcore/files/patch-common-Thread.h
===================================================================
--- trunk/security/libzrtpcppcore/files/patch-common-Thread.h (rev 0)
+++ trunk/security/libzrtpcppcore/files/patch-common-Thread.h 2015-04-01 10:49:12 UTC (rev 18526)
@@ -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
Property changes on: trunk/security/libzrtpcppcore/files/patch-common-Thread.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/libzrtpcppcore/pkg-descr
===================================================================
--- trunk/security/libzrtpcppcore/pkg-descr (rev 0)
+++ trunk/security/libzrtpcppcore/pkg-descr 2015-04-01 10:49:12 UTC (rev 18526)
@@ -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
Property changes on: trunk/security/libzrtpcppcore/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/libzrtpcppcore/pkg-plist
===================================================================
--- trunk/security/libzrtpcppcore/pkg-plist (rev 0)
+++ trunk/security/libzrtpcppcore/pkg-plist 2015-04-01 10:49:12 UTC (rev 18526)
@@ -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
Property changes on: trunk/security/libzrtpcppcore/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list