Your message dated Wed, 10 Feb 2021 19:18:18 +0000
with message-id <[email protected]>
and subject line Bug#919631: fixed in dsniff 2.4b1+debian-30
has caused the Debian Bug report #919631,
regarding dsniff patches change libdir, misplacing config files
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.)


-- 
919631: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919631
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dsniff
Version: 2.4b1+debian-29
Severity: minor

The Debian patch 35_Add_CPPFLAGS.patch, here for reference:

  
https://salsa.debian.org/pkg-security-team/dsniff/blob/debian/master/debian/patches/35_Add_CPPFLAGS.patch

with this as the original, it seems:

  
https://salsa.debian.org/pkg-security-team/dsniff/blob/51bae4fcbaec532409e0c8a1bed7c450cca57d2b/debian/patches/34_Add_CPPFLAGS.patch

...changes Makefile.in's libdir from $(prefix)/share/dsniff to @libdir@,
among other things.

That 'libdir' does not do what one would expect: it is the destination
path for some config files, specifically dnsspoof.hosts, dsniff.magic,
and dsniff.services, _not_ for shared libraries.  So currently those
config files get put into /usr/lib/x86_64-linux-gnu/ or similar.

Ironically, patch 20_debian_dirs.patch sets libdir to
$(prefix)/share/dsniff, so this particular hunk of 35 undoes that.

I'd suggest changing back to $(prefix)/share/dsniff, and renaming libdir
to avoid confusion; perhaps use 'sharedir' so that it doesn't get
accidentally fixed again in the future.  Below is a patch that does
that.

Note, I'm not actually a Debian user; I encountered this when working to
borrow Debian's patches to dsniff for OpenSSL 1.1.x compatibility for
Gentoo (thanks!), and found the config files had moved.  There may be
some line number fuzz in the below as a result.


diff -urP dsniff-2.4.orig/Makefile.in dsniff-2.4/Makefile.in
--- dsniff-2.4.orig/Makefile.in 2019-01-17 16:11:25.546048937 -0700
+++ dsniff-2.4/Makefile.in      2019-01-17 16:56:37.218243360 -0700
@@ -11,12 +11,12 @@
 install_prefix  =
 prefix          = @prefix@
 exec_prefix    = @exec_prefix@
-libdir         = @libdir@
+sharedir       = $(prefix)/share/dsniff
 sbindir         = @sbindir@
 mandir         = @mandir@
 
 CC     = @CC@
-CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(libdir)/\"
+CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(sharedir)/\"
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS        = @LDFLAGS@
 
@@ -157,10 +157,10 @@
        for file in $(PROGS); do \
           $(INSTALL_PROGRAM) -m 755 $$file $(install_prefix)$(sbindir); \
        done
-       test -d $(install_prefix)$(libdir) || \
-          $(INSTALL) -d $(install_prefix)$(libdir)
+       test -d $(install_prefix)$(sharedir) || \
+          $(INSTALL) -d $(install_prefix)$(sharedir)
        for file in $(CONFIGS); do \
