From e7955062af5f9410833040f054e84c75e966a9ef Mon Sep 17 00:00:00 2001 From: pettai Date: Sat, 10 Nov 2012 18:07:44 +0000 Subject: 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 . * 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. --- 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(-) (limited to 'security/oath-toolkit') diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile index 03fe42e0f7f..129a3f86944 100644 --- a/security/oath-toolkit/Makefile +++ b/security/oath-toolkit/Makefile @@ -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 @@ HOMEPAGE= http://www.nongnu.org/oath-toolkit/ 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 --git a/security/oath-toolkit/PLIST b/security/oath-toolkit/PLIST index d31d69dc638..29a9e316330 100644 --- a/security/oath-toolkit/PLIST +++ b/security/oath-toolkit/PLIST @@ -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.html 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 --git a/security/oath-toolkit/distinfo b/security/oath-toolkit/distinfo index b0a68303b43..ed6cee09398 100644 --- a/security/oath-toolkit/distinfo +++ b/security/oath-toolkit/distinfo @@ -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 --git a/security/oath-toolkit/patches/patch-liboath_gl_fflush.c b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c index f50feeecbd2..6009ac48aaf 100644 --- a/security/oath-toolkit/patches/patch-liboath_gl_fflush.c +++ b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c @@ -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 --git a/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c index f66b6f465b3..6d16f0caf0c 100644 --- a/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c +++ b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c @@ -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. */ -- cgit v1.2.3