Your message dated Fri, 13 Oct 2006 17:47:19 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#387665: fixed in ntp 1:4.2.2.p3+dfsg-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ntp
Version: 4.2.2+dfsg.2-1
Severity: important
Tags: patch

On "some" architectures where IPv6 is not working, some mismatching
ifdefs leads to FTBFS. A patch is attached.

MAXHOSTNAMELEN is used unconditionnaly, while setting this constant is
NOT a MUST in POSIX and an absolutly unnecessary limit on Hurd and cause
an FTBFS on this architecture. A patch is attached.

Both patches apply cleanly when appended in debian/series.

Regards.

--- orig/libisc/net.c	2006-06-06 20:16:24.000000000 +0000
+++ new/libisc/net.c	2006-09-13 18:17:29.000000000 +0000
@@ -201,6 +201,7 @@
 #endif /* IPV6_V6ONLY */
 }
 
+#ifndef IPV6_V6ONLY
 static void
 initialize_ipv6only(void) {
 	RUNTIME_CHECK(isc_once_do(&once_ipv6only,
@@ -257,6 +258,7 @@
 				  try_ipv6pktinfo) == ISC_R_SUCCESS);
 }
 #endif /* WANT_IPV6 */
+#endif /* ISC_PLATFORM_HAVEIPV6 */
 
 isc_result_t
 isc_net_probe_ipv6only(void) {
--- orig/ntpd/ntp_intres.c	2006-09-14 16:24:11.000000000 +0000
+++ new/ntpd/ntp_intres.c	2006-09-14 16:24:16.000000000 +0000
@@ -41,7 +41,7 @@
 #include <arpa/inet.h>
 /**/
 #ifdef HAVE_SYS_PARAM_H
-# include <sys/param.h>		/* MAXHOSTNAMELEN (often) */
+# include <sys/param.h>		/* NI_MAXHOST (often) */
 #endif
 
 #include <isc/net.h>
@@ -524,10 +524,10 @@
 			msyslog(LOG_INFO, "findhostaddr: Resolving %s>",
 				stoa(&entry->peer_store));
 #endif
-		entry->ce_name = emalloc(MAXHOSTNAMELEN);
+		entry->ce_name = emalloc(NI_MAXHOST);
 		error = getnameinfo((const struct sockaddr *)&entry->peer_store,
 				   SOCKLEN(&entry->peer_store),
-				   (char *)&entry->ce_name, MAXHOSTNAMELEN,
+				   (char *)&entry->ce_name, NI_MAXHOST,
 				   NULL, 0, 0);
 	}
 #ifdef DEBUG
-- 
Marc Dequènes (Duck)

Attachment: pgpRPGhPvztwV.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ntp
Source-Version: 1:4.2.2.p3+dfsg-1

We believe that the bug you reported is fixed in the latest version of
ntp, which is due to be installed in the Debian FTP archive:

ntp-doc_4.2.2.p3+dfsg-1_all.deb
  to pool/main/n/ntp/ntp-doc_4.2.2.p3+dfsg-1_all.deb
ntp-refclock_4.2.2.p3+dfsg-1_all.deb
  to pool/main/n/ntp/ntp-refclock_4.2.2.p3+dfsg-1_all.deb
ntp-simple_4.2.2.p3+dfsg-1_all.deb
  to pool/main/n/ntp/ntp-simple_4.2.2.p3+dfsg-1_all.deb
ntp_4.2.2.p3+dfsg-1.diff.gz
  to pool/main/n/ntp/ntp_4.2.2.p3+dfsg-1.diff.gz
ntp_4.2.2.p3+dfsg-1.dsc
  to pool/main/n/ntp/ntp_4.2.2.p3+dfsg-1.dsc
ntp_4.2.2.p3+dfsg-1_i386.deb
  to pool/main/n/ntp/ntp_4.2.2.p3+dfsg-1_i386.deb
ntp_4.2.2.p3+dfsg.orig.tar.gz
  to pool/main/n/ntp/ntp_4.2.2.p3+dfsg.orig.tar.gz
ntpdate_4.2.2.p3+dfsg-1_i386.deb
  to pool/main/n/ntp/ntpdate_4.2.2.p3+dfsg-1_i386.deb



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.
Peter Eisentraut <[EMAIL PROTECTED]> (supplier of updated ntp 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: SHA1

Format: 1.7
Date: Sat, 14 Oct 2006 02:20:21 +0200
Source: ntp
Binary: ntp-simple ntp-refclock ntp-doc ntpdate ntp
Architecture: source all i386
Version: 1:4.2.2.p3+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian NTP Team <[EMAIL PROTECTED]>
Changed-By: Peter Eisentraut <[EMAIL PROTECTED]>
Description: 
 ntp        - Network Time Protocol daemon and utility programs
 ntp-doc    - Network Time Protocol documentation
 ntp-refclock - transition package
 ntp-simple - transition package
 ntpdate    - client for setting system time from NTP servers
Closes: 84979 147590 201529 268328 343123 372119 387665 388503 391352 391819 
392098 392325 392562
Changes: 
 ntp (1:4.2.2.p3+dfsg-1) unstable; urgency=medium
 .
   * New upstream release
     - Updated copyright file
     - Updated autotools.patch, dfsg.patch
   * Check for existence of ntp user in init script only in start action
   * Handle failure to stop daemon in ntp.prerm (closes: #391352)
   * Added watch file
   * Added XS-X-Vcs-Svn field
   * Fixes for Hurd build (closes: #387665)
     (patches by Marc Dequènes and Kurt Roeckx)
   * Use server names sent by DHCP server if available (closes: #268328)
   * Added real man pages, transcribed from HTML documentation
     (closes: #84979, #201529, #343123, #388503)
   * Use dh_perl to calculate Perl dependencies
   * Split code.patch into more logical pieces
   * Removed obsolete msyslog.c patch
   * Removed obsolete dependencies: psmisc (killall no longer used), lsb-base
     for ntpdate (no longer has an init script)
   * Added script ntpdate-debian.  This is identical to ntpdate but reads
     /etc/default/ntpdate automatically, allowing for centralized
     configuration.  (closes: #147590, #372119, #392098)
   * Moved ntp.conf parsing logic to ntpdate-debian (closes: #392325)
   * Redirect error output of ntpdate.ifup to /dev/null (closes: #391819)
   * Added Replaces: logcheck-database (closes: #392562)
Files: 
 8b9aa96b1f4b3cf576dbef8ff23c7ac1 890 net optional ntp_4.2.2.p3+dfsg-1.dsc
 7431f9ab907bed772104d1f233e28df8 2264372 net optional 
ntp_4.2.2.p3+dfsg.orig.tar.gz
 0e664840f46029ba48bf6dde10f9c789 179040 net optional 
ntp_4.2.2.p3+dfsg-1.diff.gz
 3d766372529f32c28ad4aa71dfbfc1d0 903404 doc optional 
ntp-doc_4.2.2.p3+dfsg-1_all.deb
 6c239eb05b66122282e00c9a0a6b37b1 27780 net optional 
ntp-simple_4.2.2.p3+dfsg-1_all.deb
 f511b6521bfb62f41c7041f8616d32c9 27784 net optional 
ntp-refclock_4.2.2.p3+dfsg-1_all.deb
 b965923d2d4417ac12801c70657956a6 329266 net optional 
ntp_4.2.2.p3+dfsg-1_i386.deb
 d8ed33c44cd7256254fec37d3e422a92 57208 net optional 
ntpdate_4.2.2.p3+dfsg-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFMC63TTx8oVVPtMYRAmHoAJ4sHaBdv4FgaVHAxaxw1tqZZhyaUwCcDu7g
6y8+AaxsedNTqLpkIkgEUlg=
=wzDV
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to