Created attachment 147953 [details] pam_ocra-1.1.patch update to pam_ocra-1.1 - this is a bugfix release Changelog --------- - 1.1: * fix timstamp_offset verification: broken termination condition in timstamp_offset verify loop did not account for timstamp_offset==0. The result was that verification would suceed for any timestamp. * fix counter_window and timstamp_offset verification: broken termination condition in counter_window verify loop did not account for counter_window==0. The result was that the verification would execute MAX_INT times before failing. * fix i368 builds: incorrect sign-compare and 64bit specific format string triggerd warnings which broke the build for i368 targets.
unfortunately the update does not fix build on OSVERSION=901000 (base openssl to old, gcc warnings) i will rework the patch
Created attachment 147982 [details] pam_ocra-1.1.patch
tested on + 10.1-BETA3 i386 + 11.0-CURRENT amd64 + 9.3-RELEASE-p2 i386 updated Changelog ----------------- - 1.1: * change ocra_tool(8) command line interface: - 'help' command removed - 'init' -P pinhash option added - 'init' -c option now also accepts hex counters - 'info' output format changed * fix ocra_tool counter input: the -c counter option did not work for the whole value range of the counter paramter. * fix gcc builds: which where broken due to (cast-qual, format, sign-compare, ...) warnings. * fix timstamp_offset verification: broken termination condition in timstamp_offset verify loop did not account for timstamp_offset==0. The result was that verification would suceed for any timestamp. * fix counter_window and timstamp_offset verification: broken termination condition in counter_window verify loop did not account for counter_window==0. The result was that the verification would execute MAX_INT times before failing. * fix i368 builds: incorrect sign-compare and 64bit specific format string triggerd warnings which broke the build for i368 targets.
Can you attach a poudriere log with stage-qa checks in it?
Created attachment 148110 [details] poudriere log (FreeBSD 10.1-RC1 amd64)
Very good. I'm moving this to patch-ready status as a result.
Commited, thanks.
A commit references this bug: Author: rodrigo Date: Sun Oct 12 17:47:17 UTC 2014 New revision: 370731 URL: https://svnweb.freebsd.org/changeset/ports/370731 Log: Update security/pam_ocra to 1.1 PR: ports/194133 Submitted by: sg2342@googlemail.com (maintainer) Approved by: mentors (implicit) Changes: head/security/pam_ocra/Makefile head/security/pam_ocra/distinfo