Looks like the ldap attachment was too big for the list. I'm replacing the complete ldap patch with the patch in bug #602312.
On Wed, 2011-03-02 at 09:17 +0100, Svante Signell wrote: > On Wed, 2011-03-02 at 02:28 +0100, Samuel Thibault wrote: > > I forgot to comment on the udeb version: I don't think we want to create > > an inetutils-tools udeb package, while we can simply issue settrans > > which should be easy and fine enough, since we only handle one > > interface, thus my changes. > > Ok, I'm attaching the patch, fix_ftbfs4hurd.dpatch, with your updated > dhclient-scripts. I think my name should be removed from the patched > scripts, you did most of the changes. > > Still missing are dependencies on inetutils-tools (inetutils-ifconfig) > (and maybe inetutils-ping) for GNU/Hurd in the control file: > > (if needed, it looks like the Linux package does not depend on > net-tools, containing route and ifconfig or iputils-ping containing > ping?) > > Package: isc-dhcp-client > Architecture: any > Depends: debianutils (>= 2.8.2), isc-dhcp-common (= ${binary:Version}), > > -iproute [linux-any], ${shlibs:Depends}, ${misc:Depends} > (I'm not sure about the syntax here) > +iproute [linux-any]| inetutils-tools [hurd] , ${shlibs:Depends}, > > ${misc:Depends} > > In order to get a successful configure, the patch in bug #602312 by > Colin Watson have to be applied to configure.ac to cope with the new > behavior of the linker: --no-add-needed since gcc-4.4.5-11. I'm > attaching an updated dhcp-4.1.0-ldap-code.dpatch > > Also attached is the dpatch series file: 00list > > I just built from source again, and it went well. Hoewever it is not yet > installed again and tested with the updated dhclient-scripts. Comments > on improvements are welcome. > > Svante >
fix_ftbfs4hurd.dpatch
Description: application/shellscript
diff -u isc-dhcp-4.1.1-P1/debian/patches/dhcp-4.1.0-ldap-code.dpatch isc-dhcp-4.1.1-P1/debian/patches/dhcp-4.1.0-ldap-code.dpatch --- isc-dhcp-4.1.1-P1/debian/patches/dhcp-4.1.0-ldap-code.dpatch +++ isc-dhcp-4.1.1-P1/debian/patches/dhcp-4.1.0-ldap-code.dpatch @@ -2754,7 +2754,7 @@ diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' isc-dhcp-4.1.1-P1~/configure.ac isc-dhcp-4.1.1-P1/configure.ac --- isc-dhcp-4.1.1-P1~/configure.ac 2010-10-20 22:14:33.694570303 +0100 +++ isc-dhcp-4.1.1-P1/configure.ac 2010-10-20 22:17:15.682086336 +0100 -@@ -419,6 +419,74 @@ +@@ -419,6 +419,75 @@ # Look for optional headers. AC_CHECK_HEADERS(sys/socket.h net/if_dl.h net/if6.h regex.h) @@ -2775,6 +2775,7 @@ + AC_SEARCH_LIBS([ber_init], [ldap], [ + LDAP_LIBS="-lldap" + ],[ ++ AS_UNSET([ac_cv_search_ber_init]) + AC_SEARCH_LIBS([ber_init], [lber], [ + LDAP_LIBS="-lldap -llber" + ], [
# emailed upstream dhclient-script-exit-status # emailed upstream fix_groff_warnings # Debian specific, not appropriate to send upstream fix_exit_hook_doc_manpage # I think this has been independently emailed upstream no_loopback_checksum # Backported from 4.1.2 CVE-2010-3611 # Ported from 4.1-ESV CVE-2011-0413 # must be applied before the LDAP stuff no-libcrypto # fix ftbfs for GNU/Hurd # must be applied before dhcp-4.1.0-ldap-code fix_ftbfs4hurd #ldap backend for dhcp server (docs and code) dhcp-4.1.0-ldap-docs dhcp-4.1.0-ldap-code