[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753694: wheezy-pu: package libflickr-api-perl/1.01-3+deb7u1



Package: release.debian.org
Severity: normal
Tags: wheezy
User: release.debian.org@packages.debian.org
Usertags: pu

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I've prepared an update for libflickr-api-perl for the upcoming point
release, as a fix for RC bug #753522:

Changelog:

#v+
  * Update Flickr API URLs in lib/Flickr/API.pm.

    Flickr changed their API URLs from http://www.flickr.com to
    https://api.flickr.com.

    Backport this change in lib/Flickr/API.pm and test.pl from upstream
    releases 1.05 (www -> api) and 1.09 (http -> https).

    Thanks to Lars Hansen and Paul L for the respective bug reports.
    (Closes: #753522) (LP: #1317464)
#v-

The changes are in a quilt patch which only changes the URLs in the
module and the test.

Full debdiff (well, git diff) attached.


Cheers,
gregor

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJrBAEBCgBVBQJTtpIjThSAAAAAAB0AKGlzc3Vlci1mcHJAZ3BnLmNvbW9kby5w
cml2LmF0RDFFMTMxNkU5M0E3NjBBODEwNEQ4NUZBQkIzQTY4MDE4NjQ5QUEwNgAK
CRC7OmgBhkmqBg6ID/4kXlwrZSIdqOy0IrBRw3uTnjUBaccRF23eyOiyqC9x/5ss
QS6JHHEZu9dBWa+zTyPc15hT/0SzwLQldxHUsgbu6I5cOQi8L8k1RuQQPWw+yf9F
YEj5IVEaZo0TTxlc36HEDBFcE7h2eKth0Hcqnznyc25pOzmuQArH3pBH/5xrn6wV
FtMqrrvka0q3kok3qMOad5YYVyoI1tHRxJOj1mXQZMuYR+JnJ5HGl8zkMapmcIBR
vwjO+amAYRd+8Gz7pZgoWNTawurk4yjD8T39ap6vEUWpdUwzQibqpTyuTK+Dx1mn
k/bwIpjysxvfznCgcUZsWWxzhGk++O3p2+wzqccsoBis6P9R7YWX6lIT2HgWltQQ
+54iTO2WhUZUpEatpyHH+0qSopSP9TtDvsDZUANxqKIUnz7EZ3OtQkj0sR54mkNj
nWKbazx/3iBhv4i4lV5rF61jmvAn6FZZdyoXgj/orZtQy6NcXK6CR/znEpeopte9
Yd3E5OgFGh62Sxxq39dlW8H5E6bU+MVugBfkLlwCLUbNxzTFi956kKkGhf5Kk6xV
ybtNvG19sWflr4m9wNpGGlkhUpDNU1JY6WEJw58VZwYhcGnWOQHv6i1ZyYiEwGQl
9ihye/WuS7gj79KqkbQsBinZlrSXMSocVSuA1J1KiAAKurq6QvWQnaM9O6GZNA==
=aJZs
-----END PGP SIGNATURE-----
diff --git a/debian/changelog b/debian/changelog
index 61aaaaa..ad31e2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+libflickr-api-perl (1.01-3+deb7u1) UNRELEASED; urgency=medium
+
+  * Update Flickr API URLs in lib/Flickr/API.pm.
+
+    Flickr changed their API URLs from http://www.flickr.com to
+    https://api.flickr.com.
+
+    Backport this change in lib/Flickr/API.pm and test.pl from upstream
+    releases 1.05 (www -> api) and 1.09 (http -> https).
+
+    Thanks to Lars Hansen and Paul L for the respective bug reports.
+    (Closes: #753522) (LP: #1317464)
+
+ -- gregor herrmann <gregoa@debian.org>  Fri, 04 Jul 2014 13:28:55 +0200
+
 libflickr-api-perl (1.01-3) unstable; urgency=low
 
   * Drop patch should_query_for_tags_not_elements, breaks with newer
diff --git a/debian/patches/flickr-api-urls.patch b/debian/patches/flickr-api-urls.patch
new file mode 100644
index 0000000..a519a0d
--- /dev/null
+++ b/debian/patches/flickr-api-urls.patch
@@ -0,0 +1,34 @@
+Description: Update Flickr API URLs.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/753522
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+bug/1317464
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2014-07-04
+Applied-Upstream: fixed in 1.09
+
+--- a/lib/Flickr/API.pm
++++ b/lib/Flickr/API.pm
+@@ -18,8 +18,8 @@
+ 	my $self = new LWP::UserAgent;
+ 	$self->{api_key}	= $options->{key};
+ 	$self->{api_secret}	= $options->{secret};
+-	$self->{rest_uri}	= $options->{rest_uri} || 'http://www.flickr.com/services/rest/';
+-	$self->{auth_uri}	= $options->{auth_uri} || 'http://www.flickr.com/services/auth/';
++	$self->{rest_uri}	= $options->{rest_uri} || 'https://api.flickr.com/services/rest/';
++	$self->{auth_uri}	= $options->{auth_uri} || 'https://api.flickr.com/services/auth/';
+ 
+ 	eval {
+ 		require Compress::Zlib;
+--- a/test.pl
++++ b/test.pl
+@@ -81,8 +81,8 @@
+ }
+ 
+ ok($uri->path eq '/services/auth/', "Checking correct return path");
+-ok($uri->host eq 'www.flickr.com', "Checking return domain");
+-ok($uri->scheme eq 'http', "Checking return protocol");
++ok($uri->host eq 'api.flickr.com', "Checking return domain");
++ok($uri->scheme eq 'https', "Checking return protocol");
+ 
+ 
+ ##################################################
diff --git a/debian/patches/series b/debian/patches/series
index d49b4f5..05c4b35 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 test-no-internet
+flickr-api-urls.patch

Reply to: