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.
This commit is contained in:
gdt 2019-02-01 15:21:28 +00:00
parent b3b329b58b
commit 370c68c082
7 changed files with 535 additions and 1 deletions

View file

@ -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+= goaccess
SUBDIR+= grafana
SUBDIR+= gtkasp2php
SUBDIR+= gtkhtml314
SUBDIR+= gnurl
SUBDIR+= gwt
SUBDIR+= h2o
SUBDIR+= haskell-cgi

7
www/gnurl/DESCR Normal file
View file

@ -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.

48
www/gnurl/Makefile Normal file
View file

@ -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
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"

441
www/gnurl/PLIST Normal file
View file

@ -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
man/man3/GNURLOPT_PATH_AS_IS.3
man/man3/GNURLOPT_PINNEDPUBLICKEY.3
man/man3/GNURLOPT_PIPEWAIT.3
man/man3/GNURLOPT_PORT.3
man/man3/GNURLOPT_POST.3
man/man3/GNURLOPT_POSTFIELDS.3
man/man3/GNURLOPT_POSTFIELDSIZE.3
man/man3/GNURLOPT_POSTFIELDSIZE_LARGE.3
man/man3/GNURLOPT_POSTQUOTE.3
man/man3/GNURLOPT_POSTREDIR.3
man/man3/GNURLOPT_PREQUOTE.3
man/man3/GNURLOPT_PRE_PROXY.3
man/man3/GNURLOPT_PRIVATE.3
man/man3/GNURLOPT_PROGRESSDATA.3
man/man3/GNURLOPT_PROGRESSFUNCTION.3
man/man3/GNURLOPT_PROTOCOLS.3
man/man3/GNURLOPT_PROXY.3
man/man3/GNURLOPT_PROXYAUTH.3
man/man3/GNURLOPT_PROXYHEADER.3
man/man3/GNURLOPT_PROXYPASSWORD.3
man/man3/GNURLOPT_PROXYPORT.3
man/man3/GNURLOPT_PROXYTYPE.3
man/man3/GNURLOPT_PROXYUSERNAME.3
man/man3/GNURLOPT_PROXYUSERPWD.3
man/man3/GNURLOPT_PROXY_CAINFO.3
man/man3/GNURLOPT_PROXY_CAPATH.3
man/man3/GNURLOPT_PROXY_CRLFILE.3
man/man3/GNURLOPT_PROXY_KEYPASSWD.3
man/man3/GNURLOPT_PROXY_PINNEDPUBLICKEY.3
man/man3/GNURLOPT_PROXY_SERVICE_NAME.3
man/man3/GNURLOPT_PROXY_SSLCERT.3
man/man3/GNURLOPT_PROXY_SSLCERTTYPE.3
man/man3/GNURLOPT_PROXY_SSLKEY.3
man/man3/GNURLOPT_PROXY_SSLKEYTYPE.3
man/man3/GNURLOPT_PROXY_SSLVERSION.3
man/man3/GNURLOPT_PROXY_SSL_CIPHER_LIST.3
man/man3/GNURLOPT_PROXY_SSL_OPTIONS.3
man/man3/GNURLOPT_PROXY_SSL_VERIFYHOST.3
man/man3/GNURLOPT_PROXY_SSL_VERIFYPEER.3
man/man3/GNURLOPT_PROXY_TLS13_CIPHERS.3
man/man3/GNURLOPT_PROXY_TLSAUTH_PASSWORD.3
man/man3/GNURLOPT_PROXY_TLSAUTH_TYPE.3
man/man3/GNURLOPT_PROXY_TLSAUTH_USERNAME.3
man/man3/GNURLOPT_PROXY_TRANSFER_MODE.3
man/man3/GNURLOPT_PUT.3
man/man3/GNURLOPT_QUOTE.3
man/man3/GNURLOPT_RANDOM_FILE.3
man/man3/GNURLOPT_RANGE.3
man/man3/GNURLOPT_READDATA.3
man/man3/GNURLOPT_READFUNCTION.3
man/man3/GNURLOPT_REDIR_PROTOCOLS.3
man/man3/GNURLOPT_REFERER.3
man/man3/GNURLOPT_REQUEST_TARGET.3
man/man3/GNURLOPT_RESOLVE.3
man/man3/GNURLOPT_RESOLVER_START_DATA.3
man/man3/GNURLOPT_RESOLVER_START_FUNCTION.3
man/man3/GNURLOPT_RESUME_FROM.3
man/man3/GNURLOPT_RESUME_FROM_LARGE.3
man/man3/GNURLOPT_RTSP_CLIENT_CSEQ.3
man/man3/GNURLOPT_RTSP_REQUEST.3
man/man3/GNURLOPT_RTSP_SERVER_CSEQ.3
man/man3/GNURLOPT_RTSP_SESSION_ID.3
man/man3/GNURLOPT_RTSP_STREAM_URI.3
man/man3/GNURLOPT_RTSP_TRANSPORT.3
man/man3/GNURLOPT_SASL_IR.3
man/man3/GNURLOPT_SEEKDATA.3
man/man3/GNURLOPT_SEEKFUNCTION.3
man/man3/GNURLOPT_SERVICE_NAME.3
man/man3/GNURLOPT_SHARE.3
man/man3/GNURLOPT_SOCKOPTDATA.3
man/man3/GNURLOPT_SOCKOPTFUNCTION.3
man/man3/GNURLOPT_SOCKS5_AUTH.3
man/man3/GNURLOPT_SOCKS5_GSSAPI_NEC.3
man/man3/GNURLOPT_SOCKS5_GSSAPI_SERVICE.3
man/man3/GNURLOPT_SSH_AUTH_TYPES.3
man/man3/GNURLOPT_SSH_COMPRESSION.3
man/man3/GNURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3
man/man3/GNURLOPT_SSH_KEYDATA.3
man/man3/GNURLOPT_SSH_KEYFUNCTION.3
man/man3/GNURLOPT_SSH_KNOWNHOSTS.3
man/man3/GNURLOPT_SSH_PRIVATE_KEYFILE.3
man/man3/GNURLOPT_SSH_PUBLIC_KEYFILE.3
man/man3/GNURLOPT_SSLCERT.3
man/man3/GNURLOPT_SSLCERTTYPE.3
man/man3/GNURLOPT_SSLENGINE.3
man/man3/GNURLOPT_SSLENGINE_DEFAULT.3
man/man3/GNURLOPT_SSLKEY.3
man/man3/GNURLOPT_SSLKEYTYPE.3
man/man3/GNURLOPT_SSLVERSION.3
man/man3/GNURLOPT_SSL_CIPHER_LIST.3
man/man3/GNURLOPT_SSL_CTX_DATA.3
man/man3/GNURLOPT_SSL_CTX_FUNCTION.3
man/man3/GNURLOPT_SSL_ENABLE_ALPN.3
man/man3/GNURLOPT_SSL_ENABLE_NPN.3
man/man3/GNURLOPT_SSL_FALSESTART.3
man/man3/GNURLOPT_SSL_OPTIONS.3
man/man3/GNURLOPT_SSL_SESSIONID_CACHE.3
man/man3/GNURLOPT_SSL_VERIFYHOST.3
man/man3/GNURLOPT_SSL_VERIFYPEER.3
man/man3/GNURLOPT_SSL_VERIFYSTATUS.3
man/man3/GNURLOPT_STDERR.3
man/man3/GNURLOPT_STREAM_DEPENDS.3
man/man3/GNURLOPT_STREAM_DEPENDS_E.3
man/man3/GNURLOPT_STREAM_WEIGHT.3
man/man3/GNURLOPT_SUPPRESS_CONNECT_HEADERS.3
man/man3/GNURLOPT_TCP_FASTOPEN.3
man/man3/GNURLOPT_TCP_KEEPALIVE.3
man/man3/GNURLOPT_TCP_KEEPIDLE.3
man/man3/GNURLOPT_TCP_KEEPINTVL.3
man/man3/GNURLOPT_TCP_NODELAY.3
man/man3/GNURLOPT_TELNETOPTIONS.3
man/man3/GNURLOPT_TFTP_BLKSIZE.3
man/man3/GNURLOPT_TFTP_NO_OPTIONS.3
man/man3/GNURLOPT_TIMECONDITION.3
man/man3/GNURLOPT_TIMEOUT.3
man/man3/GNURLOPT_TIMEOUT_MS.3
man/man3/GNURLOPT_TIMEVALUE.3
man/man3/GNURLOPT_TIMEVALUE_LARGE.3
man/man3/GNURLOPT_TLS13_CIPHERS.3
man/man3/GNURLOPT_TLSAUTH_PASSWORD.3
man/man3/GNURLOPT_TLSAUTH_TYPE.3
man/man3/GNURLOPT_TLSAUTH_USERNAME.3
man/man3/GNURLOPT_TRANSFERTEXT.3
man/man3/GNURLOPT_TRANSFER_ENCODING.3
man/man3/GNURLOPT_UNIX_SOCKET_PATH.3
man/man3/GNURLOPT_UNRESTRICTED_AUTH.3
man/man3/GNURLOPT_UPKEEP_INTERVAL_MS.3
man/man3/GNURLOPT_UPLOAD.3
man/man3/GNURLOPT_UPLOAD_BUFFERSIZE.3
man/man3/GNURLOPT_URL.3
man/man3/GNURLOPT_USERAGENT.3
man/man3/GNURLOPT_USERNAME.3
man/man3/GNURLOPT_USERPWD.3
man/man3/GNURLOPT_USE_SSL.3
man/man3/GNURLOPT_VERBOSE.3
man/man3/GNURLOPT_WILDCARDMATCH.3
man/man3/GNURLOPT_WRITEDATA.3
man/man3/GNURLOPT_WRITEFUNCTION.3
man/man3/GNURLOPT_XFERINFODATA.3
man/man3/GNURLOPT_XFERINFOFUNCTION.3
man/man3/GNURLOPT_XOAUTH2_BEARER.3
man/man3/gnurl_easy_cleanup.3
man/man3/gnurl_easy_duphandle.3
man/man3/gnurl_easy_escape.3
man/man3/gnurl_easy_getinfo.3
man/man3/gnurl_easy_init.3
man/man3/gnurl_easy_pause.3
man/man3/gnurl_easy_perform.3
man/man3/gnurl_easy_recv.3
man/man3/gnurl_easy_reset.3
man/man3/gnurl_easy_send.3
man/man3/gnurl_easy_setopt.3
man/man3/gnurl_easy_strerror.3
man/man3/gnurl_easy_unescape.3
man/man3/gnurl_easy_upkeep.3
man/man3/gnurl_escape.3
man/man3/gnurl_formadd.3
man/man3/gnurl_formfree.3
man/man3/gnurl_formget.3
man/man3/gnurl_free.3
man/man3/gnurl_getdate.3
man/man3/gnurl_getenv.3
man/man3/gnurl_global_cleanup.3
man/man3/gnurl_global_init.3
man/man3/gnurl_global_init_mem.3
man/man3/gnurl_global_sslset.3
man/man3/gnurl_mime_addpart.3
man/man3/gnurl_mime_data.3
man/man3/gnurl_mime_data_cb.3
man/man3/gnurl_mime_encoder.3
man/man3/gnurl_mime_filedata.3
man/man3/gnurl_mime_filename.3
man/man3/gnurl_mime_free.3
man/man3/gnurl_mime_headers.3
man/man3/gnurl_mime_init.3
man/man3/gnurl_mime_name.3
man/man3/gnurl_mime_subparts.3
man/man3/gnurl_mime_type.3
man/man3/gnurl_mprintf.3
man/man3/gnurl_multi_add_handle.3
man/man3/gnurl_multi_assign.3
man/man3/gnurl_multi_cleanup.3
man/man3/gnurl_multi_fdset.3
man/man3/gnurl_multi_info_read.3
man/man3/gnurl_multi_init.3
man/man3/gnurl_multi_perform.3
man/man3/gnurl_multi_remove_handle.3
man/man3/gnurl_multi_setopt.3
man/man3/gnurl_multi_socket.3
man/man3/gnurl_multi_socket_action.3
man/man3/gnurl_multi_socket_all.3
man/man3/gnurl_multi_strerror.3
man/man3/gnurl_multi_timeout.3
man/man3/gnurl_multi_wait.3
man/man3/gnurl_share_cleanup.3
man/man3/gnurl_share_init.3
man/man3/gnurl_share_setopt.3
man/man3/gnurl_share_strerror.3
man/man3/gnurl_slist_append.3
man/man3/gnurl_slist_free_all.3
man/man3/gnurl_strequal.3
man/man3/gnurl_strnequal.3
man/man3/gnurl_unescape.3
man/man3/gnurl_url.3
man/man3/gnurl_url_cleanup.3
man/man3/gnurl_url_dup.3
man/man3/gnurl_url_get.3
man/man3/gnurl_url_set.3
man/man3/gnurl_version.3
man/man3/gnurl_version_info.3
man/man3/libgnurl-easy.3
man/man3/libgnurl-env.3
man/man3/libgnurl-errors.3
man/man3/libgnurl-multi.3
man/man3/libgnurl-security.3
man/man3/libgnurl-share.3
man/man3/libgnurl-symbols.3
man/man3/libgnurl-thread.3
man/man3/libgnurl-tutorial.3
man/man3/libgnurl-url.3
man/man3/libgnurl.3
share/aclocal/libgnurl.m4
share/doc/gnurl/FAQ
share/doc/gnurl/MANUAL
share/doc/gnurl/TheArtOfHttpScripting

