Your message dated Fri, 11 Feb 2011 03:47:19 +0000
with message-id <[email protected]>
and subject line Bug#535556: fixed in vcheck 1.2.1-7
has caused the Debian Bug report #535556,
regarding vcheck: Permit to use PLACEHOLDERS in prog.dldir
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.)
--
535556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vcheck
Severity: wishlist
Tags: patch
Version: 1.2.1-6
Hello,
I provide a little patch to permit the use of PLACEHOLDER in prog.dldir.
* vcheck: use File::Path::mkpath.
Remove validate on dldir.
Substitute PLACEHOLDERS in prog.dldir.
Create directory if it does not exist.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30+hati.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
=== modified file 'vcheck'
--- vcheck 2009-07-01 16:42:49 +0000
+++ vcheck 2009-07-03 09:25:37 +0000
@@ -120,6 +120,7 @@
require HTTP::Request;
use Fcntl ':flock';
use File::Basename;
+use File::Path qw{mkpath};
#-----8<--------------------------------------------------------------------
@@ -702,13 +703,6 @@
},
dldir => {
type => 'string',
- validate => sub {
- if (m#^/#) {
- return (-d && -w && -x) ? 0 : 'Directory not accessible/writable'
- } else {
- return 'Not an absolute path'
- }
- },
help => "absolute path of a directory where to put d/l'ed files"
},
dlexec => {
@@ -819,13 +813,6 @@
},
dldir => {
type => 'string',
- validate => sub {
- if (m#^/#) {
- return (-d && -w && -x) ? 0 : 'Directory not accessible/writable'
- } else {
- return 0 # can't check presence lacking global $dldir value
- }
- },
help => "d/l directory (absolute, or relative to global \$dldir)"
},
dlexec => {
@@ -1284,6 +1271,9 @@
}
}
}
+ if (exists $data{$name}{'dldir'}) {
+ $data{$name}{'dldir'} = &substitute_vers($data{$name}{'dldir'}, \@vers);
+ }
}
&save_data();
@@ -1297,6 +1287,9 @@
"$data{$_[0]}{dldir}/" :
($config{dldir} ? "$config{dldir}/" . (exists $data{$_[0]}{dldir} ?
"$data{$_[0]}{dldir}/" : '') : ''));
+ if (! -d $of) {
+ mkpath($of, {mode => 0750});
+ }
if (length $of && !(-d $of && -w $of && -x $of)) {
eprint "--> §YSkipping§N, since §Rspecified `dldir' doesn't exist§N.\n";
next
pgpU1zwCxDDJg.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: vcheck
Source-Version: 1.2.1-7
We believe that the bug you reported is fixed in the latest version of
vcheck, which is due to be installed in the Debian FTP archive:
vcheck_1.2.1-7.debian.tar.gz
to main/v/vcheck/vcheck_1.2.1-7.debian.tar.gz
vcheck_1.2.1-7.dsc
to main/v/vcheck/vcheck_1.2.1-7.dsc
vcheck_1.2.1-7_all.deb
to main/v/vcheck/vcheck_1.2.1-7_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.
Dario Minnucci <[email protected]> (supplier of updated vcheck 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: Fri, 11 Feb 2011 04:21:00 +0100
Source: vcheck
Binary: vcheck
Architecture: source all
Version: 1.2.1-7
Distribution: unstable
Urgency: low
Maintainer: Dario Minnucci <[email protected]>
Changed-By: Dario Minnucci <[email protected]>
Description:
vcheck - Utility to check and download the most recent program version
Closes: 535556
Changes:
vcheck (1.2.1-7) unstable; urgency=low
.
* Hosted under git.debian.org (collab-main branch):
- http://git.debian.org/?p=collab-maint/vcheck.git
* debian/control:
- Maintainer: Email address updated.
- Added Vcs-Git and Vcs-Browser fields
- Updated debhelper dependency to (>= 7.0.50~)
- Added missing dependency on ${misc:Depends}
- Bump Standards-Version to 3.9.1:
- Drop dependency on dpatch
- Switch to dpkg-source 3.0 (quilt) format
* debian/rules:
- Replaced by the 'magic' debian/rules file.
* debian/patches:
- Added 02-prog-dldir-placeholder.diff (Closes:#535556)
* debian/copyright:
- Adapted to DEP5 (see: http://dep.debian.net/deps/dep5/)
Checksums-Sha1:
786894e78f47fe79cfbd5fb42dc9caee1ad40a23 1806 vcheck_1.2.1-7.dsc
12d4bb71e617315ec1842b97251a555afc05c715 52273 vcheck_1.2.1-7.debian.tar.gz
bf6a4c7fd401f8e389bca1f59619b57c58ce3a13 51784 vcheck_1.2.1-7_all.deb
Checksums-Sha256:
0244da57a54c2f6c0bd3b9bd68374001e5ce0d899ea68f51632a93af7fb4267d 1806
vcheck_1.2.1-7.dsc
c1a7292ecd68a70652c3b658de510257360aa82cca9ebb343aed0401eef2f98f 52273
vcheck_1.2.1-7.debian.tar.gz
1a3d238623d5614632329662c5dd8b16e1ca43e0cbe3450365935efca78458be 51784
vcheck_1.2.1-7_all.deb
Files:
79067862a7897380b0bf3e171a0d92ef 1806 utils optional vcheck_1.2.1-7.dsc
6915a02cf660195054016b72aec71f9d 52273 utils optional
vcheck_1.2.1-7.debian.tar.gz
0c53411364a244a26ce0787fdd74a7b4 51784 utils optional vcheck_1.2.1-7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJNVK45AAoJEKgvu4Pz1XAzSBsQALsg64EJ/JuC4JKJMiFwfdx7
ijWqXHIz39xzFo2RuNEcESYvmT0ExeN41mNTO387voa5xzOGRzd1/ZA8urdmXGhm
csF86fm2Hcq7V+Zt0UhfS9dxCkhF8sejAin9JbkETi55wji1Wr60nsv0qBRN9qvG
SCVrVpNY3Mw4oMOqxbIByWEIAIPRqw7F8rlwQ+uvH0XuP4QZuepL52NO9qaoRXsC
YcZSA+B4f9sAY5+q0WRi520mewJioyC86Lvg6Knao6WVtgIJCnkPweyLThIbAktv
eVwpq67ZU2AlnJ7INiSCkQkuDUvEU0kR6IWurEsVwWFMht448pxiQsBu3xvmpdXI
vL3XFP9B3p+O7taHgPVJD5tmDTye1iW94qHJXkRU8rPMsldqjTYeTt3V+3Stvj6X
yM9y2M3XdetdK5B7IJL2TpuMCXBi25I1mM6qM6mdIh8vgDoZAfDfUgc8zl7+p5ek
08yy5XKuzpE7G6+qCkw9rNGsnL/64iSPriKeZG6fyznwqhVH7poaooKdrTHatePE
rxDLEcqo7irBUy6vgxGU0n6rFMyIAqxyBwyMoz5+CqY/DRHE7QPOAZZi+gKzN2x/
jqf+aGCfOR7Z1z3FX+kYrsW97M8ErIyPVYY5X2C6YcPRywrUMAowkmJmmH+mpTqn
07ppnVcfheoxArRGuVph
=Ihv0
-----END PGP SIGNATURE-----
--- End Message ---