pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libsoup Initial import of libsoup-1.99.26 from pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a23e28d6225c
branches:  trunk
changeset: 464290:a23e28d6225c
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Dec 05 22:54:11 2003 +0000

description:
Initial import of libsoup-1.99.26 from pkgsrc-wip, packaged by Marc
Recht.

Libsoup is an HTTP library implementation in C. It was originally part
of a SOAP (Simple Object Access Protocol) implementation called Soup, but
the SOAP and non-SOAP parts have now been split into separate packages.

libsoup uses the Glib main loop and is designed to work well with GTK
applications. This enables GNOME applications to access HTTP servers
on the network in a completely asynchronous fashion, very similar to
the Gtk+ programming model (a synchronous operation mode is also
supported for those who want it).

Features:
  * Completely Asynchronous
  * Connection cache
  * HTTP chunked transfer support
  * HTTP, SOCKS4, and SOCKS5 authenticated proxy support
  * SSL Support using OpenSSL or GnuTLS
  * Client support for Digest, NTLM, and Basic authentication
  * HTTP server
  * Server support for Digest and Basic authentication

diffstat:

 net/libsoup/DESCR            |  19 +++++++++++++++++++
 net/libsoup/Makefile         |  26 ++++++++++++++++++++++++++
 net/libsoup/PLIST            |  23 +++++++++++++++++++++++
 net/libsoup/buildlink2.mk    |  35 +++++++++++++++++++++++++++++++++++
 net/libsoup/distinfo         |   5 +++++
 net/libsoup/patches/patch-aa |  22 ++++++++++++++++++++++
 6 files changed, 130 insertions(+), 0 deletions(-)

diffs (154 lines):

diff -r 300bc71f72fd -r a23e28d6225c net/libsoup/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/DESCR Fri Dec 05 22:54:11 2003 +0000
@@ -0,0 +1,19 @@
+Libsoup is an HTTP library implementation in C. It was originally part
+of a SOAP (Simple Object Access Protocol) implementation called Soup, but
+the SOAP and non-SOAP parts have now been split into separate packages.
+
+libsoup uses the Glib main loop and is designed to work well with GTK
+applications. This enables GNOME applications to access HTTP servers
+on the network in a completely asynchronous fashion, very similar to
+the Gtk+ programming model (a synchronous operation mode is also
+supported for those who want it).
+
+Features:
+  * Completely Asynchronous
+  * Connection cache
+  * HTTP chunked transfer support
+  * HTTP, SOCKS4, and SOCKS5 authenticated proxy support
+  * SSL Support using OpenSSL or GnuTLS
+  * Client support for Digest, NTLM, and Basic authentication
+  * HTTP server
+  * Server support for Digest and Basic authentication
diff -r 300bc71f72fd -r a23e28d6225c net/libsoup/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/Makefile      Fri Dec 05 22:54:11 2003 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/05 22:54:11 xtraeme Exp $
+#
+
+DISTNAME=              libsoup-1.99.26
+CATEGORIES=            net gnome
+MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/libsoup/1.99/}
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            recht%NetBSD.org@localhost
+HOMEPAGE=              http://www.gnome.org/
+COMMENT=               HTTP library implementation in C
+
+USE_BUILDLINK2=                yes
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+=    ${WRKSRC}/soup-2.0.pc.in
+
+CONFIGURE_ARGS+=       --disable-gtk-doc
+
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../devel/popt/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 300bc71f72fd -r a23e28d6225c net/libsoup/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/PLIST Fri Dec 05 22:54:11 2003 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/05 22:54:11 xtraeme Exp $
+include/soup-2.0/libsoup/soup-address.h
+include/soup-2.0/libsoup/soup-context.h
+include/soup-2.0/libsoup/soup-error.h
+include/soup-2.0/libsoup/soup-headers.h
+include/soup-2.0/libsoup/soup-message.h
+include/soup-2.0/libsoup/soup-method.h
+include/soup-2.0/libsoup/soup-misc.h
+include/soup-2.0/libsoup/soup-ntlm.h
+include/soup-2.0/libsoup/soup-server-auth.h
+include/soup-2.0/libsoup/soup-server.h
+include/soup-2.0/libsoup/soup-socket.h
+include/soup-2.0/libsoup/soup-uri.h
+include/soup-2.0/libsoup/soup.h
+lib/libsoup-2.0.a
+lib/libsoup-2.0.la
+lib/libsoup-2.0.so
+lib/libsoup-2.0.so.0
+lib/libsoup-2.0.so.0.0
+lib/pkgconfig/soup-2.0.pc
+libexec/libsoup-ssl-proxy
+@dirrm include/soup-2.0/libsoup
+@dirrm include/soup-2.0
diff -r 300bc71f72fd -r a23e28d6225c net/libsoup/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/buildlink2.mk Fri Dec 05 22:54:11 2003 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/05 22:54:11 xtraeme Exp $
+
+.if !defined(LIBSOUP_BUILDLINK2_MK)
+LIBSOUP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+=                   libsoup
+BUILDLINK_DEPENDS.libsoup?=            libsoup>=1.99.26
+BUILDLINK_PKGSRCDIR.libsoup?=          ../../net/libsoup
+
+EVAL_PREFIX+=  BUILDLINK_PREFIX.libsoup=libsoup
+BUILDLINK_PREFIX.libsoup_DEFAULT=      ${LOCALBASE}
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-address.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-context.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-error.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-headers.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-message.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-method.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-misc.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-ntlm.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-server-auth.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-server.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-socket.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup-uri.h
+BUILDLINK_FILES.libsoup+=      include/soup-2.0/libsoup/soup.h
+BUILDLINK_FILES.libsoup+=      lib/libsoup-2.0.*
+
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../devel/popt/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+
+BUILDLINK_TARGETS+=    libsoup-buildlink
+
+libsoup-buildlink: _BUILDLINK_USE
+
+.endif # LIBSOUP_BUILDLINK2_MK
diff -r 300bc71f72fd -r a23e28d6225c net/libsoup/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/distinfo      Fri Dec 05 22:54:11 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/05 22:54:11 xtraeme Exp $
+
+SHA1 (libsoup-1.99.26.tar.bz2) = b3759bafb349e103f62ec360cf6a553b73ddd9fd
+Size (libsoup-1.99.26.tar.bz2) = 233237 bytes
+SHA1 (patch-aa) = c78e27be352521af9fa4663478dee0bffc46ec9e
diff -r 300bc71f72fd -r a23e28d6225c net/libsoup/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libsoup/patches/patch-aa      Fri Dec 05 22:54:11 2003 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/05 22:54:11 xtraeme Exp $
+
+--- libsoup/soup-transfer.c    2003-06-23 17:52:34.000000000 +0200
++++ libsoup/soup-transfer.c    2003-10-19 01:51:03.000000000 +0200
+@@ -198,7 +198,7 @@
+                            GIOCondition condition,
+                            SoupReader *r)
+ {
+-      gboolean body_started = r->recv_buf->len > r->header_len;
++      gboolean body_started = r->header_len > 0;
+ 
+       soup_transfer_read_stop (r);
+ 
+@@ -380,7 +381,7 @@
+               }
+       }
+ 
+-      return r->content_length == arr->len;
++      return arr->len >= r->content_length;
+ }
+ 
+ static gboolean



Home | Main Index | Thread Index | Old Index