Your message dated Fri, 08 Sep 2006 14:17:56 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#360453: fixed in debmirror 20060907 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: debmirror Version: 20051209 Severity: wishlist Tags: patch Having an debian mirror on an protected ftp server (I need to login with user and password), here is a patch which implements this. Greetings, peter Baumann *** ftp-password.patch diff --git a/debmirror b/debmirror index bd51e6a..a3abf6a 100755 --- a/debmirror +++ b/debmirror @@ -53,7 +53,8 @@ sub usage { warn <<EOF; Usage: $0 [--debug] [--progress] [--verbose] [--source|--nosource] [--md5sums] [--passive] [--host=remotehost] - [--user=remoteusername] [--method=ftp|hftp|http|rsync] + [--user=remoteusername] [--passwd=remoteuserpassword ] + [--method=ftp|hftp|http|rsync] [--timeout=seconds] [--root=directory] [--dist=foo[,bar,..] ...] [--section=foo[,bar,..] ...] [--arch=foo[,bar,..] ...] [--skippackages] [--getcontents] @@ -123,6 +124,11 @@ you are strongly encouraged to find a cl Specify the remote user name to use to log to the remote host. Helpful when dealing with brain damaged proxy servers. Defaults to anonymous. +=item --passwd=remoteuserpassword + +Specify the remote user password to use to log into the remote ftp host. +It is used with --user and defaults to [EMAIL PROTECTED] + =item --method=ftp|hftp|http|rsync -e Specify the method to download files. Currently, supported methods are @@ -369,6 +375,7 @@ our $post_cleanup=0; our $do_source=1; our $host="ftp.debian.org"; our $user="anonymous"; +our $passwd="anonymous@"; our $remoteroot="/debian"; our $download_method="ftp"; our $timeout=300; @@ -408,6 +415,7 @@ GetOptions('debug' => \$debug, 'passive!' => \$passive, 'host|h=s' => \$host, 'user|u=s' => \$user, + 'passwd=s' => \$passwd, 'root|r=s' => \$remoteroot, 'dist|d=s' => [EMAIL PROTECTED], 'section|s=s' => [EMAIL PROTECTED], @@ -451,7 +459,7 @@ my $mirrordir=shift or usage("mirrordir # Display configuration. $|=1 if $debug; -say("Mirroring to $mirrordir from $download_method://$user:$host/$remoteroot/"); +say("Mirroring to $mirrordir from $download_method://[EMAIL PROTECTED]/$remoteroot/"); say("Arches: ".join(",", @arches)); say("Dists: ".join(",", @dists)); say("Sections: ".join(",", @sections)); @@ -535,7 +543,7 @@ sub init_connection { /^ftp$/ && do { $ftp=Net::FTP->new($host, %opts) or die "[EMAIL PROTECTED]"; - $ftp->login($user) or die "login failed"; # anonymous + $ftp->login($user, $passwd) or die "login failed"; $ftp->binary or die "could not set binary mode"; $ftp->cwd($remoteroot) or die "cwd to $remoteroot failed"; $ftp->hash(*STDOUT,102400) if $progress; -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-k7 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages debmirror depends on: ii bzip2 1.0.3-2 high-quality block-sorting file co ii libcompress-zlib-perl 1.41-1 Perl module for creation and manip ii liblockfile-simple-perl 0.2.5-7 Simple advisory file locking ii libwww-perl 5.805-1 WWW client/server library for Perl ii perl [libdigest-md5-perl] 5.8.8-3 Larry Wall's Practical Extraction ii perl-modules [libnet-perl] 5.8.8-3 Core Perl modules ii rsync 2.6.7-1 fast remote file copy program (lik Versions of packages debmirror recommends: ii gnupg 1.4.2.2-1 GNU privacy guard - a free PGP rep -- no debconf information
--- End Message ---
--- Begin Message ---Source: debmirror Source-Version: 20060907 We believe that the bug you reported is fixed in the latest version of debmirror, which is due to be installed in the Debian FTP archive: debmirror_20060907.dsc to pool/main/d/debmirror/debmirror_20060907.dsc debmirror_20060907.tar.gz to pool/main/d/debmirror/debmirror_20060907.tar.gz debmirror_20060907_all.deb to pool/main/d/debmirror/debmirror_20060907_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Goswin von Brederlow <[EMAIL PROTECTED]> (supplier of updated debmirror package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thu, 7 Sep 2006 15:36:47 +0200 Source: debmirror Binary: debmirror Architecture: source all Version: 20060907 Distribution: unstable Urgency: low Maintainer: Goswin von Brederlow <[EMAIL PROTECTED]> Changed-By: Goswin von Brederlow <[EMAIL PROTECTED]> Description: debmirror - Debian partial mirror script, with ftp and package pool support Closes: 294974 295423 299342 316528 316529 322714 349856 360451 360453 362561 366855 369061 376495 382271 Changes: debmirror (20060907) unstable; urgency=low . * Merge pdiff patch by Peter Colberg <[EMAIL PROTECTED]> (Closes: #366855) * Add --pdiff-mode option * Add rsync patch by Peter Colberg <[EMAIL PROTECTED]> (Closes: #299342) * Disable caching for Release and Release.gpg (Closes: #376495) * Default to --postcleanup (Closes: #295423) * Print ftp hashes to stdout (Closes: #349856) (Patch by Bastian Kleineidam <[EMAIL PROTECTED]>) * Fix typo found by Luca Bruno <[EMAIL PROTECTED]> (Closes: #362561) * Implement ftp authentication with user/passwd (Closes: #360453) (Patch by Peter Baumann <[EMAIL PROTECTED]>) * Skip Index files that don't exist locally nor in Release Obsoletes other ideas from the BTS (Closes: #369061, #360451, #382271) * Fail immediately if the signature cannot be verified (Closes: #316528) * Show gpg error message on failure (Closes: #316529) * Skip gpg test if --ignore-release-gpg is specified (Closes: #322714) * Re-add --skippackages (Closes: #294974) Files: 69f4052ca9e1e5d726918abc1cdb3951 494 net extra debmirror_20060907.dsc 6cd62de01209f934afb576162893ff77 23805 net extra debmirror_20060907.tar.gz 77593ed9dbc5282d93fa2c6f7721f420 29744 net extra debmirror_20060907_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFAb6f01u8mbx9AgoRAg+3AJ0flieytv/ZQZqn9jD3e9K/+9w4XQCfTk3b SyagzsmXyL/WkwvCmAiQOkk= =VXpc -----END PGP SIGNATURE-----
--- End Message ---

