From owner-freebsd-emulation@FreeBSD.ORG Thu May 19 19:40:09 2011 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDEE61065675 for ; Thu, 19 May 2011 19:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BBF858FC0C for ; Thu, 19 May 2011 19:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4JJe9aS012378 for ; Thu, 19 May 2011 19:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4JJe9YA012377; Thu, 19 May 2011 19:40:09 GMT (envelope-from gnats) Date: Thu, 19 May 2011 19:40:09 GMT Message-Id: <201105191940.p4JJe9YA012377@freefall.freebsd.org> To: emulation@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/156996: www/linux-f10-flashplugin is vulnerable X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2011 19:40:09 -0000 The following reply was made to PR ports/156996; it has been noted by GNATS. From: Juergen Lock To: bug-followup@freebsd.org Cc: Tsurutani Naoki Subject: Re: ports/156996: www/linux-f10-flashplugin is vulnerable Date: Thu, 19 May 2011 21:32:17 +0200 Here is an update that also installs the new flash-player-properties config applet with icons and desktop menu entries, that one only partly works (misses Linux /usr/lib/gio/modules/libgiofam.so and at least `Learn more' links are broken, also only the gnome version can work), but at least it should be good enough for first testing. Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/linux-f10-flashplugin10/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- Makefile 17 Apr 2011 18:32:15 -0000 1.16 +++ Makefile 19 May 2011 18:44:12 -0000 @@ -7,7 +7,7 @@ # PORTNAME= flashplugin -PORTVERSION= 10.2r159.1 +PORTVERSION= 10.3r181.14 CATEGORIES= www multimedia linux MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \ ftp://ftp.ipt.ru/pub/download/:suplib @@ -22,6 +22,8 @@ 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 RESTRICTED= Redistribution not allowed RESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//} @@ -34,8 +36,15 @@ NPAPI_FILES= libflashplayer.so CONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-* +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 + @${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 .include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" Index: distinfo =================================================================== RCS file: /home/pcvs/ports/www/linux-f10-flashplugin10/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo 17 Apr 2011 18:32:15 -0000 1.14 +++ distinfo 15 May 2011 17:13:50 -0000 @@ -1,4 +1,4 @@ -SHA256 (flashplugin/10.2r159.1/install_flash_player_10_linux.tar.gz) = e6844572fad1cef47dfa8afea6a6cf1e1191fde30041947d5beab1445e0ed742 -SIZE (flashplugin/10.2r159.1/install_flash_player_10_linux.tar.gz) = 4967668 -SHA256 (flashplugin/10.2r159.1/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf -SIZE (flashplugin/10.2r159.1/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 +SHA256 (flashplugin/10.3r181.14/install_flash_player_10_linux.tar.gz) = 2eaab07a2d066a436a9f8ff9b84e3cc89a969f032d6d9cf94cd81f285e115003 +SIZE (flashplugin/10.3r181.14/install_flash_player_10_linux.tar.gz) = 5456725 +SHA256 (flashplugin/10.3r181.14/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf +SIZE (flashplugin/10.3r181.14/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/linux-f10-flashplugin10/pkg-plist,v retrieving revision 1.2 diff -u -p -r1.2 pkg-plist --- pkg-plist 28 Jun 2009 20:29:15 -0000 1.2 +++ pkg-plist 19 May 2011 18:08:42 -0000 @@ -1,3 +1,23 @@ +bin/flash-player-properties +share/applications/flash-player-properties.desktop +share/icons/hicolor/16x16/apps/flash-player-properties.png +share/icons/hicolor/22x22/apps/flash-player-properties.png +share/icons/hicolor/24x24/apps/flash-player-properties.png +share/icons/hicolor/32x32/apps/flash-player-properties.png +share/icons/hicolor/48x48/apps/flash-player-properties.png +@dirrmtry share/icons/hicolor/16x16/apps +@dirrmtry share/icons/hicolor/22x22/apps +@dirrmtry share/icons/hicolor/24x24/apps +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/16x16 +@dirrmtry share/icons/hicolor/22x22 +@dirrmtry share/icons/hicolor/24x24 +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrmtry share/applications @cwd /compat/linux usr/lib/libflashsupport.so @cwd