Package: debmirror
Version: 1:2.10
Severity: wishlist
Tags: patch

Debmirror fails to connect, when trying to sync
from a HTTP mirror, that needs authentication (implementented
via .htaccess for example). I guess the Debian KDE Team isn't the only
group, that uses repositories, that requiere authentication, for
testing purposes.

However, this can easily be fixed by using the exisiting --user --passwd
paramaters.
Applying this little patch and updating the documentation/manpages
should fix this issue.


---patch---

$ diff /var/tmp/debmirror_orig /usr/bin/debmirror
1578c1578,1583
<   my $url="http://${host}/${remoteroot}/${file}";;
---
>   my $url = '';
>   if ($user eq 'anonymous'){
>       $url="http://${host}/${remoteroot}/${file}";;
>   } else { 
>       $url="http://${user}:${passwd}\@${host}/${remoteroot}/${file}";;
>   }

------

Best regards

-- 
eshat cakar
web: www.eshat.de                       gpg-id: 799B 95D5



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to