pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/oath-toolkit Version 1.12.6 (released 2012-09...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69e9517fa537
branches:  trunk
changeset: 610893:69e9517fa537
user:      pettai <pettai%pkgsrc.org@localhost>
date:      Sat Nov 10 18:07:44 2012 +0000

description:
Version 1.12.6 (released 2012-09-04)

* liboath: The usersfile is now fflush'ed and fsync'ed.
* liboath: A memory leak fixed.
* oathtool: The --counter parameter now works on 32-bit platforms.
* API and ABI is backwards compatible with the previous version.
  OATH_FILE_FLUSH_ERROR: Added.
  OATH_FILE_SYNC_ERROR: Added.
  OATH_FILE_CLOSE_ERROR: Added.
  OATH_LAST_ERROR: Added.

Version 1.12.5 (released 2012-08-19)

* oathtool: The --counter parameter now supports larger values.
  Before it used an 'int' type and now it uses a 'longlong' type.
  Needed for eSecuTech tokens as they use a 64-bit value for their
  initial counter. see <https://savannah.nongnu.org/support/?108114>.
* Added gnulib self-tests.
* API and ABI is backwards compatible with the previous version.

Version 1.12.4 (released 2012-06-17)

* liboath: Usersfile code handles multiple lines for a single user.
  This can be used when a single user carries multiple tokens (with
  different OATH secrets) and any of them should be permitted.
* API and ABI is backwards compatible with the previous version.

Version 1.12.3 (released 2012-05-31)

* pam_oath: Fix "try_first_pass".
* API and ABI is backwards compatible with the previous version.

Version 1.12.2 (released 2012-04-04)

* liboath: usersfile function now works on FreeBSD.
* tests: liboath usersfile self-test is skipped if there is no datefudge.
* API and ABI is backwards compatible with the previous version.

Version 1.12.1 (released 2012-04-01)

* liboath, oathtool: Base32 decoding now permit lowercase characters.
* API and ABI is backwards compatible with the previous version.

Version 1.12.0 (released 2012-04-01)

* oathtool: Added --base32 parameter to decode base32 keys.
* oathtool: Verbose output (-v) now print key data in base32 format too.
* liboath: Added base32 functions.  Added hex encoding function.
  The new APIs are oath_bin2hex, oath_base32_decode, and
  oath_base32_encode.
* liboath: Gnulib's snprintf is used for better portability.
  The system snprintf is known to have bugs on some systems, see the
  Gnulib manual for more information.
* API and ABI is backwards compatible with the previous version.
  oath_bin2hex: New function.
  oath_base32_decode: New function.
  oath_base32_encode: New function.
  OATH_INVALID_BASE32: New error code.
  OATH_BASE32_OVERFLOW: New error code.
  OATH_MALLOC_ERROR: New error code.

diffstat:

 security/oath-toolkit/Makefile                          |   6 ++++--
 security/oath-toolkit/PLIST                             |   7 +++----
 security/oath-toolkit/distinfo                          |  12 ++++++------
 security/oath-toolkit/patches/patch-liboath_gl_fflush.c |  10 +++++-----
 security/oath-toolkit/patches/patch-liboath_gl_fseeko.c |   8 ++++----
 5 files changed, 22 insertions(+), 21 deletions(-)

diffs (105 lines):

diff -r 6921f46cb7f2 -r 69e9517fa537 security/oath-toolkit/Makefile
--- a/security/oath-toolkit/Makefile    Sat Nov 10 17:13:37 2012 +0000
+++ b/security/oath-toolkit/Makefile    Sat Nov 10 18:07:44 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2012/10/23 18:16:37 asau Exp $
+# $NetBSD: Makefile,v 1.6 2012/11/10 18:07:44 pettai Exp $
 #
 
-DISTNAME=      oath-toolkit-1.10.5
+DISTNAME=      oath-toolkit-1.12.6
 CATEGORIES=    security
 MASTER_SITES=  http://download.savannah.gnu.org/releases/oath-toolkit/
 
@@ -10,6 +10,8 @@
 COMMENT=       OATH (Open AuTHentication) Toolkit
 LICENSE=       gnu-lgpl-v2.1 AND gnu-gpl-v3
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_TOOLS+=    pkg-config
 USE_LIBTOOL=   yes
diff -r 6921f46cb7f2 -r 69e9517fa537 security/oath-toolkit/PLIST
--- a/security/oath-toolkit/PLIST       Sat Nov 10 17:13:37 2012 +0000
+++ b/security/oath-toolkit/PLIST       Sat Nov 10 18:07:44 2012 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/05 09:51:20 pettai Exp $
+@comment $NetBSD: PLIST,v 1.2 2012/11/10 18:07:44 pettai Exp $
 bin/oathtool
 include/liboath/oath.h
 lib/liboath.la
 lib/pkgconfig/liboath.pc
-lib/security/pam_oath.a
-lib/security/pam_oath.so
+lib/security/pam_oath.la
 man/man1/oathtool.1
 share/gtk-doc/html/liboath/api-index-1-10-0.html
+share/gtk-doc/html/liboath/api-index-1-12-0.html
 share/gtk-doc/html/liboath/api-index-1-4-0.html
 share/gtk-doc/html/liboath/api-index-1-6-0.html
 share/gtk-doc/html/liboath/api-index-1-8-0.html
@@ -17,7 +17,6 @@
 share/gtk-doc/html/liboath/index.sgml
 share/gtk-doc/html/liboath/left.png
 share/gtk-doc/html/liboath/liboath-oath.html
-share/gtk-doc/html/liboath/liboath.devhelp
 share/gtk-doc/html/liboath/liboath.devhelp2
 share/gtk-doc/html/liboath/right.png
 share/gtk-doc/html/liboath/style.css
diff -r 6921f46cb7f2 -r 69e9517fa537 security/oath-toolkit/distinfo
--- a/security/oath-toolkit/distinfo    Sat Nov 10 17:13:37 2012 +0000
+++ b/security/oath-toolkit/distinfo    Sat Nov 10 18:07:44 2012 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2012/04/07 19:38:43 joerg Exp $
+$NetBSD: distinfo,v 1.7 2012/11/10 18:07:44 pettai Exp $
 
-SHA1 (oath-toolkit-1.10.5.tar.gz) = b3fddfbc442c7cffe854ec159466155ef6ce0cbc
-RMD160 (oath-toolkit-1.10.5.tar.gz) = 52c09b838b10df8536e3f122e1b829eec1f830f4
-Size (oath-toolkit-1.10.5.tar.gz) = 1876773 bytes
-SHA1 (patch-liboath_gl_fflush.c) = d2e61f4beb861dbb151ab576f2773d66698d0e7d
-SHA1 (patch-liboath_gl_fseeko.c) = 0c19a2b46df8fd3e5ba7be0836063a1da5ae8e52
+SHA1 (oath-toolkit-1.12.6.tar.gz) = e1d116d7a60aca902b880cd99d542f7896f21e39
+RMD160 (oath-toolkit-1.12.6.tar.gz) = dd6613531f770042b113230f7d42c49a302f6e89
+Size (oath-toolkit-1.12.6.tar.gz) = 2275393 bytes
+SHA1 (patch-liboath_gl_fflush.c) = 5a1ff1a9ae740e55816fbd5d33f01145e52368a4
+SHA1 (patch-liboath_gl_fseeko.c) = bd67a1af8c01a2dbf849f8612cbb18470cb3b248
diff -r 6921f46cb7f2 -r 69e9517fa537 security/oath-toolkit/patches/patch-liboath_gl_fflush.c
--- a/security/oath-toolkit/patches/patch-liboath_gl_fflush.c   Sat Nov 10 17:13:37 2012 +0000
+++ b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c   Sat Nov 10 18:07:44 2012 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-liboath_gl_fflush.c,v 1.1 2012/04/07 19:34:15 joerg Exp $
+$NetBSD: patch-liboath_gl_fflush.c,v 1.2 2012/11/10 18:07:44 pettai Exp $
 
---- liboath/gl/fflush.c.orig   2012-01-03 19:18:22.000000000 +0000
+--- liboath/gl/fflush.c.orig   2012-08-07 07:13:22.000000000 +0000
 +++ liboath/gl/fflush.c
-@@ -91,7 +91,7 @@ static inline void
- update_fpos_cache (FILE *fp, off_t pos)
+@@ -94,7 +94,7 @@ update_fpos_cache (FILE *fp _GL_UNUSED_P
+                    off_t pos _GL_UNUSED_PARAMETER)
  {
- #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
+ #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
 -# if defined __CYGWIN__
 +# if defined(__CYGWIN__) || defined(__NetBSD__)
    /* fp_->_offset is typed as an integer.  */
diff -r 6921f46cb7f2 -r 69e9517fa537 security/oath-toolkit/patches/patch-liboath_gl_fseeko.c
--- a/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c   Sat Nov 10 17:13:37 2012 +0000
+++ b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c   Sat Nov 10 18:07:44 2012 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-liboath_gl_fseeko.c,v 1.1 2012/04/07 19:34:15 joerg Exp $
+$NetBSD: patch-liboath_gl_fseeko.c,v 1.2 2012/11/10 18:07:44 pettai Exp $
 
---- liboath/gl/fseeko.c.orig   2012-01-03 19:18:22.000000000 +0000
+--- liboath/gl/fseeko.c.orig   2012-08-07 07:13:22.000000000 +0000
 +++ liboath/gl/fseeko.c
-@@ -109,7 +109,7 @@ fseeko (FILE *fp, off_t offset, int when
+@@ -119,7 +119,7 @@ fseeko (FILE *fp, off_t offset, int when
        fp->_flags &= ~_IO_EOF_SEEN;
        fp->_offset = pos;
- #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
+ #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
 -# if defined __CYGWIN__
 +# if defined(__CYGWIN__) || defined(__NetBSD__)
        /* fp_->_offset is typed as an integer.  */



Home | Main Index | Thread Index | Old Index