1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/audio/faad/Makefile
Pav Lucistnik ebcb4f8797 - Fix a heap-based buffer overflow in the command-line frontend. It allows
remote attackers to cause a denial of service (crash) and possibly execute
  arbitrary code via a crafted MPEG-4 (MP4) file.

PR:		ports/128512
Submitted by:	bf <bf2006a@yahoo.com>
Security:	http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4201
2008-11-12 16:31:27 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: faad
# Date created: 8 January 2003
# Whom: Sean McGovern <sean@sfarc.net>
#
# $FreeBSD$
#
PORTNAME= faad2
PORTVERSION= 2.6.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
MAINTAINER= multimedia@FreeBSD.org
COMMENT= MPEG-2 and MPEG-4 AAC audio decoder
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_DOS2UNIX= yes
USE_AUTOTOOLS= automake:15 autoheader:262 libtool:15
AUTOMAKE_ARGS= --add-missing
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|g' \
${WRKSRC}/common/mp4ff/mp4ff_int_types.h
pre-configure:
${MKDIR} ${WRKSRC}/plugins/bmp
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
@${ECHO_CMD} "SUBDIRS = libfaad common frontend" > \
${WRKSRC}/Makefile.am
.include <bsd.port.post.mk>