6bad46d81b
* liboath: Fix usersfile bug that caused it to update the wrong line. When an usersfile contain multiple lines for the same user but with an unparseable token type (e.g., HOTP vs TOTP), the code would update the wrong line of the file. Since the then updated line could be a commented out line, this can lead to the same OTP being accepted multiple times which is a security vulnerability. CVE-2013-7322 CVs: ----------------------------------------------------------------------
28 lines
756 B
Makefile
28 lines
756 B
Makefile
# $NetBSD: Makefile,v 1.13 2014/03/10 00:58:51 pettai Exp $
|
|
|
|
DISTNAME= oath-toolkit-2.4.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/oath-toolkit/
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= http://www.nongnu.org/oath-toolkit/
|
|
COMMENT= OATH (Open AuTHentication) Toolkit
|
|
LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= autoconf automake m4 autoreconf
|
|
|
|
BUILD_DEPENDS+= automake>=1.14:../../devel/automake
|
|
|
|
PKGCONFIG_OVERRIDE+= liboath/liboath.pc.in
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoreconf -fi
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../security/xmlsec1/buildlink3.mk"
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|