Sun Sep 2 15:12:51 2012 UTC ()
Update to 1.23:

2012-09-01 Flickcurl Version 1.23 Released

   This release fully supports using Flickr via OAuth 1.0 and converting
   from the legacy Flickr authentication to OAuth. It supports both
   authentication flows but Flickr has deprecated the legacy
   authentication, so it might stop working at any time.

   Flickr [2]Legacy authentication flow with Flickcurl:
    1. The initial configuration needed is the API Key and Shared Secret,
       obtained from the [3]Flickr App Garden.
    2. Get the Authentication URL from the Flickr App Garden.
    3. Show the Authentication URL to the user who approves the app
       resulting in a user visible Frob.
    4. Authentication completes using flickcurl_auth_getFullToken() which
       exchanges the Frob for the final Auth Token.
    5. Optionally, the flickcurl(1) utility will store in the
       configuration file: auth_token, api_key and secret. Otherwise the
       application should do this.

   Flickr [4]Flickr OAuth 1.0 flow with Flickcurl:
    1. The initial configuration needed is the Client Key (API Key) and
       Client Secret (Shared Secret), obtained from the [5]Flickr App
       Garden.
    2. Authentication starts with a call to
       flickcurl_oauth_create_request_token() to get the Request Token and
       Request Token Secret.
    3. Get the Authentication URL using
       flickcurl_oauth_get_authorize_uri().
    4. Show the Authentication URL to the user who approves the app
       resulting in a user visible Verifier.
    5. Authentication completes using
       flickcurl_oauth_create_access_token() to exchange the request
       token, request token secret and verifier for the final Access Token
       and Access Token Secret.
    6. Optionally, the flickcurl(1) utility will store in the
       configuration file: oauth_token, oauth_token_secret,
       oauth_client_key and oauth_client_secret. Otherwise the application
       should do this.

   Added an API call to upgrade from the Flickr legacy authentication to
   OAuth 1.0. This revokes and deletes the legacy 'auth_token' and returns
   an OAuth Access Token and Access Token Secret pair which need to be
   saved.
    int flickcurl_auth_oauth_getAccessToken(flickcurl* fc)

   The upgrade can also be performed by using the oauth.upgrade command of
   the flickcurl(1) utility.

   Added new API calls to get and set OAuth parameters:
  const char* flickcurl_get_oauth_token(flickcurl *fc);
  void flickcurl_set_oauth_token(flickcurl *fc, const char* token);

  const char* flickcurl_get_oauth_token_secret(flickcurl* fc);
  void flickcurl_set_oauth_token_secret(flickcurl* fc, const char *secret);

  const char* flickcurl_get_oauth_client_key(flickcurl *fc);
  void flickcurl_set_oauth_client_key(flickcurl *fc, const char* client_key);

  const char* flickcurl_get_oauth_client_secret(flickcurl *fc);
  void flickcurl_set_oauth_client_secret(flickcurl *fc, const char* client_secre
t);

  const char* flickcurl_get_oauth_request_token(flickcurl* fc);
  void flickcurl_set_oauth_request_token(flickcurl *fc, const char* token);

  const char* flickcurl_get_oauth_request_token_secret(flickcurl* fc);
  void flickcurl_set_oauth_request_token_secret(flickcurl *fc, const char* secre
t);

   Added new API calls for performing the OAuth flow
  int flickcurl_oauth_create_request_token(flickcurl* fc, const char* callback);

  char* flickcurl_oauth_get_authorize_uri(flickcurl* fc);

  int flickcurl_oauth_create_access_token(flickcurl* fc, const char* verifier);

   In flickcurl_photos_setDates() actually send date_taken parameter. This
   fixes [6]GitHub issue 15

   Updated configure to use xml2-config(1) and curl-config(1) as well as
   pkg-config(1), for systems that do not ship with the pkg-config files,
   such as OSX 10.8.

   Fixed memory leak in flickcurl_build_persons() on loop exit (always)
   and on the error path.

   Fixed memory leak in flickcurl_build_photos() of string_value for tags.

   Updated flickcurl utility to handle the OAuth authentication flow with
   new commands oauth-create and oauth-verify, while still supporting
   legacy Flickr auth flow with the existing -a FROB form.

   Multiple internal changes in the construction of parameters to make the
   code more readable and handle the extra parameters needed by OAuth.

   Multiple internal changes for error path and leaks found by the LLVM
   [7]clang static code analyzer.

   Removed all strncpy, strcat and strcpy with counted memcpy.


