Package: netselect-apt
Version: 0.3.ds1-23
Severity: grave
Tags: patch
Justification: renders package unusable

Netselect-apt fails to parse newest mirrors list with rel="nofollow" in href
links.
Attached patch which tweaks the relevant regexp restored normal functionality.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netselect-apt depends on:
ii  netselect  0.3.ds1-23
ii  wget       1.13.4-2

Versions of packages netselect-apt recommends:
ii  curl  7.24.0-1

Versions of packages netselect-apt suggests:
ii  dpkg-dev  1.16.2

-- no debconf information
--- /usr/bin/netselect-apt	2012-03-01 15:52:16.000000000 -0800
+++ /tmp/netselect-apt	2012-04-06 23:48:15.034113515 -0700
@@ -183,7 +183,7 @@
 				next if $_ !~ /Site:/;
 				if( ( /Includes architectures:.+'"$arch"'.+/i ||
 						$_ !~ /Includes architectures:/ ) &&
-						m@<br>'"$SEARCH"':.*<a href="('"$PROTO"'://.*?)">@i && $my_country == 1
+						m@<br>'"$SEARCH"':.*<a.*?href="('"$PROTO"'://.*?)">@i && $my_country == 1
 					){
 					print("$1\n");
 				}}')

Reply via email to