pkgsrc/security/liboauth/patches/patch-aa
prlw1 256d5631e6 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
2015-09-10 23:05:53 +00:00

42 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.2 2015/09/10 23:05:53 prlw1 Exp $
Remove some assumptions about the test(1) (sub)command
--- configure.orig 2013-03-09 10:22:58.000000000 +0000
+++ configure
@@ -13113,7 +13113,7 @@ fi
report_curltimeout="-"
if test -n "${with_curltimeout}"; then
- if test "${with_curltimeout}" == "yes"; then
+ if test "${with_curltimeout}" = "yes"; then
$as_echo "#define OAUTH_CURL_TIMEOUT 60" >>confdefs.h
report_curltimeout="60"
@@ -13131,7 +13131,7 @@ fi
-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
@@ -13451,7 +13451,7 @@ $as_echo "no" >&6; }
fi
-if test "$PERL" == "no"; then
+if test "$PERL" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dude, where's your perl? doxygen will not like this!)" >&5
$as_echo "$as_me: WARNING: dude, where's your perl? doxygen will not like this!)" >&2;}
fi