Hi,

An update to flickcurl to reflect recent changes on the flickr site.

Works i386.

OK?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/flickcurl/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile    11 Oct 2009 14:06:20 -0000      1.4
+++ Makefile    4 Jan 2010 23:02:31 -0000
@@ -2,10 +2,9 @@
 
 COMMENT =              flickr API library and utility
 
-DISTNAME =             flickcurl-1.14
-PKGNAME =              ${DISTNAME}p0
+DISTNAME =             flickcurl-1.15
 
-SHARED_LIBS +=         flickcurl   1.0      # .1.0
+SHARED_LIBS +=         flickcurl       2.0
 CATEGORIES =           net
 
 HOMEPAGE =             http://librdf.org/flickcurl/
@@ -32,10 +31,5 @@ LIB_DEPENDS =                curl.>=10::net/curl \
 
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS =       ${CONFIGURE_SHARED} --with-raptor
-
-post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flickcurl
-       ${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
-               ${PREFIX}/share/doc/flickcurl
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/flickcurl/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo    9 Oct 2009 16:09:31 -0000       1.2
+++ distinfo    4 Jan 2010 23:02:31 -0000
@@ -1,5 +1,5 @@
-MD5 (flickcurl-1.14.tar.gz) = 2wfIyIAUcHLljMZ0VA2DhA==
-RMD160 (flickcurl-1.14.tar.gz) = vqWVz5hb8KCmeF6TKoETqFYtyk0=
-SHA1 (flickcurl-1.14.tar.gz) = ZiXbIf97dqnhdHs8L2CilZn9lDc=
-SHA256 (flickcurl-1.14.tar.gz) = AnuSW6GFTNVyizSKrkzDdy4E9cOxudW2L41KnJymb/Y=
-SIZE (flickcurl-1.14.tar.gz) = 745082
+MD5 (flickcurl-1.15.tar.gz) = lhfqfNHUz5GzLrZKS7FIOQ==
+RMD160 (flickcurl-1.15.tar.gz) = UKadQugCSi3mys//b6oiswyObhI=
+SHA1 (flickcurl-1.15.tar.gz) = tO0K0OiU0LsbxmUWXECTtP7tb9c=
+SHA256 (flickcurl-1.15.tar.gz) = /2VnLbEpSq84d6yssPx73rGjWVqhKoWrVJ7JGnICtMA=
+SIZE (flickcurl-1.15.tar.gz) = 1646702
Index: files/README.OpenBSD
===================================================================
RCS file: files/README.OpenBSD
diff -N files/README.OpenBSD
--- files/README.OpenBSD        9 Oct 2009 16:09:31 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-$OpenBSD: README.OpenBSD,v 1.2 2009/10/09 16:09:31 steven Exp $
-
-You will need to have a ~/.flickcurl.conf .
-
-1. Get an API key if you don't already have one.
-
-Go to http://www.flickr.com/services/api/keys/ and obtain a "mobile" app
-key You will be give an "api key", "shared secret" and an
-authentication URL.
-
-2. Create a ~/.flickcurl.conf file. For example:
-
-[flickr]
-api_key=<your api key>
-secret=<your shared secret>
-
-3. Get a frob
-Visit your authentication url in a web browser to get a "frob".
-
-4. Exchange the frob for an authentication token
-
-flickcurl -a <your frob>
-
-flickcurl will save the token in your config file. 
Index: patches/patch-utils_flickcurl_c
===================================================================
RCS file: patches/patch-utils_flickcurl_c
diff -N patches/patch-utils_flickcurl_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-utils_flickcurl_c     4 Jan 2010 23:02:31 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Patch from git to make flickcurl generate correct configs.
+
+--- utils/flickcurl.c.orig     Mon Jan  4 22:37:37 2010
++++ utils/flickcurl.c  Mon Jan  4 22:38:22 2010
+@@ -4575,11 +4575,11 @@ main(int argc, char *argv[]) 
+                     program, config_path, strerror(errno));
+             rc = 1;
+           } else {
+-            fputs("[flickr]\nauth_token = ", fh);
++            fputs("[flickr]\nauth_token=", fh);
+             fputs(flickcurl_get_auth_token(fc), fh);
+-            fputs("\napi_key = ", fh);
++            fputs("\napi_key=", fh);
+             fputs(flickcurl_get_api_key(fc), fh);
+-            fputs("\nsecret = ", fh);
++            fputs("\nsecret=", fh);
+             fputs(flickcurl_get_shared_secret(fc), fh);
+             fputs("\n", fh);
+             fclose(fh);
Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- pkg/MESSAGE 11 Dec 2008 22:35:42 -0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-See ${PREFIX}/share/doc/flickcurl/README.OpenBSD for information on how
-to set up flickcurl for usage on OpenBSD.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/flickcurl/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -r1.2 PLIST
--- pkg/PLIST   9 Oct 2009 16:09:31 -0000       1.2
+++ pkg/PLIST   4 Jan 2010 23:02:31 -0000
@@ -12,10 +12,16 @@ lib/pkgconfig/flickcurl.pc
 @man man/man1/flickcurl.1
 @man man/man1/flickrdf.1
 share/doc/flickcurl/
-share/doc/flickcurl/README.OpenBSD
 share/gtk-doc/
 share/gtk-doc/html/
 share/gtk-doc/html/flickcurl/
+share/gtk-doc/html/flickcurl/appgarden-commercial-picker.png
+share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow-mobile.png
+share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow.png
+share/gtk-doc/html/flickcurl/appgarden-get-your-api-key.png
+share/gtk-doc/html/flickcurl/appgarden-new-api-key-secret.png
+share/gtk-doc/html/flickcurl/appgarden-tell-us-about-your-app.png
+share/gtk-doc/html/flickcurl/appgarden-test-app-page.png
 share/gtk-doc/html/flickcurl/flickcurl-auth-authenticate.html
 share/gtk-doc/html/flickcurl/flickcurl-auth-register.html
 share/gtk-doc/html/flickcurl/flickcurl-auth-use.html

Reply via email to