pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba4 fixup samba-pam-smbpass-install in options....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f65a54a4935
branches:  trunk
changeset: 351610:2f65a54a4935
user:      richard <richard%pkgsrc.org@localhost>
date:      Tue Aug 23 12:49:13 2016 +0000

description:
fixup samba-pam-smbpass-install in options.mk to copy *all* of the contents
of the pam_smbpass/samples directory regardless of shell and locale
(in particular when LC_COLLATE is not "C" and for example LANG=fr_FR.UTF-8).
Thanks to jnemeth@ for pointing this one out.

diffstat:

 net/samba4/options.mk |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r db8bb9e275e9 -r 2f65a54a4935 net/samba4/options.mk
--- a/net/samba4/options.mk     Tue Aug 23 06:31:50 2016 +0000
+++ b/net/samba4/options.mk     Tue Aug 23 12:49:13 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2015/06/26 16:09:49 jperkin Exp $
+# $NetBSD: options.mk,v 1.3 2016/08/23 12:49:13 richard Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.samba4
 PKG_SUPPORTED_OPTIONS= ads fam ldap pam winbind # cups # cups option is broken for me.
@@ -89,10 +89,8 @@
 .PHONY: samba-pam-smbpass-install
 post-install: samba-pam-smbpass-install
 samba-pam-smbpass-install:
-       cd ${WRKSRC}/source3/pam_smbpass/samples; for f in [a-z]*; do           \
-               ${INSTALL_DATA} $${f} \
-                       ${DESTDIR}${PREFIX}/${EGDIR}/pam_smbpass/$${f}; \
-       done
+       ${INSTALL_DATA} ${WRKSRC}/source3/pam_smbpass/samples/* \
+               ${DESTDIR}${PREFIX}/${EGDIR}/pam_smbpass/
 .else
 CONFIGURE_ARGS+=       --without-pam
 .endif



Home | Main Index | Thread Index | Old Index