1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

- Update linux-f10-flashplugin to 10.3r183.10 . [1]

- Make gnome desktopfileutils dependency optional. [2]

PR:		ports/160894 [1]
Submitted by:   Garrett Cooper <yanegomi@gmail.com> [1]
Suggested by:	Peter Jeremy <peterjeremy@acm.org> [2]
Security:	http://www.freebsd.org/ports/portaudit/53e531a7-e559-11e0-b481-001b2134ef46.html
This commit is contained in:
Juergen Lock 2011-09-22 20:47:10 +00:00
parent 9f5966fe54
commit 2a400db18a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282197
7 changed files with 89 additions and 16 deletions

View File

@ -34,6 +34,53 @@ Note: Please add new entries to the beginning of this file.
-->
<vuxml xmlns="http://www.vuxml.org/apps/vuxml-1">
<vuln vid="53e531a7-e559-11e0-b481-001b2134ef46">
<topic>linux-flashplugin -- multiple vulnerabilities</topic>
<affects>
<package>
<name>linux-flashplugin</name>
<range><le>9.0r289</le></range>
</package>
<package>
<name>linux-f10-flashplugin</name>
<range><lt>10.3r183.10</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>Adobe Product Security Incident Response Team reports:</p>
<blockquote cite="https://www.adobe.com/support/security/bulletins/apsb11-26.html">
<p>Critical vulnerabilities have been identified in Adobe Flash
Player 10.3.183.7 and earlier versions for Windows, Macintosh,
Linux and Solaris, and Adobe Flash Player 10.3.186.6 and earlier
versions for Android. These vulnerabilities could cause a crash
and potentially allow an attacker to take control of the
affected system.</p>
<p>There are reports that one of these vulnerabilities
(CVE-2011-2444) is being exploited in the wild in active
targeted attacks designed to trick the user into clicking on
a malicious link delivered in an email message. This universal
cross-site scripting issue could be used to take actions on a
user's behalf on any website or webmail provider if the user
visits a malicious website.</p>
</blockquote>
</body>
</description>
<references>
<url>https://www.adobe.com/support/security/bulletins/apsb11-26.html</url>
<cvename>CVE-2011-2426</cvename>
<cvename>CVE-2011-2427</cvename>
<cvename>CVE-2011-2428</cvename>
<cvename>CVE-2011-2429</cvename>
<cvename>CVE-2011-2430</cvename>
<cvename>CVE-2011-2444</cvename>
</references>
<dates>
<discovery>2011-06-06</discovery>
<entry>2011-09-22</entry>
</dates>
</vuln>
<vuln vid="e44fe906-df27-11e0-a333-001cc0a36e12">
<topic>phpmyadmin -- multiple XSS vulnerabilities</topic>
<affects>

View File

@ -7,7 +7,7 @@
#
PORTNAME= flashplugin
PORTVERSION= 10.3r183.7
PORTVERSION= 10.3r183.10
CATEGORIES= www multimedia linux
MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \
ftp://ftp.ipt.ru/pub/download/:suplib
@ -22,8 +22,7 @@ COMMENT= Adobe Flash Player NPAPI Plugin
ONLY_FOR_ARCHS= amd64 i386
USE_LINUX= yes
USE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap gtk2
USE_GNOME= desktopfileutils
INSTALLS_ICONS= yes
WANT_GNOME= yes
RESTRICTED= Redistribution not allowed
RESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//}
@ -36,16 +35,28 @@ NPAPI_FILES= libflashplayer.so
CONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-*
OPTIONS= GNOME "include gnome support for .desktop file" Off
.include <bsd.port.pre.mk>
.ifndef(WITHOUT_GNOME)
INSTALLS_ICONS= yes
USE_GNOME= desktopfileutils
PLIST_SUB+= GNOME=""
.else
PLIST_SUB+= GNOME="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop
post-install:
@${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib
@${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${DESKTOPDIR}
@(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons)
-@update-desktop-database
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
.include <bsd.port.post.mk>

View File

@ -1,4 +1,4 @@
SHA256 (flashplugin/10.3r183.7/install_flash_player_10_linux.tar.gz) = 465e018b9d6b85e74fa2625fe7acdc21954b5aab39f68e8cd77780561bbdd198
SIZE (flashplugin/10.3r183.7/install_flash_player_10_linux.tar.gz) = 5459767
SHA256 (flashplugin/10.3r183.7/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf
SIZE (flashplugin/10.3r183.7/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455
SHA256 (flashplugin/10.3r183.10/install_flash_player_10_linux.tar.gz) = dfd5bbf4689465cc56b0a883b8368a1c13be6bdd0d594fc81a0129055e0b453a
SIZE (flashplugin/10.3r183.10/install_flash_player_10_linux.tar.gz) = 5459935
SHA256 (flashplugin/10.3r183.10/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf
SIZE (flashplugin/10.3r183.10/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455

View File

@ -18,6 +18,8 @@ share/icons/hicolor/48x48/apps/flash-player-properties.png
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
@dirrmtry share/applications
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
@cwd /compat/linux
usr/lib/libflashsupport.so
@cwd

View File

@ -7,7 +7,7 @@
#
PORTNAME= flashplugin
PORTVERSION= 10.3r183.7
PORTVERSION= 10.3r183.10
CATEGORIES= www multimedia linux
MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \
ftp://ftp.ipt.ru/pub/download/:suplib
@ -22,8 +22,7 @@ COMMENT= Adobe Flash Player NPAPI Plugin
ONLY_FOR_ARCHS= amd64 i386
USE_LINUX= yes
USE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap gtk2
USE_GNOME= desktopfileutils
INSTALLS_ICONS= yes
WANT_GNOME= yes
RESTRICTED= Redistribution not allowed
RESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//}
@ -36,16 +35,28 @@ NPAPI_FILES= libflashplayer.so
CONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-*
OPTIONS= GNOME "include gnome support for .desktop file" Off
.include <bsd.port.pre.mk>
.ifndef(WITHOUT_GNOME)
INSTALLS_ICONS= yes
USE_GNOME= desktopfileutils
PLIST_SUB+= GNOME=""
.else
PLIST_SUB+= GNOME="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop
post-install:
@${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib
@${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${DESKTOPDIR}
@(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons)
-@update-desktop-database
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
.include <bsd.port.post.mk>

View File

@ -1,4 +1,4 @@
SHA256 (flashplugin/10.3r183.7/install_flash_player_10_linux.tar.gz) = 465e018b9d6b85e74fa2625fe7acdc21954b5aab39f68e8cd77780561bbdd198
SIZE (flashplugin/10.3r183.7/install_flash_player_10_linux.tar.gz) = 5459767
SHA256 (flashplugin/10.3r183.7/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf
SIZE (flashplugin/10.3r183.7/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455
SHA256 (flashplugin/10.3r183.10/install_flash_player_10_linux.tar.gz) = dfd5bbf4689465cc56b0a883b8368a1c13be6bdd0d594fc81a0129055e0b453a
SIZE (flashplugin/10.3r183.10/install_flash_player_10_linux.tar.gz) = 5459935
SHA256 (flashplugin/10.3r183.10/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf
SIZE (flashplugin/10.3r183.10/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455

View File

@ -18,6 +18,8 @@ share/icons/hicolor/48x48/apps/flash-player-properties.png
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
@dirrmtry share/applications
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
@cwd /compat/linux
usr/lib/libflashsupport.so
@cwd