diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-11-28 01:09:56 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-11-28 01:09:56 +0800 |
commit | 3e25d61bd37a67498f96d6f8960ee68f37f07cf0 (patch) | |
tree | c34bfd6322812afa10505444bf7213855a919962 /ftp | |
parent | 4ed0b299d769f199d684a0c262c2258e02e0cdd0 (diff) | |
download | freebsd-ports-gnome-3e25d61bd37a67498f96d6f8960ee68f37f07cf0.tar.gz freebsd-ports-gnome-3e25d61bd37a67498f96d6f8960ee68f37f07cf0.tar.zst freebsd-ports-gnome-3e25d61bd37a67498f96d6f8960ee68f37f07cf0.zip |
Update to 0.9.7
Changes: https://github.com/taf2/curb/commits/master
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/rubygem-curb/Makefile | 4 | ||||
-rw-r--r-- | ftp/rubygem-curb/distinfo | 6 | ||||
-rw-r--r-- | ftp/rubygem-curb/files/patch-ext-curb_errors.c | 28 |
3 files changed, 5 insertions, 33 deletions
diff --git a/ftp/rubygem-curb/Makefile b/ftp/rubygem-curb/Makefile index 543231493993..fff606eb77ec 100644 --- a/ftp/rubygem-curb/Makefile +++ b/ftp/rubygem-curb/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= curb -PORTVERSION= 0.9.6 +PORTVERSION= 0.9.7 CATEGORIES= ftp rubygems MASTER_SITES= RG @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl -USE_RUBY= yes USES= gem +USE_RUBY= yes .include <bsd.port.mk> diff --git a/ftp/rubygem-curb/distinfo b/ftp/rubygem-curb/distinfo index 6000771ed035..1ee3be4d9cab 100644 --- a/ftp/rubygem-curb/distinfo +++ b/ftp/rubygem-curb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1527701787 -SHA256 (rubygem/curb-0.9.6.gem) = 1f8f11e2a30f43cfccaf69a89a69b6ed6ede1f2cf6dc29a7e733d981a5890a7f -SIZE (rubygem/curb-0.9.6.gem) = 83456 +TIMESTAMP = 1543326738 +SHA256 (rubygem/curb-0.9.7.gem) = 29b1bbaf3248283d9a6f82f5ddaf424718cd5653d06d3e05176b60cee9f8504e +SIZE (rubygem/curb-0.9.7.gem) = 83968 diff --git a/ftp/rubygem-curb/files/patch-ext-curb_errors.c b/ftp/rubygem-curb/files/patch-ext-curb_errors.c deleted file mode 100644 index ed9580ba75f2..000000000000 --- a/ftp/rubygem-curb/files/patch-ext-curb_errors.c +++ /dev/null @@ -1,28 +0,0 @@ ---- ext/curb_errors.c.orig 2018-11-03 08:38:15 UTC -+++ ext/curb_errors.c -@@ -307,9 +307,11 @@ VALUE rb_curl_easy_error(CURLcode code) - exclz = eCurlErrObsolete; - break; - #endif -+#if LIBCURL_VERSION_NUM < 0x073e00 - case CURLE_SSL_PEER_CERTIFICATE: /* 51 - peer's certificate wasn't ok */ - exclz = eCurlErrSSLPeerCertificate; - break; -+#endif - case CURLE_GOT_NOTHING: /* 52 - when this is a specific error */ - exclz = eCurlErrGotNothing; - break; -@@ -334,8 +336,13 @@ VALUE rb_curl_easy_error(CURLcode code) - case CURLE_SSL_CIPHER: /* 59 - couldn't use specified cipher */ - exclz = eCurlErrSSLCipher; - break; -+#if LIBCURL_VERSION_NUM >= 0x073e00 -+ case CURLE_PEER_FAILED_VERIFICATION: /* 60 - problem with the CA cert (path?) */ -+ exclz = eCurlErrSSLPeerCertificate; -+#else - case CURLE_SSL_CACERT: /* 60 - problem with the CA cert (path?) */ - exclz = eCurlErrSSLCACertificate; -+#endif - break; - case CURLE_BAD_CONTENT_ENCODING: /* 61 - Unrecognized transfer encoding */ - exclz = eCurlErrBadContentEncoding; |