[arch-commits] Commit in gst-plugins-good/repos (20 files)
Jan Steffens
heftig at archlinux.org
Tue Sep 19 13:58:57 UTC 2017
Date: Tuesday, September 19, 2017 @ 13:58:55
Author: heftig
Revision: 305849
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
gst-plugins-good/repos/extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch
(from rev 305848, gst-plugins-good/trunk/0001-tests-souphttpsrc-Update-test-cert.pem.patch)
gst-plugins-good/repos/extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
(from rev 305848, gst-plugins-good/trunk/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch)
gst-plugins-good/repos/extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
(from rev 305848, gst-plugins-good/trunk/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch)
gst-plugins-good/repos/extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
(from rev 305848, gst-plugins-good/trunk/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
gst-plugins-good/repos/extra-i686/PKGBUILD
(from rev 305848, gst-plugins-good/trunk/PKGBUILD)
gst-plugins-good/repos/extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch
(from rev 305848, gst-plugins-good/trunk/0001-tests-souphttpsrc-Update-test-cert.pem.patch)
gst-plugins-good/repos/extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
(from rev 305848, gst-plugins-good/trunk/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch)
gst-plugins-good/repos/extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
(from rev 305848, gst-plugins-good/trunk/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch)
gst-plugins-good/repos/extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
(from rev 305848, gst-plugins-good/trunk/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
gst-plugins-good/repos/extra-x86_64/PKGBUILD
(from rev 305848, gst-plugins-good/trunk/PKGBUILD)
Deleted:
gst-plugins-good/repos/extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch
gst-plugins-good/repos/extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
gst-plugins-good/repos/extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
gst-plugins-good/repos/extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
gst-plugins-good/repos/extra-i686/PKGBUILD
gst-plugins-good/repos/extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch
gst-plugins-good/repos/extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
gst-plugins-good/repos/extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
gst-plugins-good/repos/extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
gst-plugins-good/repos/extra-x86_64/PKGBUILD
------------------------------------------------------------------------------+
/0001-tests-souphttpsrc-Update-test-cert.pem.patch | 116 +++++++
/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch | 94 ++++++
/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch | 120 ++++++++
/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch | 108 +++++++
/PKGBUILD | 148 ++++++++++
extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch | 58 ---
extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch | 47 ---
extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch | 60 ----
extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch | 54 ---
extra-i686/PKGBUILD | 74 -----
extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch | 58 ---
extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch | 47 ---
extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch | 60 ----
extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch | 54 ---
extra-x86_64/PKGBUILD | 74 -----
15 files changed, 586 insertions(+), 586 deletions(-)
Deleted: extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch
===================================================================
--- extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,58 +0,0 @@
-From 5166461059402fb0a7130fdc100e96698b1f90b7 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:28:35 +0200
-Subject: [PATCH 1/4] tests: souphttpsrc: Update test-cert.pem
-
-Recent GnuTLS disregards the Common Name and only looks at the Subject
-Alternative Name extension. Since our test-cert has no SAN extension,
-validation fails.
-
-Generate a new certificate with SAN. In addition to 127.0.0.1, for good
-measure make it valid for localhost and ::1, too.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/files/test-cert.pem | 31 ++++++++++++++++---------------
- 1 file changed, 16 insertions(+), 15 deletions(-)
-
-diff --git a/tests/files/test-cert.pem b/tests/files/test-cert.pem
-index 7f2062665529424e..ff863b4d1387270f 100644
---- a/tests/files/test-cert.pem
-+++ b/tests/files/test-cert.pem
-@@ -1,17 +1,18 @@
- -----BEGIN CERTIFICATE-----
--MIICpDCCAYwCCQC8Suc8hjfgujANBgkqhkiG9w0BAQUFADAUMRIwEAYDVQQDDAkx
--MjcuMC4wLjEwHhcNMTEwOTE5MTkyMjA1WhcNMjEwOTE2MTkyMjA1WjAUMRIwEAYD
--VQQDDAkxMjcuMC4wLj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SbdQNDCbA8ybZJqR8m9F3ed8vobdSSQGxWpPdXTgz27x+TpiAc9P
-+w83UuPvlu/0AxHJBFXVAg+id0yFu3wmGWYJHoAtvFi2xeRtAXurNuPtjZyO+gfM9
-+BKTRCkGsRSmPpJyGbU2Q96fjxnVfV9oYvQXeugUcSx/pTUCM/kDgD9QZCxG2rflX
-+NWcqDFY3uO6ZR68Qwi/KouOa8rzrgAcwhFUI6Wz0Zwi1rzRtWK5WqC24aBUYz/tK
-+hl8i88UDXSMh7spChdYDBGLhZyUCAwEAAaMwMC4wLAYDVR0RBCUwI4IJbG9jYWxo
-+b3N0hwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMA0GCSqGSIb3DQEBCwUAA4IBAQBj
-++U8tebwg5/pof5Rht6TMHqeg6Fcr4OJkL2ph2g+T/AMTS7kEGeFIKJN5AZ+S/qIY
-+cdoDKHwc8+bCK/mG6DPmJ4z/2Eamb85YhplOLVrLRwfxRebTK9CtnjcjnflAiU9H
-+7vPVwXIvkwebhBSQNKTdkBlPXKaTNWXuygeFG2OVQkPf/KAxSdtg2R+owv/s802Z
-+HISk26wY9oFIQz6AiXWdrY1QqNOltZ7rlU5iofAH7X+9ryZlxPWj/gHg2YQRvvLl
-+dq6nCF+ED0ke7h0lg5nU0beKEygwli8DlLVbu0JK0PkARFp5t7wUtzC9DCjzvfOc
-+gxR44PyZX7/2oaTDm4PS
- -----END CERTIFICATE-----
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch (from rev 305848, gst-plugins-good/trunk/0001-tests-souphttpsrc-Update-test-cert.pem.patch)
===================================================================
--- extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch (rev 0)
+++ extra-i686/0001-tests-souphttpsrc-Update-test-cert.pem.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,58 @@
+From 5166461059402fb0a7130fdc100e96698b1f90b7 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:28:35 +0200
+Subject: [PATCH 1/4] tests: souphttpsrc: Update test-cert.pem
+
+Recent GnuTLS disregards the Common Name and only looks at the Subject
+Alternative Name extension. Since our test-cert has no SAN extension,
+validation fails.
+
+Generate a new certificate with SAN. In addition to 127.0.0.1, for good
+measure make it valid for localhost and ::1, too.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/files/test-cert.pem | 31 ++++++++++++++++---------------
+ 1 file changed, 16 insertions(+), 15 deletions(-)
+
+diff --git a/tests/files/test-cert.pem b/tests/files/test-cert.pem
+index 7f2062665529424e..ff863b4d1387270f 100644
+--- a/tests/files/test-cert.pem
++++ b/tests/files/test-cert.pem
+@@ -1,17 +1,18 @@
+ -----BEGIN CERTIFICATE-----
+-MIICpDCCAYwCCQC8Suc8hjfgujANBgkqhkiG9w0BAQUFADAUMRIwEAYDVQQDDAkx
+-MjcuMC4wLjEwHhcNMTEwOTE5MTkyMjA1WhcNMjEwOTE2MTkyMjA1WjAUMRIwEAYD
+-VQQDDAkxMjcuMC4wLjEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCr
+-OH7kblu+5zkYTk/ZG21OgbIyltxhLDHPmUpl4yDUFqX5BEtoVfg0Ms4ZuaoeDi4t
+-b2LV6Em3UDQwmwPMm2SakfJvRd3nfL6G3UkkBsVqT3V04M9u8fk6YgHPT8PN1Lj7
+-5bv9AMRyQRV1QIPondMhbt8JhlmCR6ALbxYtsXkbQF7qzbj7Y2cjvoHzPQSk0QpB
+-rEUpj6Schm1NkPen48Z1X1faGL0F3roFHEsf6U1AjP5A4A/UGQsRtq35VzVnKgxW
+-N7jumUevEMIvyqLjmvK864AHMIRVCOls9GcIta80bViuVqgtuGgVGM/7SoZfIvPF
+-A10jIe7KQoXWAwRi4WclAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBAJfihY634dRr
+-DeEA4SQ1e0/kB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qIY
++cdoDKHwc8+bCK/mG6DPmJ4z/2Eamb85YhplOLVrLRwfxRebTK9CtnjcjnflAiU9H
++7vPVwXIvkwebhBSQNKTdkBlPXKaTNWXuygeFG2OVQkPf/KAxSdtg2R+owv/s802Z
++HISk26wY9oFIQz6AiXWdrY1QqNOltZ7rlU5iofAH7X+9ryZlxPWj/gHg2YQRvvLl
++dq6nCF+ED0ke7h0lg5nU0beKEygwli8DlLVbu0JK0PkARFp5t7wUtzC9DCjzvfOc
++gxR44PyZX7/2oaTDm4PS
+ -----END CERTIFICATE-----
+--
+2.13.1
+
Deleted: extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
===================================================================
--- extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,47 +0,0 @@
-From e0ac30bc06da0ffd78334621c9ee42fa8f92f195 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:34:41 +0200
-Subject: [PATCH 2/4] tests: souphttpsrc: Make ssl_cert/key_file static
-
-Just a bit of cleanup.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/check/elements/souphttpsrc.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
-index a6231fab85eeb9e2..6dedae50a64a3dc0 100644
---- a/tests/check/elements/souphttpsrc.c
-+++ b/tests/check/elements/souphttpsrc.c
-@@ -52,6 +52,9 @@ static const char *realm = "SOUPHTTPSRC_REALM";
- static const char *basic_auth_path = "/basic_auth";
- static const char *digest_auth_path = "/digest_auth";
-
-+static const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
-+static const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
-+
- static guint get_port_from_server (SoupServer * server);
- static SoupServer *run_server (gboolean use_https);
-
-@@ -123,7 +126,7 @@ run_test (gboolean use_https, const gchar * path, gint expected)
- g_free (url);
-
- g_object_set (src, "automatic-redirect", redirect, NULL);
-- g_object_set (src, "ssl-ca-file", GST_TEST_FILES_PATH "/test-cert.pem", NULL);
-+ g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
- if (cookies != NULL)
- g_object_set (src, "cookies", cookies, NULL);
- g_object_set (sink, "signal-handoffs", TRUE, NULL);
-@@ -572,8 +575,6 @@ run_server (gboolean use_https)
-
-
- if (use_https) {
-- const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
-- const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
- GTlsBackend *backend = g_tls_backend_get_default ();
-
- if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch (from rev 305848, gst-plugins-good/trunk/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch)
===================================================================
--- extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch (rev 0)
+++ extra-i686/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,47 @@
+From e0ac30bc06da0ffd78334621c9ee42fa8f92f195 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:34:41 +0200
+Subject: [PATCH 2/4] tests: souphttpsrc: Make ssl_cert/key_file static
+
+Just a bit of cleanup.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/check/elements/souphttpsrc.c | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
+index a6231fab85eeb9e2..6dedae50a64a3dc0 100644
+--- a/tests/check/elements/souphttpsrc.c
++++ b/tests/check/elements/souphttpsrc.c
+@@ -52,6 +52,9 @@ static const char *realm = "SOUPHTTPSRC_REALM";
+ static const char *basic_auth_path = "/basic_auth";
+ static const char *digest_auth_path = "/digest_auth";
+
++static const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
++static const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
++
+ static guint get_port_from_server (SoupServer * server);
+ static SoupServer *run_server (gboolean use_https);
+
+@@ -123,7 +126,7 @@ run_test (gboolean use_https, const gchar * path, gint expected)
+ g_free (url);
+
+ g_object_set (src, "automatic-redirect", redirect, NULL);
+- g_object_set (src, "ssl-ca-file", GST_TEST_FILES_PATH "/test-cert.pem", NULL);
++ g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
+ if (cookies != NULL)
+ g_object_set (src, "cookies", cookies, NULL);
+ g_object_set (sink, "signal-handoffs", TRUE, NULL);
+@@ -572,8 +575,6 @@ run_server (gboolean use_https)
+
+
+ if (use_https) {
+- const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
+- const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
+ GTlsBackend *backend = g_tls_backend_get_default ();
+
+ if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
+--
+2.13.1
+
Deleted: extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
===================================================================
--- extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,60 +0,0 @@
-From bf9331fa8a68e58abbed72d25ccf2ab9e044669c Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:37:55 +0200
-Subject: [PATCH 3/4] tests: souphttpsrc: Avoid deprecated server ssl
- properties
-
-The ssl-cert-file and ssl-key-file properties are deprecated. Use the
-soup_server_set_ssl_cert_file function to load the files.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/check/elements/souphttpsrc.c | 21 +++++++++++++--------
- 1 file changed, 13 insertions(+), 8 deletions(-)
-
-diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
-index 6dedae50a64a3dc0..d5eefb9364f78280 100644
---- a/tests/check/elements/souphttpsrc.c
-+++ b/tests/check/elements/souphttpsrc.c
-@@ -569,25 +569,30 @@ get_port_from_server (SoupServer * server)
- static SoupServer *
- run_server (gboolean use_https)
- {
-- SoupServer *server;
-- SoupServerListenOptions listen_flags;
-+ SoupServer *server = soup_server_new (NULL, NULL);
-+ SoupServerListenOptions listen_flags = 0;
- guint port;
-
-
- if (use_https) {
- GTlsBackend *backend = g_tls_backend_get_default ();
-+ GError *err = NULL;
-
- if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
- GST_INFO ("No TLS support");
-+ g_object_unref (server);
- return NULL;
- }
-
-- server = soup_server_new (SOUP_SERVER_SSL_CERT_FILE, ssl_cert_file,
-- SOUP_SERVER_SSL_KEY_FILE, ssl_key_file, NULL);
-- listen_flags = SOUP_SERVER_LISTEN_HTTPS;
-- } else {
-- server = soup_server_new (NULL, NULL);
-- listen_flags = 0;
-+ if (!soup_server_set_ssl_cert_file (server, ssl_cert_file, ssl_key_file,
-+ &err)) {
-+ GST_INFO ("Failed to load certificate: %s", err->message);
-+ g_object_unref (server);
-+ g_error_free (err);
-+ return NULL;
-+ }
-+
-+ listen_flags |= SOUP_SERVER_LISTEN_HTTPS;
- }
-
- soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch (from rev 305848, gst-plugins-good/trunk/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch)
===================================================================
--- extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch (rev 0)
+++ extra-i686/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,60 @@
+From bf9331fa8a68e58abbed72d25ccf2ab9e044669c Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:37:55 +0200
+Subject: [PATCH 3/4] tests: souphttpsrc: Avoid deprecated server ssl
+ properties
+
+The ssl-cert-file and ssl-key-file properties are deprecated. Use the
+soup_server_set_ssl_cert_file function to load the files.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/check/elements/souphttpsrc.c | 21 +++++++++++++--------
+ 1 file changed, 13 insertions(+), 8 deletions(-)
+
+diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
+index 6dedae50a64a3dc0..d5eefb9364f78280 100644
+--- a/tests/check/elements/souphttpsrc.c
++++ b/tests/check/elements/souphttpsrc.c
+@@ -569,25 +569,30 @@ get_port_from_server (SoupServer * server)
+ static SoupServer *
+ run_server (gboolean use_https)
+ {
+- SoupServer *server;
+- SoupServerListenOptions listen_flags;
++ SoupServer *server = soup_server_new (NULL, NULL);
++ SoupServerListenOptions listen_flags = 0;
+ guint port;
+
+
+ if (use_https) {
+ GTlsBackend *backend = g_tls_backend_get_default ();
++ GError *err = NULL;
+
+ if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
+ GST_INFO ("No TLS support");
++ g_object_unref (server);
+ return NULL;
+ }
+
+- server = soup_server_new (SOUP_SERVER_SSL_CERT_FILE, ssl_cert_file,
+- SOUP_SERVER_SSL_KEY_FILE, ssl_key_file, NULL);
+- listen_flags = SOUP_SERVER_LISTEN_HTTPS;
+- } else {
+- server = soup_server_new (NULL, NULL);
+- listen_flags = 0;
++ if (!soup_server_set_ssl_cert_file (server, ssl_cert_file, ssl_key_file,
++ &err)) {
++ GST_INFO ("Failed to load certificate: %s", err->message);
++ g_object_unref (server);
++ g_error_free (err);
++ return NULL;
++ }
++
++ listen_flags |= SOUP_SERVER_LISTEN_HTTPS;
+ }
+
+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
+--
+2.13.1
+
Deleted: extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
===================================================================
--- extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,54 +0,0 @@
-From 4dde7d0061b6d2f9159d3f31f9c3c1faf9038fdb Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:39:36 +0200
-Subject: [PATCH 4/4] tests: souphttpsrc: Avoid deprecated ssl-ca-file property
-
-SoupSession's ssl-ca-file property is deprecated. Use the recommended
-tls-database property.
-
-This is a bit more complex as it requires creating a GTlsFileDatabase
-object for an absolute (!) path to the CA certificates file.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/check/elements/souphttpsrc.c | 23 ++++++++++++++++++++++-
- 1 file changed, 22 insertions(+), 1 deletion(-)
-
-diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
-index d5eefb9364f78280..40d4dbbb6ebef05c 100644
---- a/tests/check/elements/souphttpsrc.c
-+++ b/tests/check/elements/souphttpsrc.c
-@@ -125,8 +125,29 @@ run_test (gboolean use_https, const gchar * path, gint expected)
- g_object_set (src, "location", url, NULL);
- g_free (url);
-
-+ if (use_https) {
-+ GTlsDatabase *tlsdb;
-+ GError *error = NULL;
-+ gchar *path;
-+
-+ /* GTlsFileDatabase needs an absolute path. Using a relative one
-+ * causes a warning from GLib-Net followed by a segfault in GnuTLS */
-+ if (g_path_is_absolute (ssl_cert_file)) {
-+ path = g_strdup (ssl_cert_file);
-+ } else {
-+ path = g_build_filename (g_get_current_dir (), ssl_cert_file, NULL);
-+ }
-+
-+ tlsdb = g_tls_file_database_new (path, &error);
-+ fail_unless (tlsdb, "Failed to load certificate: %s", error->message);
-+
-+ g_object_set (src, "tls-database", tlsdb, NULL);
-+
-+ g_object_unref (tlsdb);
-+ g_free (path);
-+ }
-+
- g_object_set (src, "automatic-redirect", redirect, NULL);
-- g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
- if (cookies != NULL)
- g_object_set (src, "cookies", cookies, NULL);
- g_object_set (sink, "signal-handoffs", TRUE, NULL);
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch (from rev 305848, gst-plugins-good/trunk/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
===================================================================
--- extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch (rev 0)
+++ extra-i686/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,54 @@
+From 4dde7d0061b6d2f9159d3f31f9c3c1faf9038fdb Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:39:36 +0200
+Subject: [PATCH 4/4] tests: souphttpsrc: Avoid deprecated ssl-ca-file property
+
+SoupSession's ssl-ca-file property is deprecated. Use the recommended
+tls-database property.
+
+This is a bit more complex as it requires creating a GTlsFileDatabase
+object for an absolute (!) path to the CA certificates file.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/check/elements/souphttpsrc.c | 23 ++++++++++++++++++++++-
+ 1 file changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
+index d5eefb9364f78280..40d4dbbb6ebef05c 100644
+--- a/tests/check/elements/souphttpsrc.c
++++ b/tests/check/elements/souphttpsrc.c
+@@ -125,8 +125,29 @@ run_test (gboolean use_https, const gchar * path, gint expected)
+ g_object_set (src, "location", url, NULL);
+ g_free (url);
+
++ if (use_https) {
++ GTlsDatabase *tlsdb;
++ GError *error = NULL;
++ gchar *path;
++
++ /* GTlsFileDatabase needs an absolute path. Using a relative one
++ * causes a warning from GLib-Net followed by a segfault in GnuTLS */
++ if (g_path_is_absolute (ssl_cert_file)) {
++ path = g_strdup (ssl_cert_file);
++ } else {
++ path = g_build_filename (g_get_current_dir (), ssl_cert_file, NULL);
++ }
++
++ tlsdb = g_tls_file_database_new (path, &error);
++ fail_unless (tlsdb, "Failed to load certificate: %s", error->message);
++
++ g_object_set (src, "tls-database", tlsdb, NULL);
++
++ g_object_unref (tlsdb);
++ g_free (path);
++ }
++
+ g_object_set (src, "automatic-redirect", redirect, NULL);
+- g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
+ if (cookies != NULL)
+ g_object_set (src, "cookies", cookies, NULL);
+ g_object_set (sink, "signal-handoffs", TRUE, NULL);
+--
+2.13.1
+
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-i686/PKGBUILD 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gst-plugins-good
-pkgver=1.12.2
-pkgrel=1
-pkgdesc="GStreamer Multimedia Framework Good Plugins"
-url="https://gstreamer.freedesktop.org/"
-arch=(i686 x86_64)
-license=(LGPL)
-depends=(libpulse jack libsoup gst-plugins-base-libs wavpack aalib taglib libdv libshout libvpx
- gdk-pixbuf2 libcaca libavc1394 libiec61883 libxdamage v4l-utils cairo libgudev speex flac
- libraw1394)
-makedepends=(python gtk-doc autoconf-archive git)
-checkdepends=(gst-plugins-base)
-_commit=188ab74da41dc0d0c62e7918327fba7bdabdf314 # tags/1.12.2^0
-source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good#commit=$_commit"
- "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
- 0001-tests-souphttpsrc-Update-test-cert.pem.patch
- 0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
- 0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
- 0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
-sha256sums=('SKIP'
- 'SKIP'
- 'c8ebf17293c7c2a623cc40339b5619d3496e49a41229780f113ea84ce83c1e60'
- 'a1ff7f89a23f84ee0b407f61c32421d875e2a04b06d6d493d1e5e25f3d6e569a'
- '77df36fcf0760f2bda577887ad0b2908900320d4a4f65f002cb8d8452e060d1d'
- 'befe8bab743a80e5a5a8d1e3e7b6908405f7d6dce471a6d1dace243986d72428')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=784005
- patch -Np1 -i ../0001-tests-souphttpsrc-Update-test-cert.pem.patch
- patch -Np1 -i ../0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
- patch -Np1 -i ../0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
- patch -Np1 -i ../0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
-
- git submodule init
- git config --local submodule.common.url "$srcdir/gst-common"
- git submodule update
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
- --with-package-name="GStreamer Good Plugins (Arch Linux)" \
- --with-package-origin="https://www.archlinux.org/" \
- --enable-experimental --enable-gtk-doc --disable-static
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=655517
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
-}
-
-check() {
- cd $pkgname
- make check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: gst-plugins-good/repos/extra-i686/PKGBUILD (from rev 305848, gst-plugins-good/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gst-plugins-good
+pkgver=1.12.3
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework Good Plugins"
+url="https://gstreamer.freedesktop.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(libpulse jack libsoup gst-plugins-base-libs wavpack aalib taglib libdv libshout libvpx
+ gdk-pixbuf2 libcaca libavc1394 libiec61883 libxdamage v4l-utils cairo libgudev speex flac
+ libraw1394)
+makedepends=(python gtk-doc autoconf-archive git)
+checkdepends=(gst-plugins-base)
+_commit=4ce0249911fb4dda1a7e643a91490a10f2a6d415 # tags/1.12.3^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good#commit=$_commit"
+ "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
+ 0001-tests-souphttpsrc-Update-test-cert.pem.patch
+ 0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
+ 0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
+ 0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'c8ebf17293c7c2a623cc40339b5619d3496e49a41229780f113ea84ce83c1e60'
+ 'a1ff7f89a23f84ee0b407f61c32421d875e2a04b06d6d493d1e5e25f3d6e569a'
+ '77df36fcf0760f2bda577887ad0b2908900320d4a4f65f002cb8d8452e060d1d'
+ 'befe8bab743a80e5a5a8d1e3e7b6908405f7d6dce471a6d1dace243986d72428')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=784005
+ patch -Np1 -i ../0001-tests-souphttpsrc-Update-test-cert.pem.patch
+ patch -Np1 -i ../0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
+ patch -Np1 -i ../0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
+ patch -Np1 -i ../0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
+
+ git submodule init
+ git config --local submodule.common.url "$srcdir/gst-common"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --with-package-name="GStreamer Good Plugins (Arch Linux)" \
+ --with-package-origin="https://www.archlinux.org/" \
+ --enable-experimental --enable-gtk-doc --disable-static
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Deleted: extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch
===================================================================
--- extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,58 +0,0 @@
-From 5166461059402fb0a7130fdc100e96698b1f90b7 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:28:35 +0200
-Subject: [PATCH 1/4] tests: souphttpsrc: Update test-cert.pem
-
-Recent GnuTLS disregards the Common Name and only looks at the Subject
-Alternative Name extension. Since our test-cert has no SAN extension,
-validation fails.
-
-Generate a new certificate with SAN. In addition to 127.0.0.1, for good
-measure make it valid for localhost and ::1, too.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/files/test-cert.pem | 31 ++++++++++++++++---------------
- 1 file changed, 16 insertions(+), 15 deletions(-)
-
-diff --git a/tests/files/test-cert.pem b/tests/files/test-cert.pem
-index 7f2062665529424e..ff863b4d1387270f 100644
---- a/tests/files/test-cert.pem
-+++ b/tests/files/test-cert.pem
-@@ -1,17 +1,18 @@
- -----BEGIN CERTIFICATE-----
--MIICpDCCAYwCCQC8Suc8hjfgujANBgkqhkiG9w0BAQUFADAUMRIwEAYDVQQDDAkx
--MjcuMC4wLjEwHhcNMTEwOTE5MTkyMjA1WhcNMjEwOTE2MTkyMjA1WjAUMRIwEAYD
--VQQDDAkxMjcuMC4wLjEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCr
--OH7kblu+5zkYTk/ZG21OgbIyltxhLDHPmUpl4yDUFqX5BEtoVfg0Ms4ZuaoeDi4t
--b2LV6Em3UDQwmwPMm2SakfJvRd3nfL6G3UkkBsVqT3V04M9u8fk6YgHPT8PN1Lj7
--5bv9AMRyQRV1QIPondMhbt8JhlmCR6ALbxYtsXkbQF7qzbj7Y2cjvoHzPQSk0QpB
--rEUpj6Schm1NkPen48Z1X1faGL0F3roFHEsf6U1AjP5A4A/UGQsRtq35VzVnKgxW
--N7jumUevEMIvyqLjmvK864AHMIRVCOls9GcIta80bViuVqgtuGgVGM/7SoZfIvPF
--A10jIe7KQoXWAwRi4WclAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBAJfihY634dRr
--DeEA4SQ1e0/kB6EF8oeaC+5EuGOJxt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wc8+bCK/mG6DPmJ4z/2Eamb85YhplOLVrLRwfxRebTK9CtnjcjnflAiU9H
-+7vPVwXIvkwebhBSQNKTdkBlPXKaTNWXuygeFG2OVQkPf/KAxSdtg2R+owv/s802Z
-+HISk26wY9oFIQz6AiXWdrY1QqNOltZ7rlU5iofAH7X+9ryZlxPWj/gHg2YQRvvLl
-+dq6nCF+ED0ke7h0lg5nU0beKEygwli8DlLVbu0JK0PkARFp5t7wUtzC9DCjzvfOc
-+gxR44PyZX7/2oaTDm4PS
- -----END CERTIFICATE-----
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch (from rev 305848, gst-plugins-good/trunk/0001-tests-souphttpsrc-Update-test-cert.pem.patch)
===================================================================
--- extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch (rev 0)
+++ extra-x86_64/0001-tests-souphttpsrc-Update-test-cert.pem.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,58 @@
+From 5166461059402fb0a7130fdc100e96698b1f90b7 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:28:35 +0200
+Subject: [PATCH 1/4] tests: souphttpsrc: Update test-cert.pem
+
+Recent GnuTLS disregards the Common Name and only looks at the Subject
+Alternative Name extension. Since our test-cert has no SAN extension,
+validation fails.
+
+Generate a new certificate with SAN. In addition to 127.0.0.1, for good
+measure make it valid for localhost and ::1, too.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/files/test-cert.pem | 31 ++++++++++++++++---------------
+ 1 file changed, 16 insertions(+), 15 deletions(-)
+
+diff --git a/tests/files/test-cert.pem b/tests/files/test-cert.pem
+index 7f2062665529424e..ff863b4d1387270f 100644
+--- a/tests/files/test-cert.pem
++++ b/tests/files/test-cert.pem
+@@ -1,17 +1,18 @@
+ -----BEGIN CERTIFICATE-----
+-MIICpDCCAYw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BaMBQx
++EjAQBgNVBAMMCTEyNy4wLjAuMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
++ggEBAKs4fuRuW77nORhOT9kbbU6BsjKW3GEsMc+ZSmXjINQWpfkES2hV+DQyzhm5
++qh4OLi1vYtXoSbdQNDCbA8ybZJqR8m9F3ed8vobdSSQGxWpPdXTgz27x+TpiAc9P
++w83UuPvlu/0AxHJBFXVAg+id0yFu3wmGWYJHoAtvFi2xeRtAXurNuPtjZyO+gfM9
++BKTRCkGsRSmPpJyGbU2Q96fjxnVfV9oYvQXeugUcSx/pTUCM/kDgD9QZCxG2rflX
++NWcqDFY3uO6ZR68Qwi/KouOa8rzrgAcwhFUI6Wz0Zwi1rzRtWK5WqC24aBUYz/tK
++hl8i88UDXSMh7spChdYDBGLhZyUCAwEAAaMwMC4wLAYDVR0RBCUwI4IJbG9jYWxo
++b3N0hwR/AAABhxAAAAAAAAAAAAAAAAAAAAABMA0GCSqGSIb3DQEBCwUAA4IBAQBj
+++U8tebwg5/pof5Rht6TMHqeg6Fcr4OJkL2ph2g+T/AMTS7kEGeFIKJN5AZ+S/qIY
++cdoDKHwc8+bCK/mG6DPmJ4z/2Eamb85YhplOLVrLRwfxRebTK9CtnjcjnflAiU9H
++7vPVwXIvkwebhBSQNKTdkBlPXKaTNWXuygeFG2OVQkPf/KAxSdtg2R+owv/s802Z
++HISk26wY9oFIQz6AiXWdrY1QqNOltZ7rlU5iofAH7X+9ryZlxPWj/gHg2YQRvvLl
++dq6nCF+ED0ke7h0lg5nU0beKEygwli8DlLVbu0JK0PkARFp5t7wUtzC9DCjzvfOc
++gxR44PyZX7/2oaTDm4PS
+ -----END CERTIFICATE-----
+--
+2.13.1
+
Deleted: extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
===================================================================
--- extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,47 +0,0 @@
-From e0ac30bc06da0ffd78334621c9ee42fa8f92f195 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:34:41 +0200
-Subject: [PATCH 2/4] tests: souphttpsrc: Make ssl_cert/key_file static
-
-Just a bit of cleanup.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/check/elements/souphttpsrc.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
-index a6231fab85eeb9e2..6dedae50a64a3dc0 100644
---- a/tests/check/elements/souphttpsrc.c
-+++ b/tests/check/elements/souphttpsrc.c
-@@ -52,6 +52,9 @@ static const char *realm = "SOUPHTTPSRC_REALM";
- static const char *basic_auth_path = "/basic_auth";
- static const char *digest_auth_path = "/digest_auth";
-
-+static const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
-+static const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
-+
- static guint get_port_from_server (SoupServer * server);
- static SoupServer *run_server (gboolean use_https);
-
-@@ -123,7 +126,7 @@ run_test (gboolean use_https, const gchar * path, gint expected)
- g_free (url);
-
- g_object_set (src, "automatic-redirect", redirect, NULL);
-- g_object_set (src, "ssl-ca-file", GST_TEST_FILES_PATH "/test-cert.pem", NULL);
-+ g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
- if (cookies != NULL)
- g_object_set (src, "cookies", cookies, NULL);
- g_object_set (sink, "signal-handoffs", TRUE, NULL);
-@@ -572,8 +575,6 @@ run_server (gboolean use_https)
-
-
- if (use_https) {
-- const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
-- const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
- GTlsBackend *backend = g_tls_backend_get_default ();
-
- if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch (from rev 305848, gst-plugins-good/trunk/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch)
===================================================================
--- extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch (rev 0)
+++ extra-x86_64/0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,47 @@
+From e0ac30bc06da0ffd78334621c9ee42fa8f92f195 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:34:41 +0200
+Subject: [PATCH 2/4] tests: souphttpsrc: Make ssl_cert/key_file static
+
+Just a bit of cleanup.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/check/elements/souphttpsrc.c | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
+index a6231fab85eeb9e2..6dedae50a64a3dc0 100644
+--- a/tests/check/elements/souphttpsrc.c
++++ b/tests/check/elements/souphttpsrc.c
+@@ -52,6 +52,9 @@ static const char *realm = "SOUPHTTPSRC_REALM";
+ static const char *basic_auth_path = "/basic_auth";
+ static const char *digest_auth_path = "/digest_auth";
+
++static const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
++static const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
++
+ static guint get_port_from_server (SoupServer * server);
+ static SoupServer *run_server (gboolean use_https);
+
+@@ -123,7 +126,7 @@ run_test (gboolean use_https, const gchar * path, gint expected)
+ g_free (url);
+
+ g_object_set (src, "automatic-redirect", redirect, NULL);
+- g_object_set (src, "ssl-ca-file", GST_TEST_FILES_PATH "/test-cert.pem", NULL);
++ g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
+ if (cookies != NULL)
+ g_object_set (src, "cookies", cookies, NULL);
+ g_object_set (sink, "signal-handoffs", TRUE, NULL);
+@@ -572,8 +575,6 @@ run_server (gboolean use_https)
+
+
+ if (use_https) {
+- const char *ssl_cert_file = GST_TEST_FILES_PATH "/test-cert.pem";
+- const char *ssl_key_file = GST_TEST_FILES_PATH "/test-key.pem";
+ GTlsBackend *backend = g_tls_backend_get_default ();
+
+ if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
+--
+2.13.1
+
Deleted: extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
===================================================================
--- extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,60 +0,0 @@
-From bf9331fa8a68e58abbed72d25ccf2ab9e044669c Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:37:55 +0200
-Subject: [PATCH 3/4] tests: souphttpsrc: Avoid deprecated server ssl
- properties
-
-The ssl-cert-file and ssl-key-file properties are deprecated. Use the
-soup_server_set_ssl_cert_file function to load the files.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/check/elements/souphttpsrc.c | 21 +++++++++++++--------
- 1 file changed, 13 insertions(+), 8 deletions(-)
-
-diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
-index 6dedae50a64a3dc0..d5eefb9364f78280 100644
---- a/tests/check/elements/souphttpsrc.c
-+++ b/tests/check/elements/souphttpsrc.c
-@@ -569,25 +569,30 @@ get_port_from_server (SoupServer * server)
- static SoupServer *
- run_server (gboolean use_https)
- {
-- SoupServer *server;
-- SoupServerListenOptions listen_flags;
-+ SoupServer *server = soup_server_new (NULL, NULL);
-+ SoupServerListenOptions listen_flags = 0;
- guint port;
-
-
- if (use_https) {
- GTlsBackend *backend = g_tls_backend_get_default ();
-+ GError *err = NULL;
-
- if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
- GST_INFO ("No TLS support");
-+ g_object_unref (server);
- return NULL;
- }
-
-- server = soup_server_new (SOUP_SERVER_SSL_CERT_FILE, ssl_cert_file,
-- SOUP_SERVER_SSL_KEY_FILE, ssl_key_file, NULL);
-- listen_flags = SOUP_SERVER_LISTEN_HTTPS;
-- } else {
-- server = soup_server_new (NULL, NULL);
-- listen_flags = 0;
-+ if (!soup_server_set_ssl_cert_file (server, ssl_cert_file, ssl_key_file,
-+ &err)) {
-+ GST_INFO ("Failed to load certificate: %s", err->message);
-+ g_object_unref (server);
-+ g_error_free (err);
-+ return NULL;
-+ }
-+
-+ listen_flags |= SOUP_SERVER_LISTEN_HTTPS;
- }
-
- soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch (from rev 305848, gst-plugins-good/trunk/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch)
===================================================================
--- extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch (rev 0)
+++ extra-x86_64/0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,60 @@
+From bf9331fa8a68e58abbed72d25ccf2ab9e044669c Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:37:55 +0200
+Subject: [PATCH 3/4] tests: souphttpsrc: Avoid deprecated server ssl
+ properties
+
+The ssl-cert-file and ssl-key-file properties are deprecated. Use the
+soup_server_set_ssl_cert_file function to load the files.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/check/elements/souphttpsrc.c | 21 +++++++++++++--------
+ 1 file changed, 13 insertions(+), 8 deletions(-)
+
+diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
+index 6dedae50a64a3dc0..d5eefb9364f78280 100644
+--- a/tests/check/elements/souphttpsrc.c
++++ b/tests/check/elements/souphttpsrc.c
+@@ -569,25 +569,30 @@ get_port_from_server (SoupServer * server)
+ static SoupServer *
+ run_server (gboolean use_https)
+ {
+- SoupServer *server;
+- SoupServerListenOptions listen_flags;
++ SoupServer *server = soup_server_new (NULL, NULL);
++ SoupServerListenOptions listen_flags = 0;
+ guint port;
+
+
+ if (use_https) {
+ GTlsBackend *backend = g_tls_backend_get_default ();
++ GError *err = NULL;
+
+ if (backend == NULL || !g_tls_backend_supports_tls (backend)) {
+ GST_INFO ("No TLS support");
++ g_object_unref (server);
+ return NULL;
+ }
+
+- server = soup_server_new (SOUP_SERVER_SSL_CERT_FILE, ssl_cert_file,
+- SOUP_SERVER_SSL_KEY_FILE, ssl_key_file, NULL);
+- listen_flags = SOUP_SERVER_LISTEN_HTTPS;
+- } else {
+- server = soup_server_new (NULL, NULL);
+- listen_flags = 0;
++ if (!soup_server_set_ssl_cert_file (server, ssl_cert_file, ssl_key_file,
++ &err)) {
++ GST_INFO ("Failed to load certificate: %s", err->message);
++ g_object_unref (server);
++ g_error_free (err);
++ return NULL;
++ }
++
++ listen_flags |= SOUP_SERVER_LISTEN_HTTPS;
+ }
+
+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
+--
+2.13.1
+
Deleted: extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
===================================================================
--- extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,54 +0,0 @@
-From 4dde7d0061b6d2f9159d3f31f9c3c1faf9038fdb Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Tue, 20 Jun 2017 16:39:36 +0200
-Subject: [PATCH 4/4] tests: souphttpsrc: Avoid deprecated ssl-ca-file property
-
-SoupSession's ssl-ca-file property is deprecated. Use the recommended
-tls-database property.
-
-This is a bit more complex as it requires creating a GTlsFileDatabase
-object for an absolute (!) path to the CA certificates file.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=784005
----
- tests/check/elements/souphttpsrc.c | 23 ++++++++++++++++++++++-
- 1 file changed, 22 insertions(+), 1 deletion(-)
-
-diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
-index d5eefb9364f78280..40d4dbbb6ebef05c 100644
---- a/tests/check/elements/souphttpsrc.c
-+++ b/tests/check/elements/souphttpsrc.c
-@@ -125,8 +125,29 @@ run_test (gboolean use_https, const gchar * path, gint expected)
- g_object_set (src, "location", url, NULL);
- g_free (url);
-
-+ if (use_https) {
-+ GTlsDatabase *tlsdb;
-+ GError *error = NULL;
-+ gchar *path;
-+
-+ /* GTlsFileDatabase needs an absolute path. Using a relative one
-+ * causes a warning from GLib-Net followed by a segfault in GnuTLS */
-+ if (g_path_is_absolute (ssl_cert_file)) {
-+ path = g_strdup (ssl_cert_file);
-+ } else {
-+ path = g_build_filename (g_get_current_dir (), ssl_cert_file, NULL);
-+ }
-+
-+ tlsdb = g_tls_file_database_new (path, &error);
-+ fail_unless (tlsdb, "Failed to load certificate: %s", error->message);
-+
-+ g_object_set (src, "tls-database", tlsdb, NULL);
-+
-+ g_object_unref (tlsdb);
-+ g_free (path);
-+ }
-+
- g_object_set (src, "automatic-redirect", redirect, NULL);
-- g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
- if (cookies != NULL)
- g_object_set (src, "cookies", cookies, NULL);
- g_object_set (sink, "signal-handoffs", TRUE, NULL);
---
-2.13.1
-
Copied: gst-plugins-good/repos/extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch (from rev 305848, gst-plugins-good/trunk/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
===================================================================
--- extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch (rev 0)
+++ extra-x86_64/0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,54 @@
+From 4dde7d0061b6d2f9159d3f31f9c3c1faf9038fdb Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Tue, 20 Jun 2017 16:39:36 +0200
+Subject: [PATCH 4/4] tests: souphttpsrc: Avoid deprecated ssl-ca-file property
+
+SoupSession's ssl-ca-file property is deprecated. Use the recommended
+tls-database property.
+
+This is a bit more complex as it requires creating a GTlsFileDatabase
+object for an absolute (!) path to the CA certificates file.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=784005
+---
+ tests/check/elements/souphttpsrc.c | 23 ++++++++++++++++++++++-
+ 1 file changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
+index d5eefb9364f78280..40d4dbbb6ebef05c 100644
+--- a/tests/check/elements/souphttpsrc.c
++++ b/tests/check/elements/souphttpsrc.c
+@@ -125,8 +125,29 @@ run_test (gboolean use_https, const gchar * path, gint expected)
+ g_object_set (src, "location", url, NULL);
+ g_free (url);
+
++ if (use_https) {
++ GTlsDatabase *tlsdb;
++ GError *error = NULL;
++ gchar *path;
++
++ /* GTlsFileDatabase needs an absolute path. Using a relative one
++ * causes a warning from GLib-Net followed by a segfault in GnuTLS */
++ if (g_path_is_absolute (ssl_cert_file)) {
++ path = g_strdup (ssl_cert_file);
++ } else {
++ path = g_build_filename (g_get_current_dir (), ssl_cert_file, NULL);
++ }
++
++ tlsdb = g_tls_file_database_new (path, &error);
++ fail_unless (tlsdb, "Failed to load certificate: %s", error->message);
++
++ g_object_set (src, "tls-database", tlsdb, NULL);
++
++ g_object_unref (tlsdb);
++ g_free (path);
++ }
++
+ g_object_set (src, "automatic-redirect", redirect, NULL);
+- g_object_set (src, "ssl-ca-file", ssl_cert_file, NULL);
+ if (cookies != NULL)
+ g_object_set (src, "cookies", cookies, NULL);
+ g_object_set (sink, "signal-handoffs", TRUE, NULL);
+--
+2.13.1
+
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2017-09-19 13:56:23 UTC (rev 305848)
+++ extra-x86_64/PKGBUILD 2017-09-19 13:58:55 UTC (rev 305849)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gst-plugins-good
-pkgver=1.12.2
-pkgrel=1
-pkgdesc="GStreamer Multimedia Framework Good Plugins"
-url="https://gstreamer.freedesktop.org/"
-arch=(i686 x86_64)
-license=(LGPL)
-depends=(libpulse jack libsoup gst-plugins-base-libs wavpack aalib taglib libdv libshout libvpx
- gdk-pixbuf2 libcaca libavc1394 libiec61883 libxdamage v4l-utils cairo libgudev speex flac
- libraw1394)
-makedepends=(python gtk-doc autoconf-archive git)
-checkdepends=(gst-plugins-base)
-_commit=188ab74da41dc0d0c62e7918327fba7bdabdf314 # tags/1.12.2^0
-source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good#commit=$_commit"
- "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
- 0001-tests-souphttpsrc-Update-test-cert.pem.patch
- 0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
- 0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
- 0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
-sha256sums=('SKIP'
- 'SKIP'
- 'c8ebf17293c7c2a623cc40339b5619d3496e49a41229780f113ea84ce83c1e60'
- 'a1ff7f89a23f84ee0b407f61c32421d875e2a04b06d6d493d1e5e25f3d6e569a'
- '77df36fcf0760f2bda577887ad0b2908900320d4a4f65f002cb8d8452e060d1d'
- 'befe8bab743a80e5a5a8d1e3e7b6908405f7d6dce471a6d1dace243986d72428')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=784005
- patch -Np1 -i ../0001-tests-souphttpsrc-Update-test-cert.pem.patch
- patch -Np1 -i ../0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
- patch -Np1 -i ../0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
- patch -Np1 -i ../0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
-
- git submodule init
- git config --local submodule.common.url "$srcdir/gst-common"
- git submodule update
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
- --with-package-name="GStreamer Good Plugins (Arch Linux)" \
- --with-package-origin="https://www.archlinux.org/" \
- --enable-experimental --enable-gtk-doc --disable-static
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=655517
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
-}
-
-check() {
- cd $pkgname
- make check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: gst-plugins-good/repos/extra-x86_64/PKGBUILD (from rev 305848, gst-plugins-good/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2017-09-19 13:58:55 UTC (rev 305849)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gst-plugins-good
+pkgver=1.12.3
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework Good Plugins"
+url="https://gstreamer.freedesktop.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(libpulse jack libsoup gst-plugins-base-libs wavpack aalib taglib libdv libshout libvpx
+ gdk-pixbuf2 libcaca libavc1394 libiec61883 libxdamage v4l-utils cairo libgudev speex flac
+ libraw1394)
+makedepends=(python gtk-doc autoconf-archive git)
+checkdepends=(gst-plugins-base)
+_commit=4ce0249911fb4dda1a7e643a91490a10f2a6d415 # tags/1.12.3^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good#commit=$_commit"
+ "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
+ 0001-tests-souphttpsrc-Update-test-cert.pem.patch
+ 0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
+ 0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
+ 0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'c8ebf17293c7c2a623cc40339b5619d3496e49a41229780f113ea84ce83c1e60'
+ 'a1ff7f89a23f84ee0b407f61c32421d875e2a04b06d6d493d1e5e25f3d6e569a'
+ '77df36fcf0760f2bda577887ad0b2908900320d4a4f65f002cb8d8452e060d1d'
+ 'befe8bab743a80e5a5a8d1e3e7b6908405f7d6dce471a6d1dace243986d72428')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=784005
+ patch -Np1 -i ../0001-tests-souphttpsrc-Update-test-cert.pem.patch
+ patch -Np1 -i ../0002-tests-souphttpsrc-Make-ssl_cert-key_file-static.patch
+ patch -Np1 -i ../0003-tests-souphttpsrc-Avoid-deprecated-server-ssl-proper.patch
+ patch -Np1 -i ../0004-tests-souphttpsrc-Avoid-deprecated-ssl-ca-file-prope.patch
+
+ git submodule init
+ git config --local submodule.common.url "$srcdir/gst-common"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
+ --with-package-name="GStreamer Good Plugins (Arch Linux)" \
+ --with-package-origin="https://www.archlinux.org/" \
+ --enable-experimental --enable-gtk-doc --disable-static
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list