From c4daf27eb3ec68bb9ec2a2779ed085f30e9d9b8e Mon Sep 17 00:00:00 2001
From: Arthur de Jong <arthur@arthurdejong.org>
Date: Sun, 6 Oct 2019 20:39:18 +0200
Subject: Get files ready for 0.9.11 release

---
 AUTHORS               |   1 +
 ChangeLog             | 118 +++++++++++++++++++++++++++++++++++++++++++++++++-
 NEWS                  |   8 ++++
 configure.ac          |   4 +-
 man/chsh.ldap.1.xml   |   6 +--
 man/getent.ldap.1.xml |   6 +--
 man/nslcd.8.xml       |   6 +--
 man/nslcd.conf.5.xml  |   6 +--
 man/pam_ldap.8.xml    |   6 +--
 man/pynslcd.8.xml     |   6 +--
 nslcd/nslcd.c         |   4 +-
 utils/cmdline.py      |   4 +-
 12 files changed, 150 insertions(+), 25 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 495e57c..a2c34cd 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -145,3 +145,4 @@ Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
 Seth Wright <seth@crosse.org>
 HWLin <hwlin1414@gmail.com>
 Ching-Hsuan Yen <ching_hsuan_yen@trendmicro.com>
+Mizunashi Mana <mizunashi-mana@noreply.git>
diff --git a/ChangeLog b/ChangeLog
index 9df7a6d..8ab7c6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,122 @@
+2019-10-06  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [69922e3] tests/test_doctest.sh: Fix Python interpreter detection
+	  in tests
+
+	  Fixes 644bc62
+
+2019-10-06  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [62522b9] tests/test_nsscmds.sh: Portability improvements to
+	  test suite
+
+	  Some test systems have more local users and some systems prefer
+	  IPv4 addresses over IPv6 addresses.
+
+2019-09-17  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [a8f4ed8] NEWS, common/expr.c, common/nslcd-prot.c,
+	  common/nslcd-prot.h, common/tio.c, compat/attrs.h, compat/ether.c,
+	  compat/getopt_long.c, compat/getopt_long.h, compat/getpeercred.h,
+	  compat/nss_compat.h, configure.ac, man/nslcd.conf.5.xml,
+	  nslcd.h, nslcd/attmap.h, nslcd/common.h, nslcd/daemonize.h,
+	  nslcd/invalidator.c, nslcd/myldap.c, nslcd/myldap.h, nslcd/pam.c,
+	  nslcd/passwd.c, nss/common.h, nss/hosts.c, nss/prototypes.h,
+	  pam/common.h, tests/common.h, tests/test_pynslcd_cache.py,
+	  tests/test_tio.c, utils/getent.py: Various spelling fixes
+
+2019-09-10  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [644bc62] .travis.yml, tests/test_doctest.sh: Fix Python
+	  interpreter detection
+
+	  Apparently some environments provide certain Python executables
+	  which are not working Python interpreters.
+
+2019-09-08  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [768c4be] .gitignore, Makefile.am: Remove confinc.out which is
+	  left behind by aclocal.m4
+
+2019-09-08  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [0252b05] pynslcd/shadow.py: Correctly validate shadow requests
+	  and responses
+
+2019-09-08  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [cd887ef] pynslcd/Makefile.am, utils/Makefile.am: Update Python
+	  interpreter in installed scripts
+
+	  Ensure that the Python interpreter that is passed to configure
+	  ends up in the shebang of the Python scripts.
+
+	  This allows one to pass PYTHON=python3 to configure to install
+	  the scripts using the Python 3 interpreter.
+
+2019-09-07  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [d717795] .gitignore, pynslcd/alias.py,
+	  pynslcd/attmap.py, pynslcd/cache.py, pynslcd/cfg.py,
+	  pynslcd/common.py, pynslcd/ether.py, pynslcd/expr.py,
+	  pynslcd/group.py, pynslcd/host.py, pynslcd/invalidator.py,
+	  pynslcd/mypidfile.py, pynslcd/netgroup.py, pynslcd/network.py,
+	  pynslcd/pam.py, pynslcd/passwd.py, pynslcd/protocol.py,
+	  pynslcd/pynslcd.py, pynslcd/rpc.py, pynslcd/search.py,
+	  pynslcd/service.py, pynslcd/shadow.py, pynslcd/tio.py,
+	  tests/Makefile.am, tests/flake8.ini, tests/test_flake8.sh,
+	  tests/test_pynslcd_cache.py, utils/chsh.py, utils/getent.py,
+	  utils/nslcd.py, utils/users.py: Improve Python code style
+
+	  This also adds a flake8 test that checks code style. Note that
+	  this test is not run by default because it requires network
+	  access to create the virtualenv with the test software.
+
+2019-09-02  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [221ce5a] configure.ac, pynslcd/Makefile.am, pynslcd/attmap.py,
+	  pynslcd/cache.py, pynslcd/cfg.py, pynslcd/common.py,
+	  pynslcd/expr.py, pynslcd/invalidator.py, pynslcd/mypidfile.py,
+	  pynslcd/pam.py, pynslcd/pynslcd.py, pynslcd/search.py,
+	  pynslcd/tio.py, pynslcd/usermod.py, tests/Makefile.am,
+	  tests/test_doctest.sh, tests/test_ldapcmds.sh,
+	  tests/test_pycompile.sh, tests/test_pylint.sh,
+	  tests/test_pynslcd_cache.py, utils/Makefile.am, utils/getent.py,
+	  utils/nslcd.py: Add Python 3 support
+
+	  This ensures that both pynslcd and the command-line utilities
+	  work with Python3 as interpreter and runs some tests with all
+	  installed Python interpreters.
+
+	  This drops support for Python 2.6 and extends 5a84be2 to perform
+	  more testing with Python 3.
+
+2018-09-08  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [06ee886] nslcd/nslcd.c: Avoid logging unknown socket peer
+	  information
+
+	  This avoids logging the client PID when the underlying socker
+	  layer cannot provide the relevant information.
+
+2018-09-05  Mizunashi Mana <mizunashi-mana@noreply.git>
+
+	* [bfcf002] utils/shells.py: Fix crash in chsh.ldap
+
+	  Specify result type of getusershell.
+
+	  Closes https://github.com/arthurdejong/nss-pam-ldapd/pull/31
+
+2018-09-01  Arthur de Jong <arthur@arthurdejong.org>
+
+	* [bfe0696] AUTHORS, ChangeLog, NEWS, configure.ac,
+	  man/chsh.ldap.1.xml, man/getent.ldap.1.xml, man/nslcd.8.xml,
+	  man/nslcd.conf.5.xml, man/pam_ldap.8.xml, man/pynslcd.8.xml:
+	  Get files ready for 0.9.10 release
+
 2018-09-01  Arthur de Jong <arthur@arthurdejong.org>
 