(wiz)
diff -r1.5 -r1.6 pkgsrc/net/flickcurl/Makefile
diff -r1.2 -r1.3 pkgsrc/net/flickcurl/PLIST
diff -r1.3 -r1.4 pkgsrc/net/flickcurl/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/net/flickcurl/Makefile (expand / switch to unified diff)

--- pkgsrc/net/flickcurl/Makefile 2012/06/14 07:45:08 1.5
+++ pkgsrc/net/flickcurl/Makefile 2012/09/02 15:12:51 1.6
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.5 2012/06/14 07:45:08 sbd Exp $ 1# $NetBSD: Makefile,v 1.6 2012/09/02 15:12:51 wiz Exp $
2# 2#
3 3
4DISTNAME= flickcurl-1.22 4DISTNAME= flickcurl-1.23
5PKGREVISION= 2 
6CATEGORIES= net 5CATEGORIES= net
7MASTER_SITES= http://download.dajobe.org/flickcurl/ 6MASTER_SITES= http://download.dajobe.org/flickcurl/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://download.dajobe.org/flickcurl/ 9HOMEPAGE= http://download.dajobe.org/flickcurl/
11COMMENT= Flickr API library 10COMMENT= Flickr API library
12LICENSE= gnu-lgpl-v2.1 OR gnu-gpl-v2 OR apache-2.0 11LICENSE= gnu-lgpl-v2.1 OR gnu-gpl-v2 OR apache-2.0
13 12
14PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
15 14
16GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
17USE_LIBTOOL= yes 16USE_LIBTOOL= yes
18USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config

cvs diff -r1.2 -r1.3 pkgsrc/net/flickcurl/PLIST (expand / switch to unified diff)

--- pkgsrc/net/flickcurl/PLIST 2012/01/20 12:36:26 1.2
+++ pkgsrc/net/flickcurl/PLIST 2012/09/02 15:12:51 1.3
@@ -1,35 +1,42 @@ @@ -1,35 +1,42 @@
1@comment $NetBSD: PLIST,v 1.2 2012/01/20 12:36:26 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.3 2012/09/02 15:12:51 wiz Exp $
2bin/flickcurl 2bin/flickcurl
3bin/flickcurl-config 3bin/flickcurl-config
4bin/flickrdf 4bin/flickrdf
5include/flickcurl.h 5include/flickcurl.h
6lib/libflickcurl.la 6lib/libflickcurl.la
7lib/pkgconfig/flickcurl.pc 7lib/pkgconfig/flickcurl.pc
8man/man1/flickcurl-config.1 8man/man1/flickcurl-config.1
9man/man1/flickcurl.1 9man/man1/flickcurl.1
10man/man1/flickrdf.1 10man/man1/flickrdf.1
11share/gtk-doc/html/flickcurl/appgarden-commercial-picker.png 11share/gtk-doc/html/flickcurl/appgarden-commercial-picker.png
12share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow-mobile.png 12share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow-mobile.png
13share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow.png 13share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow.png
14share/gtk-doc/html/flickcurl/appgarden-get-your-api-key.png 14share/gtk-doc/html/flickcurl/appgarden-get-your-api-key.png
15share/gtk-doc/html/flickcurl/appgarden-mobile-auth-page.png 15share/gtk-doc/html/flickcurl/appgarden-mobile-auth-page.png
16share/gtk-doc/html/flickcurl/appgarden-new-api-key-secret.png 16share/gtk-doc/html/flickcurl/appgarden-new-api-key-secret.png
17share/gtk-doc/html/flickcurl/appgarden-tell-us-about-your-app.png 17share/gtk-doc/html/flickcurl/appgarden-tell-us-about-your-app.png
18share/gtk-doc/html/flickcurl/appgarden-test-app-page.png 18share/gtk-doc/html/flickcurl/appgarden-test-app-page.png
19share/gtk-doc/html/flickcurl/flickcurl-auth-authenticate.html 19share/gtk-doc/html/flickcurl/flickcurl-auth-authenticate.html
 20share/gtk-doc/html/flickcurl/flickcurl-auth-build.html
