+Notmuch 0.23.7 (2017-02-28)
+===========================
+
+Test Suite
+----------
+
+Drop use of gpgconf --create-socketdir. Move $GNUPGHOME to /tmp.
+
+ It turns out the hardcoded use of /run/user in gpg doesn't work out
+ that well in some environments. The more low tech fix is to move all
+ of $GNUPGHOME to somewhere where we can control the length of the
+ paths.
+
Notmuch 0.23.6 (2017-02-27)
===========================
# this file should be kept in sync with ../../../version
-__VERSION__ = '0.23.6'
+__VERSION__ = '0.23.7'
SOVERSION = '4'
fi
fi
-have_gpgconf_socketdir=0
-printf "Checking for gpgconf --{create,remove}-socketdir... "
-if gpgconf --dump-options > /dev/null ; then
- if gpgconf --dump-options | grep -q create-socketdir ; then
- printf "Yes.\n"
- have_gpgconf_socketdir=1
- else
- printf "No.\n"
- fi
-else
- printf "No. (missing or broken gpgconf?)\n"
-fi
-
if [ $WITH_DESKTOP = "1" ]; then
printf "Checking if desktop-file-install is available... "
if command -v desktop-file-install > /dev/null; then
# Are the ruby development files (and ruby) available? If not skip
# building/testing ruby bindings.
NOTMUCH_HAVE_RUBY_DEV=${have_ruby_dev}
-
-# Recent enough gnupg to support gpgconf --create-socketdir?
-NOTMUCH_HAVE_GPGCONF_SOCKETDIR=${have_gpgconf_socketdir}
EOF
# Finally, after everything configured, inform the user how to continue.
-notmuch (0.23.6-1) unstable; urgency=medium
+notmuch (0.23.7-1) unstable; urgency=medium
- * Use gpgconf --create-socketdir to create gpg-agent sockets for
- test suite.
+ * Move test suite $GNUPGHOME to /tmp to avoid problems with long build paths.
* Fix read-after-free bug in `notmuch new`.
- -- David Bremner <bremner@debian.org> Mon, 27 Feb 2017 06:56:28 -0400
+ -- David Bremner <bremner@debian.org> Tue, 28 Feb 2017 20:39:30 -0400
notmuch (0.23.5-1) unstable; urgency=medium
mkdir -p "${HOME}"
MAIL_DIR="${TMP_DIRECTORY}/mail"
-export GNUPGHOME="${TMP_DIRECTORY}/gnupg"
export NOTMUCH_CONFIG="${TMP_DIRECTORY}/notmuch-config"
mkdir -p "${test}"
test_broken=0
test_success=0
-
-_shutdown_gpg_agent () {
- if [ ${NOTMUCH_HAVE_GPGCONF_SOCKETDIR} = 1 ]; then
- gpgconf --kill gpg-agent
- gpgconf --remove-socketdir
- fi
-}
-
_exit_common () {
code=$?
trap - EXIT
set +ex
- _shutdown_gpg_agent
rm -rf "$TEST_TMPDIR"
}
GIT_EXIT_OK=
# Note: TEST_TMPDIR *NOT* exported!
TEST_TMPDIR=$(mktemp -d "${TMPDIR:-/tmp}/notmuch-test-$$.XXXXXX")
+# Put GNUPGHOME in TMPDIR to avoid problems with long paths.
+export GNUPGHOME="${TEST_TMPDIR}/gnupg"
trap 'trap_exit' EXIT
trap 'trap_signal' HUP INT TERM
. ./test-lib-common.sh || exit 1
-# we need the setting of GNUPGHOME in test-lib-common.sh
-if [ ${NOTMUCH_HAVE_GPGCONF_SOCKETDIR} = 1 ]; then
- gpgconf --create-socketdir
-fi
-
emacs_generate_script