pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cmocka
Module Name: pkgsrc
Committed By: adam
Date: Mon Dec 3 15:16:33 UTC 2018
Modified Files:
pkgsrc/devel/cmocka: Makefile PLIST distinfo
Added Files:
pkgsrc/devel/cmocka: buildlink3.mk
pkgsrc/devel/cmocka/patches: patch-CompilerChecks.cmake
Removed Files:
pkgsrc/devel/cmocka/patches:
patch-cmake_Modules_DefineCompilerFlags.cmake
Log Message:
cmocka: updated to 1.1.3
cmocka version 1.1.3
* Fixed subunit output on failures
* Do not abort if a test is skipped
* Switched to Modern CMake
cmocka version 1.1.2
* Added function to filter tests (cmocka_set_test_filter)
* Added new mocking example (uptime)
* Fixed fixture error reporting
* Fixed compiler flags detection
* Some improvement for API documentation
cmocka: version 1.1.1
* Fixed TAP output
* Fixed cmocka on Windows x64
* Fixed xUnit output durations
cmocka: version 1.1.0
* Added support to catch multiple exceptions
* Added support to verify call ordering
* Added support to pass initial data to test cases
* Added will_return_maybe() for ignoring mock returns
* Added subtests for groups using TAP output
* Added support to write multiple XML files for groups
* Improved documentation
* Fixed XML output generataion
* Fixed Windows builds with VS2015
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/cmocka/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/cmocka/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cmocka/buildlink3.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/cmocka/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cmocka/patches/patch-CompilerChecks.cmake
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cmocka/Makefile
diff -u pkgsrc/devel/cmocka/Makefile:1.5 pkgsrc/devel/cmocka/Makefile:1.6
--- pkgsrc/devel/cmocka/Makefile:1.5 Fri Feb 2 10:31:07 2018
+++ pkgsrc/devel/cmocka/Makefile Mon Dec 3 15:16:33 2018
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2018/02/02 10:31:07 jperkin Exp $
+# $NetBSD: Makefile,v 1.6 2018/12/03 15:16:33 adam Exp $
-DISTNAME= cmocka-1.0.1
+DISTNAME= cmocka-1.1.3
CATEGORIES= devel
-MASTER_SITES= https://cmocka.org/files/1.0/
+MASTER_SITES= https://cmocka.org/files/${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://cmocka.org/files/1.0/
+HOMEPAGE= https://cmocka.org/
COMMENT= Unit testing framework for C supporing mock objects
LICENSE= apache-2.0
Index: pkgsrc/devel/cmocka/PLIST
diff -u pkgsrc/devel/cmocka/PLIST:1.2 pkgsrc/devel/cmocka/PLIST:1.3
--- pkgsrc/devel/cmocka/PLIST:1.2 Sun Sep 11 04:35:54 2016
+++ pkgsrc/devel/cmocka/PLIST Mon Dec 3 15:16:33 2018
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2016/09/11 04:35:54 dholland Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/12/03 15:16:33 adam Exp $
include/cmocka.h
include/cmocka_pbc.h
lib/cmake/cmocka/cmocka-config-version.cmake
lib/cmake/cmocka/cmocka-config.cmake
lib/libcmocka.so
lib/libcmocka.so.0
-lib/libcmocka.so.0.3.1
+lib/libcmocka.so.0.5.1
lib/pkgconfig/cmocka.pc
Index: pkgsrc/devel/cmocka/distinfo
diff -u pkgsrc/devel/cmocka/distinfo:1.7 pkgsrc/devel/cmocka/distinfo:1.8
--- pkgsrc/devel/cmocka/distinfo:1.7 Fri Feb 2 10:32:25 2018
+++ pkgsrc/devel/cmocka/distinfo Mon Dec 3 15:16:33 2018
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.7 2018/02/02 10:32:25 jperkin Exp $
+$NetBSD: distinfo,v 1.8 2018/12/03 15:16:33 adam Exp $
-SHA1 (cmocka-1.0.1.tar.xz) = 1f9baabbac3d8b777e83d5c84b64954d019dea34
-RMD160 (cmocka-1.0.1.tar.xz) = d53133a09f2791d65b9fa732d0f4e3b8fe0f65e5
-SHA512 (cmocka-1.0.1.tar.xz) = 142b3293a8ab137904d07f1ac6a56daf0afbbfcf7816a582c9998b6225aa5d6fe5f2d1b889de7b187142fc24ca4d1cfdbd630e8783858bc9ce89217ff05abc1e
-Size (cmocka-1.0.1.tar.xz) = 80240 bytes
-SHA1 (patch-cmake_Modules_DefineCompilerFlags.cmake) = a39376671c52bb44116babed892fc5749ddc21bd
+SHA1 (cmocka-1.1.3.tar.xz) = 4218fcde3534186711f962344f8c669c8ab8d8db
+RMD160 (cmocka-1.1.3.tar.xz) = de713fbf8cf936aa66f8f335a990905ae1c9532a
+SHA512 (cmocka-1.1.3.tar.xz) = b1a2ce72234256d653eebf95f8744a34525b9027e1ecf6552e1620c83a4bdda8b5674b748cc5fd14abada1e374829e2e7f0bcab0b1c8d6c3b7d9b7ec474b6ed3
+Size (cmocka-1.1.3.tar.xz) = 78744 bytes
+SHA1 (patch-CompilerChecks.cmake) = 24766d60fcf9cb388058d69eb66792a4d70031f6
SHA1 (patch-include_cmocka.h) = f34a92589ce62de6c4fdc8232fc6e0c4bb43aa3d
-SHA1 (patch-src_cmocka.c) = a389be7815a861a19dfb2f555b7681ef9013ee80
Added files:
Index: pkgsrc/devel/cmocka/buildlink3.mk
diff -u /dev/null pkgsrc/devel/cmocka/buildlink3.mk:1.1
--- /dev/null Mon Dec 3 15:16:34 2018
+++ pkgsrc/devel/cmocka/buildlink3.mk Mon Dec 3 15:16:33 2018
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/12/03 15:16:33 adam Exp $
+
+BUILDLINK_TREE+= cmocka
+
+.if !defined(CMOCKA_BUILDLINK3_MK)
+CMOCKA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cmocka+= cmocka>=1.1.3
+BUILDLINK_PKGSRCDIR.cmocka?= ../../devel/cmocka
+.endif # CMOCKA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -cmocka
Index: pkgsrc/devel/cmocka/patches/patch-CompilerChecks.cmake
diff -u /dev/null pkgsrc/devel/cmocka/patches/patch-CompilerChecks.cmake:1.1
--- /dev/null Mon Dec 3 15:16:34 2018
+++ pkgsrc/devel/cmocka/patches/patch-CompilerChecks.cmake Mon Dec 3 15:16:33 2018
@@ -0,0 +1,35 @@
+$NetBSD: patch-CompilerChecks.cmake,v 1.1 2018/12/03 15:16:33 adam Exp $
+
+Let PkgSrc handle security features.
+
+--- CompilerChecks.cmake.orig 2018-12-03 09:42:07.000000000 +0000
++++ CompilerChecks.cmake
+@@ -62,28 +62,6 @@ if (UNIX)
+ endif()
+ endif()
+
+- check_c_compiler_flag_ssp("-fstack-protector-strong" WITH_STACK_PROTECTOR_STRONG)
+- if (WITH_STACK_PROTECTOR_STRONG)
+- list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-protector-strong")
+- # This is needed as Solaris has a seperate libssp
+- if (SOLARIS)
+- list(APPEND SUPPORTED_LINKER_FLAGS "-fstack-protector-strong")
+- endif()
+- else (WITH_STACK_PROTECTOR_STRONG)
+- check_c_compiler_flag_ssp("-fstack-protector" WITH_STACK_PROTECTOR)
+- if (WITH_STACK_PROTECTOR)
+- list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-protector")
+- # This is needed as Solaris has a seperate libssp
+- if (SOLARIS)
+- list(APPEND SUPPORTED_LINKER_FLAGS "-fstack-protector")
+- endif()
+- endif()
+- endif (WITH_STACK_PROTECTOR_STRONG)
+-
+- check_c_compiler_flag_ssp("-fstack-clash-protection" WITH_STACK_CLASH_PROTECTION)
+- if (WITH_STACK_CLASH_PROTECTION)
+- list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-clash-protection")
+- endif()
+
+ if (PICKY_DEVELOPER)
+ add_c_compiler_flag("-Wno-error=deprecated-declarations" SUPPORTED_COMPILER_FLAGS)
Home |
Main Index |
Thread Index |
Old Index