jca a9383844e0 SECURITY update to json-c-0.12. ok sthen@
- CVE-2013-6371, hash collision DoS
- CVE-2013-6370, buffer overflow if size_t is larger than int
2014-04-22 10:52:35 +00:00

29 lines
681 B
Makefile

# $OpenBSD: Makefile,v 1.10 2014/04/22 10:52:35 jca Exp $
COMMENT= JSON implementation in C
DISTNAME= json-c-0.12
CATEGORIES= devel
SHARED_LIBS += json-c 0.0 # 2.1
HOMEPAGE= http://oss.metaparadigm.com/json-c/
# MIT
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES = https://s3.amazonaws.com/json-c_releases/releases/
CONFIGURE_STYLE= gnu
# not enabled by default at present, but we want to make sure we
# don't use it if it's later enabled as it disables using random(4).
# (the cpuid code will probably break with PIE on i386 too).
CONFIGURE_ARGS= --disable-rdrand
# wrong mtime in 0.12
post-extract:
touch ${WRKSRC}/config.h.in
.include <bsd.port.mk>