2005-08-10 22:56:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2005/08/10 20:56:22 jlam Exp $
|
2004-04-02 20:11:57 +02:00
|
|
|
#
|
|
|
|
|
2005-03-26 17:18:07 +01:00
|
|
|
DISTNAME= libsoup-2.2.3
|
2004-04-02 20:11:57 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/soup/soup-devel/}
|
|
|
|
CATEGORIES= net gnome
|
Update to 2.2.0. This version corresponds to GNOME 2.8.0.
Changes in libsoup from the 2.0 series (1.99.x versions) to 2.2:
* Most of the libsoup datatypes are now GObjects. (SoupUri
is currently an exception to this.)
* SoupMessage now emits signals at various stages of
processing. (Eg, "wrote_body", "got_headers".) (You
can also still use soup_message_add_*handler().)
* SoupContexts are gone; soup_message_new() now takes a URI
string.
* All formerly global state is now maintained by the
SoupSession object. (This includes the connection pool,
proxy server, cached authentication information, SSL
certificates, etc.)
* You can create a SoupSessionAsync (for 2.0-like
behavior) or SoupSessionSync (for blocking,
synchronous usage).
* You can add SoupMessageFilter objects to a session
to have certain processing automatically performed
on every message sent via that session. (Eg, setting
up handlers.)
* NTLM authentication is no longer supported by
default. You must enable it by setting the
SOUP_SESSION_USE_NTLM flag on the session.
* The preferred method of handling authentication is
now via the "authenticate" and "reauthenticate"
signals on SoupSession. (The old style, of encoding
the user and password information into the url is
also still supported.)
* The SOUP_ERROR_* values are now SOUP_STATUS_* (so that we
don't have "SOUP_ERROR_OK" and the like).
* SOUP_MESSAGE_IS_ERROR() is gone, since some cases
want to include 3xx responses and some don't.
* SOUP_ERROR_CANT_AUTHENTICATE and
SOUP_ERROR_CANT_AUTHENTICATE_PROXY are now gone,
since they didn't carry any information that
SOUP_STATUS_UNAUTHORIZED and
SOUP_STATUS_PROXY_UNAUTHORIZED don't.
* DNS errors now show up as the new status code
SOUP_STATUS_CANT_RESOLVE rather than being mixed in
with SOUP_ERROR_CANT_CONNECT.
* Minimal SOAP support has been added back, via
SoupSoapMessage/SoupSoapResponse
* The HTTP I/O state machine was completely rewritten, fixing
numerous crashes, leaks, and protocol errors.
* SoupUri now conforms to RFC 2396. Mostly.
* Various test programs have been added under tests/
* Removed:
* Support for OpenSSL (which was horribly buggy) and
Mozilla NSS (which was never finished). We only
support GNUTLS for SSL now.
* SOCKS support
* CGI support in SoupServer
2004-09-21 18:51:37 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/2.2/}
|
2004-04-02 20:11:57 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= recht@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
COMMENT= HTTP library implementation in C (dev. Version)
|
|
|
|
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2004-04-02 20:11:57 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-06-01 18:58:06 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
2004-04-02 20:11:57 +02:00
|
|
|
|
2004-06-01 18:58:06 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= libsoup-2.2.pc.in
|
2004-04-02 20:11:57 +02:00
|
|
|
|
2004-06-01 18:58:06 +02:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
2004-04-02 20:11:57 +02:00
|
|
|
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../devel/popt/buildlink3.mk"
|
|
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|