Bug#873243: pkg-kde-tools: pkgkde-vcs tag do not handle distribution names
Package: pkg-kde-tools
Version: 0.15.24
Severity: normal
Control: tag -1 +patch
Hey,
i actually uploading the fixes for jessie and stretch for CVE-2017-9604.
#869573
#869574
#869577
and therefor I have in the distribution field stretch/jessie and this is
not handled.
$pkgkde-vcs tag -s
pkgkde-vcs: fatal: invalid Debian distribution for tagging - stretch
or
$pkgkde-vcs tag -s
pkgkde-vcs: fatal: invalid Debian distribution for tagging - jessie
My fast patch:
--- /tmp/pkgkde-vcs 2017-08-25 20:29:09.000000000 +0200
+++ /usr/bin/pkgkde-vcs 2017-08-25 20:28:33.574350984 +0200
@@ -153,7 +153,7 @@
{
local distro
test -n "$1" || distro="$DEB_DISTRIBUTION"
- if [ "$(expr match "$distro" '^\(\(stable\|testing\)\(-security\|-proposed-updates\)\|\(squeeze\|wheezy\|\)-backports\|stable\|unstable\|experimental\)$')" = "$distro" ]; then
+ if [ "$(expr match "$distro" '^\(\(stable\|testing\)\(-security\|-proposed-updates\)\|\(squeeze\|wheezy\|stretch\|jessie\)-backports\|stable\|unstable\|experimental\|stretch\|jessie\)$')" = "$distro" ]; then
return 0
fi
return 1
Best Regards,
sandro
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pkg-kde-tools depends on:
ii libdpkg-perl 1.18.24
ii perl 5.26.0-5
ii python3 3.5.3-3
Versions of packages pkg-kde-tools recommends:
ii dpkg-dev 1.18.24
ii libwww-perl 6.15-2
Versions of packages pkg-kde-tools suggests:
ii cdbs 0.4.152
ii debhelper 10.7.2
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/bin/pkgkde-vcs (from pkg-kde-tools package)
Reply to: