Dear Bastian,

Please find attached a patch needed to make the new upstream
libpam-mount build.  The upstream part should probably also
be sent upstream,


Many thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
--- Begin Message ---
> There's some obscure bug in the upstream src/Makefile.am though--it's
> missing libcryptsetup and OpenSSL libs when linking, which causes
> link failures.  The actual Makefile looks like it's correct though,
> so not sure what's wrong.  If anyone who uses is wants to fix that,
> that's all (I think) that's blocking their upload.

It was forgotten to link pmt-ehd against libcryptsetup if this was
available (I believe this has been triggered by the "new" linker
behaviour to imply --no-add-needed, so the dependency on libcryptsetup
has not been silently resolved by linking against libcryptmount anymore,
which itself is linked against libcryptsetup). Please find this issue
fixed in the attached patch.

However, libpam-mount is still missing Build-Depends on libmount-dev and
libblkid-dev.

Cheers,
Fabian

Author: Fabian Greffrath <[email protected]>
Description: Link pmt-ehd against libcryptsetup if this is available

--- libpam-mount-2.13.orig/src/Makefile.am
+++ libpam-mount-2.13/src/Makefile.am
@@ -77,6 +77,9 @@ mount_crypt_LDADD	= libcryptmount.la lib
 
 pmt_ehd_SOURCES		= ehd.c bdev.c misc.c spawn.c
 pmt_ehd_LDADD		= libcryptmount.la ${libHX_LIBS}
+if HAVE_LIBCRYPTSETUP
+pmt_ehd_LDADD		+= ${libcryptsetup_LIBS}
+endif
 
 pmt_fd0ssh_SOURCES	= fd0ssh.c
 

--- End Message ---

Reply via email to