Your message dated Sat, 17 Feb 2018 23:51:09 +0000
with message-id <[email protected]>
and subject line Bug#874676: fixed in vdr 2.3.8-2
has caused the Debian Bug report #874676,
regarding Deal with upstream naming in debianize-vdrplugin
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.)
--
874676: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874676
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vdr-dev
Version: 2.2.0-6
Severity: minor
Tags: patch
The script debianize-vdrplugin expects the plugin's source directory to
be named <PLUGIN-NAME>-<VERSION>. Many plugin authors and package
maintainers don't follow that convention. Other directory names result
in an invalid plugin name used when dh_make is run by the script.
The script also does not report an error when it can't identify an
upstream tarball. A missing upstream tarball causes dh_make to fail.
Since the call to dh_make is hardwired into the script, it is not
possible to use dh_make's options -f or --createorig.
The attached patch lets debianize-vdrplugin handle source directories
named [vdr-][plugin-]<PLUGIN-NAME>-<VERSION> and exit with an
explanation if the upstream tarball is not found.
Cheers,
Malte
--- /usr/bin/debianize-vdrplugin 2016-06-06 19:04:57.000000000 +0200
+++ debianize-vdrplugin 2017-09-08 10:42:43.126021000 +0200
@@ -2,20 +2,22 @@
detect_plugin_name()
{
- local PATTERN='.*\/\(.*\)-\([0-9][0-9a-zA-Z+.~-]*\)$'
- if pwd | grep -q -E ".*\/.*-[0-9][0-9a-zA-Z+.~-]*$" ; then
- PLUGIN=`pwd | sed "s/$PATTERN/\1/"`
- VERSION=`pwd | sed "s/$PATTERN/\2/"`
+ local pattern='.*/(?:vdr-)?(?:plugin-)?([^/]*)-(\d[\da-zA-Z+.~-]*)$'
+ if pwd | grep -q -P "$pattern"; then
+ PLUGIN=`pwd | perl -lpe "s|$pattern|\1|"`
+ VERSION=`pwd | perl -lpe "s|$pattern|\2|"`
else
- echo "debianize-vdrplugin expects the upstream sources to be extracted
in a"
- echo "directory named: <PLUGIN-NAME>-<VERSION>"
- echo
- echo "e.g.: coolplugin-0.0.1"
- echo
- echo "The upsteam tarball should be named:
vdr-<PLUGIN-NAME>-<VERSION>.tar.gz"
- echo
- echo "e.g.: vdr-coolplugin-0.0.1.tar.gz"
+ echo "debianize-vdrplugin expects to be executed in the directory
containing"
+ echo "the upstream sources. That directory should be named"
+ echo " [vdr-][plugin-]<PLUGIN-NAME>-<VERSION>,"
+ echo " e.g. vdr-plugin-coolplugin-0.0.1"
+ echo " or vdr-coolplugin-0.0.1"
+ echo " or plugin-coolplugin-0.0.1"
+ echo " or coolplugin-0.0.1"
echo
+ echo "The upsteam tarball should be named"
+ echo " [vdr-][plugin-]<PLUGIN-NAME>-<VERSION>.tar.gz,"
+ echo " e.g. vdr-coolplugin-0.0.1.tar.gz"
exit 1
fi
}
@@ -34,6 +36,9 @@
ln -sf `basename $tarball` $ORIGTARBALL
return
done
+
+ echo "The upstream tarball was not found!"
+ exit 1
}
check_dh_make()
--- End Message ---
--- Begin Message ---
Source: vdr
Source-Version: 2.3.8-2
We believe that the bug you reported is fixed in the latest version of
vdr, which is due to be installed in the Debian FTP archive.
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.
Tobias Grimm <[email protected]> (supplier of updated vdr 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: Sun, 18 Feb 2018 00:21:34 +0100
Source: vdr
Binary: vdr vdr-dev vdr-plugin-examples
Architecture: source amd64
Version: 2.3.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian VDR Team <[email protected]>
Changed-By: Tobias Grimm <[email protected]>
Description:
vdr - Video Disk Recorder for DVB cards
vdr-dev - Video Disk Recorder for DVB cards
vdr-plugin-examples - Plugins for vdr to show some possible features
Closes: 873522 874676 877032
Changes:
vdr (2.3.8-2) unstable; urgency=medium
.
[ Malte Forkel ]
* Support different upstream tarball naming schemes in debianize-vdr-plugin
script (Closes: #874676)
.
[ Rui Branco ]
* Updated Portuguese debconf translation (Closes: #873522)
.
[ Tobias Grimm ]
* Log an error message when skincures can't initialize the screen
(Closes: #877032)
* Standards-Version: 4.1.2
* Priority: optional
* Don't set standard SVDRP port to 0
* Droppes systemd.patch - fixed upstream
* VCS moved to salsa.debian.org
Checksums-Sha1:
688e8b7e97d8a343e1284fb0c586fc53fce731cb 2197 vdr_2.3.8-2.dsc
5f2fac66a6bbaa1ff53bcc34cc348cf5e4f70464 930583 vdr_2.3.8.orig.tar.bz2
468c7fd9d20b51d2523de306aaff3ccf54d42805 50625 vdr_2.3.8-2.debian.tar.bz2
665f631f3ce2f59f2f1d3a8c817dba5e03a8b50d 1819160 vdr-dbgsym_2.3.8-2_amd64.deb
e614baf2d94e51849cab4c3d22dad7929b24b200 406384 vdr-dev_2.3.8-2_amd64.deb
730514626b5e878e8810389bd4735c4eec955321 165068
vdr-plugin-examples-dbgsym_2.3.8-2_amd64.deb
ef0986d84e1577124a391a708a50e91b24ffb090 248700
vdr-plugin-examples_2.3.8-2_amd64.deb
5eab4c33fbdbdae0a0a6391d1c1ce965d597d9f8 7416 vdr_2.3.8-2_amd64.buildinfo
3f51ce84e8d082c9cebc88fb0f0a1c8c23180148 1101188 vdr_2.3.8-2_amd64.deb
Checksums-Sha256:
8366b3ffd016d2c0e54d424a5950abf02d4c75d6adf656196a77dea2324745fb 2197
vdr_2.3.8-2.dsc
d871170ee90ef2fc6293eefb44262b82b2e1f00f934681c721da7bd30e45bf22 930583
vdr_2.3.8.orig.tar.bz2
9e1413081cc2e719da45470a4a2aa10eab382eed38814d7f09982f137fa759cf 50625
vdr_2.3.8-2.debian.tar.bz2
e183b48fb7aa39ba6d27425e038fd4965ce4a1a567d00d6dd59ccb1c317e50c0 1819160
vdr-dbgsym_2.3.8-2_amd64.deb
726fb714ca8778bd7348973aa36fcff015dafa749924c17f752c16fd14585936 406384
vdr-dev_2.3.8-2_amd64.deb
2ad7b34a2db81ff3d7dd78e5079d956cff8f4adc7d6329267072b277c8c42532 165068
vdr-plugin-examples-dbgsym_2.3.8-2_amd64.deb
d8c707fc9b3c0fdf4e36146cb391fad70e35dafe58cebc1ae0652eaf4b1f8cc0 248700
vdr-plugin-examples_2.3.8-2_amd64.deb
7762c7d1fe7de69072e684843d1aef29e41b39926cc3a418bb86c428860c52fc 7416
vdr_2.3.8-2_amd64.buildinfo
55a9d8e46fe54c120967c794b3b611cf709cbe82a0bc996629707a4977a4b986 1101188
vdr_2.3.8-2_amd64.deb
Files:
13bc6c0cda6844b40e23e920939b8b61 2197 video optional vdr_2.3.8-2.dsc
2afe8b899b3af1967320c216c1315f3e 930583 video optional vdr_2.3.8.orig.tar.bz2
b8f68a1da652b23879d3c5e950a32651 50625 video optional
vdr_2.3.8-2.debian.tar.bz2
0ca4ffe0c3fbcd2ca7127fff9ce698d8 1819160 debug optional
vdr-dbgsym_2.3.8-2_amd64.deb
5527c6db7426a2bcba499bb119e3bc2e 406384 video optional
vdr-dev_2.3.8-2_amd64.deb
eee8132cc6fe54cd72e974961c8cc3bf 165068 debug optional
vdr-plugin-examples-dbgsym_2.3.8-2_amd64.deb
8021f089b31fec11c5bb4e9e48ee415b 248700 video optional
vdr-plugin-examples_2.3.8-2_amd64.deb
7eb3bfd6e6d2ebed1a61729a78ccda54 7416 video optional
vdr_2.3.8-2_amd64.buildinfo
aee5d9a7aa84cdc089edc036a5accabf 1101188 video optional vdr_2.3.8-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEV6STX5IhiI/eNxSi1i5PWwQTkLwFAlqIuh0ACgkQ1i5PWwQT
kLw/4xAAibf5IgD09P9KfrJES+vwvF5P8yxbQuMovalPkTLaDejJEnkpiBeaJXPN
tJL7szMorKJ92AqNwt5jrJS4AMetTOsz3U46iTJfCwhsnHVXRiyaqW26AICGzdHn
oRKH+9HYpfvSuuw5+PGHOFnnNhlZ+wZy+QIEtQcr/+aZrKf0y39EBZLB1t6791+H
bSBJZl/vri9xx7WjG+8w+xHxH6sD58uZCPoRRs6iV7+vCwiy2C72Gg7w9/1P3zbJ
WOWXItR6gNz2pdoyd/4fQR00mguGi0EdhceHv6dW9qS6AVTg79YvKwdkJGW4SV3S
aC8/5Y+4xeUCdXiS2cFK3d0VAPK4aQpvUF57K1ci8EMBiq83I4+u4aXXW+p6Lq0u
07on8WTh2/QcKpqSZvj8WWqj4GkvsNyqZ8s6+D+DL5ob80cGwPKH7R+uT8Q1K56E
Ye7puVAjYm7Sov3WNYWiJ3aatuZeLiTT/VPL51hwrkZ0SGC/hsvuMdgSBjNx3u42
SuqlON60I6sF9pYHzdCJaQR/IeLhMYKYYzGvDzT3AuwCMQtyh7vB8TZ0noq88D4h
OSjYaLDXRMEVpUI+F/HXBljAYw9mfsU8rQjjc5EKbMFViSYc4KAkxXpnzt8PsbQL
QwfDXOxLn0o/fxBsoTPRFVHCjAaFQhQ9aw18bfMDUYZC4SZCXQg=
=bl9k
-----END PGP SIGNATURE-----
--- End Message ---