-	* [4f0f4db] ar-lib, compile, config.guess, config.sub, depcomp,
+	* [acc450e] ar-lib, compile, config.guess, config.sub, depcomp,
 	  install-sh, missing, mkinstalldirs, py-compile, test-driver:
 	  Update files from latest automake
 
diff --git a/NEWS b/NEWS
index c47d0bc..92fee38 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+changes from 0.9.10 to 0.9.11
+-----------------------------
+
+* add support for Python 3 in pynslcd and utilities
+* fix crash in chsh.ldap (thanks Mizunashi Mana)
+* test suite improvements
+
+
 changes from 0.9.9 to 0.9.10
 ----------------------------
 
diff --git a/configure.ac b/configure.ac
index 50310d1..bb12619 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,10 +33,10 @@ configure.ac file for more details.])
 
 # initialize and set version and bugreport address
 AC_INIT([nss-pam-ldapd],
-        [0.9.10],
+        [0.9.11],
         [nss-pam-ldapd-users@lists.arthurdejong.org],,
         [https://arthurdejong.org/nss-pam-ldapd/])
-RELEASE_MONTH="Sep 2018"
+RELEASE_MONTH="Oct 2018"
 AC_SUBST(RELEASE_MONTH)
 AC_CONFIG_SRCDIR([nslcd.h])
 AC_CONFIG_MACRO_DIR([m4])
diff --git a/man/chsh.ldap.1.xml b/man/chsh.ldap.1.xml
index 877185a..95f8d62 100644
--- a/man/chsh.ldap.1.xml
+++ b/man/chsh.ldap.1.xml
@@ -5,7 +5,7 @@
 <!--
    chsh.ldap.1.xml - docbook manual page for chsh.ldap
 
-   Copyright (C) 2013-2018 Arthur de Jong
+   Copyright (C) 2013-2019 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
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>chsh.ldap</refentrytitle>
   <manvolnum>1</manvolnum>
-  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.11</refmiscinfo>
   <refmiscinfo class="manual">User Commands</refmiscinfo>
-  <refmiscinfo class="date">Sep 2018</refmiscinfo>
+  <refmiscinfo class="date">Oct 2019</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff --git a/man/getent.ldap.1.xml b/man/getent.ldap.1.xml
index 118d3c8..9c8cf68 100644
--- a/man/getent.ldap.1.xml
+++ b/man/getent.ldap.1.xml
@@ -5,7 +5,7 @@
 <!--
    getent.ldap.1.xml - docbook manual page for getent.ldap
 
-   Copyright (C) 2013-2018 Arthur de Jong
+   Copyright (C) 2013-2019 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
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>getent.ldap</refentrytitle>
   <manvolnum>1</manvolnum>
-  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.11</refmiscinfo>
   <refmiscinfo class="manual">User Commands</refmiscinfo>
-  <refmiscinfo class="date">Sep 2018</refmiscinfo>
+  <refmiscinfo class="date">Oct 2019</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff --git a/man/nslcd.8.xml b/man/nslcd.8.xml
index c252f65..b979da0 100644
--- a/man/nslcd.8.xml
+++ b/man/nslcd.8.xml
@@ -6,7 +6,7 @@
    nslcd.8.xml - docbook manual page for nslcd
 
    Copyright (C) 2006 West Consulting
-   Copyright (C) 2006-2018 Arthur de Jong
+   Copyright (C) 2006-2019 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
@@ -36,9 +36,9 @@
  <refmeta>
   <refentrytitle>nslcd</refentrytitle>
   <manvolnum>8</manvolnum>
-  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.11</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Sep 2018</refmiscinfo>
+  <refmiscinfo class="date">Oct 2019</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff --git a/man/nslcd.conf.5.xml b/man/nslcd.conf.5.xml
index 7a2bc5a..7ae56b2 100644
--- a/man/nslcd.conf.5.xml
+++ b/man/nslcd.conf.5.xml
@@ -6,7 +6,7 @@
    nslcd.conf.5.xml - docbook manual page for nslcd.conf
 
    Copyright (C) 1997-2005 Luke Howard
-   Copyright (C) 2007-2018 Arthur de Jong
+   Copyright (C) 2007-2019 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
@@ -36,9 +36,9 @@
  <refmeta>
   <refentrytitle>nslcd.conf</refentrytitle>
   <manvolnum>5</manvolnum>
-  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.11</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Sep 2018</refmiscinfo>
+  <refmiscinfo class="date">Oct 2019</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff --git a/man/pam_ldap.8.xml b/man/pam_ldap.8.xml
index f7c17f7..0d1257f 100644
--- a/man/pam_ldap.8.xml
+++ b/man/pam_ldap.8.xml
@@ -5,7 +5,7 @@
 <!--
    pam_ldap.8.xml - docbook manual page for pam_ldap PAM module
 
-   Copyright (C) 2009-2018 Arthur de Jong
+   Copyright (C) 2009-2019 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
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>pam_ldap</refentrytitle>
   <manvolnum>8</manvolnum>
-  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.11</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Sep 2018</refmiscinfo>
+  <refmiscinfo class="date">Oct 2019</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff --git a/man/pynslcd.8.xml b/man/pynslcd.8.xml
index dfeba95..315c60a 100644
--- a/man/pynslcd.8.xml
+++ b/man/pynslcd.8.xml
@@ -5,7 +5,7 @@
 <!--
    pynslcd.8.xml - docbook manual page for pynslcd
 
-   Copyright (C) 2012-2018 Arthur de Jong
+   Copyright (C) 2012-2019 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
@@ -35,9 +35,9 @@
  <refmeta>
   <refentrytitle>pynslcd</refentrytitle>
   <manvolnum>8</manvolnum>
-  <refmiscinfo class="version">Version 0.9.10</refmiscinfo>
+  <refmiscinfo class="version">Version 0.9.11</refmiscinfo>
   <refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
-  <refmiscinfo class="date">Sep 2018</refmiscinfo>
+  <refmiscinfo class="date">Oct 2019</refmiscinfo>
  </refmeta>
 
  <refnamediv id="name">
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index 67875c5..ead4bcc 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -2,7 +2,7 @@
    nslcd.c - ldap local connection daemon
 
    Copyright (C) 2006 West Consulting
-   Copyright (C) 2006-2018 Arthur de Jong
+   Copyright (C) 2006-2019 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
@@ -121,7 +121,7 @@ static void display_version(FILE *fp)
 {
   fprintf(fp, "%s\n", PACKAGE_STRING);
   fprintf(fp, "Written by Luke Howard and Arthur de Jong.\n\n");
-  fprintf(fp, "Copyright (C) 1997-2017 Luke Howard, Arthur de Jong and West Consulting\n"
+  fprintf(fp, "Copyright (C) 1997-2019 Arthur de Jong and others\n"
               "This is free software; see the source for copying conditions.  There is NO\n"
               "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
 }
diff --git a/utils/cmdline.py b/utils/cmdline.py
index 7283875..d09f71d 100644
--- a/utils/cmdline.py
+++ b/utils/cmdline.py
@@ -2,7 +2,7 @@
 
 # cmdline.py - functions for handling command-line options
 #
-# Copyright (C) 2013-2017 Arthur de Jong
+# Copyright (C) 2013-2019 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
@@ -28,7 +28,7 @@ version_string = '''
 %s
 Written by Arthur de Jong.
 
-Copyright (C) 2013-2017 Arthur de Jong
+Copyright (C) 2013-2019 Arthur de Jong
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 '''.strip() % constants.PACKAGE_STRING
-- 
cgit v1.2.3