Bug#984934: equivs: equiv-controls bash script is missing quotes around a path variable

Armin Kisand it-d at nziger.de
Wed Mar 10 15:22:22 GMT 2021


Package: equivs
Version: 2.2.0
Severity: normal

Dear Maintainer,

   * What led up to the situation?
I want to package a single file into a .deb package and looked into the
equivs-control file (which is basically just `cp`), and found that it
does not quote the $1 argument (should be `cp ... "$1"`).
Consequently, running

  mkdir "/tmp/a b" && equivs-control "$_"

fails ("cp: target 'b' is not a directory"). Maybe equivs-control is not
supposed to work on paths with spaces, but that should probably then be
added as a comment.

-- System Information:
Debian Release: 10.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-0.bpo.5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages equivs depends on:
ii  debhelper  12.1.1
ii  dpkg-dev   1.19.7
ii  fakeroot   1.23-1
ii  make       4.2.1-1.2
ii  perl       5.28.1-6+deb10u1

equivs recommends no packages.

equivs suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list