lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.10-8-g644bc62

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

nss-pam-ldapd branch master updated. 0.9.10-8-g644bc62



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  644bc6247d730b96b65fd66a46003442237bb5a0 (commit)
       via  768c4be58aaae76911a2eac3bb20a8bfc6cd3316 (commit)
      from  0252b050cc2e8859bf53622561d42108f7e721e8 (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 -----------------------------------------------------------------
https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=644bc6247d730b96b65fd66a46003442237bb5a0

commit 644bc6247d730b96b65fd66a46003442237bb5a0
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Tue Sep 10 23:54:07 2019 +0200

    Fix Python interpreter detection
    
    Apparently some environments provide certain Python executables which
    are not working Python interpreters.

diff --git a/.travis.yml b/.travis.yml
index 1e6d48a..3906760 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,6 +33,7 @@ script:
       --enable-warnings --enable-pynslcd
   - make
   - make distcheck
+  - cat nss-pam-ldapd-*/_build/sub/tests/test-suite.log 2> /dev/null || true
   # Set up a custom LDAP server
   - sudo service slapd stop || true
   - tmpslapd=`mktemp -d -t slapd.XXXXXX` && sudo tests/setup_slapd.sh 
"$tmpslapd" setup && sudo tests/setup_slapd.sh "$tmpslapd" start
diff --git a/tests/test_doctest.sh b/tests/test_doctest.sh
index b799652..56eb0da 100755
--- a/tests/test_doctest.sh
+++ b/tests/test_doctest.sh
@@ -30,9 +30,9 @@ python="${PYTHON-python}"
 
 # Find Python interpreters
 find_python() {
-  for p in ${python} python python2 python2.7 python3 python3.5 python3.6 
python3.7 python3.8
+  for p in "${python}" python python2 python2.7 python3 python3.5 python3.6 
python3.7 python3.8
   do
-    if [ -x "$(which $p)" ]
+    if [ -n "$p"] && "$p" --version > /dev/null 2> /dev/null
     then
       readlink -f `which $p` 2> /dev/null || true
     fi

https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=768c4be58aaae76911a2eac3bb20a8bfc6cd3316

commit 768c4be58aaae76911a2eac3bb20a8bfc6cd3316
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Sep 8 23:40:28 2019 +0200

    Remove confinc.out which is left behind by aclocal.m4

diff --git a/.gitignore b/.gitignore
index 0ffa803..a95d925 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@ stamp-*
 /config.status
 /configure
 /configure.lineno
+/confinc.out
 /conftest.tail
 /flawfinder.html
 /nss-pam-ldapd-*
diff --git a/Makefile.am b/Makefile.am
index 1bb330a..928e5c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,6 +40,8 @@ SUBDIRS += man tests
 EXTRA_DIST = nslcd.conf nslcd.h $(wildcard ChangeLog-20??) \
              $(wildcard m4/*.m4) HACKING ldapns.schema ldapns.ldif
 
+DISTCLEANFILES = confinc.out
+
 DISTCHECK_CONFIGURE_FLAGS = --enable-warnings --enable-pynslcd --enable-utils \
                             --with-pam-seclib-dir="\$${libdir}/security" \
                             --with-ldap-conf-file="\$${prefix}/nslcd.conf" \

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

Summary of changes:
 .gitignore            | 1 +
 .travis.yml           | 1 +
 Makefile.am           | 2 ++
 tests/test_doctest.sh | 4 ++--
 4 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd