7492b747b6
Upstream announcement: https://helpx.adobe.com/security/products/flash-player/apsb18-25.html Adobe Security Bulletin Security updates available for Flash Player | APSB18-25 Summary Adobe has released security updates for Adobe Flash Player for Windows, macOS, Linux and Chrome OS. These updates address important vulnerabilities in Adobe Flash Player 30.0.0.134 and earlier versions. Successful exploitation could lead to arbitrary code execution in the context of the current user.
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2018/08/15 03:32:29 tsutsui Exp $
|
|
|
|
FLASH_VERSION= 30.0.0.154
|
|
DISTNAME= flash_player_npapi_linux.${FLASH_ARCH}
|
|
PKGNAME= adobe-flash-player-${FLASH_VERSION}
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
CATEGORIES= multimedia www
|
|
MASTER_SITES= https://fpdownload.macromedia.com/get/flashplayer/pdc/${FLASH_VERSION}/
|
|
|
|
MAINTAINER= tsutsui@NetBSD.org
|
|
HOMEPAGE= https://www.adobe.com/products/flashplayer.html
|
|
COMMENT= Adobe Flash Player Browser NPAPI plugin
|
|
LICENSE= flash-license
|
|
|
|
RESTRICTED= Redistribution not permitted
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
# On NetBSD, requires sufficiently new compat_linux and
|
|
# procfs_map.c fixes pulled after 6.1 and 7.0.
|
|
NOT_FOR_PLATFORM= NetBSD-[0-5]*-* NetBSD-6.[0-1].*-* NetBSD-7.0.*-*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
BUILD_DIRS= # empty
|
|
|
|
EMUL_PLATFORMS= linux-i386 linux-x86_64
|
|
EMUL_MODULES.linux= gtk2 x11 glx krb5 alsa curl nss nspr
|
|
# flashplayer 24 still supports OpenSUSE 11.3, but NetBSD 6.x uses 12.1
|
|
# by default so I won't bother to test with 11.3.
|
|
EMUL_REQD= suse>=12.1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${EMUL_PLATFORM} == "linux-i386"
|
|
FLASH_ARCH= i386
|
|
.elif ${EMUL_PLATFORM} == "linux-x86_64"
|
|
FLASH_ARCH= x86_64
|
|
.endif
|
|
|
|
CONFLICTS= adobe-flash-plugin-[0-9]*
|
|
|
|
NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
|
|
|
|
.include "options.mk"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/libflashplayer.so \
|
|
${DESTDIR}${NS_PLUGINS_DIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|