ChangeLog:
authorMoritz Schulte <mo@g10code.com>
Sat, 22 Oct 2005 21:16:49 +0000 (21:16 +0000)
committerMoritz Schulte <mo@g10code.com>
Sat, 22 Oct 2005 21:16:49 +0000 (21:16 +0000)
2005-10-22  Moritz Schulte  <moritz@g10code.com>

* NEWS: Updated.

2005-10-19  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Check for functions: fopencookie, funopen.

2005-10-15  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Implement --with-pam-module-directory switch.

ChangeLog
NEWS
configure.ac

index 7a57cb0..385a953 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2005-10-22  Moritz Schulte  <moritz@g10code.com>
+
+       * NEWS: Updated.
+
+2005-10-19  Moritz Schulte  <moritz@g10code.com>
+
+       * configure.ac: Check for functions: fopencookie, funopen.
+
+2005-10-15  Moritz Schulte  <moritz@g10code.com>
+
+       * configure.ac: Implement --with-pam-module-directory switch.
+
 2005-10-08  Moritz Schulte  <moritz@g10code.com>
 
        * configure.ac (POLDI_CONF_DIRECTORY): Only set
diff --git a/NEWS b/NEWS
index 901d797..3bfc57d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,3 +2,17 @@ Changes since version 0.2:
 
 * Better support for Version 0x0101 cards (no Admin PIN necessary for
   public key retrival).
+
+* Work around a problem in libpam_misc, which causes the PIN prompt to
+  appear to late.
+
+* Improved documentation.
+
+* Support for creating a skeleton configuration hierarchy.
+
+* Support for a timeout while waiting for smartcard insertion.
+
+* Removed `fake-wait-for-card'-feature.
+
+* Dropped ugly `install-pam-module' mechanism; now the PAM module gets
+  installed automatically during `make install'.
index 790cd5f..f17ecb7 100644 (file)
@@ -40,9 +40,13 @@ AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
 POLDI_CONF_DIRECTORY="${sysconfdir}/poldi"
 AC_SUBST(POLDI_CONF_DIRECTORY)
 
-if test "x$PAM_MODULE_DIRECTORY" = "x"; then
-  PAM_MODULE_DIRECTORY="${libdir}/security"
-fi
+# Implementation of the --with-pam-module-directory switch.
+DEFAULT_PAM_MODULE_DIRECTORY="${libdir}/security"
+AC_ARG_WITH(pam-module-directory,
+           [  --with-pam-module-directory=NAME
+                          Use NAME as installation directory for PAM modules ],
+           PAM_MODULE_DIRECTORY="$withval",
+           PAM_MODULE_DIRECTORY="$DEFAULT_PAM_MODULE_DIRECTORY")
 AC_SUBST(PAM_MODULE_DIRECTORY)
 
 AC_GNU_SOURCE
@@ -107,6 +111,7 @@ AC_CHECK_LIB(usb, usb_bulk_write,
              ])
 AC_SUBST(LIBUSB_LIBS)
 AC_CHECK_FUNCS(usb_get_busses memicmp stpcpy strlwr strtoul memmove stricmp)
+AC_CHECK_FUNCS(fopencookie funopen)
 
 # Checks for header files.
 AC_HEADER_STDC
@@ -205,3 +210,13 @@ AC_CONFIG_FILES([Makefile
                 src/ctrl/Makefile
                 conf/Makefile])
 AC_OUTPUT
+
+if test "$PAM_MODULE_DIRECTORY" = "$DEFAULT_PAM_MODULE_DIRECTORY"; then
+   AC_MSG_WARN([
+**
+** Warning: using default value ($DEFAULT_PAM_MODULE_DIRECTORY) as
+**          installation directory for PAM module.
+**])
+else
+  AC_MSG_NOTICE([PAM module installation directory: $PAM_MODULE_DIRECTORY])
+fi