20share/gtk-doc/html/flickcurl/flickcurl-auth-register.html 21share/gtk-doc/html/flickcurl/flickcurl-auth-register.html
 22share/gtk-doc/html/flickcurl/flickcurl-auth-upgrade.html
21share/gtk-doc/html/flickcurl/flickcurl-auth-use.html 23share/gtk-doc/html/flickcurl/flickcurl-auth-use.html
22share/gtk-doc/html/flickcurl/flickcurl-auth.html 24share/gtk-doc/html/flickcurl/flickcurl-auth.html
 25share/gtk-doc/html/flickcurl/flickcurl-legacy-auth-authenticate.html
 26share/gtk-doc/html/flickcurl/flickcurl-legacy-auth-build.html
 27share/gtk-doc/html/flickcurl/flickcurl-legacy-auth-register.html
 28share/gtk-doc/html/flickcurl/flickcurl-legacy-auth-use.html
 29share/gtk-doc/html/flickcurl/flickcurl-legacy-auth.html
23share/gtk-doc/html/flickcurl/flickcurl-searching-search-example.html 30share/gtk-doc/html/flickcurl/flickcurl-searching-search-example.html
24share/gtk-doc/html/flickcurl/flickcurl-searching-search-extras.html 31share/gtk-doc/html/flickcurl/flickcurl-searching-search-extras.html
25share/gtk-doc/html/flickcurl/flickcurl-searching-search-paging.html 32share/gtk-doc/html/flickcurl/flickcurl-searching-search-paging.html
26share/gtk-doc/html/flickcurl/flickcurl-searching-search-parameters.html 33share/gtk-doc/html/flickcurl/flickcurl-searching-search-parameters.html
27share/gtk-doc/html/flickcurl/flickcurl-searching-search-result-formats.html 34share/gtk-doc/html/flickcurl/flickcurl-searching-search-result-formats.html
28share/gtk-doc/html/flickcurl/flickcurl-searching-search-results.html 35share/gtk-doc/html/flickcurl/flickcurl-searching-search-results.html
29share/gtk-doc/html/flickcurl/flickcurl-searching-search-run.html 36share/gtk-doc/html/flickcurl/flickcurl-searching-search-run.html
30share/gtk-doc/html/flickcurl/flickcurl-searching.html 37share/gtk-doc/html/flickcurl/flickcurl-searching.html
31share/gtk-doc/html/flickcurl/flickcurl-section-activity.html 38share/gtk-doc/html/flickcurl/flickcurl-section-activity.html
32share/gtk-doc/html/flickcurl/flickcurl-section-auth.html 39share/gtk-doc/html/flickcurl/flickcurl-section-auth.html
33share/gtk-doc/html/flickcurl/flickcurl-section-blogs.html 40share/gtk-doc/html/flickcurl/flickcurl-section-blogs.html
34share/gtk-doc/html/flickcurl/flickcurl-section-category.html 41share/gtk-doc/html/flickcurl/flickcurl-section-category.html
35share/gtk-doc/html/flickcurl/flickcurl-section-collections.html 42share/gtk-doc/html/flickcurl/flickcurl-section-collections.html

cvs diff -r1.3 -r1.4 pkgsrc/net/flickcurl/distinfo (expand / switch to unified diff)

--- pkgsrc/net/flickcurl/distinfo 2012/01/20 12:36:26 1.3
+++ pkgsrc/net/flickcurl/distinfo 2012/09/02 15:12:51 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2012/01/20 12:36:26 wiz Exp $ 1$NetBSD: distinfo,v 1.4 2012/09/02 15:12:51 wiz Exp $
2 2
3SHA1 (flickcurl-1.22.tar.gz) = 38f427262bc76c23ac4ab31ed4df6c6022c5d3ec 3SHA1 (flickcurl-1.23.tar.gz) = 56dd6ae8fad8dfa98b43ab9b3d3f623dada9b67b
4RMD160 (flickcurl-1.22.tar.gz) = 820e09983327738c6af34e7c5b7913b5d9acab42 4RMD160 (flickcurl-1.23.tar.gz) = 4f908f2c0cc2cfdf5f98062831a7cfc60547aec3
5Size (flickcurl-1.22.tar.gz) = 1821304 bytes 5Size (flickcurl-1.23.tar.gz) = 1847951 bytes