From: Simon McVittie Date: Mon, 3 Sep 2018 21:37:55 +0000 (-0700) Subject: test-utils: Add copyright and licensing X-Git-Tag: dbus-1.13.10~25^2~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=651a82e685638ad75d881112e013b9623a368416;p=thirdparty%2Fdbus.git test-utils: Add copyright and licensing As far as I can tell, the only significant contributions have been from Red Hat and Collabora, both of which have given permission to relicense their parts of the dbus codebase to MIT/X11; so let's go with that. I'm assuming here that tree-wide changes from _DBUS_GNUC_WARN_UNUSED_RESULT to _DBUS_WARN_UNUSED_RESULT, and tree-wide changes to how we include config.h, are not significant for copyright purposes. Signed-off-by: Simon McVittie --- diff --git a/test/test-utils.c b/test/test-utils.c index 995605238..cef3161fd 100644 --- a/test/test-utils.c +++ b/test/test-utils.c @@ -1,3 +1,30 @@ +/* + * Copyright 2002-2008 Red Hat Inc. + * Copyright 2011-2017 Collabora Ltd. + * + * SPDX-License-Identifier: MIT + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation files + * (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + #include #include "test-utils.h" diff --git a/test/test-utils.h b/test/test-utils.h index 14ea365df..6a6201783 100644 --- a/test/test-utils.h +++ b/test/test-utils.h @@ -1,3 +1,30 @@ +/* + * Copyright 2002-2008 Red Hat Inc. + * Copyright 2011-2017 Collabora Ltd. + * + * SPDX-License-Identifier: MIT + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation files + * (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + #ifndef TEST_UTILS_H #define TEST_UTILS_H