packages: adapter.awk - updated
glen
glen at pld-linux.org
Sun Dec 26 19:30:46 CET 2010
Author: glen Date: Sun Dec 26 18:30:46 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated
---- Files affected:
packages:
adapter.awk (1.477 -> 1.478)
---- Diffs:
================================================================
Index: packages/adapter.awk
diff -u packages/adapter.awk:1.477 packages/adapter.awk:1.478
--- packages/adapter.awk:1.477 Tue Dec 7 14:08:08 2010
+++ packages/adapter.awk Sun Dec 26 19:30:41 2010
@@ -1664,6 +1664,9 @@
# sourceforge urls
# Docs about sourceforge mirror system: http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors
+ # TODO: SF unify: http://downloads.sourceforge.net/PROJECT/TARBALL
+
+ # 1. unify domains
sub("^http://prdownloads\.sourceforge\.net/", "http://downloads.sourceforge.net/", url)
sub("^http://download\.sf\.net/", "http://downloads.sourceforge.net/", url)
sub("^http://download\.sourceforge\.net/", "http://downloads.sourceforge.net/", url)
@@ -1671,11 +1674,15 @@
sub("^http://.*\.dl\.sourceforge\.net/", "http://downloads.sourceforge.net/", url)
sub("^http://dl\.sf\.net/", "http://downloads.sourceforge.net/", url)
sub("^http://downloads\.sourceforge\.net/sourceforge/", "http://downloads.sourceforge.net/", url)
+
+ # 2. special hacks
# new style urls, strip "files/" between and prepend dl.
if (match(url, "^http://sourceforge.net/projects/[^/]+/files/")) {
url = substr(url, 1, RLENGTH - length("files/")) substr(url, RSTART + RLENGTH);
sub("^http://sourceforge.net/projects/", "http://downloads.sourceforge.net/project/", url);
}
+
+ # 3. unify urls
if (url ~ /sourceforge.net/) {
sub("[?&]big_mirror=.*$", "", url);
sub("[?&]modtime=.*$", "", url);
@@ -1963,6 +1970,8 @@
# fedora / redhat
sub(/^Django$/, "python-django", $2);
sub(/^GitPython$/, "python-git", $2);
+ sub(/^PyQt4-devel$/, "python-PyQt4-devel", $2);
+ sub(/^PyQwt-devel$/, "python-PyQwt-devel", $2);
sub(/^chkconfig$/, "/sbin/chkconfig", $2);
sub(/^db4-devel$/, "db-devel", $2);
sub(/^dbus-python$/, "python-dbus", $2);
@@ -1993,10 +2002,14 @@
sub(/^python-imaging$/, "python-PIL", $2);
sub(/^python-imaging-tk$/, "python-PIL-tk", $2);
sub(/^python-pygtk$/, "python-pygtk-gtk", $2);
+ sub(/^python-twisted-core$/, "python-TwistedCore", $2);
+ sub(/^python-twisted-names$/, "python-TwistedNames", $2);
sub(/^python2-devel$/, "python-devel", $2);
sub(/^qt4-devel$/, "qt4-build", $2);
+ sub(/^qt4-webkit-devel$/, "QtWebKit-devel", $2);
sub(/^qtlockedfile-devel$/, "QtLockedFile-devel", $2);
sub(/^rpm-python$/, "python-rpm", $2);
+ sub(/^sip-devel$/, "python-sip-devel", $2);
sub(/^tftp-server$/, "tftpdaemon", $2);
sub(/^tkinter$/, "python-tkinter", $2);
sub(/^xapian-bindings-python$/, "python-xapian", $2);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adapter.awk?r1=1.477&r2=1.478&f=u
More information about the pld-cvs-commit
mailing list