openbsd-ports/security/mcrypt/Makefile
sthen 53b1da7ff8 In mcrypt, check salt lengths and exit with an error, rather than
overrunning a buffer, if too long. CVE-2012-4409.

Patch from http://seclists.org/oss-sec/2012/q3/396, ok benoit@
2012-09-06 21:56:31 +00:00

38 lines
897 B
Makefile

# $OpenBSD: Makefile,v 1.25 2012/09/06 21:56:31 sthen Exp $
COMMENT = extendable encryption program that supports many ciphers
DISTNAME = mcrypt-2.6.8
REVISION = 2
CATEGORIES = security
HOMEPAGE = http://mcrypt.sf.net/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c ltdl mcrypt mhash z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mcrypt/}
USE_LIBTOOL = Yes
USE_GMAKE = Yes
USE_GROFF = Yes
MODULES = devel/gettext
LIB_DEPENDS = security/libmcrypt \
security/mhash \
devel/libtool,-ltdl
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
CONFIGURE_ARGS += --enable-static --with-catgets
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv -lltdl"
.include <bsd.port.mk>