lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.6-28-gdb8034a

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.6-28-gdb8034a



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  db8034a4523176667a34b51250e0a75ab168b166 (commit)
      from  281b0ecb4dc57b3188c36adfa6eda74cf3ff5796 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=db8034a4523176667a34b51250e0a75ab168b166

commit db8034a4523176667a34b51250e0a75ab168b166
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Wed Jul 27 16:07:27 2016 +0200

    Also use module-name in utilities and man pages
    
    This ensures that getent.ldap, chsh.ldap and manual pages with ldap in
    the name will be installed with the name as specified with
    --with-module-name.
    
    Note that the manual page content still describes the working within
    nss-pam-ldapd and still mention the ldap name.

diff --git a/man/Makefile.am b/man/Makefile.am
index 636d68c..418d580 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,6 +1,6 @@
 # Makefile.am - use automake to generate Makefile.in
 #
-# Copyright (C) 2007, 2009, 2010, 2012, 2013 Arthur de Jong
+# Copyright (C) 2007-2016 Arthur de Jong
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -23,6 +23,8 @@ NSLCD_MANS = nslcd.conf.5 nslcd.8
 PYNSLCD_MANS = pynslcd.8
 ALL_MANS = $(PAM_MANS) $(UTILS_MANS) $(NSLCD_MANS) $(PYNSLCD_MANS)
 
+program_transform_name = s&ldap&$(MODULE_NAME)&
+
 # figure out which manual pages to install
 if INSTMAN
 man_MANS =
diff --git a/utils/Makefile.am b/utils/Makefile.am
index e59516a..7b1f9df 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -1,6 +1,6 @@
 # Makefile.am - use automake to generate Makefile.in
 #
-# Copyright (C) 2013 Arthur de Jong
+# Copyright (C) 2013-2016 Arthur de Jong
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -38,5 +38,5 @@ install-data-hook:
        $(MKDIR_P) $(DESTDIR)$(bindir)
        set -ex; for cmd in getent chsh ; do \
          chmod a+rx $(DESTDIR)$(utilsdir)/$$cmd.py ; \
-         [ -L $(DESTDIR)$(bindir)/$$cmd.ldap ] || $(LN_S) $(utilsdir)/$$cmd.py 
$(DESTDIR)$(bindir)/$$cmd.ldap ; \
+         [ -L $(DESTDIR)$(bindir)/$$cmd.$(MODULE_NAME) ] || $(LN_S) 
$(utilsdir)/$$cmd.py $(DESTDIR)$(bindir)/$$cmd.$(MODULE_NAME) ; \
        done
diff --git a/utils/getent.py b/utils/getent.py
index bd27c11..85563ca 100755
--- a/utils/getent.py
+++ b/utils/getent.py
@@ -3,7 +3,7 @@
 
 # getent.py - program for querying nslcd
 #
-# Copyright (C) 2013 Arthur de Jong
+# Copyright (C) 2013-2016 Arthur de Jong
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -43,7 +43,8 @@ Report bugs to <%s>.
 # set up command line parser
 parser = argparse.ArgumentParser(
     formatter_class=argparse.RawDescriptionHelpFormatter,
-    description='Query information in LDAP via nslcd.',
+    description='Query information in %s via nslcd.' %
+    constants.MODULE_NAME.upper(),
     epilog=epilog)
 parser.add_argument('-V', '--version', action=VersionAction)
 parser.add_argument('database', metavar='DATABASE',

-----------------------------------------------------------------------

Summary of changes:
 man/Makefile.am   | 4 +++-
 utils/Makefile.am | 4 ++--
 utils/getent.py   | 5 +++--
 3 files changed, 8 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/