summaryrefslogtreecommitdiff
path: root/security/liboauth
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2015-09-10 23:05:53 +0000
committerprlw1 <prlw1@pkgsrc.org>2015-09-10 23:05:53 +0000
commite30d687d76743d646febfe42bf30b54d0a02c414 (patch)
tree1d46a30a7d2d6d0181bcb244006da1a52a8fc674 /security/liboauth
parent4a7bd58b19ebf2ae85b9c5281d35f2a310fcca72 (diff)
downloadpkgsrc-e30d687d76743d646febfe42bf30b54d0a02c414.tar.gz
Update liboauth to 1.0.3
version 1.0.3 - clarify documentation of oauth_curl - fix possible memleak in oauth_curl (only relevant if an error occurs) - fix TOCTOU in oauth_curl_post_file: the file may change between stat() and fopen() version 1.0.2 - fix typos in documentation - add xfree, xstrdup patch from Kedar Sovani - prepare repository migration to github - built-in sha1 support big&little endian - (no changes to the actual library API or ABI) version 1.0.1 - do not url-escape RSA-key for signature version 1.0.0 - fix body-hash example code - mark all oauth_http functions as deprecated - freeze interface definitions for good - enter maintenance/bug-fix only cycle version 0.9.7 - fixed tiny memory leak when oauth_curl_get() fails - fixed double-encoding of plaintext signature version 0.9.6 - fixed typo, do not print a separator before first parameter when serializing url for auth-header. version 0.9.5 - added "built-in" hmac-sha1 hashing (no RSA). - added some CURL options available via enviroment variables - fixed issue with decoding already encoded characters in the base-URL (not parameters). reported by L. Alberto Gimenez
Diffstat (limited to 'security/liboauth')
-rw-r--r--security/liboauth/Makefile5
-rw-r--r--security/liboauth/distinfo10
-rw-r--r--security/liboauth/patches/patch-aa25
3 files changed, 24 insertions, 16 deletions
diff --git a/security/liboauth/Makefile b/security/liboauth/Makefile
index 1a3bae14d5d..a5bb23a74f3 100644
--- a/security/liboauth/Makefile
+++ b/security/liboauth/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2014/02/12 23:18:33 tron Exp $
+# $NetBSD: Makefile,v 1.8 2015/09/10 23:05:53 prlw1 Exp $
-DISTNAME= liboauth-0.9.4
-PKGREVISION= 3
+DISTNAME= liboauth-1.0.3
CATEGORIES= security
MASTER_SITES= http://liboauth.sourceforge.net/pool/
diff --git a/security/liboauth/distinfo b/security/liboauth/distinfo
index babeef15dbf..1f90436dc11 100644
--- a/security/liboauth/distinfo
+++ b/security/liboauth/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2011/05/03 14:23:57 agc Exp $
+$NetBSD: distinfo,v 1.3 2015/09/10 23:05:53 prlw1 Exp $
-SHA1 (liboauth-0.9.4.tar.gz) = 9c48dcfe9bb2f7b0fa4825e645056bdf77640454
-RMD160 (liboauth-0.9.4.tar.gz) = afe4e2e1266e13c16b501470d41a61e1bcdc2192
-Size (liboauth-0.9.4.tar.gz) = 459597 bytes
-SHA1 (patch-aa) = a192cb5a763e4cbca089944cf26034c07204f4ba
+SHA1 (liboauth-1.0.3.tar.gz) = 791dbb4166b5d2c843c8ff48ac17284cc0884af2
+RMD160 (liboauth-1.0.3.tar.gz) = c9f3182e51b48ebae27f577ccb077d8263c52f9a
+Size (liboauth-1.0.3.tar.gz) = 504950 bytes
+SHA1 (patch-aa) = 49b16044446c4531dc1a0b78c5f6ac2b6c659423
diff --git a/security/liboauth/patches/patch-aa b/security/liboauth/patches/patch-aa
index aaea842a4b8..894e1cccabc 100644
--- a/security/liboauth/patches/patch-aa
+++ b/security/liboauth/patches/patch-aa
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.1.1.1 2010/09/03 07:14:12 agc Exp $
+$NetBSD: patch-aa,v 1.2 2015/09/10 23:05:53 prlw1 Exp $
Remove some assumptions about the test(1) (sub)command
---- configure 2010/08/31 17:01:09 1.1
-+++ configure 2010/08/31 17:01:34
-@@ -12044,7 +12044,7 @@
+--- configure.orig 2013-03-09 10:22:58.000000000 +0000
++++ configure
+@@ -13113,7 +13113,7 @@ fi
report_curltimeout="-"
if test -n "${with_curltimeout}"; then
@@ -13,16 +13,25 @@ Remove some assumptions about the test(1) (sub)command
$as_echo "#define OAUTH_CURL_TIMEOUT 60" >>confdefs.h
report_curltimeout="60"
-@@ -12062,7 +12062,7 @@
+@@ -13131,7 +13131,7 @@ fi
--if test "${enable_nss}" == "yes"; then :
-+if test "${enable_nss}" = "yes"; then :
+-if test "${enable_builtinhash}" == "yes"; then :
++if test "${enable_builtinhash}" = "yes"; then :
+
+ $as_echo "#define USE_BUILTIN_HASH 1" >>confdefs.h
+ USE_BUILTIN_HASH=1
+@@ -13153,7 +13153,7 @@ $as_echo "$as_me:
+
+ else
+
+- if test "${enable_nss}" == "yes"; then :
++ if test "${enable_nss}" = "yes"; then :
pkg_failed=no
-@@ -12364,7 +12364,7 @@
+@@ -13451,7 +13451,7 @@ $as_echo "no" >&6; }
fi