Attached is the diff between versions 2012.55-1 and 2012.55-1.3. -- Jérémy Bobbio .''`. jeremy.bob...@irq7.fr : : : lu...@debian.org `. `'` `-
diff -u dropbear-2012.55/debian/changelog dropbear-2012.55/debian/changelog --- dropbear-2012.55/debian/changelog +++ dropbear-2012.55/debian/changelog @@ -1,3 +1,27 @@ +dropbear (2012.55-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Fix initramfs hook when multiple variant of libc are installed. + All credits due to Helmut Grohne for the report and the solution. + (Closes: #682964) + + -- Jérémy Bobbio <lu...@debian.org> Thu, 08 Nov 2012 10:45:01 +0100 + +dropbear (2012.55-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Unbreak initramfs hook when upgrading from Squeeze. + + -- Jérémy Bobbio <lu...@debian.org> Tue, 25 Sep 2012 16:53:18 +0200 + +dropbear (2012.55-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Adjust initramfs hook to work with multi-arch. Initial patch by + Michael Stapelberg. (Closes: #630581) + + -- Jérémy Bobbio <lu...@debian.org> Tue, 25 Sep 2012 09:17:06 +0200 + dropbear (2012.55-1) unstable; urgency=high * New upstream release. diff -u dropbear-2012.55/debian/initramfs/dropbear-hook dropbear-2012.55/debian/initramfs/dropbear-hook --- dropbear-2012.55/debian/initramfs/dropbear-hook +++ dropbear-2012.55/debian/initramfs/dropbear-hook @@ -27,7 +27,11 @@ else rm -f "${DESTDIR}/sbin/dropbear" copy_exec "/usr/sbin/dropbear" "/sbin/" - cp /lib/libnss_* "${DESTDIR}/lib/" + LIBC_DIR=$(ldd /usr/sbin/dropbear | sed -n -e 's,.* => \(/lib.*\)/libc\.so\..*,\1,p') + for so in $(find "${LIBC_DIR}" -name 'libnss_compat*'); do + copy_exec "${so}" + done + echo 'passwd: compat' > "${DESTDIR}/etc/nsswitch.conf" echo "root:x:0:0:root:/root:/bin/sh" > "${DESTDIR}/etc/passwd" for keytype in "dss" "rsa"; do if [ ! -f "/etc/initramfs-tools/etc/dropbear/dropbear_${keytype}_host_key" ]; then
signature.asc
Description: Digital signature