summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2020-08-07 01:54:20 +0000
committerbrook <brook@pkgsrc.org>2020-08-07 01:54:20 +0000
commit908790e0cdc86f7575d702d3c18bc7a436237561 (patch)
treee514149b8857d7e36b0974ccfe5c331ca39881f7 /www
parent0fd892c568991ca788057c687957bea277667fde (diff)
downloadpkgsrc-908790e0cdc86f7575d702d3c18bc7a436237561.tar.gz
www/R-RCurl: import R-RCurl-1.98.1.1
A wrapper for 'libcurl' <http://curl.haxx.se/libcurl/> Provides functions to allow one to compose general HTTP requests and provides convenient functions to fetch URIs, get & post forms, etc. and process the results returned by the Web server. This provides a great deal of control over the HTTP/FTP/... connection and the form of the request while providing a higher-level interface than is available just using R socket connections. Additionally, the underlying implementation is robust and extensive, supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies, redirects, authentication, etc.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile3
-rw-r--r--www/R-RCurl/DESCR10
-rw-r--r--www/R-RCurl/Makefile17
-rw-r--r--www/R-RCurl/distinfo8
-rw-r--r--www/R-RCurl/patches/patch-configure15
-rw-r--r--www/R-RCurl/patches/patch-configure.ac15
6 files changed, 67 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index bfcfb4b7b56..ddcfa558c04 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1477 2020/08/06 12:03:06 joerg Exp $
+# $NetBSD: Makefile,v 1.1478 2020/08/07 01:54:20 brook Exp $
#
COMMENT= Packages related to the World Wide Web
+SUBDIR+= R-RCurl
SUBDIR+= R-curl
SUBDIR+= R-gh
SUBDIR+= R-htmlwidgets
diff --git a/www/R-RCurl/DESCR b/www/R-RCurl/DESCR
new file mode 100644
index 00000000000..7dc41f23d12
--- /dev/null
+++ b/www/R-RCurl/DESCR
@@ -0,0 +1,10 @@
+A wrapper for 'libcurl' <http://curl.haxx.se/libcurl/> Provides
+functions to allow one to compose general HTTP requests and provides
+convenient functions to fetch URIs, get & post forms, etc. and process
+the results returned by the Web server. This provides a great deal of
+control over the HTTP/FTP/... connection and the form of the request
+while providing a higher-level interface than is available just using
+R socket connections. Additionally, the underlying implementation is
+robust and extensive, supporting FTP/FTPS/TFTP (uploads and
+downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies,
+redirects, authentication, etc.
diff --git a/www/R-RCurl/Makefile b/www/R-RCurl/Makefile
new file mode 100644
index 00000000000..2a62f619eab
--- /dev/null
+++ b/www/R-RCurl/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2020/08/07 01:54:20 brook Exp $
+
+R_PKGNAME= RCurl
+R_PKGVER= 1.98-1.1
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= General Network (HTTP/FTP/...) Client Interface for R
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c
+
+.include "../../math/R/Makefile.extension"
+.include "../../math/R-bitops/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/nghttp2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/R-RCurl/distinfo b/www/R-RCurl/distinfo
new file mode 100644
index 00000000000..942ecfaf1a0
--- /dev/null
+++ b/www/R-RCurl/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/08/07 01:54:20 brook Exp $
+
+SHA1 (R/RCurl_1.98-1.1.tar.gz) = c889ff5224630a184da1f6b49c9d2561dfcf4d40
+RMD160 (R/RCurl_1.98-1.1.tar.gz) = cf46f295abf57c2f9d87611150acb14e5b1406c0
+SHA512 (R/RCurl_1.98-1.1.tar.gz) = e9567628d71dec0abd04f55c3a52b79de1c1c383a8883a5381adc9e192c22bf5710efb598125e547f44a8ce793974d43a70e9b8c696df31998f27f90907e8d21
+Size (R/RCurl_1.98-1.1.tar.gz) = 699474 bytes
+SHA1 (patch-configure) = b241c2321c378966b25495c573275566c03c84f7
+SHA1 (patch-configure.ac) = a998c68186989b4e8eb29c14530f972d744d3fa7
diff --git a/www/R-RCurl/patches/patch-configure b/www/R-RCurl/patches/patch-configure
new file mode 100644
index 00000000000..aeee2b6cf07
--- /dev/null
+++ b/www/R-RCurl/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/08/07 01:54:20 brook Exp $
+
+Fix non-portable use of == with test. Accepted by upstream.
+
+--- configure.orig 2020-01-19 07:57:23.000000000 +0000
++++ configure
+@@ -1828,7 +1828,7 @@ if test -z "${CURL_CONFIG}" ; then
+ exit 1
+ fi
+
+-if test -n "${enable_debug}" && test "${enable_debug}" == "yes" ; then
++if test -n "${enable_debug}" && test "${enable_debug}" = "yes" ; then
+ DEFINES=-DRCURL_DEBUG_MEMORY
+ fi
+
diff --git a/www/R-RCurl/patches/patch-configure.ac b/www/R-RCurl/patches/patch-configure.ac
new file mode 100644
index 00000000000..0448cc7673b
--- /dev/null
+++ b/www/R-RCurl/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2020/08/07 01:54:20 brook Exp $
+
+Fix non-portable use of == with test. Accepted by upstream.
+
+--- configure.ac.orig 2014-12-03 11:28:07.000000000 +0000
++++ configure.ac
+@@ -11,7 +11,7 @@ if test -z "${CURL_CONFIG}" ; then
+ exit 1
+ fi
+
+-if test -n "${enable_debug}" && test "${enable_debug}" == "yes" ; then
++if test -n "${enable_debug}" && test "${enable_debug}" = "yes" ; then
+ DEFINES=-DRCURL_DEBUG_MEMORY
+ fi
+