update libsoup to 2.2.99

based on work by Alexander Wirt <alexander.wirt@credativ.de>

ok (or actually: "yeah, hit me baby!")  ajacoutot@
This commit is contained in:
jasper 2007-01-18 22:15:55 +00:00
parent 573ba74e24
commit abeb05aa56
8 changed files with 50 additions and 44 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2006/12/16 12:22:33 espie Exp $
# $OpenBSD: Makefile,v 1.15 2007/01/18 22:15:55 jasper Exp $
COMMENT= "a SOAP implementation in C"
DISTNAME= libsoup-2.2.5
PACKAGENAME= ${DISTNAME}p0
SHARED_LIBS= soup-2.2 8.0
DISTNAME= libsoup-2.2.99
SHARED_LIBS= soup-2.2 13.0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
@ -16,7 +15,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= iconv intl m z
WANTLIB= m z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/2.2/}
EXTRACT_SUFX= .tar.bz2
@ -24,6 +23,8 @@ EXTRACT_SUFX= .tar.bz2
LIB_DEPENDS= glib-2.0,gobject-2.0,gthread-2.0::devel/glib2 \
xml2.>=7::textproc/libxml
MODULES= devel/gettext
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu

View File

@ -1,4 +1,4 @@
MD5 (libsoup-2.2.5.tar.bz2) = 50ba7189fe1f645b48f4ddc509d4dec4
RMD160 (libsoup-2.2.5.tar.bz2) = f557c89b20a3bf4c2412fc742d5dc1c8973ca72e
SHA1 (libsoup-2.2.5.tar.bz2) = 14913dceecc8c324af0b74b14dcf2afcd7ed556c
SIZE (libsoup-2.2.5.tar.bz2) = 429340
MD5 (libsoup-2.2.99.tar.bz2) = b2f5df25de4a5c00653d1667eb1b5687
RMD160 (libsoup-2.2.99.tar.bz2) = c71e7a296983d1a63a3f133a7c06b8b4d0e3cb95
SHA1 (libsoup-2.2.99.tar.bz2) = a4ba4612630391d0b127acb3a246e783ca4f1647
SIZE (libsoup-2.2.99.tar.bz2) = 508581

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-libsoup_soup-headers_c,v 1.2 2004/06/25 16:16:51 marcm Exp $
--- libsoup/soup-headers.c.orig 2003-09-22 13:10:41.000000000 -0700
+++ libsoup/soup-headers.c 2003-12-09 20:48:19.000000000 -0800
@@ -119,7 +119,7 @@ soup_headers_parse_request (char
return FALSE;
if (sscanf (str,
- "%16s %1024s HTTP/%1u.%1u",
+ "%15s %1023s HTTP/%1u.%1u",
method,
path,
&http_major,

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-libsoup_soup-xmlrpc-response_c,v 1.1 2005/12/03 04:26:02 pvalchev Exp $
--- libsoup/soup-xmlrpc-response.c.orig Tue Jun 14 10:40:23 2005
+++ libsoup/soup-xmlrpc-response.c Fri Dec 2 18:42:48 2005
@@ -612,9 +612,9 @@ soup_xmlrpc_value_dump_internal (SoupXml
if (!soup_xmlrpc_value_array_get_iterator (value, &iter))
g_printerr ("BAD ARRAY\n");
else {
- g_printerr ("ARRAY\n");
- SoupXmlrpcValue *evalue;
int i = 0;
+ SoupXmlrpcValue *evalue;
+ g_printerr ("ARRAY\n");
while (iter != NULL) {
soup_xmlrpc_value_array_iterator_get_value (iter, &evalue);
soup_xmlrpc_value_dump_array_element (i, evalue, GINT_TO_POINTER (d+1));

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-tests_Makefile_in,v 1.4 2005/11/13 06:44:55 marcm Exp $
--- tests/Makefile.in.orig Mon Aug 1 07:55:58 2005
+++ tests/Makefile.in Fri Aug 19 14:29:50 2005
@@ -160,7 +160,7 @@ LIBGNUTLS_CONFIG = @LIBGNUTLS_CONFIG@
$OpenBSD: patch-tests_Makefile_in,v 1.5 2007/01/18 22:15:55 jasper Exp $
--- tests/Makefile.in.orig Mon Jan 8 22:15:06 2007
+++ tests/Makefile.in Wed Jan 17 14:22:57 2007
@@ -173,7 +173,7 @@ LDFLAGS = @LDFLAGS@
LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
LIBGNUTLS_LIBS_STATIC = @LIBGNUTLS_LIBS_STATIC@
LIBOBJS = @LIBOBJS@
-LIBS = $(top_builddir)/libsoup/libsoup-$(SOUP_API_VERSION).la
+LIBS = $(top_builddir)/libsoup/libsoup-$(SOUP_API_VERSION).la $(GLIB_LIBS)

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-tests_header-parsing_c,v 1.1 2007/01/18 22:15:55 jasper Exp $
--- tests/header-parsing.c.orig Thu Jan 18 21:59:17 2007
+++ tests/header-parsing.c Thu Jan 18 21:59:41 2007
@@ -450,7 +450,7 @@ free_headers (gpointer value)
static int
do_request_tests (void)
{
- int i, len, h, errors;
+ int i, len, h, errors = 0;
char *method, *path;
GSList *values;
SoupHttpVersion version;
@@ -530,7 +530,7 @@ do_request_tests (void)
static int
do_response_tests (void)
{
- int i, len, h, errors;
+ int i, len, h, errors = 0;
guint status_code;
char *reason_phrase;
GSList *values;

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.6 2006/01/08 17:58:49 bernd Exp $
@comment $OpenBSD: PFRAG.shared,v 1.7 2007/01/18 22:15:55 jasper Exp $
@lib lib/libsoup-${API_VERSION}.so.${LIBsoup-2.2_VERSION}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2005/11/13 06:44:55 marcm Exp $
@comment $OpenBSD: PLIST,v 1.8 2007/01/18 22:15:55 jasper Exp $
%%SHARED%%
include/libsoup-${API_VERSION}/
include/libsoup-${API_VERSION}/libsoup/
@ -45,17 +45,28 @@ share/gtk-doc/html/libsoup/SoupSession.html
share/gtk-doc/html/libsoup/SoupSessionAsync.html
share/gtk-doc/html/libsoup/SoupSessionSync.html
share/gtk-doc/html/libsoup/SoupSoapMessage.html
share/gtk-doc/html/libsoup/SoupSoapResponse.html
share/gtk-doc/html/libsoup/SoupSocket.html
share/gtk-doc/html/libsoup/SoupXmlrpcMessage.html
share/gtk-doc/html/libsoup/SoupXmlrpcResponse.html
share/gtk-doc/html/libsoup/ch01.html
share/gtk-doc/html/libsoup/ch02.html
share/gtk-doc/html/libsoup/ch03.html
share/gtk-doc/html/libsoup/home.png
share/gtk-doc/html/libsoup/index.html
share/gtk-doc/html/libsoup/index.sgml
share/gtk-doc/html/libsoup/ix01.html
share/gtk-doc/html/libsoup/left.png
share/gtk-doc/html/libsoup/libsoup-Soup-Miscellaneous-Utilities.html
share/gtk-doc/html/libsoup/libsoup-SoupMessageFilter.html
share/gtk-doc/html/libsoup/libsoup-SoupUri.html
share/gtk-doc/html/libsoup/libsoup-client-howto.html
share/gtk-doc/html/libsoup/libsoup-server-howto.html
share/gtk-doc/html/libsoup/libsoup-soup-dns.html
share/gtk-doc/html/libsoup/libsoup-soup-ssl.html
share/gtk-doc/html/libsoup/libsoup-soup-status.html
share/gtk-doc/html/libsoup/libsoup-soup-uri.html
share/gtk-doc/html/libsoup/libsoup.devhelp
share/gtk-doc/html/libsoup/libsoup.devhelp2
share/gtk-doc/html/libsoup/right.png
share/gtk-doc/html/libsoup/style.css
share/gtk-doc/html/libsoup/up.png