[arch-commits] Commit in libsoup/repos (6 files)
Date: Thursday, September 14, 2017 @ 03:41:28 Author: bpiotrowski Revision: 305468 archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: libsoup/repos/gnome-unstable-i686/ libsoup/repos/gnome-unstable-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (from rev 305467, libsoup/trunk/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch) libsoup/repos/gnome-unstable-i686/PKGBUILD (from rev 305467, libsoup/trunk/PKGBUILD) libsoup/repos/gnome-unstable-x86_64/ libsoup/repos/gnome-unstable-x86_64/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (from rev 305467, libsoup/trunk/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch) libsoup/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305467, libsoup/trunk/PKGBUILD) ---+ gnome-unstable-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch | 114 ++ gnome-unstable-i686/PKGBUILD | 50 gnome-unstable-x86_64/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch | 114 ++ gnome-unstable-x86_64/PKGBUILD | 50 4 files changed, 328 insertions(+) Copied: libsoup/repos/gnome-unstable-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (from rev 305467, libsoup/trunk/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch) === --- gnome-unstable-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (rev 0) +++ gnome-unstable-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch 2017-09-14 03:41:28 UTC (rev 305468) @@ -0,0 +1,114 @@ +From 22fae95aff7073da55b2a79055292d320475439b Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)"+Date: Tue, 9 May 2017 22:54:16 +0200 +Subject: [PATCH] Configure PHP to load the XMLRPC extension if present + +This is needed when the system PHP configuration does not already load +the extension. +--- + configure.ac| 7 ++- + tests/Makefile.am | 8 +++- + tests/httpd.conf.in | 2 ++ + tests/php.ini.in| 1 + + 4 files changed, 16 insertions(+), 2 deletions(-) + create mode 100644 tests/php.ini.in + +diff --git a/configure.ac b/configure.ac +index 3df131e67d586522..868b00e7f091a70e 100644 +--- a/configure.ac b/configure.ac +@@ -272,22 +272,26 @@ if test "$have_apache" = 1; then + + if test "$have_php" = yes; then + AC_MSG_CHECKING([for php-xmlrpc]) +- if $PHP --rf xmlrpc_server_create | grep -q "does not exist"; then ++ if $PHP -d extension=xmlrpc.so --rf xmlrpc_server_create | grep -q "does not exist"; then + have_php_xmlrpc=no ++ IF_HAVE_PHP_XMLRPC=";" + else + have_php_xmlrpc=yes ++ IF_HAVE_PHP_XMLRPC="" + AC_DEFINE(HAVE_PHP_XMLRPC, 1, [Have php-xmlrpc]) + fi + AC_MSG_RESULT($have_php_xmlrpc) ++ AC_SUBST(IF_HAVE_PHP_XMLRPC) + fi + + if test -f "$APACHE_MODULE_DIR/mod_unixd.so"; then + IF_HAVE_MOD_UNIXD="" + else + IF_HAVE_MOD_UNIXD="#" + fi + AC_SUBST(IF_HAVE_MOD_UNIXD) + fi ++AM_CONDITIONAL(HAVE_PHP, test "$have_php" = yes) + + AC_PATH_PROG(CURL, curl, no) + if test "$CURL" != no; then +@@ -415,6 +419,7 @@ AC_CONFIG_FILES([ + po/Makefile + tests/Makefile + tests/httpd.conf ++ tests/php.ini + examples/Makefile + docs/Makefile + docs/reference/Makefile +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 81a72cbc5ffd9739..d2986975be11eca2 100644 +--- a/tests/Makefile.am b/tests/Makefile.am +@@ -73,24 +73,30 @@ test_data += \ + httpd.conf + endif + ++if HAVE_PHP ++test_data += \ ++ php.ini ++endif ++ + RESOURCES = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/soup-tests.gresource.xml) + + soup-tests.gresource: soup-tests.gresource.xml $(RESOURCES) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< + + EXTRA_DIST += \ + htdigest \ + htpasswd \ + httpd.conf.in\ + index.txt\ + libsoup.supp \ ++ php.ini.in \ + soup-tests.gresource.xml \ + test-cert.pem\ + test-key.pem \ + xmlrpc-server.php\ + $(RESOURCES) + +-DISTCLEANFILES += soup-tests.gresource httpd.conf ++DISTCLEANFILES += soup-tests.gresource httpd.conf php.ini + + TESTS_ENVIRONMENT += SOUP_TESTS_IN_MAKE_CHECK=1 + +diff --git a/tests/httpd.conf.in b/tests/httpd.conf.in +index
[arch-commits] Commit in libsoup/repos (6 files)
Date: Thursday, August 10, 2017 @ 19:01:54 Author: heftig Revision: 301852 archrelease: copy trunk to extra-i686, extra-x86_64 Added: libsoup/repos/extra-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (from rev 301851, libsoup/trunk/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch) libsoup/repos/extra-i686/PKGBUILD (from rev 301851, libsoup/trunk/PKGBUILD) libsoup/repos/extra-x86_64/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (from rev 301851, libsoup/trunk/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch) libsoup/repos/extra-x86_64/PKGBUILD (from rev 301851, libsoup/trunk/PKGBUILD) Deleted: libsoup/repos/extra-i686/PKGBUILD libsoup/repos/extra-x86_64/PKGBUILD --+ /PKGBUILD| 100 extra-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch | 114 ++ extra-i686/PKGBUILD | 44 --- extra-x86_64/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch | 114 ++ extra-x86_64/PKGBUILD| 44 --- 5 files changed, 328 insertions(+), 88 deletions(-) Copied: libsoup/repos/extra-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (from rev 301851, libsoup/trunk/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch) === --- extra-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch (rev 0) +++ extra-i686/0001-Configure-PHP-to-load-the-XMLRPC-extension-if-presen.patch 2017-08-10 19:01:54 UTC (rev 301852) @@ -0,0 +1,114 @@ +From 22fae95aff7073da55b2a79055292d320475439b Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)"+Date: Tue, 9 May 2017 22:54:16 +0200 +Subject: [PATCH] Configure PHP to load the XMLRPC extension if present + +This is needed when the system PHP configuration does not already load +the extension. +--- + configure.ac| 7 ++- + tests/Makefile.am | 8 +++- + tests/httpd.conf.in | 2 ++ + tests/php.ini.in| 1 + + 4 files changed, 16 insertions(+), 2 deletions(-) + create mode 100644 tests/php.ini.in + +diff --git a/configure.ac b/configure.ac +index 3df131e67d586522..868b00e7f091a70e 100644 +--- a/configure.ac b/configure.ac +@@ -272,22 +272,26 @@ if test "$have_apache" = 1; then + + if test "$have_php" = yes; then + AC_MSG_CHECKING([for php-xmlrpc]) +- if $PHP --rf xmlrpc_server_create | grep -q "does not exist"; then ++ if $PHP -d extension=xmlrpc.so --rf xmlrpc_server_create | grep -q "does not exist"; then + have_php_xmlrpc=no ++ IF_HAVE_PHP_XMLRPC=";" + else + have_php_xmlrpc=yes ++ IF_HAVE_PHP_XMLRPC="" + AC_DEFINE(HAVE_PHP_XMLRPC, 1, [Have php-xmlrpc]) + fi + AC_MSG_RESULT($have_php_xmlrpc) ++ AC_SUBST(IF_HAVE_PHP_XMLRPC) + fi + + if test -f "$APACHE_MODULE_DIR/mod_unixd.so"; then + IF_HAVE_MOD_UNIXD="" + else + IF_HAVE_MOD_UNIXD="#" + fi + AC_SUBST(IF_HAVE_MOD_UNIXD) + fi ++AM_CONDITIONAL(HAVE_PHP, test "$have_php" = yes) + + AC_PATH_PROG(CURL, curl, no) + if test "$CURL" != no; then +@@ -415,6 +419,7 @@ AC_CONFIG_FILES([ + po/Makefile + tests/Makefile + tests/httpd.conf ++ tests/php.ini + examples/Makefile + docs/Makefile + docs/reference/Makefile +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 81a72cbc5ffd9739..d2986975be11eca2 100644 +--- a/tests/Makefile.am b/tests/Makefile.am +@@ -73,24 +73,30 @@ test_data += \ + httpd.conf + endif + ++if HAVE_PHP ++test_data += \ ++ php.ini ++endif ++ + RESOURCES = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/soup-tests.gresource.xml) + + soup-tests.gresource: soup-tests.gresource.xml $(RESOURCES) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $< + + EXTRA_DIST += \ + htdigest \ + htpasswd \ + httpd.conf.in\ + index.txt\ + libsoup.supp \ ++ php.ini.in \ + soup-tests.gresource.xml \ + test-cert.pem\ + test-key.pem \ + xmlrpc-server.php\ + $(RESOURCES) + +-DISTCLEANFILES += soup-tests.gresource httpd.conf ++DISTCLEANFILES += soup-tests.gresource httpd.conf php.ini + + TESTS_ENVIRONMENT += SOUP_TESTS_IN_MAKE_CHECK=1 + +diff --git a/tests/httpd.conf.in b/tests/httpd.conf.in +index b818c12d198e6618..31c36674a9c5d8c2 100644 +---
[arch-commits] Commit in libsoup/repos (6 files)
Date: Wednesday, March 25, 2015 @ 16:34:48 Author: jgc Revision: 234812 db-move: moved libsoup from [gnome-unstable] to [testing] (i686, x86_64) Added: libsoup/repos/testing-i686/ libsoup/repos/testing-i686/PKGBUILD (from rev 234786, libsoup/repos/gnome-unstable-i686/PKGBUILD) libsoup/repos/testing-x86_64/ libsoup/repos/testing-x86_64/PKGBUILD (from rev 234786, libsoup/repos/gnome-unstable-x86_64/PKGBUILD) Deleted: libsoup/repos/gnome-unstable-i686/ libsoup/repos/gnome-unstable-x86_64/ -+ testing-i686/PKGBUILD | 36 testing-x86_64/PKGBUILD | 36 2 files changed, 72 insertions(+) Copied: libsoup/repos/testing-i686/PKGBUILD (from rev 234786, libsoup/repos/gnome-unstable-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-03-25 15:34:48 UTC (rev 234812) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.50.0 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +sha256sums=('1e01365ac4af3817187ea847f9d3588c27eee01fc519a5a7cb212bb78b0f667b') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} Copied: libsoup/repos/testing-x86_64/PKGBUILD (from rev 234786, libsoup/repos/gnome-unstable-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-03-25 15:34:48 UTC (rev 234812) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.50.0 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +sha256sums=('1e01365ac4af3817187ea847f9d3588c27eee01fc519a5a7cb212bb78b0f667b') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +}
[arch-commits] Commit in libsoup/repos (6 files)
Date: Friday, September 26, 2014 @ 12:53:58 Author: jgc Revision: 223061 db-move: moved libsoup from [gnome-unstable] to [testing] (i686, x86_64) Added: libsoup/repos/testing-i686/ libsoup/repos/testing-i686/PKGBUILD (from rev 223030, libsoup/repos/gnome-unstable-i686/PKGBUILD) libsoup/repos/testing-x86_64/ libsoup/repos/testing-x86_64/PKGBUILD (from rev 223030, libsoup/repos/gnome-unstable-x86_64/PKGBUILD) Deleted: libsoup/repos/gnome-unstable-i686/ libsoup/repos/gnome-unstable-x86_64/ -+ testing-i686/PKGBUILD | 36 testing-x86_64/PKGBUILD | 36 2 files changed, 72 insertions(+) Copied: libsoup/repos/testing-i686/PKGBUILD (from rev 223030, libsoup/repos/gnome-unstable-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-09-26 10:53:58 UTC (rev 223061) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.48.0 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python python2) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +sha256sums=('ea34dd64fe44343445daf6dd690d0691e9d973468de44878da97371c16d89784') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} Copied: libsoup/repos/testing-x86_64/PKGBUILD (from rev 223030, libsoup/repos/gnome-unstable-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-09-26 10:53:58 UTC (rev 223061) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.48.0 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python python2) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +sha256sums=('ea34dd64fe44343445daf6dd690d0691e9d973468de44878da97371c16d89784') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +}
[arch-commits] Commit in libsoup/repos (6 files)
Date: Wednesday, September 17, 2014 @ 23:07:09 Author: jgc Revision: 221875 archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: libsoup/repos/gnome-unstable-i686/PKGBUILD (from rev 221874, libsoup/trunk/PKGBUILD) libsoup/repos/gnome-unstable-x86_64/PKGBUILD (from rev 221874, libsoup/trunk/PKGBUILD) Deleted: libsoup/repos/gnome-unstable-i686/PKGBUILD libsoup/repos/gnome-unstable-i686/cache-control-dontcrash.patch libsoup/repos/gnome-unstable-x86_64/PKGBUILD libsoup/repos/gnome-unstable-x86_64/cache-control-dontcrash.patch -+ /PKGBUILD | 72 ++ gnome-unstable-i686/PKGBUILD| 43 -- gnome-unstable-i686/cache-control-dontcrash.patch | 27 -- gnome-unstable-x86_64/PKGBUILD | 43 -- gnome-unstable-x86_64/cache-control-dontcrash.patch | 27 -- 5 files changed, 72 insertions(+), 140 deletions(-) Deleted: gnome-unstable-i686/PKGBUILD === --- gnome-unstable-i686/PKGBUILD2014-09-17 21:07:02 UTC (rev 221874) +++ gnome-unstable-i686/PKGBUILD2014-09-17 21:07:09 UTC (rev 221875) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot j...@archlinux.org - -pkgname=libsoup -pkgver=2.47.4 -pkgrel=1 -pkgdesc=GNOME HTTP Library -arch=(i686 x86_64) -license=(LGPL) -url=http://www.gnome.org; -depends=(glib2 libxml2 glib-networking sqlite) -makedepends=(intltool gobject-introspection python python2) -checkdepends=(apache php php-apache) -provides=(libsoup-gnome=$pkgver-$pkgrel) -conflicts=(libsoup-gnome) -replaces=(libsoup-gnome) -options=('!emptydirs') -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz -cache-control-dontcrash.patch) -sha256sums=('2e8c1ea1e47c0c1b17d5fa7eba0ba663e0999f75a9e5fdc2607c2bcd418d4086' -'bba8516f72a295daabda013ed98db44d280732eb77deea312bbaa2486682aa40') - -prepare() { - cd $pkgname-$pkgver - patch -Np1 -i ../cache-control-dontcrash.patch -} - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static - make -} - -check() { - cd $pkgname-$pkgver - make check -} - -package() { - cd $pkgname-$pkgver - make DESTDIR=$pkgdir install -} Copied: libsoup/repos/gnome-unstable-i686/PKGBUILD (from rev 221874, libsoup/trunk/PKGBUILD) === --- gnome-unstable-i686/PKGBUILD(rev 0) +++ gnome-unstable-i686/PKGBUILD2014-09-17 21:07:09 UTC (rev 221875) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.47.92 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python python2) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +sha256sums=('0680a9f90296b246d3cb3232be095f916caa25b84ea13d4eba6246de2d428348') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} Deleted: gnome-unstable-i686/cache-control-dontcrash.patch === --- gnome-unstable-i686/cache-control-dontcrash.patch 2014-09-17 21:07:02 UTC (rev 221874) +++ gnome-unstable-i686/cache-control-dontcrash.patch 2014-09-17 21:07:09 UTC (rev 221875) @@ -1,27 +0,0 @@ -From 3520c010c74dd7cc3d11e0ab5d8f07df70a4bfc9 Mon Sep 17 00:00:00 2001 -From: Raveendra Karu r.k...@samsung.com -Date: Wed, 23 Jul 2014 09:04:43 +0530 -Subject: soup-cache: don't crash on invalid Cache-Control header - -If a response had a Cache-Control header with a max-age attribute -with no value (which is invalid), SoupCache would end up dereferencing -a NULL pointer. - -https://bugzilla.gnome.org/show_bug.cgi?id=733587 - -diff --git a/libsoup/soup-cache.c b/libsoup/soup-cache.c -index c17e537..533a175 100644 a/libsoup/soup-cache.c -+++ b/libsoup/soup-cache.c -@@ -1155,7 +1155,7 @@ soup_cache_has_response (SoupCache *cache, SoupMessage *msg) - return SOUP_CACHE_RESPONSE_STALE; - } - -- if (g_hash_table_lookup_extended (hash, max-age, NULL, value)) { -+ if (g_hash_table_lookup_extended (hash, max-age, NULL, value) value) { - max_age = (int)MIN (g_ascii_strtoll (value, NULL, 10), G_MAXINT32);
[arch-commits] Commit in libsoup/repos (6 files)
Date: Thursday, September 4, 2014 @ 23:04:06 Author: jgc Revision: 220989 archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64 Added: libsoup/repos/gnome-unstable-i686/ libsoup/repos/gnome-unstable-i686/PKGBUILD (from rev 220988, libsoup/trunk/PKGBUILD) libsoup/repos/gnome-unstable-i686/cache-control-dontcrash.patch (from rev 220988, libsoup/trunk/cache-control-dontcrash.patch) libsoup/repos/gnome-unstable-x86_64/ libsoup/repos/gnome-unstable-x86_64/PKGBUILD (from rev 220988, libsoup/trunk/PKGBUILD) libsoup/repos/gnome-unstable-x86_64/cache-control-dontcrash.patch (from rev 220988, libsoup/trunk/cache-control-dontcrash.patch) -+ gnome-unstable-i686/PKGBUILD| 43 ++ gnome-unstable-i686/cache-control-dontcrash.patch | 27 +++ gnome-unstable-x86_64/PKGBUILD | 43 ++ gnome-unstable-x86_64/cache-control-dontcrash.patch | 27 +++ 4 files changed, 140 insertions(+) Copied: libsoup/repos/gnome-unstable-i686/PKGBUILD (from rev 220988, libsoup/trunk/PKGBUILD) === --- gnome-unstable-i686/PKGBUILD(rev 0) +++ gnome-unstable-i686/PKGBUILD2014-09-04 21:04:06 UTC (rev 220989) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.47.4 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python python2) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz +cache-control-dontcrash.patch) +sha256sums=('2e8c1ea1e47c0c1b17d5fa7eba0ba663e0999f75a9e5fdc2607c2bcd418d4086' +'bba8516f72a295daabda013ed98db44d280732eb77deea312bbaa2486682aa40') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../cache-control-dontcrash.patch +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} Copied: libsoup/repos/gnome-unstable-i686/cache-control-dontcrash.patch (from rev 220988, libsoup/trunk/cache-control-dontcrash.patch) === --- gnome-unstable-i686/cache-control-dontcrash.patch (rev 0) +++ gnome-unstable-i686/cache-control-dontcrash.patch 2014-09-04 21:04:06 UTC (rev 220989) @@ -0,0 +1,27 @@ +From 3520c010c74dd7cc3d11e0ab5d8f07df70a4bfc9 Mon Sep 17 00:00:00 2001 +From: Raveendra Karu r.k...@samsung.com +Date: Wed, 23 Jul 2014 09:04:43 +0530 +Subject: soup-cache: don't crash on invalid Cache-Control header + +If a response had a Cache-Control header with a max-age attribute +with no value (which is invalid), SoupCache would end up dereferencing +a NULL pointer. + +https://bugzilla.gnome.org/show_bug.cgi?id=733587 + +diff --git a/libsoup/soup-cache.c b/libsoup/soup-cache.c +index c17e537..533a175 100644 +--- a/libsoup/soup-cache.c b/libsoup/soup-cache.c +@@ -1155,7 +1155,7 @@ soup_cache_has_response (SoupCache *cache, SoupMessage *msg) + return SOUP_CACHE_RESPONSE_STALE; + } + +- if (g_hash_table_lookup_extended (hash, max-age, NULL, value)) { ++ if (g_hash_table_lookup_extended (hash, max-age, NULL, value) value) { + max_age = (int)MIN (g_ascii_strtoll (value, NULL, 10), G_MAXINT32); + /* Forcing cache revalidaton +*/ +-- +cgit v0.10.1 + Copied: libsoup/repos/gnome-unstable-x86_64/PKGBUILD (from rev 220988, libsoup/trunk/PKGBUILD) === --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2014-09-04 21:04:06 UTC (rev 220989) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.47.4 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python python2) +checkdepends=(apache php php-apache) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz +cache-control-dontcrash.patch)
[arch-commits] Commit in libsoup/repos (6 files)
Date: Monday, April 22, 2013 @ 00:11:35 Author: heftig Revision: 183439 db-move: moved libsoup from [testing] to [extra] (i686, x86_64) Added: libsoup/repos/extra-i686/PKGBUILD (from rev 183326, libsoup/repos/testing-i686/PKGBUILD) libsoup/repos/extra-x86_64/PKGBUILD (from rev 183326, libsoup/repos/testing-x86_64/PKGBUILD) Deleted: libsoup/repos/extra-i686/PKGBUILD libsoup/repos/extra-x86_64/PKGBUILD libsoup/repos/testing-i686/ libsoup/repos/testing-x86_64/ ---+ /PKGBUILD | 68 extra-i686/PKGBUILD | 49 -- extra-x86_64/PKGBUILD | 49 -- 3 files changed, 68 insertions(+), 98 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2013-04-21 22:11:34 UTC (rev 183438) +++ extra-i686/PKGBUILD 2013-04-21 22:11:35 UTC (rev 183439) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot j...@archlinux.org - -pkgbase=libsoup -pkgname=('libsoup' 'libsoup-gnome') -pkgver=2.40.3 -pkgrel=1 -arch=('i686' 'x86_64') -license=('LGPL') -makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2') -url=http://www.gnome.org; -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) -options=('!libtool' '!emptydirs') -sha256sums=('82c92f1f6f4cbfd501df783ed87e7de9410b4a12a3bb0b19c64722e185d2bbc9') - -build() { - cd $pkgbase-$pkgver - sed -i -e 's/env python/python2/' libsoup/tld-parser.py - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static - make -} - -package_libsoup() { - pkgdesc=GNOME HTTP Library - base library - depends=('glib2' 'libxml2' 'glib-networking') - - cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install - - rm -f $pkgdir/usr/lib/libsoup-gnome-2.4.* - rm -f $pkgdir/usr/lib/pkgconfig/libsoup-gnome-2.4.pc - rm -rf $pkgdir/usr/include/libsoup-gnome-2.4 - rm -f $pkgdir/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib -} - -package_libsoup-gnome() { - pkgdesc=GNOME HTTP Library - GNOME libraries - depends=(libsoup=$pkgver 'libgnome-keyring' 'sqlite') - - cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install - - rm -f $pkgdir/usr/lib/libsoup-2.4.* - rm -f $pkgdir/usr/lib/pkgconfig/libsoup-2.4.pc - rm -rf $pkgdir/usr/include/libsoup-2.4 - rm -rf $pkgdir/usr/share - rm -f $pkgdir/usr/lib/girepository-1.0/Soup-2.4.typelib -} Copied: libsoup/repos/extra-i686/PKGBUILD (from rev 183326, libsoup/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2013-04-21 22:11:35 UTC (rev 183439) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.42.1 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python2) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!libtool' '!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('20bd5365bb3e7de70fade91ac82c9dea31636318df90b8c26bc4cde2523a8c91') + +build() { + cd $pkgname-$pkgver + + # Python3 has UnicodeDecodeErrors + sed -i -e '1s/python$/2/' libsoup/tld-parser.py + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2013-04-21 22:11:34 UTC (rev 183438) +++ extra-x86_64/PKGBUILD 2013-04-21 22:11:35 UTC (rev 183439) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot j...@archlinux.org - -pkgbase=libsoup -pkgname=('libsoup' 'libsoup-gnome') -pkgver=2.40.3 -pkgrel=1 -arch=('i686' 'x86_64') -license=('LGPL') -makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2') -url=http://www.gnome.org; -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) -options=('!libtool' '!emptydirs') -sha256sums=('82c92f1f6f4cbfd501df783ed87e7de9410b4a12a3bb0b19c64722e185d2bbc9') - -build() { - cd $pkgbase-$pkgver - sed -i -e 's/env python/python2/' libsoup/tld-parser.py - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static - make -} - -package_libsoup() { - pkgdesc=GNOME HTTP Library - base library - depends=('glib2' 'libxml2' 'glib-networking') - - cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install - - rm -f $pkgdir/usr/lib/libsoup-gnome-2.4.* - rm -f
[arch-commits] Commit in libsoup/repos (6 files)
Date: Wednesday, April 10, 2013 @ 21:14:04 Author: heftig Revision: 182557 db-move: moved libsoup from [staging] to [testing] (i686, x86_64) Added: libsoup/repos/testing-i686/ libsoup/repos/testing-i686/PKGBUILD (from rev 182430, libsoup/repos/staging-i686/PKGBUILD) libsoup/repos/testing-x86_64/ libsoup/repos/testing-x86_64/PKGBUILD (from rev 182430, libsoup/repos/staging-x86_64/PKGBUILD) Deleted: libsoup/repos/staging-i686/ libsoup/repos/staging-x86_64/ -+ testing-i686/PKGBUILD | 34 ++ testing-x86_64/PKGBUILD | 34 ++ 2 files changed, 68 insertions(+) Copied: libsoup/repos/testing-i686/PKGBUILD (from rev 182430, libsoup/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-04-10 19:14:04 UTC (rev 182557) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.42.0 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python2) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!libtool' '!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('9e0e7eb5d3f7401ccf521fbc289fc1fa0923b7c7833729e2ed7696f7b848893e') + +build() { + cd $pkgname-$pkgver + + # Python3 has UnicodeDecodeErrors + sed -i -e '1s/python$/2/' libsoup/tld-parser.py + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} Copied: libsoup/repos/testing-x86_64/PKGBUILD (from rev 182430, libsoup/repos/staging-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-04-10 19:14:04 UTC (rev 182557) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgname=libsoup +pkgver=2.42.0 +pkgrel=1 +pkgdesc=GNOME HTTP Library +arch=(i686 x86_64) +license=(LGPL) +url=http://www.gnome.org; +depends=(glib2 libxml2 glib-networking sqlite) +makedepends=(intltool gobject-introspection python2) +provides=(libsoup-gnome=$pkgver-$pkgrel) +conflicts=(libsoup-gnome) +replaces=(libsoup-gnome) +options=('!libtool' '!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('9e0e7eb5d3f7401ccf521fbc289fc1fa0923b7c7833729e2ed7696f7b848893e') + +build() { + cd $pkgname-$pkgver + + # Python3 has UnicodeDecodeErrors + sed -i -e '1s/python$/2/' libsoup/tld-parser.py + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +}
[arch-commits] Commit in libsoup/repos (6 files)
Date: Tuesday, October 30, 2012 @ 18:47:07 Author: heftig Revision: 169958 db-move: moved libsoup from [testing] to [extra] (i686, x86_64) Added: libsoup/repos/extra-i686/PKGBUILD (from rev 169922, libsoup/repos/testing-i686/PKGBUILD) libsoup/repos/extra-x86_64/PKGBUILD (from rev 169922, libsoup/repos/testing-x86_64/PKGBUILD) Deleted: libsoup/repos/extra-i686/PKGBUILD libsoup/repos/extra-x86_64/PKGBUILD libsoup/repos/testing-i686/ libsoup/repos/testing-x86_64/ ---+ extra-i686/PKGBUILD | 97 extra-x86_64/PKGBUILD | 97 2 files changed, 98 insertions(+), 96 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-10-30 22:47:05 UTC (rev 169957) +++ extra-i686/PKGBUILD 2012-10-30 22:47:07 UTC (rev 169958) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot j...@archlinux.org - -pkgbase=libsoup -pkgname=('libsoup' 'libsoup-gnome') -pkgver=2.38.1 -pkgrel=1 -arch=('i686' 'x86_64') -license=('LGPL') -makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking') -url=http://www.gnome.org; -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) -options=('!libtool' '!emptydirs') -sha256sums=('71b8923fc7a5fef9abc5420f7f3d666fdb589f43a8c50892d584d58b3c513f9a') - -build() { - cd $pkgbase-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static - make -} - -package_libsoup() { - pkgdesc=GNOME HTTP Library - base library - depends=('glib2' 'libxml2' 'glib-networking') - - cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install - - rm -f $pkgdir/usr/lib/libsoup-gnome-2.4.* - rm -f $pkgdir/usr/lib/pkgconfig/libsoup-gnome-2.4.pc - rm -rf $pkgdir/usr/include/libsoup-gnome-2.4 - rm -f $pkgdir/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib -} - -package_libsoup-gnome() { - pkgdesc=GNOME HTTP Library - GNOME libraries - depends=(libsoup=$pkgver 'libgnome-keyring' 'sqlite') - - cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install - - rm -f $pkgdir/usr/lib/libsoup-2.4.* - rm -f $pkgdir/usr/lib/pkgconfig/libsoup-2.4.pc - rm -rf $pkgdir/usr/include/libsoup-2.4 - rm -rf $pkgdir/usr/share - rm -f $pkgdir/usr/lib/girepository-1.0/Soup-2.4.typelib -} Copied: libsoup/repos/extra-i686/PKGBUILD (from rev 169922, libsoup/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-10-30 22:47:07 UTC (rev 169958) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgbase=libsoup +pkgname=('libsoup' 'libsoup-gnome') +pkgver=2.40.1 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2') +url=http://www.gnome.org; +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) +options=('!libtool' '!emptydirs') +sha256sums=('77a55d57e7e8055acd2f44e0cc889b9ba48052e8b7f07e829157d57417ac650a') + +build() { + cd $pkgbase-$pkgver + sed -i -e 's/env python/python2/' libsoup/tld-parser.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package_libsoup() { + pkgdesc=GNOME HTTP Library - base library + depends=('glib2' 'libxml2' 'glib-networking') + + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install + + rm -f $pkgdir/usr/lib/libsoup-gnome-2.4.* + rm -f $pkgdir/usr/lib/pkgconfig/libsoup-gnome-2.4.pc + rm -rf $pkgdir/usr/include/libsoup-gnome-2.4 + rm -f $pkgdir/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib +} + +package_libsoup-gnome() { + pkgdesc=GNOME HTTP Library - GNOME libraries + depends=(libsoup=$pkgver 'libgnome-keyring' 'sqlite') + + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install + + rm -f $pkgdir/usr/lib/libsoup-2.4.* + rm -f $pkgdir/usr/lib/pkgconfig/libsoup-2.4.pc + rm -rf $pkgdir/usr/include/libsoup-2.4 + rm -rf $pkgdir/usr/share + rm -f $pkgdir/usr/lib/girepository-1.0/Soup-2.4.typelib +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-10-30 22:47:05 UTC (rev 169957) +++ extra-x86_64/PKGBUILD 2012-10-30 22:47:07 UTC (rev 169958) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot j...@archlinux.org - -pkgbase=libsoup -pkgname=('libsoup' 'libsoup-gnome') -pkgver=2.38.1 -pkgrel=1 -arch=('i686' 'x86_64') -license=('LGPL') -makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking') -url=http://www.gnome.org; -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) -options=('!libtool' '!emptydirs')
[arch-commits] Commit in libsoup/repos (6 files)
Date: Thursday, October 18, 2012 @ 15:23:38 Author: jgc Revision: 169173 db-move: moved libsoup from [gnome-unstable] to [testing] (i686, x86_64) Added: libsoup/repos/testing-i686/ libsoup/repos/testing-i686/PKGBUILD (from rev 169138, libsoup/repos/gnome-unstable-i686/PKGBUILD) libsoup/repos/testing-x86_64/ libsoup/repos/testing-x86_64/PKGBUILD (from rev 169138, libsoup/repos/gnome-unstable-x86_64/PKGBUILD) Deleted: libsoup/repos/gnome-unstable-i686/ libsoup/repos/gnome-unstable-x86_64/ -+ testing-i686/PKGBUILD | 49 ++ testing-x86_64/PKGBUILD | 49 ++ 2 files changed, 98 insertions(+) Copied: libsoup/repos/testing-i686/PKGBUILD (from rev 169138, libsoup/repos/gnome-unstable-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-10-18 19:23:38 UTC (rev 169173) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgbase=libsoup +pkgname=('libsoup' 'libsoup-gnome') +pkgver=2.40.1 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2') +url=http://www.gnome.org; +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) +options=('!libtool' '!emptydirs') +sha256sums=('77a55d57e7e8055acd2f44e0cc889b9ba48052e8b7f07e829157d57417ac650a') + +build() { + cd $pkgbase-$pkgver + sed -i -e 's/env python/python2/' libsoup/tld-parser.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package_libsoup() { + pkgdesc=GNOME HTTP Library - base library + depends=('glib2' 'libxml2' 'glib-networking') + + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install + + rm -f $pkgdir/usr/lib/libsoup-gnome-2.4.* + rm -f $pkgdir/usr/lib/pkgconfig/libsoup-gnome-2.4.pc + rm -rf $pkgdir/usr/include/libsoup-gnome-2.4 + rm -f $pkgdir/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib +} + +package_libsoup-gnome() { + pkgdesc=GNOME HTTP Library - GNOME libraries + depends=(libsoup=$pkgver 'libgnome-keyring' 'sqlite') + + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install + + rm -f $pkgdir/usr/lib/libsoup-2.4.* + rm -f $pkgdir/usr/lib/pkgconfig/libsoup-2.4.pc + rm -rf $pkgdir/usr/include/libsoup-2.4 + rm -rf $pkgdir/usr/share + rm -f $pkgdir/usr/lib/girepository-1.0/Soup-2.4.typelib +} Copied: libsoup/repos/testing-x86_64/PKGBUILD (from rev 169138, libsoup/repos/gnome-unstable-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-10-18 19:23:38 UTC (rev 169173) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Jan de Groot j...@archlinux.org + +pkgbase=libsoup +pkgname=('libsoup' 'libsoup-gnome') +pkgver=2.40.1 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2') +url=http://www.gnome.org; +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) +options=('!libtool' '!emptydirs') +sha256sums=('77a55d57e7e8055acd2f44e0cc889b9ba48052e8b7f07e829157d57417ac650a') + +build() { + cd $pkgbase-$pkgver + sed -i -e 's/env python/python2/' libsoup/tld-parser.py + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package_libsoup() { + pkgdesc=GNOME HTTP Library - base library + depends=('glib2' 'libxml2' 'glib-networking') + + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install + + rm -f $pkgdir/usr/lib/libsoup-gnome-2.4.* + rm -f $pkgdir/usr/lib/pkgconfig/libsoup-gnome-2.4.pc + rm -rf $pkgdir/usr/include/libsoup-gnome-2.4 + rm -f $pkgdir/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib +} + +package_libsoup-gnome() { + pkgdesc=GNOME HTTP Library - GNOME libraries + depends=(libsoup=$pkgver 'libgnome-keyring' 'sqlite') + + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install + + rm -f $pkgdir/usr/lib/libsoup-2.4.* + rm -f $pkgdir/usr/lib/pkgconfig/libsoup-2.4.pc + rm -rf $pkgdir/usr/include/libsoup-2.4 + rm -rf $pkgdir/usr/share + rm -f $pkgdir/usr/lib/girepository-1.0/Soup-2.4.typelib +}