18
www/gnurl/buildlink3.mk Normal file
View file

@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.1 2019/02/01 15:21:29 gdt Exp $
BUILDLINK_TREE+= gnurl
.if !defined(GNURL_BUILDLINK3_MK)
GNURL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gnurl+= gnurl>=7.63.0
BUILDLINK_PKGSRCDIR.gnurl?= ../../www/gnurl
pkgbase:= gnurl
.include "../../mk/pkg-build-options.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # GNURL_BUILDLINK3_MK
BUILDLINK_TREE+= -gnurl

6
www/gnurl/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/02/01 15:21:29 gdt Exp $
SHA1 (gnurl-7.63.0.tar.Z) = da6aef3a5f5e8fd40e07e00b43bd28564e085aef
RMD160 (gnurl-7.63.0.tar.Z) = 89ced0be74c4dc3da16b5de6cf1b519fc2c9903d
SHA512 (gnurl-7.63.0.tar.Z) = 4e322a653427be9dcd788e3bac0b126b9214875c5b600ad8eb413e9048f783d90f748d94b8c9a690fc3e8d011b8778c3db30b86a7f2d4ea643087e9f4dc7d438
Size (gnurl-7.63.0.tar.Z) = 6278021 bytes

13
www/gnurl/options.mk Normal file
View file

@ -0,0 +1,13 @@
# $NetBSD: options.mk,v 1.1 2019/02/01 15:21:29 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnurl
PKG_SUPPORTED_OPTIONS= inet6
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif