pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/pam-pwauth_suid



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun 25 08:22:01 UTC 2018

Modified Files:
        pkgsrc/security/pam-pwauth_suid: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/pam-pwauth_suid/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/pam-pwauth_suid/Makefile
diff -u pkgsrc/security/pam-pwauth_suid/Makefile:1.7 pkgsrc/security/pam-pwauth_suid/Makefile:1.8
--- pkgsrc/security/pam-pwauth_suid/Makefile:1.7        Tue Oct 23 18:16:48 2012
+++ pkgsrc/security/pam-pwauth_suid/Makefile    Mon Jun 25 08:22:01 2018
@@ -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-extract:
 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