ports/161288: [New port] www/linux-flashplugin11
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Tue Oct 4 23:40:11 UTC 2011
>Number: 161288
>Category: ports
>Synopsis: [New port] www/linux-flashplugin11
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 04 23:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Tsurutani Naoki
>Release: FreeBSD 8.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #25: Mon Jan 24 10:37:18 JST 2011 turutani at h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386
>Description:
flashplugin11 is released.
it seems to work fine.
>How-To-Repeat:
>Fix:
here is a ports skelton based on www/linux-f10-flashplugin10:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# linux-f10-flashplugin11/
# linux-f10-flashplugin11/Makefile
# linux-f10-flashplugin11/distinfo
# linux-f10-flashplugin11/pkg-descr
# linux-f10-flashplugin11/pkg-plist
#
echo c - linux-f10-flashplugin11/
mkdir -p linux-f10-flashplugin11/ > /dev/null 2>&1
echo x - linux-f10-flashplugin11/Makefile
sed 's/^X//' >linux-f10-flashplugin11/Makefile << '8a937900edc204a9cc0a14b5bfa4a36e'
XPORTNAME= flashplugin
XPORTVERSION= 11.0r1.152
XCATEGORIES= www multimedia linux
XMASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \
X ftp://ftp.ipt.ru/pub/download/:suplib
XPKGNAMEPREFIX= linux-f10-
XDISTFILES= install_flash_player_11_linux.i386.tar.gz:plugin \
X linux-f10-flashsupport-9.0.1.i386.tar.gz:suplib
XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
X
XMAINTAINER= emulation at FreeBSD.org
XCOMMENT= Adobe Flash Player NPAPI Plugin
X
XONLY_FOR_ARCHS= amd64 i386
XUSE_LINUX= yes
XUSE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap gtk2
XWANT_GNOME= yes
X
XRESTRICTED= Redistribution not allowed
XRESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//}
X
XNO_BUILD= yes
XWRKSRC= ${WRKDIR}
X
XUSE_NPAPI= linux-*
XNPAPI_FILES= libflashplayer.so
X
XCONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10-* linux-f10-flashplugin10
X
XOPTIONS= GNOME "include gnome support for .desktop file" Off
X
X.include <bsd.port.pre.mk>
X
X.ifndef(WITHOUT_GNOME)
XINSTALLS_ICONS= yes
XUSE_GNOME= desktopfileutils
XPLIST_SUB+= GNOME=""
X.else
XPLIST_SUB+= GNOME="@comment "
X.endif
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop
X
Xpost-install:
X @${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib
X @${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${PREFIX}/bin
X @${MKDIR} ${PREFIX}/share/applications/
X @${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${DESKTOPDIR}
X @(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons)
X - at update-desktop-database
X
X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
X.include <bsd.port.post.mk>
8a937900edc204a9cc0a14b5bfa4a36e
echo x - linux-f10-flashplugin11/distinfo
sed 's/^X//' >linux-f10-flashplugin11/distinfo << '46d4ff844f26271067d899b6d2e83be4'
XSHA256 (flashplugin/11.0r1.152/install_flash_player_11_linux.i386.tar.gz) = 3532ee49eda0845597084a805e11985f9fd9c5f7b5b72f592ceb18529da918c1
XSIZE (flashplugin/11.0r1.152/install_flash_player_11_linux.i386.tar.gz) = 6742944
XSHA256 (flashplugin/11.0r1.152/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf
XSIZE (flashplugin/11.0r1.152/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455
46d4ff844f26271067d899b6d2e83be4
echo x - linux-f10-flashplugin11/pkg-descr
sed 's/^X//' >linux-f10-flashplugin11/pkg-descr << '6133997fe95c896eb8bd304feaae3d6d'
XThis is the official Flash Player from Adobe. This plugin enables
Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or
XFirefox sessions.
X
XPlease see the Adobe home page for more information.
X
XFreeBSD Flash License Agreement:
X http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374
X
XWWW: http://www.adobe.com/
6133997fe95c896eb8bd304feaae3d6d
echo x - linux-f10-flashplugin11/pkg-plist
sed 's/^X//' >linux-f10-flashplugin11/pkg-plist << '14b6ae972809b12ce0cdd1a38330bafa'
Xbin/flash-player-properties
Xshare/applications/flash-player-properties.desktop
Xshare/icons/hicolor/16x16/apps/flash-player-properties.png
Xshare/icons/hicolor/22x22/apps/flash-player-properties.png
Xshare/icons/hicolor/24x24/apps/flash-player-properties.png
Xshare/icons/hicolor/32x32/apps/flash-player-properties.png
Xshare/icons/hicolor/48x48/apps/flash-player-properties.png
X at dirrmtry share/icons/hicolor/16x16/apps
X at dirrmtry share/icons/hicolor/22x22/apps
X at dirrmtry share/icons/hicolor/24x24/apps
X at dirrmtry share/icons/hicolor/32x32/apps
X at dirrmtry share/icons/hicolor/48x48/apps
X at dirrmtry share/icons/hicolor/16x16
X at dirrmtry share/icons/hicolor/22x22
X at dirrmtry share/icons/hicolor/24x24
X at dirrmtry share/icons/hicolor/32x32
X at dirrmtry share/icons/hicolor/48x48
X at dirrmtry share/icons/hicolor
X at dirrmtry share/icons
X at dirrmtry share/applications
X at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
X at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
X at cwd /compat/linux
Xusr/lib/libflashsupport.so
X at cwd
14b6ae972809b12ce0cdd1a38330bafa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list