[Pkg-gnutls-commits] r1436 - in /packages/gnutls28/trunk/debian: changelog patches/25_disabledtls_kFreeBSD.diff patches/series

ametzler at users.alioth.debian.org ametzler at users.alioth.debian.org
Sun Mar 11 09:22:58 UTC 2012


Author: ametzler
Date: Sun Mar 11 09:22:57 2012
New Revision: 1436

URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=1436
Log:
Skip dtls-stress on kFreeBSD-* since support for CLOCK_MONOTONIC is missing
there. (See #662018.)

Added:
    packages/gnutls28/trunk/debian/patches/25_disabledtls_kFreeBSD.diff
Modified:
    packages/gnutls28/trunk/debian/changelog
    packages/gnutls28/trunk/debian/patches/series

Modified: packages/gnutls28/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls28/trunk/debian/changelog?rev=1436&op=diff
==============================================================================
--- packages/gnutls28/trunk/debian/changelog (original)
+++ packages/gnutls28/trunk/debian/changelog Sun Mar 11 09:22:57 2012
@@ -1,6 +1,8 @@
 gnutls28 (3.0.15-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * 25_disabledtls_kFreeBSD.diff: Skip dtls-stress on kFreeBSD-* since
+    support for CLOCK_MONOTONIC is missing there. (See #662018.)
 
  -- Andreas Metzler <ametzler at debian.org>  Sun, 04 Mar 2012 17:13:42 +0100
 

Added: packages/gnutls28/trunk/debian/patches/25_disabledtls_kFreeBSD.diff
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls28/trunk/debian/patches/25_disabledtls_kFreeBSD.diff?rev=1436&op=file
==============================================================================
--- packages/gnutls28/trunk/debian/patches/25_disabledtls_kFreeBSD.diff (added)
+++ packages/gnutls28/trunk/debian/patches/25_disabledtls_kFreeBSD.diff Sun Mar 11 09:22:57 2012
@@ -1,0 +1,20 @@
+Description: Do not run dtls-stress on kFreeBSD. (CLOCK_MONOTONIC)
+ kFreeBSD seems to miss CLOCK_MONOTONIC. and therefore cannot run dtls-stress.
+Bug-Debian: http://bugs.debian.org/662018
+Last-Update: 2012-03-11
+
+diff -NurBbp gnutls-3.0.15/tests/dtls/dtls-stress.c b/tests/dtls/dtls-stress.c
+--- gnutls-3.0.15/tests/dtls/dtls-stress.c	2012-02-25 19:55:16.000000000 +0100
++++ b/tests/dtls/dtls-stress.c	2012-03-11 10:01:43.000000000 +0100
+@@ -1025,6 +1025,11 @@ int main(int argc, const char* argv[])
+ 	run_to_end = 1;
+ 	job_limit = 1;
+ 
++#if defined __FreeBSD_kernel__ && defined __GLIBC__
++	printf ("Not running dtls-stress due to missing CLOCK_MONOTONIC\n");
++	return 0;
++#endif
++
+ #define NEXT_ARG(name) \
+ 	do { \
+ 		if (++arg >= argc) { \

Modified: packages/gnutls28/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls28/trunk/debian/patches/series?rev=1436&op=diff
==============================================================================
--- packages/gnutls28/trunk/debian/patches/series (original)
+++ packages/gnutls28/trunk/debian/patches/series Sun Mar 11 09:22:57 2012
@@ -1,3 +1,4 @@
 14_version_gettextcat.diff
 20_test-select.diff
+25_disabledtls_kFreeBSD.diff
 30_forcesystemlibopts.diff




More information about the Pkg-gnutls-commits mailing list