pkgsrc/devel/apr/Makefile
he 15a221f014 Add a patch to deal with CVE-2021-35940.
An out-of-bounds array read in the apr_time_exp*() functions was
fixed in the Apache Portable Runtime 1.6.3 release (CVE-2017-12613).
The fix for this issue was not carried forward to the APR 1.7.x
branch, and hence version 1.7.0 regressed compared to 1.6.3 and is
vulnerable to the same issue.

https://svn.apache.org/viewvc?view=revision&revision=1891198

Bump PKGREVISION.
2021-11-28 12:57:05 +00:00

36 lines
970 B
Makefile

# $NetBSD: Makefile,v 1.83 2021/11/28 12:57:05 he Exp $
#
# Take care, changelogs often include "PR 12345" strings
# which cause GNATS indigestion.
DISTNAME= apr-1.7.0
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://apr.apache.org/
COMMENT= Apache Portable Runtime
LICENSE= apache-2.0
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= apr.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
CONFIGURE_ARGS+= --with-installbuilddir=${PREFIX}/libexec/apr
CONFIGURE_ENV+= LIBS=${LIBS:M*:Q}
LIBS.SunOS+= -lnsl
TEST_TARGET= check
post-install:
${RM} ${DESTDIR}${PREFIX}/libexec/apr/libtool
${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${DESTDIR}${PREFIX}/libexec/apr/libtool
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"