pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www gnurl: Import from wip (packaged by ng0)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cd8e00e14f4
branches:  trunk
changeset: 391161:3cd8e00e14f4
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Feb 01 15:21:28 2019 +0000

description:
gnurl: Import from wip (packaged by ng0)

libgnurl is a fork of libcurl. The goal for libgnurl is to support
only HTTP and HTTPS (and only HTTP 1.x) with a single crypto backend
(GnuTLS) to ensure a small footprint and uniform experience for
developers regardless of how libcurl was compiled.
This software is mainly used by GNUnet. The modifications to curl
are kept to the bare minimum, intended to track upstream closely.
gnurl is not a replacement for curl, so different paths are used.

diffstat:

 www/Makefile            |    3 +-
 www/gnurl/DESCR         |    7 +
 www/gnurl/Makefile      |   48 +++++
 www/gnurl/PLIST         |  441 ++++++++++++++++++++++++++++++++++++++++++++++++
 www/gnurl/buildlink3.mk |   18 +
 www/gnurl/distinfo      |    6 +
 www/gnurl/options.mk    |   13 +
 7 files changed, 535 insertions(+), 1 deletions(-)

diffs (truncated from 574 to 300 lines):

diff -r 73d0e45c9f7f -r 3cd8e00e14f4 www/Makefile
--- a/www/Makefile      Fri Feb 01 14:59:07 2019 +0000
+++ b/www/Makefile      Fri Feb 01 15:21:28 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1359 2019/01/22 14:55:46 ryoon Exp $
+# $NetBSD: Makefile,v 1.1360 2019/02/01 15:21:28 gdt Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -131,6 +131,7 @@
 SUBDIR+=       grafana
 SUBDIR+=       gtkasp2php
 SUBDIR+=       gtkhtml314
+SUBDIR+=       gnurl
 SUBDIR+=       gwt
 SUBDIR+=       h2o
 SUBDIR+=       haskell-cgi
