Your message dated Sat, 22 Apr 2017 14:48:46 +0000
with message-id <[email protected]>
and subject line Bug#662946: fixed in equivs 2.0.10~exp1
has caused the Debian Bug report #662946,
regarding equivs: does not strip subdirectories from files to be installed
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.)


-- 
662946: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662946
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: equivs
Version: 2.0.9
Severity: normal
Tags: patch

For example, if I have a control file with

  Files: src/some_program /bin

equivs installs /bin/src/some_program instead of /bin/some_program.

Apologies if this is intentional behaviour, but it was unexpected, not
to mention quite inconvenient. :)

Here is a patch which uses basename to fix the install path:

--- /usr/bin/equivs-build       2011-09-30 07:22:24.000000000 +0100
+++ /tmp/equivs-build   2012-03-07 13:27:50.315122421 +0000
@@ -67,7 +67,7 @@
 for (split "\n", $control{'Files'} || "") {
     die "Cannot parse Files line: '$_'\n"
         unless m:^\s*(\S+)\s+(\S+)/?\s*$:;
-    $install_files{"$2/$1"} = $1;
+    $install_files{"$2/".basename($1)} = $1;
 }
 my %create_files = ();
 for (@{$control{'File'} || []}) {

Thanks in advance for your consideration.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages equivs depends on:
ii  debhelper  9.20120115
ii  dpkg-dev   1.16.1.2
ii  fakeroot   1.18.2-1
ii  make       3.81-8.1
ii  perl       5.14.2-9

equivs recommends no packages.

equivs suggests no packages.

-- no debconf information

-- 
http://rjy.org.uk/



--- End Message ---
--- Begin Message ---
Source: equivs
Source-Version: 2.0.10~exp1

We believe that the bug you reported is fixed in the latest version of
equivs, 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.
Roger Shimizu <[email protected]> (supplier of updated equivs 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: SHA512

Format: 1.8
Date: Fri, 21 Apr 2017 19:20:01 +0900
Source: equivs
Binary: equivs
Architecture: source
Version: 2.0.10~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Roger Shimizu <[email protected]>
Description:
 equivs     - Circumvent Debian package dependencies
Closes: 662946 679101 724608 786714
Changes:
 equivs (2.0.10~exp1) experimental; urgency=medium
 .
   * QA upload. (See: #852223)
   * Strip subdirectories before installing file listed in "Files:".
     Thanks to RjY <[email protected]> and
     Euan Thoms <[email protected]>. (Closes: #662946)
   * Fix that equivs-build doesn't work if & is part of PWD.
     Thanks to Martin Mrazik and era eriksson <[email protected]>.
     (Closes: #679101) (LP: #881153, #1016402)
   * debian/README.Debian:
     - Fix references. Thanks to Regid Ichira <[email protected]>
       (Closes: #724608)
   * debian/rules:
     - Thanks to Reiner Herrmann <[email protected]>, this package should be
       reproducible now. (Closes: #786714)
   * debian/copyright:
     - Make DEP5 copyright
   * debian/{control,compat}
     - Bump debhelper compat level to 9 (no change required).
   * Bump versions in template (no change required):
     - standard version to 3.9.8
     - debhelper compat level to 9
     - source version to 3.0 (quilt)
   * debian/control:
     - Bump stardard version to 3.9.8 (no change required)
     - Set Maintainer as "Debian QA Group <[email protected]>"
       This is the first time to do QA upload for this package.
   * debian/source/format:
     - Bump to 3.0 (native).
Checksums-Sha1:
 431671216091efb10819deb6979f13a7194c22d1 1525 equivs_2.0.10~exp1.dsc
 a0d5cba078a5d8b2c44b853a201de2301d9bf162 19592 equivs_2.0.10~exp1.tar.xz
Checksums-Sha256:
 f28b5f29ae2901bd44c00ad06bd5f446c838e85412fd919ef946ec1d7a3ad9a4 1525 
equivs_2.0.10~exp1.dsc
 199d32390fc8288c7a061ee20fcd22b21489f1a503b0882871cb9ea7f6496182 19592 
equivs_2.0.10~exp1.tar.xz
Files:
 f64c8c9af4fe8f865b205bacf3f02904 1525 admin extra equivs_2.0.10~exp1.dsc
 8a8a2c96d10db7d7a3a9a3e82e9ad75d 19592 admin extra equivs_2.0.10~exp1.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlj7XkQACgkQaVt65L8G
YkD7Ig//R8eP6NAlHS+82ZKgQarZU6qH7VktqBQQe9Tfdn97jLykLufC55Khc/tG
tgSngsK2HvXMToFpGM1jfT0KFGCnhKg1WnhQ5v6NRSnnz+kbFG7QVmy1REENjCba
4CAeVsB5ACbUbQUQMY9ta4IHXL8El0OXjtL3KtdaaFkEVmruKUVsQPlbC11BFATX
JzvnT+3n0Ot/372QgnZ5jPEkUP9yKVm1PKcbYw4wuG/uybSdssi0SqO9irobOxSw
cjTyfnujjTdG5mVVJUyB1+Aa88UBUjyHQOpx9HrKMZthP6G4oOP4NN5xE1DPTmLk
n3Jexi4ZRbraeB47IE43UETvGHASx21ISX5Ei1PS8KlAW/cPNKlVw1HxsQ61gwFY
S70lt9520h72sk/hRRE9XOL53VFad61rOzTz+VNFHBKeaxeCUV6Vc3HoKS9pnqEF
iKkEclNdgnvVhaANg1Ih3v+9cy+k3TKp3DyhXGY/W3DwGhQ3/FbilviDiL6qnw76
pIdix0QtnAvILE5SVY5d4f/AcN46y8St9/i8N1ytL5yatmZyoLp6hwoUBfFOxtxf
3/NP7xd6XviwMt/0rUXEoEY+awy3ZDT0LjuMFqkIB5NB78acVQmd2x0Fu9XJgUAF
eNng2UaW9XJlKh/FQmtCarL/bMmIhKXSdYa/rDRvvIqswvrpD7c=
=st1k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to