svn commit: r379839 - in head/devel/librest: . files
Thierry Thomas
thierry at FreeBSD.org
Tue Feb 24 21:11:43 UTC 2015
Author: thierry
Date: Tue Feb 24 21:11:41 2015
New Revision: 379839
URL: https://svnweb.freebsd.org/changeset/ports/379839
QAT: https://qat.redports.org/buildarchive/r379839/
Log:
- Add a regression-test target
- Fix an error for Oauth and bump PORTREVISION.
PR: ports/197599
Submitted by: cmt (at) burggraben.net (maintainer)
Obtained from: upstream
Added:
head/devel/librest/files/
head/devel/librest/files/patch-rest_oauth-proxy-call.c (contents, props changed)
head/devel/librest/files/patch-tests_custom-serialize.c (contents, props changed)
head/devel/librest/files/patch-tests_threaded.c (contents, props changed)
Modified:
head/devel/librest/Makefile
Modified: head/devel/librest/Makefile
==============================================================================
--- head/devel/librest/Makefile Tue Feb 24 20:44:10 2015 (r379838)
+++ head/devel/librest/Makefile Tue Feb 24 21:11:41 2015 (r379839)
@@ -3,6 +3,7 @@
PORTNAME= rest
PORTVERSION= 0.7.92
+PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= GNOME
@@ -35,4 +36,8 @@ post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0
+regression-test:
+ (cd ${WRKSRC}/tests && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} check)
+
.include <bsd.port.mk>
Added: head/devel/librest/files/patch-rest_oauth-proxy-call.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/librest/files/patch-rest_oauth-proxy-call.c Tue Feb 24 21:11:41 2015 (r379839)
@@ -0,0 +1,10 @@
+--- rest/oauth-proxy-call.c.orig 2015-02-24 01:13:22.000000000 +0100
++++ rest/oauth-proxy-call.c 2015-02-24 01:13:39.000000000 +0100
+@@ -25,6 +25,7 @@
+ #include <rest/rest-proxy-call.h>
+ #include "oauth-proxy-call.h"
+ #include "oauth-proxy-private.h"
++#include "rest-proxy-call-private.h"
+ #include "sha1.h"
+
+ G_DEFINE_TYPE (OAuthProxyCall, oauth_proxy_call, REST_TYPE_PROXY_CALL)
Added: head/devel/librest/files/patch-tests_custom-serialize.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/librest/files/patch-tests_custom-serialize.c Tue Feb 24 21:11:41 2015 (r379839)
@@ -0,0 +1,11 @@
+--- tests/custom-serialize.c.orig 2015-02-23 23:22:16.000000000 +0100
++++ tests/custom-serialize.c 2015-02-23 23:22:28.000000000 +0100
+@@ -125,6 +125,8 @@
+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL);
+
++ sleep(2);
++
+ url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server));
+
+ proxy = rest_proxy_new (url, FALSE);
Added: head/devel/librest/files/patch-tests_threaded.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/librest/files/patch-tests_threaded.c Tue Feb 24 21:11:41 2015 (r379839)
@@ -0,0 +1,11 @@
+--- tests/threaded.c.orig 2015-02-23 23:21:35.000000000 +0100
++++ tests/threaded.c 2015-02-23 23:22:06.000000000 +0100
+@@ -92,6 +92,8 @@
+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL);
+
++ sleep(2);
++
+ url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server));
+
+ for (i = 0; i < G_N_ELEMENTS (threads); i++) {
More information about the svn-ports-head
mailing list