-          $(INSTALL_DATA) $$file $(install_prefix)$(libdir); \
+          $(INSTALL_DATA) $$file $(install_prefix)$(sharedir); \
        done
        test -d $(install_prefix)$(mandir)/man8 || \
           $(INSTALL) -d $(install_prefix)$(mandir)/man8

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: dsniff
Source-Version: 2.4b1+debian-30
Done: Marcos Fouces <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dsniff, 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.
Marcos Fouces <[email protected]> (supplier of updated dsniff 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: Wed, 10 Feb 2021 18:26:44 +0100
Source: dsniff
Architecture: source
Version: 2.4b1+debian-30
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Marcos Fouces <[email protected]>
Closes: 919631 980588
Changes:
 dsniff (2.4b1+debian-30) unstable; urgency=medium
 .
   [ Samuel Henrique ]
   * Add salsa-ci.yml
   * Configure git-buildpackage for Debian
 .
   [ Deb Janitor ]
   * Use secure URI in Homepage field.
   * Set debhelper-compat version in Build-Depends.
   * Fix day-of-week for changelog entries 2.4b1-10, 2.4b1-3.6, 2.4b1-3.5.
 .
   [ Marcos Fouces ]
   * Bump to debhelper-compat 12.
   * Add Rules-Requires-Root: no in control file.
   * Bump to Standards-Version 4.5.0
   * Add modified 37_fix-lib-and-share-dirs.patch (Closes: #919631).
   * Remove -Wl,--as-needed linker flags as they are no more needed
     with Bullseye toolchain.
   * Update uploader email to @debian.org.
   * Add 38_fix-pcap_init.patch (Closes: #980588)
   * Bump to debhelper-compat level 13.
   * Bump to Standards-Version 4.5.1 (no changes required).
   * Build against libtirpc as a separate library.
Checksums-Sha1:
 386d8615daaea72e69c31fde5d0361a44a301783 2085 dsniff_2.4b1+debian-30.dsc
 9db02f3e69e4bebd1d3317ac94dda68221819c4e 30788 
dsniff_2.4b1+debian-30.debian.tar.xz
 32e63e3197e54d0f2b9812b005bf7d9bbf0f75b3 6909 
dsniff_2.4b1+debian-30_source.buildinfo
Checksums-Sha256:
 de6f61dc23def66fd0c6096b0f21e2b7091f13ef0d315951d549d5a222f6f996 2085 
dsniff_2.4b1+debian-30.dsc
 5fcdcc4525e1b4c2aa0208a8543024735bc07096ff1ee6f895eee4e2cf453144 30788 
dsniff_2.4b1+debian-30.debian.tar.xz
 495156c01f307fb31ef283bb0fa8179cbe33c835ba4b3a48371bd829bdb78484 6909 
dsniff_2.4b1+debian-30_source.buildinfo
Files:
 066d201ec5fa1e3dc836392f853878f4 2085 net optional dsniff_2.4b1+debian-30.dsc
 bc9b09b8e0d050e12eb97ef0c782843e 30788 net optional 
dsniff_2.4b1+debian-30.debian.tar.xz
 5fea051a54f6aeb775ad15c8f31e48df 6909 net optional 
dsniff_2.4b1+debian-30_source.buildinfo

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

iQIzBAEBCgAdFiEEfLiv/VYDL+NaNH0uasy9D6O3RHwFAmAkLPoACgkQasy9D6O3
RHwB1xAAkuq7ixShb00R/wTpIqDpJJZPOguTdMkiOm453WtpwbuYL1cmhdbYkinR
TrDQiTMm8skz9Pm020BFpqjfMamhwUR2vTCkd9SxiLtG46qz4eFupYx+rdLGXDjk
r2vjvLX1FTktQ35BphOr2ZqnqYVsrVXNwQvrRVtz9Dev+2TdGdp6tUy0ckO9DoSO
bLGyxYpdjgtuXghKhpCQVIEfSAWE9y2ug8g55CpVqDZ3ANUczTXvOpCP466sbgmS
OIe3+yrp/3lSw14jFQjZRDAq4ijbc+H+QJzelfVUde8WTgb/5a8m8Fd4FvQ+RLfJ
poIuOK0G3pNpMaUtzhIshOFE1sTpu4VKLWNNVrfKu7h7FHoWXPDtXB3CjMZCV/Ri
IPwYF2Mfl+tRyBarRgA8zpJVjCbdI3bEbo/eQ9VJVnvL2DBIFJPohQ514BJL6ZSY
98XDCqPNXKYmOxX4cNcneP0pZdf/roibPLmYcfyxJbqC0LpI87AWrr35w9SwtAob
/icrhXxiFu2miqbX9+VX7tqiydgLgYU+eIzCVlwC31eoaBsRMJU8jOtu5spwb4pm
P72NovKC0keQMCfwRZy/kpflz4JAz7rr5BuZAi8QHpNaudyCOBrihLdjfwS7WB1c
V0E/0+eroUx3LyPuxCh6t1DwgTtw/ZdxzWNvx1U2r3OINYqVEOw=
=ofzJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to