Your message dated Tue, 26 Jun 2012 23:47:27 +0000
with message-id <[email protected]>
and subject line Bug#638295: fixed in debmirror 1:2.14
has caused the Debian Bug report #638295,
regarding debmirror: support alternative configuration files
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
638295: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638295
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debmirror
Version: 1:2.9
Severity: wishlist
Tags: patch
with the attached patch you can specify a configuration file by
exporting DEBMIRRORCONF.
Stefan
diff --git a/debmirror b/debmirror
index 0c50a2f..a36f4ca 100755
--- a/debmirror
+++ b/debmirror
@@ -493,7 +493,8 @@ excluding the section 'debug' and the package 'foo-doc':
~/.debmirror.conf
Debmirror will look for the presence of these files and load them
- in the indicated order if they exist.
+ in the indicated order if they exist. If you specify a configuration
+ file by exporting DEBMIRRORCONF, these files are not loaded.
See the example in /usr/share/doc/debmirror/examples for syntax.
~/.gnupg/trustedkeys.gpg
@@ -579,8 +580,13 @@ my $HOME;
($HOME = $ENV{'HOME'}) or die "HOME not defined in environment!\n";
# Load in config files
-require "/etc/debmirror.conf" if -r "/etc/debmirror.conf";
-require "$HOME/.debmirror.conf" if -r "$HOME/.debmirror.conf";
+my $conf;
+if ($conf = $ENV{'DEBMIRRORCONF'}) {
+ require "$conf" if -r "$conf" or die "Error reading configuration file $conf";
+} else {
+ require "/etc/debmirror.conf" if -r "/etc/debmirror.conf";
+ require "$HOME/.debmirror.conf" if -r "$HOME/.debmirror.conf";
+}
# This hash contains the releases to mirror. If both codename and suite can be
# determined from the Release file, the codename is used in the key. If not,
--- End Message ---
--- Begin Message ---
Source: debmirror
Source-Version: 1:2.14
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_2.14.dsc
to main/d/debmirror/debmirror_2.14.dsc
debmirror_2.14.tar.gz
to main/d/debmirror/debmirror_2.14.tar.gz
debmirror_2.14_all.deb
to main/d/debmirror/debmirror_2.14_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.
Joey Hess <[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: SHA256
Format: 1.8
Date: Tue, 26 Jun 2012 19:29:31 -0400
Source: debmirror
Binary: debmirror
Architecture: source all
Version: 1:2.14
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
debmirror - Debian partial mirror script, with ftp and package pool support
Closes: 638295 676219
Changes:
debmirror (1:2.14) unstable; urgency=low
.
* Add --config-file option.
Closes: #638295. Thanks, Stefan Kisdaroczi and Matthias Schmitz.
* Do not crash on i18n/Index with --debmarshal
Closes: #676219. Thanks, Frank Luithle
Checksums-Sha1:
4d07d74f5278760ff454ab54f07c855f4b9263ae 1495 debmirror_2.14.dsc
52e41bbb749361e2a979ef5f6f0b6575bbacc642 49108 debmirror_2.14.tar.gz
6b5f44c02e626d3d0d04ddf618681df8cff6f97a 51980 debmirror_2.14_all.deb
Checksums-Sha256:
6039141794910071b62197cc5ddb5c2692c33f41b350d214958f3c6ec03e7a26 1495
debmirror_2.14.dsc
2b727439030bf75c4f5188985c5b1f851caa22ec66420a287fa486682769064d 49108
debmirror_2.14.tar.gz
5bea4013e69f12c2129591c90790dca2da3a87dbf8ad97fc2377ba07da7aea1c 51980
debmirror_2.14_all.deb
Files:
ec1b92eed6a0eecf0d649da0f07e410f 1495 net extra debmirror_2.14.dsc
7ee91a31207911cb7a2697b9d811504c 49108 net extra debmirror_2.14.tar.gz
d3d9f1e9d5ba7d243ccc5db0dfb7b499 51980 net extra debmirror_2.14_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIVAwUBT+pGA8kQ2SIlEuPHAQg26g/+Mr9EobPqNoKQkksFD9oNmCJ4XBghoB7D
5LwkIVcH7QPagY7rKtyREYhFWn8bWUmTXIrpwnghYE36NR0Kgk4VzFdTj94IWRAo
MwQPlzwl/x0r/FXtwkDT2WnPjp/lKu1/9zakL593ks62ffgdZj6tLMZaiQOvlsBQ
1scJs29Mubp4bjt3LrGg6Ov3CwZVTEU/vAiTJWpZtY2uMJENE7lLOOgmHEAlWI3I
DvuC+gl7A/X3u8kQQ1Yf0fGP/B2uvB4jhU34f6EBDug+Mwvew1Xg7tF++Bj+ZDkT
VVwZO9vSG+YJ1y1I7Zh3uQW2CBJ0RiNBRWidbjDbRmcYAxx5bnRT1f5uiAZDsyzj
e2G+Q4lkFLXF3jS/TP6vRALB7g69zXoKz7I0WnytyO8sa+mV/2h+Ozfv9zUZFfwl
4bF6Quu89eqXV4jiDby8VJ74tDo7hitwiQ73UpztoFicq1LnKn+zzmfxUkej+/xt
FE4xX3EaFqshgpRKmrkizSVz98vBe/H1eWkq16NFgq6iSBmgqaj7z1ROeTfWIZRE
ojgPyJF4OlCtytO4ajuD3WJj1D5E+/rSuH+UlLsSqe1eX9x+CoJoUlsfudB5XeZd
e1d1lCn8g9nsJIaEP07RSGf+ZSgpBhSc+ZyFEYxjyaUTn5dG7NS+rjH9Mos6i9Vw
IpqXrewHmVA=
=Uyhd
-----END PGP SIGNATURE-----
--- End Message ---