pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54907: openpam pam_unix 2019 missing -lcrypt in link



The following reply was made to PR pkg/54907; it has been noted by GNATS.

From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <triaxx%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54907: openpam pam_unix 2019 missing -lcrypt in link
Date: Wed, 29 Jan 2020 15:23:52 +0100

 The patch below seems to fix the package but I don't test sudo yet:
 $ ldd /usr/pkg/lib/security/pam_unix.so
 /usr/pkg/lib/security/pam_unix.so:
          -lpam.2 => /home/triaxx/pkg/lib/libpam.so.2
          -lcrypt.1 => /usr/lib/libcrypt.so.1
          -lc.12 => /usr/lib/libc.so.12
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/security/openpam/Makefile,v
 retrieving revision 1.31
 diff -u -r1.31 Makefile
 --- Makefile    30 Dec 2019 19:44:33 -0000      1.31
 +++ Makefile    29 Jan 2020 14:00:08 -0000
 @@ -18,6 +18,7 @@
   CONFIGURE_ARGS+=       --with-modules-dir=${PREFIX}/lib/security
 
   CPPFLAGS+=             -DSYSCONFDIR=\"${PKG_SYSCONFDIR}\"
 +LDFLAGS+=              -lcrypt
 
   EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
   CONF_FILES+=           ${EGDIR}/pam.d/other 
 ${PKG_SYSCONFDIR}/pam.d/other
 


Home | Main Index | Thread Index | Old Index