

0. If using a tarball

 skip to step 3

1. Obtain code from git

2. autotools setup

  autoreconf --install
  #autoconf -f && autoheader && automake
  #autoreconf -f --install && autoheader && automake

3. configure the source tree for compiling:

  Use the supplied configure script, some examples of how to invoke it:

  ./configure --enable-shared
  ./configure CFLAGS="-I /usr/include/apr-1.0"
  ./configure --enable-shared CFLAGS="-I/usr/include/apr-1.0 -I/usr/include/liboath -g"

  possible alternative for 32 bit build:

  ./configure --enable-shared CFLAGS="-I/usr/include/apr-1.0 -I/usr/include/liboath -D_LARGEFILE64_SOURCE -g" --prefix=/usr/local 

4. build the code:

  make

5. test

  ./dynalogin_tester testuser

  dynalogin_tester can test against any datasource (modify dynalogin_tester.c
  to choose one of the other datasources, they are commented out)

  If it is compiled against the `example_ds' module (the default),
  then there is one statically configured user:

    user ID:  testuser
    secret:   abc123

  The first few expected HOTP codes for this user are:

     307799 780164 761834 202441 664978

  You can obtain more codes using the `oathtool' utility, e.g:

    oathtool -w 20 616263313233

  Note that oathtool expects the secret key in hexadecimal (not ASCII),
  while dynalogin processes keys in ASCII format.

6. install

  make install
 