diff -r 73d0e45c9f7f -r 3cd8e00e14f4 www/gnurl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gnurl/DESCR   Fri Feb 01 15:21:28 2019 +0000
@@ -0,0 +1,7 @@
+libgnurl is a fork of libcurl. The goal for libgnurl is to support
+only HTTP and HTTPS (and only HTTP 1.x) with a single crypto backend
+(GnuTLS) to ensure a small footprint and uniform experience for
+developers regardless of how libcurl was compiled.
+This software is mainly used by GNUnet. The modifications to curl
+are kept to the bare minimum, intended to track upstream closely.
+gnurl is not a replacement for curl, so different paths are used.
diff -r 73d0e45c9f7f -r 3cd8e00e14f4 www/gnurl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gnurl/Makefile        Fri Feb 01 15:21:28 2019 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1 2019/02/01 15:21:29 gdt Exp $
+
+DISTNAME=      gnurl-7.63.0
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GNU:=gnunet/}
+EXTRACT_SUFX=  .tar.Z
+
+MAINTAINER=    ng0%n0.is@localhost
+HOMEPAGE=      https://gnunet.org/gnurl
+COMMENT=       Client that groks URLs (micro fork of curl)
+# not completely, the curl license is inspired by mit
+LICENSE=       mit
+
+BUILD_DEFS+=   IPV6_READY
+
+USE_TOOLS+=            nroff perl pkg-config
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes # make install depends on it
+PKGCONFIG_OVERRIDE=    libgnurl.pc.in
+INSTALLATION_DIRS=     share/doc/gnurl
+
+.include "../../mk/bsd.prefs.mk"
+
+TEST_TARGET=           check
+
+CONFIGURE_ARGS+=       --disable-ntml-wb
+CONFIGURE_ARGS+=       --with-gnutls
+CONFIGURE_ARGS+=       --with-libidn2
+CONFIGURE_ARGS+=       --with-libz=${BUILDLINK_PREFIX.zlib}
+# Fallback to gnutls preferred CA certificates
+CONFIGURE_ARGS+=       --without-ca-bundle
+CONFIGURE_ARGS+=       --without-ca-path
+CONFIGURE_ARGS+=       --with-ca-fallback
+# Do not pick up GSS, should be fixed in upstream.
+CONFIGURE_ARGS+=       --without-gssapi
+
+.include "options.mk"
+
+post-install:
+.for f in MANUAL TheArtOfHttpScripting FAQ
+       ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DESTDIR}${PREFIX}/share/doc/gnurl/
+.endfor
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 73d0e45c9f7f -r 3cd8e00e14f4 www/gnurl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/gnurl/PLIST   Fri Feb 01 15:21:28 2019 +0000
@@ -0,0 +1,441 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/01 15:21:29 gdt Exp $
+bin/gnurl
+bin/gnurl-config
+include/gnurl/curl.h
+include/gnurl/curlver.h
+include/gnurl/easy.h
+include/gnurl/mprintf.h
+include/gnurl/multi.h
+include/gnurl/stdcheaders.h
+include/gnurl/system.h
+include/gnurl/typecheck-gcc.h
+include/gnurl/urlapi.h
+lib/libgnurl.la
+lib/pkgconfig/libgnurl.pc
+man/man1/gnurl-config.1
+man/man1/gnurl.1
+man/man3/GNURLINFO_ACTIVESOCKET.3
+man/man3/GNURLINFO_APPCONNECT_TIME.3
+man/man3/GNURLINFO_APPCONNECT_TIME_T.3
+man/man3/GNURLINFO_CERTINFO.3
+man/man3/GNURLINFO_CONDITION_UNMET.3
+man/man3/GNURLINFO_CONNECT_TIME.3
+man/man3/GNURLINFO_CONNECT_TIME_T.3
+man/man3/GNURLINFO_CONTENT_LENGTH_DOWNLOAD.3
+man/man3/GNURLINFO_CONTENT_LENGTH_DOWNLOAD_T.3
+man/man3/GNURLINFO_CONTENT_LENGTH_UPLOAD.3
+man/man3/GNURLINFO_CONTENT_LENGTH_UPLOAD_T.3
+man/man3/GNURLINFO_CONTENT_TYPE.3
+man/man3/GNURLINFO_COOKIELIST.3
+man/man3/GNURLINFO_EFFECTIVE_URL.3
+man/man3/GNURLINFO_FILETIME.3
+man/man3/GNURLINFO_FILETIME_T.3
+man/man3/GNURLINFO_FTP_ENTRY_PATH.3
+man/man3/GNURLINFO_HEADER_SIZE.3
+man/man3/GNURLINFO_HTTPAUTH_AVAIL.3
+man/man3/GNURLINFO_HTTP_CONNECTCODE.3
+man/man3/GNURLINFO_HTTP_VERSION.3
+man/man3/GNURLINFO_LASTSOCKET.3
+man/man3/GNURLINFO_LOCAL_IP.3
+man/man3/GNURLINFO_LOCAL_PORT.3
+man/man3/GNURLINFO_NAMELOOKUP_TIME.3
+man/man3/GNURLINFO_NAMELOOKUP_TIME_T.3
+man/man3/GNURLINFO_NUM_CONNECTS.3
+man/man3/GNURLINFO_OS_ERRNO.3
+man/man3/GNURLINFO_PRETRANSFER_TIME.3
+man/man3/GNURLINFO_PRETRANSFER_TIME_T.3
+man/man3/GNURLINFO_PRIMARY_IP.3
+man/man3/GNURLINFO_PRIMARY_PORT.3
+man/man3/GNURLINFO_PRIVATE.3
+man/man3/GNURLINFO_PROTOCOL.3
+man/man3/GNURLINFO_PROXYAUTH_AVAIL.3
+man/man3/GNURLINFO_PROXY_SSL_VERIFYRESULT.3
+man/man3/GNURLINFO_REDIRECT_COUNT.3
+man/man3/GNURLINFO_REDIRECT_TIME.3
+man/man3/GNURLINFO_REDIRECT_TIME_T.3
+man/man3/GNURLINFO_REDIRECT_URL.3
+man/man3/GNURLINFO_REQUEST_SIZE.3
+man/man3/GNURLINFO_RESPONSE_CODE.3
+man/man3/GNURLINFO_RTSP_CLIENT_CSEQ.3
+man/man3/GNURLINFO_RTSP_CSEQ_RECV.3
+man/man3/GNURLINFO_RTSP_SERVER_CSEQ.3
+man/man3/GNURLINFO_RTSP_SESSION_ID.3
+man/man3/GNURLINFO_SCHEME.3
+man/man3/GNURLINFO_SIZE_DOWNLOAD.3
+man/man3/GNURLINFO_SIZE_DOWNLOAD_T.3
+man/man3/GNURLINFO_SIZE_UPLOAD.3
+man/man3/GNURLINFO_SIZE_UPLOAD_T.3
+man/man3/GNURLINFO_SPEED_DOWNLOAD.3
+man/man3/GNURLINFO_SPEED_DOWNLOAD_T.3
+man/man3/GNURLINFO_SPEED_UPLOAD.3
+man/man3/GNURLINFO_SPEED_UPLOAD_T.3
+man/man3/GNURLINFO_SSL_ENGINES.3
+man/man3/GNURLINFO_SSL_VERIFYRESULT.3
+man/man3/GNURLINFO_STARTTRANSFER_TIME.3
+man/man3/GNURLINFO_STARTTRANSFER_TIME_T.3
+man/man3/GNURLINFO_TLS_SESSION.3
+man/man3/GNURLINFO_TLS_SSL_PTR.3
+man/man3/GNURLINFO_TOTAL_TIME.3
+man/man3/GNURLINFO_TOTAL_TIME_T.3
+man/man3/GNURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.3
+man/man3/GNURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.3
+man/man3/GNURLMOPT_MAXCONNECTS.3
+man/man3/GNURLMOPT_MAX_HOST_CONNECTIONS.3
+man/man3/GNURLMOPT_MAX_PIPELINE_LENGTH.3
+man/man3/GNURLMOPT_MAX_TOTAL_CONNECTIONS.3
+man/man3/GNURLMOPT_PIPELINING.3
+man/man3/GNURLMOPT_PIPELINING_SERVER_BL.3
+man/man3/GNURLMOPT_PIPELINING_SITE_BL.3
+man/man3/GNURLMOPT_PUSHDATA.3
+man/man3/GNURLMOPT_PUSHFUNCTION.3
+man/man3/GNURLMOPT_SOCKETDATA.3
+man/man3/GNURLMOPT_SOCKETFUNCTION.3
+man/man3/GNURLMOPT_TIMERDATA.3
+man/man3/GNURLMOPT_TIMERFUNCTION.3
+man/man3/GNURLOPT_ABSTRACT_UNIX_SOCKET.3
+man/man3/GNURLOPT_ACCEPTTIMEOUT_MS.3
+man/man3/GNURLOPT_ACCEPT_ENCODING.3
+man/man3/GNURLOPT_ADDRESS_SCOPE.3
+man/man3/GNURLOPT_APPEND.3
+man/man3/GNURLOPT_AUTOREFERER.3
+man/man3/GNURLOPT_BUFFERSIZE.3
+man/man3/GNURLOPT_CAINFO.3
+man/man3/GNURLOPT_CAPATH.3
+man/man3/GNURLOPT_CERTINFO.3
+man/man3/GNURLOPT_CHUNK_BGN_FUNCTION.3
+man/man3/GNURLOPT_CHUNK_DATA.3
+man/man3/GNURLOPT_CHUNK_END_FUNCTION.3
+man/man3/GNURLOPT_CLOSESOCKETDATA.3
+man/man3/GNURLOPT_CLOSESOCKETFUNCTION.3
+man/man3/GNURLOPT_CONNECTTIMEOUT.3
+man/man3/GNURLOPT_CONNECTTIMEOUT_MS.3
+man/man3/GNURLOPT_CONNECT_ONLY.3
+man/man3/GNURLOPT_CONNECT_TO.3
+man/man3/GNURLOPT_CONV_FROM_NETWORK_FUNCTION.3
+man/man3/GNURLOPT_CONV_FROM_UTF8_FUNCTION.3
+man/man3/GNURLOPT_CONV_TO_NETWORK_FUNCTION.3
+man/man3/GNURLOPT_COOKIE.3
+man/man3/GNURLOPT_COOKIEFILE.3
+man/man3/GNURLOPT_COOKIEJAR.3
+man/man3/GNURLOPT_COOKIELIST.3
+man/man3/GNURLOPT_COOKIESESSION.3
+man/man3/GNURLOPT_COPYPOSTFIELDS.3
+man/man3/GNURLOPT_CRLF.3
+man/man3/GNURLOPT_CRLFILE.3
+man/man3/GNURLOPT_CURLU.3
+man/man3/GNURLOPT_CUSTOMREQUEST.3
+man/man3/GNURLOPT_DEBUGDATA.3
+man/man3/GNURLOPT_DEBUGFUNCTION.3
+man/man3/GNURLOPT_DEFAULT_PROTOCOL.3
+man/man3/GNURLOPT_DIRLISTONLY.3
+man/man3/GNURLOPT_DISALLOW_USERNAME_IN_URL.3
+man/man3/GNURLOPT_DNS_CACHE_TIMEOUT.3
+man/man3/GNURLOPT_DNS_INTERFACE.3
+man/man3/GNURLOPT_DNS_LOCAL_IP4.3
+man/man3/GNURLOPT_DNS_LOCAL_IP6.3
+man/man3/GNURLOPT_DNS_SERVERS.3
+man/man3/GNURLOPT_DNS_SHUFFLE_ADDRESSES.3
+man/man3/GNURLOPT_DNS_USE_GLOBAL_CACHE.3
+man/man3/GNURLOPT_DOH_URL.3
+man/man3/GNURLOPT_EGDSOCKET.3
+man/man3/GNURLOPT_ERRORBUFFER.3
+man/man3/GNURLOPT_EXPECT_100_TIMEOUT_MS.3
+man/man3/GNURLOPT_FAILONERROR.3
+man/man3/GNURLOPT_FILETIME.3
+man/man3/GNURLOPT_FNMATCH_DATA.3
+man/man3/GNURLOPT_FNMATCH_FUNCTION.3
+man/man3/GNURLOPT_FOLLOWLOCATION.3
+man/man3/GNURLOPT_FORBID_REUSE.3
+man/man3/GNURLOPT_FRESH_CONNECT.3
+man/man3/GNURLOPT_FTPPORT.3
+man/man3/GNURLOPT_FTPSSLAUTH.3
+man/man3/GNURLOPT_FTP_ACCOUNT.3
+man/man3/GNURLOPT_FTP_ALTERNATIVE_TO_USER.3
+man/man3/GNURLOPT_FTP_CREATE_MISSING_DIRS.3
+man/man3/GNURLOPT_FTP_FILEMETHOD.3
+man/man3/GNURLOPT_FTP_RESPONSE_TIMEOUT.3
+man/man3/GNURLOPT_FTP_SKIP_PASV_IP.3
+man/man3/GNURLOPT_FTP_SSL_CCC.3
+man/man3/GNURLOPT_FTP_USE_EPRT.3
+man/man3/GNURLOPT_FTP_USE_EPSV.3
+man/man3/GNURLOPT_FTP_USE_PRET.3
+man/man3/GNURLOPT_GSSAPI_DELEGATION.3
+man/man3/GNURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.3
+man/man3/GNURLOPT_HAPROXYPROTOCOL.3
+man/man3/GNURLOPT_HEADER.3
+man/man3/GNURLOPT_HEADERDATA.3
+man/man3/GNURLOPT_HEADERFUNCTION.3
+man/man3/GNURLOPT_HEADEROPT.3
+man/man3/GNURLOPT_HTTP200ALIASES.3
+man/man3/GNURLOPT_HTTPAUTH.3
+man/man3/GNURLOPT_HTTPGET.3
+man/man3/GNURLOPT_HTTPHEADER.3
+man/man3/GNURLOPT_HTTPPOST.3
+man/man3/GNURLOPT_HTTPPROXYTUNNEL.3
+man/man3/GNURLOPT_HTTP_CONTENT_DECODING.3
+man/man3/GNURLOPT_HTTP_TRANSFER_DECODING.3
+man/man3/GNURLOPT_HTTP_VERSION.3
+man/man3/GNURLOPT_IGNORE_CONTENT_LENGTH.3
+man/man3/GNURLOPT_INFILESIZE.3
+man/man3/GNURLOPT_INFILESIZE_LARGE.3
+man/man3/GNURLOPT_INTERFACE.3
+man/man3/GNURLOPT_INTERLEAVEDATA.3
+man/man3/GNURLOPT_INTERLEAVEFUNCTION.3
+man/man3/GNURLOPT_IOCTLDATA.3
+man/man3/GNURLOPT_IOCTLFUNCTION.3
+man/man3/GNURLOPT_IPRESOLVE.3
+man/man3/GNURLOPT_ISSUERCERT.3
+man/man3/GNURLOPT_KEEP_SENDING_ON_ERROR.3
+man/man3/GNURLOPT_KEYPASSWD.3
+man/man3/GNURLOPT_KRBLEVEL.3
+man/man3/GNURLOPT_LOCALPORT.3
+man/man3/GNURLOPT_LOCALPORTRANGE.3
+man/man3/GNURLOPT_LOGIN_OPTIONS.3
+man/man3/GNURLOPT_LOW_SPEED_LIMIT.3
+man/man3/GNURLOPT_LOW_SPEED_TIME.3
+man/man3/GNURLOPT_MAIL_AUTH.3
+man/man3/GNURLOPT_MAIL_FROM.3
+man/man3/GNURLOPT_MAIL_RCPT.3
+man/man3/GNURLOPT_MAXCONNECTS.3
+man/man3/GNURLOPT_MAXFILESIZE.3
+man/man3/GNURLOPT_MAXFILESIZE_LARGE.3
+man/man3/GNURLOPT_MAXREDIRS.3
+man/man3/GNURLOPT_MAX_RECV_SPEED_LARGE.3
+man/man3/GNURLOPT_MAX_SEND_SPEED_LARGE.3
+man/man3/GNURLOPT_MIMEPOST.3
+man/man3/GNURLOPT_NETRC.3
+man/man3/GNURLOPT_NETRC_FILE.3
+man/man3/GNURLOPT_NEW_DIRECTORY_PERMS.3
+man/man3/GNURLOPT_NEW_FILE_PERMS.3
+man/man3/GNURLOPT_NOBODY.3
+man/man3/GNURLOPT_NOPROGRESS.3
+man/man3/GNURLOPT_NOPROXY.3
+man/man3/GNURLOPT_NOSIGNAL.3
+man/man3/GNURLOPT_OPENSOCKETDATA.3
+man/man3/GNURLOPT_OPENSOCKETFUNCTION.3
+man/man3/GNURLOPT_PASSWORD.3



Home | Main Index | Thread Index | Old Index