SPECS: adapter.awk - new sf urls

glen glen at pld-linux.org
Mon Nov 27 00:32:46 CET 2006


Author: glen                         Date: Sun Nov 26 23:32:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new sf urls

---- Files affected:
SPECS:
   adapter.awk (1.332 -> 1.333) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.332 SPECS/adapter.awk:1.333
--- SPECS/adapter.awk:1.332	Sun Nov 26 16:51:16 2006
+++ SPECS/adapter.awk	Mon Nov 27 00:32:41 2006
@@ -888,8 +888,12 @@
 		$2 = fixedsub(filename, url[n], $2)
 
 		# sourceforge urls
+		sub("[?&]big_mirror=.*$", "", $2);
+		sub("[?&]modtime=.*$", "", $2);
+
 		sub("[?]use_mirror=.*$", "", $2);
 		sub("[?]download$", "", $2);
+
 		sub("^http://prdownloads\.sourceforge\.net/", "http://dl.sourceforge.net/", $2)
 		sub("^http://download\.sf\.net/", "http://dl.sourceforge.net/", $2)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.332&r2=1.333&f=u



More information about the pld-cvs-commit mailing list