Your message dated Fri, 03 Oct 2014 09:19:47 +0000
with message-id <[email protected]>
and subject line Bug#763693: fixed in dnsmasq 2.72-2
has caused the Debian Bug report #763693,
regarding dnsmasq: FTBFS[kfreebsd]: missing strlcpy
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.)


-- 
763693: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763693
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dnsmasq
Version: 2.72-1
Severity: serious
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

dnsmasq FTBFS on kfreebsd, because it builds some code to use FreeBSD
PF, which also uses strlcpy, which is only found in FreeBSD libc.

For Debian GNU/kFreeBSD it is possible to get this function from libbsd;
patch attached!

Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru dnsmasq-2.72.orig/debian/control dnsmasq-2.72/debian/control
--- dnsmasq-2.72.orig/debian/control	2014-10-01 21:57:13.000000000 +0100
+++ dnsmasq-2.72/debian/control	2014-10-01 22:07:34.489734195 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Build-depends: gettext, libnetfilter-conntrack-dev [linux-any],
                libidn11-dev, libdbus-1-dev (>=0.61), libgmp-dev, 
-               nettle-dev (>=2.4-3)
+               nettle-dev (>=2.4-3), libbsd-dev [!linux-any]
 Maintainer: Simon Kelley <[email protected]>
 Standards-Version: 3.9.5
 
diff -Nru dnsmasq-2.72.orig/debian/rules dnsmasq-2.72/debian/rules
--- dnsmasq-2.72.orig/debian/rules	2014-10-01 21:57:13.000000000 +0100
+++ dnsmasq-2.72/debian/rules	2014-10-01 22:05:34.282734624 +0100
@@ -83,6 +83,11 @@
      DEB_COPTS += -DHAVE_DNSSEC
 endif
 
