commit 26a4532dcb73f91bdaa96dd6adbddacea162b486
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Wed Feb 26 13:38:57 2014 +0100

    Drop ancient mysql 5.1 checking url. Add mysql CDN handling support.

 pldnotify.awk | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index 4438f60..3b64774 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -256,9 +256,10 @@ function get_links(url,filename,   
errno,link,oneline,retval,odp,wholeodp,lowero
                url = "http://pecl.php.net/package/"; filename
                d("pecl.php.net url, mungled url to: " url)
 
-       } else if (url ~ /^(http|ftp):\/\/mysql.*\/Downloads\/MySQL-5.1\//) {
-               url = "http://dev.mysql.com/downloads/mysql/5.1.html#source";
-               d("mysql 5.1 url, mungled url to: " url)
+       } else if (url ~/http:\/\/cdn.mysql.com\//) {
+               gsub("http:\/\/cdn.mysql.com\/", "", url)
+               url = "http://vesta.informatik.rwth-aachen.de/mysql/"; url
+               d("mysql CDN, mungled url to: " url)
 
        } else if (url ~ /^(http|https):\/\/launchpad\.net\/(.*)\//) {
                gsub("^(http|https):\/\/launchpad\.net\/", "", url)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/26a4532dcb73f91bdaa96dd6adbddacea162b486

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to