pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pam-pwauth_suid pam-pwauth_suid: update to 1....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dce9c7a96b8f
branches:  trunk
changeset: 309874:dce9c7a96b8f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 25 08:22:01 2018 +0000

description:
pam-pwauth_suid: update to 1.2nb1.

Use LDFLAGS when linking. Use CC instead of LD since LDFLAGS for
relro are prefixed with "-Wl,". Cleanup some pkglint.

diffstat:

 security/pam-pwauth_suid/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 979d55562369 -r dce9c7a96b8f security/pam-pwauth_suid/Makefile
--- a/security/pam-pwauth_suid/Makefile Mon Jun 25 08:09:53 2018 +0000
+++ b/security/pam-pwauth_suid/Makefile Mon Jun 25 08:22:01 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2012/10/23 18:16:48 asau Exp $
+# $NetBSD: Makefile,v 1.8 2018/06/25 08:22:01 wiz Exp $
 
 DISTNAME=      pam-pwauth_suid-1.2
+PKGREVISION=   1
 CATEGORIES=    security
 DISTFILES=     # empty
 
@@ -21,14 +22,12 @@
 do-build:
        (cd ${WRKSRC} && \
         ${CC} ${CFLAGS} -c -fPIC ${PAMDEF} pam_pwauth_suid.c && \
-        ${LD} -shared pam_pwauth_suid.o -o pam_pwauth_suid.so && \
-        ${CC} ${CFLAGS} pwauth_suid_helper.c -o pwauth_suid_helper -lcrypt)
+        ${CC} ${LDFLAGS} -shared pam_pwauth_suid.o -o pam_pwauth_suid.so && \
+        ${CC} ${CFLAGS} ${LDFLAGS} pwauth_suid_helper.c -o pwauth_suid_helper -lcrypt)
 
 do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/security
        ${INSTALL_DATA} ${WRKSRC}/pam_pwauth_suid.so \
                ${DESTDIR}${PREFIX}/lib/security
-       ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/libexec
        ${INSTALL_PROGRAM} ${WRKSRC}/pwauth_suid_helper \
                ${DESTDIR}${PREFIX}/libexec
        ${CHMOD} 04555 ${DESTDIR}${PREFIX}/libexec/pwauth_suid_helper



Home | Main Index | Thread Index | Old Index