+ifneq ($(DEB_BUILD_ARCH_OS),linux)
+     # For strlcpy
+     LDFLAGS += -lbsd
+endif
+
 clean:
 	$(checkdir)
 	rm -rf debian/daemon debian/base debian/utils debian/*~ debian/files debian/substvars debian/utils-substvars
diff -Nru dnsmasq-2.72.orig/src/tables.c dnsmasq-2.72/src/tables.c
--- dnsmasq-2.72.orig/src/tables.c	2014-10-01 22:05:38.761734000 +0100
+++ dnsmasq-2.72/src/tables.c	2014-10-01 22:06:03.831679913 +0100
@@ -19,6 +19,9 @@
 #include "dnsmasq.h"
 
 #if defined(HAVE_IPSET) && defined(HAVE_BSD_NETWORK)
+#ifndef __FreeBSD__
+#include <bsd/string.h>
+#endif
 
 #include <sys/types.h>
 #include <sys/ioctl.h>

--- End Message ---
--- Begin Message ---
Source: dnsmasq
Source-Version: 2.72-2

We believe that the bug you reported is fixed in the latest version of
dnsmasq, 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.
Simon Kelley <[email protected]> (supplier of updated dnsmasq 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: Thu, 02 Oct 2014 22:34:12 +0000
Source: dnsmasq
Binary: dnsmasq dnsmasq-base dnsmasq-utils
Architecture: source amd64 all
Version: 2.72-2
Distribution: unstable
Urgency: low
Maintainer: Simon Kelley <[email protected]>
Changed-By: Simon Kelley <[email protected]>
Description:
 dnsmasq    - Small caching DNS proxy and DHCP/TFTP server
 dnsmasq-base - Small caching DNS proxy and DHCP/TFTP server
 dnsmasq-utils - Utilities for manipulating DHCP leases
Closes: 763693
Changes:
 dnsmasq (2.72-2) unstable; urgency=low
 .
    * Fix build in Debian-kFreeBSD. (closes: #763693)
Checksums-Sha1:
 1fa11ce8d2415d43a81f3f4dd44cef13305efbc6 1862 dnsmasq_2.72-2.dsc
 ce917115bfcb1837cd9df91d4524b58e4180e0a2 21857 dnsmasq_2.72-2.diff.gz
 ea8cd20aa2096eaf315d1b4ddf3183a8193cd08f 401794 dnsmasq-base_2.72-2_amd64.deb
 7e658e4da04f3411a9eb19a52780cc73c22b556a 18716 dnsmasq-utils_2.72-2_amd64.deb
 5a5c5291d569e22f335dad73732a37393ebaa45f 15894 dnsmasq_2.72-2_all.deb
Checksums-Sha256:
 8d679349875042445bdd199feef9c946da6cd1a773795957e62c899eb89b3d73 1862 
dnsmasq_2.72-2.dsc
 9b486e353964957af0de26c7fd6bd0a4b86375aa3ec0456c03b3ca326c0b9bfd 21857 
dnsmasq_2.72-2.diff.gz
 5c569a469ef43215ff8de000c1fb043a4a363ec61719d9ed3bc11dbd334c4662 401794 
dnsmasq-base_2.72-2_amd64.deb
 a2c08875a3bdfbbdf03353ac06a5f2a58835995a3b73f0fe3d38d07c228ef0ae 18716 
dnsmasq-utils_2.72-2_amd64.deb
 bae8cb15d4673e36cc7011e3260bfebb6b691725bdb51d340b3b820d5c61dbb3 15894 
dnsmasq_2.72-2_all.deb
Files:
 64f9e89ba0f3870c6eb91b09d28784f6 401794 net optional 
dnsmasq-base_2.72-2_amd64.deb
 6b30843542c9a75eaa6417e50f778ba6 18716 net optional 
dnsmasq-utils_2.72-2_amd64.deb
 0fe9181999968ff6dc7b3adbb1314db7 15894 net optional dnsmasq_2.72-2_all.deb
 aa59828fbc04ecddf690835f18ded4ca 1862 net optional dnsmasq_2.72-2.dsc
 95294dfb7ad03f11c8cf7ac0d4874113 21857 net optional dnsmasq_2.72-2.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJULcZ1AAoJEBXN2mrhkTWi0j8QAIkwa+oZ5LTOJDQAJuyDCKlw
uBd4jlZCLJjsO8hidVDUw4vOoGu1UZ9QwDbyylT8J/TpYXKGqDSjLCvq0e7tjKUk
rQ1Q70W6HQQDd6ABPH2N2etXvAV0zrUgAku0pAekjqPCQmkqLtBrKv96myfA1oD4
xPMLXSZ4iPFmySEOeOUruVxx9spcwc3q/3PMxdImNuaeAXjlrtlNzV8jgJEIiHO+
tUxrPX8HQUWuwjjMWcKy3b1yR6xITzrRfuu6baP0UcgEl8ectdrZXqiILu0V7Zfp
qTcgay8Ty1i8WQrFvaZIZ+NIUzq3jR3Hy2DwTU0C/F7Mm1ELLJ3TH89oWVt5Go0P
Vr7cfmRvaWwRoc7u7ZtVpxpzNEAupUU/57+p7DhYqYYJBbc5h05em6vt6HkL2Zrn
2L+2aOVbk+l2UjFPrTEH8lp3bkn1kkhlj3vJKLmLGKWBm4Kw7WHixK/COPshqVBt
b4UlT5hNj94VEYvOXA87QRc9m/4mArCVjedy+ebNAy4mvEPM3Wy/f3gAlJpiwtfO
Kzvf4PEgs39JrD9O4le9VRWzbDjGZke4z9lnwksPtGXQl3CaPyb7lk/JS2jZG/oN
0QDoi4cLQq5jpi9qRV2LvltN2vuqzemdscLH51iN9smOm36IKU2UlLlNPpFn6IRs
QdG7Y5FCE830uNCbulyF
=5sQT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to