diff options
author | youri <youri@pkgsrc.org> | 2015-06-07 14:03:20 +0000 |
---|---|---|
committer | youri <youri@pkgsrc.org> | 2015-06-07 14:03:20 +0000 |
commit | a1c26ea842fef40e9b2ff49eabfaace2db919fa2 (patch) | |
tree | 4ebaa2b8e9b0dead42ea826b88e556976fea146e /net/libsoup | |
parent | 0dc66db2ac385fddc5619f4b6c8c4abb3969d75d (diff) | |
download | pkgsrc-a1c26ea842fef40e9b2ff49eabfaace2db919fa2.tar.gz |
Import libsoup-2.50.0 as net/libsoup, replaces net/libsoup24.
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 (limited to 'net/libsoup')
-rw-r--r-- | net/libsoup/DESCR | 19 | ||||
-rw-r--r-- | net/libsoup/Makefile | 51 | ||||
-rw-r--r-- | net/libsoup/PLIST | 187 | ||||
-rw-r--r-- | net/libsoup/buildlink3.mk | 17 | ||||
-rw-r--r-- | net/libsoup/distinfo | 5 | ||||
-rw-r--r-- | net/libsoup/options.mk | 17 |
6 files changed, 296 insertions, 0 deletions
diff --git a/net/libsoup/DESCR b/net/libsoup/DESCR new file mode 100644 index 00000000000..e20ac055ee3 --- /dev/null +++ b/net/libsoup/DESCR @@ -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 --git a/net/libsoup/Makefile b/net/libsoup/Makefile new file mode 100644 index 00000000000..4066f810149 --- /dev/null +++ b/net/libsoup/Makefile @@ -0,0 +1,51 @@ +# $NetBSD: Makefile,v 1.17 2015/06/07 14:03:20 youri Exp $ + +DISTNAME= libsoup-2.50.0 +CATEGORIES= net gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/2.50/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.gnome.org/ +COMMENT= HTTP library implementation in C +LICENSE= gnu-lgpl-v2 + +USE_TOOLS+= pkg-config gmake intltool msgfmt +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +# XXX work around botched gettext check (ignores libintl) +CONFIGURE_ENV+= DATADIRNAME=share + +DEPENDS+= glib-networking-[0-9]*:../../net/glib-networking + +PKGCONFIG_OVERRIDE+= libsoup-2.4.pc.in + +TEST_TARGET= check + +.include "options.mk" + +# gcc>=4.2 specific -Werror=XXX flags will be added unconditionally. +.include "../../mk/compiler.mk" +.if !empty(CC_VERSION:Mgcc-4.[01].*) || !empty(CC_VERSION:Mgcc-[1-3].*) +CONFIGURE_ARGS+= --disable-more-warnings +.endif + +.if !empty(PKGSRC_COMPILER:Mclang) +_WRAP_EXTRA_ARGS.CC+= -Wno-error=format-nonliteral +CWRAPPERS_APPEND.cc+= -Wno-error=format-nonliteral +.endif + +REPLACE_PYTHON= libsoup/tld-parser.py +PYTHON_FOR_BUILD_ONLY= yes +.include "../../lang/python/application.mk" + +.include "../../databases/sqlite3/buildlink3.mk" +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.31.7 +.include "../../devel/glib2/buildlink3.mk" +BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5 +BUILDLINK_DEPMETHOD.gobject-introspection+= build +.include "../../devel/gobject-introspection/buildlink3.mk" +CONFIGURE_ARGS+= --enable-introspection +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/libsoup/PLIST b/net/libsoup/PLIST new file mode 100644 index 00000000000..4ec8b878ea8 --- /dev/null +++ b/net/libsoup/PLIST @@ -0,0 +1,187 @@ +@comment $NetBSD: PLIST,v 1.7 2015/06/07 14:03:20 youri Exp $ +include/libsoup-2.4/libsoup/soup-address.h +include/libsoup-2.4/libsoup/soup-auth-domain-basic.h +include/libsoup-2.4/libsoup/soup-auth-domain-digest.h +include/libsoup-2.4/libsoup/soup-auth-domain.h +include/libsoup-2.4/libsoup/soup-auth-manager.h +include/libsoup-2.4/libsoup/soup-auth.h +include/libsoup-2.4/libsoup/soup-cache.h +include/libsoup-2.4/libsoup/soup-content-decoder.h +include/libsoup-2.4/libsoup/soup-content-sniffer.h +include/libsoup-2.4/libsoup/soup-cookie-jar-db.h +include/libsoup-2.4/libsoup/soup-cookie-jar-text.h +include/libsoup-2.4/libsoup/soup-cookie-jar.h +include/libsoup-2.4/libsoup/soup-cookie.h +include/libsoup-2.4/libsoup/soup-date.h +include/libsoup-2.4/libsoup/soup-enum-types.h +include/libsoup-2.4/libsoup/soup-form.h +include/libsoup-2.4/libsoup/soup-headers.h +include/libsoup-2.4/libsoup/soup-logger.h +include/libsoup-2.4/libsoup/soup-message-body.h +include/libsoup-2.4/libsoup/soup-message-headers.h +include/libsoup-2.4/libsoup/soup-message.h +include/libsoup-2.4/libsoup/soup-method.h +include/libsoup-2.4/libsoup/soup-misc.h +include/libsoup-2.4/libsoup/soup-multipart-input-stream.h +include/libsoup-2.4/libsoup/soup-multipart.h +include/libsoup-2.4/libsoup/soup-password-manager.h +include/libsoup-2.4/libsoup/soup-portability.h +include/libsoup-2.4/libsoup/soup-proxy-resolver-default.h +include/libsoup-2.4/libsoup/soup-proxy-resolver.h +include/libsoup-2.4/libsoup/soup-proxy-uri-resolver.h +include/libsoup-2.4/libsoup/soup-request-data.h +include/libsoup-2.4/libsoup/soup-request-file.h +include/libsoup-2.4/libsoup/soup-request-http.h +include/libsoup-2.4/libsoup/soup-request.h +include/libsoup-2.4/libsoup/soup-requester.h +include/libsoup-2.4/libsoup/soup-server.h +include/libsoup-2.4/libsoup/soup-session-async.h +include/libsoup-2.4/libsoup/soup-session-feature.h +include/libsoup-2.4/libsoup/soup-session-sync.h +include/libsoup-2.4/libsoup/soup-session.h +include/libsoup-2.4/libsoup/soup-socket.h +include/libsoup-2.4/libsoup/soup-status.h +include/libsoup-2.4/libsoup/soup-tld.h +include/libsoup-2.4/libsoup/soup-types.h +include/libsoup-2.4/libsoup/soup-uri.h +include/libsoup-2.4/libsoup/soup-value-utils.h +include/libsoup-2.4/libsoup/soup-version.h +include/libsoup-2.4/libsoup/soup-websocket-connection.h +include/libsoup-2.4/libsoup/soup-websocket.h +include/libsoup-2.4/libsoup/soup-xmlrpc.h +include/libsoup-2.4/libsoup/soup.h +${PLIST.gnome}include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h +${PLIST.gnome}include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h +${PLIST.gnome}include/libsoup-gnome-2.4/libsoup/soup-gnome.h +lib/girepository-1.0/Soup-2.4.typelib +${PLIST.gnome}lib/girepository-1.0/SoupGNOME-2.4.typelib +lib/libsoup-2.4.la +${PLIST.gnome}lib/libsoup-gnome-2.4.la +lib/pkgconfig/libsoup-2.4.pc +${PLIST.gnome}lib/pkgconfig/libsoup-gnome-2.4.pc +share/gir-1.0/Soup-2.4.gir +${PLIST.gnome}share/gir-1.0/SoupGNOME-2.4.gir +share/gtk-doc/html/libsoup-2.4/SoupAddress.html +share/gtk-doc/html/libsoup-2.4/SoupAuth.html +share/gtk-doc/html/libsoup-2.4/SoupAuthDomain.html +share/gtk-doc/html/libsoup-2.4/SoupAuthDomainBasic.html +share/gtk-doc/html/libsoup-2.4/SoupAuthDomainDigest.html +share/gtk-doc/html/libsoup-2.4/SoupAuthManager.html +share/gtk-doc/html/libsoup-2.4/SoupCache.html +share/gtk-doc/html/libsoup-2.4/SoupContentDecoder.html +share/gtk-doc/html/libsoup-2.4/SoupContentSniffer.html +share/gtk-doc/html/libsoup-2.4/SoupCookie.html +share/gtk-doc/html/libsoup-2.4/SoupCookieJar.html +share/gtk-doc/html/libsoup-2.4/SoupCookieJarDB.html +share/gtk-doc/html/libsoup-2.4/SoupCookieJarText.html +share/gtk-doc/html/libsoup-2.4/SoupLogger.html +share/gtk-doc/html/libsoup-2.4/SoupMessage.html +share/gtk-doc/html/libsoup-2.4/SoupMessageBody.html +share/gtk-doc/html/libsoup-2.4/SoupMessageHeaders.html +share/gtk-doc/html/libsoup-2.4/SoupMultipart.html +share/gtk-doc/html/libsoup-2.4/SoupMultipartInputStream.html +share/gtk-doc/html/libsoup-2.4/SoupProxyResolverDefault.html +share/gtk-doc/html/libsoup-2.4/SoupRequest.html +share/gtk-doc/html/libsoup-2.4/SoupRequestData.html +share/gtk-doc/html/libsoup-2.4/SoupRequestFile.html +share/gtk-doc/html/libsoup-2.4/SoupRequestHTTP.html +share/gtk-doc/html/libsoup-2.4/SoupServer.html +share/gtk-doc/html/libsoup-2.4/SoupSession.html +share/gtk-doc/html/libsoup-2.4/SoupSessionAsync.html +share/gtk-doc/html/libsoup-2.4/SoupSessionFeature.html +share/gtk-doc/html/libsoup-2.4/SoupSessionSync.html +share/gtk-doc/html/libsoup-2.4/SoupSocket.html +share/gtk-doc/html/libsoup-2.4/SoupURI.html +share/gtk-doc/html/libsoup-2.4/annotation-glossary.html +share/gtk-doc/html/libsoup-2.4/ch01.html +share/gtk-doc/html/libsoup-2.4/ch02.html +share/gtk-doc/html/libsoup-2.4/ch03.html +share/gtk-doc/html/libsoup-2.4/ch04.html +share/gtk-doc/html/libsoup-2.4/ch05.html +share/gtk-doc/html/libsoup-2.4/home.png +share/gtk-doc/html/libsoup-2.4/index.html +share/gtk-doc/html/libsoup-2.4/index.sgml +share/gtk-doc/html/libsoup-2.4/ix01.html +share/gtk-doc/html/libsoup-2.4/left-insensitive.png +share/gtk-doc/html/libsoup-2.4/left.png +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-GValue-Support.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-HTML-Form-Support.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-Soup-Miscellaneous-Utilities.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-SoupServer-deprecated-API.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-Top-Level-Domain-utils.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-Version-Information.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-WebSockets.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-XMLRPC-Support.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-soup-method.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4-soup-status.html +share/gtk-doc/html/libsoup-2.4/libsoup-2.4.devhelp2 +share/gtk-doc/html/libsoup-2.4/libsoup-build-howto.html +share/gtk-doc/html/libsoup-2.4/libsoup-client-howto.html +share/gtk-doc/html/libsoup-2.4/libsoup-request-howto.html +share/gtk-doc/html/libsoup-2.4/libsoup-server-howto.html +share/gtk-doc/html/libsoup-2.4/libsoup-session-porting.html +share/gtk-doc/html/libsoup-2.4/right-insensitive.png +share/gtk-doc/html/libsoup-2.4/right.png +share/gtk-doc/html/libsoup-2.4/style.css +share/gtk-doc/html/libsoup-2.4/up-insensitive.png +share/gtk-doc/html/libsoup-2.4/up.png +share/locale/an/LC_MESSAGES/libsoup.mo +share/locale/as/LC_MESSAGES/libsoup.mo +share/locale/be/LC_MESSAGES/libsoup.mo +share/locale/bg/LC_MESSAGES/libsoup.mo +share/locale/bn_IN/LC_MESSAGES/libsoup.mo +share/locale/bs/LC_MESSAGES/libsoup.mo +share/locale/ca/LC_MESSAGES/libsoup.mo +share/locale/ca@valencia/LC_MESSAGES/libsoup.mo +share/locale/cs/LC_MESSAGES/libsoup.mo +share/locale/da/LC_MESSAGES/libsoup.mo +share/locale/de/LC_MESSAGES/libsoup.mo +share/locale/el/LC_MESSAGES/libsoup.mo +share/locale/en_GB/LC_MESSAGES/libsoup.mo +share/locale/eo/LC_MESSAGES/libsoup.mo +share/locale/es/LC_MESSAGES/libsoup.mo +share/locale/et/LC_MESSAGES/libsoup.mo +share/locale/eu/LC_MESSAGES/libsoup.mo +share/locale/fa/LC_MESSAGES/libsoup.mo +share/locale/fr/LC_MESSAGES/libsoup.mo +share/locale/fur/LC_MESSAGES/libsoup.mo +share/locale/gl/LC_MESSAGES/libsoup.mo +share/locale/gu/LC_MESSAGES/libsoup.mo +share/locale/he/LC_MESSAGES/libsoup.mo +share/locale/hi/LC_MESSAGES/libsoup.mo +share/locale/hu/LC_MESSAGES/libsoup.mo +share/locale/id/LC_MESSAGES/libsoup.mo +share/locale/it/LC_MESSAGES/libsoup.mo +share/locale/ja/LC_MESSAGES/libsoup.mo +share/locale/kn/LC_MESSAGES/libsoup.mo +share/locale/ko/LC_MESSAGES/libsoup.mo +share/locale/lt/LC_MESSAGES/libsoup.mo +share/locale/lv/LC_MESSAGES/libsoup.mo +share/locale/ml/LC_MESSAGES/libsoup.mo +share/locale/mr/LC_MESSAGES/libsoup.mo +share/locale/nb/LC_MESSAGES/libsoup.mo +share/locale/nl/LC_MESSAGES/libsoup.mo +share/locale/or/LC_MESSAGES/libsoup.mo +share/locale/pa/LC_MESSAGES/libsoup.mo +share/locale/pl/LC_MESSAGES/libsoup.mo +share/locale/pt/LC_MESSAGES/libsoup.mo +share/locale/pt_BR/LC_MESSAGES/libsoup.mo +share/locale/ro/LC_MESSAGES/libsoup.mo +share/locale/ru/LC_MESSAGES/libsoup.mo +share/locale/sk/LC_MESSAGES/libsoup.mo +share/locale/sl/LC_MESSAGES/libsoup.mo +share/locale/sr/LC_MESSAGES/libsoup.mo +share/locale/sr@latin/LC_MESSAGES/libsoup.mo +share/locale/sv/LC_MESSAGES/libsoup.mo +share/locale/ta/LC_MESSAGES/libsoup.mo +share/locale/te/LC_MESSAGES/libsoup.mo +share/locale/tg/LC_MESSAGES/libsoup.mo +share/locale/th/LC_MESSAGES/libsoup.mo +share/locale/tr/LC_MESSAGES/libsoup.mo +share/locale/ug/LC_MESSAGES/libsoup.mo +share/locale/uk/LC_MESSAGES/libsoup.mo +share/locale/uz@cyrillic/LC_MESSAGES/libsoup.mo +share/locale/vi/LC_MESSAGES/libsoup.mo +share/locale/zh_CN/LC_MESSAGES/libsoup.mo +share/locale/zh_HK/LC_MESSAGES/libsoup.mo +share/locale/zh_TW/LC_MESSAGES/libsoup.mo diff --git a/net/libsoup/buildlink3.mk b/net/libsoup/buildlink3.mk new file mode 100644 index 00000000000..e9253cca2d4 --- /dev/null +++ b/net/libsoup/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.15 2015/06/07 14:03:20 youri Exp $ + +BUILDLINK_TREE+= libsoup + +.if !defined(LIBSOUP_BUILDLINK3_MK) +LIBSOUP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.50.0 +BUILDLINK_PKGSRCDIR.libsoup?= ../../net/libsoup + +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/gobject-introspection/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.endif # LIBSOUP_BUILDLINK3_MK + +BUILDLINK_TREE+= -libsoup diff --git a/net/libsoup/distinfo b/net/libsoup/distinfo new file mode 100644 index 00000000000..a32359ccb46 --- /dev/null +++ b/net/libsoup/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.7 2015/06/07 14:03:20 youri Exp $ + +SHA1 (libsoup-2.50.0.tar.xz) = 8bd422bd5d19b5e2630bbb35dfb06354b1d56442 +RMD160 (libsoup-2.50.0.tar.xz) = 96305642e92460269dac05772ea3a0e984e1de49 +Size (libsoup-2.50.0.tar.xz) = 1755052 bytes diff --git a/net/libsoup/options.mk b/net/libsoup/options.mk new file mode 100644 index 00000000000..2905ed20afa --- /dev/null +++ b/net/libsoup/options.mk @@ -0,0 +1,17 @@ +# $NetBSD: options.mk,v 1.1 2015/06/07 14:03:20 youri Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libsoup +PKG_SUPPORTED_OPTIONS= gnome +PKG_SUGGESTED_OPTIONS= gnome + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= gnome + +.if !empty(PKG_OPTIONS:Mgnome) +.include "../../security/libgnome-keyring/buildlink3.mk" +PKGCONFIG_OVERRIDE+= libsoup-gnome-2.4.pc.in +PLIST.gnome= yes +.else +CONFIGURE_ARGS+= --without-gnome +.endif |