summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2012-06-19 19:32:58 +0000
committerJim Ramsay <lack@gentoo.org>2012-06-19 19:32:58 +0000
commita95bda4b22b146cc8d92931761257e51cfcba8a1 (patch)
treed00c0e504aa94e5ebaa2b5a912a3e5f0bd17622a /www-plugins
parentcommented patches with upstream reports (diff)
downloadhistorical-a95bda4b22b146cc8d92931761257e51cfcba8a1.tar.gz
historical-a95bda4b22b146cc8d92931761257e51cfcba8a1.tar.bz2
historical-a95bda4b22b146cc8d92931761257e51cfcba8a1.zip
Version cleanup, plus removed extra elog output (Bug #416769)
Package-Manager: portage-2.1.10.57/cvs/Linux x86_64
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/adobe-flash/ChangeLog8
-rw-r--r--www-plugins/adobe-flash/Manifest29
-rw-r--r--www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild9
-rw-r--r--www-plugins/adobe-flash/adobe-flash-11.2.202.228.ebuild264
-rw-r--r--www-plugins/adobe-flash/adobe-flash-11.2.202.233.ebuild264
-rw-r--r--www-plugins/adobe-flash/adobe-flash-11.2.202.235.ebuild264
-rw-r--r--www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild7
7 files changed, 13 insertions, 832 deletions
diff --git a/www-plugins/adobe-flash/ChangeLog b/www-plugins/adobe-flash/ChangeLog
index 172b32941d5e..2bb21565d0aa 100644
--- a/www-plugins/adobe-flash/ChangeLog
+++ b/www-plugins/adobe-flash/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-plugins/adobe-flash
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.135 2012/06/11 10:14:52 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.136 2012/06/19 19:32:58 lack Exp $
+
+ 19 Jun 2012; Jim Ramsay <jim_ramsay@gentoo.org>
+ adobe-flash-10.3.183.18.ebuild, -adobe-flash-11.2.202.228.ebuild,
+ -adobe-flash-11.2.202.233.ebuild, -adobe-flash-11.2.202.235.ebuild,
+ adobe-flash-11.2.202.236.ebuild:
+ Version cleanup, plus removed extra elog output (Bug #416769)
11 Jun 2012; Agostino Sarubbo <ago@gentoo.org>
adobe-flash-11.2.202.236.ebuild:
diff --git a/www-plugins/adobe-flash/Manifest b/www-plugins/adobe-flash/Manifest
index 5bc9e836a7d9..e4c180bea83b 100644
--- a/www-plugins/adobe-flash/Manifest
+++ b/www-plugins/adobe-flash/Manifest
@@ -1,33 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
AUX flashplugin-lahf-fix.c 1038 RMD160 8b4550179b919f82acb67813eff33462bebeeb74 SHA1 628b3d672416d386134f79dbcedba333bd5558a9 SHA256 52acc6658eb7d49fb167c848345f7dcb49e4057e2872ca8319bccbff6728df6d
AUX memcpy-to-memmove.sh 1418 RMD160 322005bfe0717630b945eb71ae4aa808a1d14d5e SHA1 72ee58862db06ee235055123137604619273819f SHA256 08a7203d19ca0d1ecbfaf6c46d915a28e2de81da97e42ef3c56e3d370c380096
AUX mms.cfg 4420 RMD160 b73a91462e1db48fb40983e896cb06b3deb2a51e SHA1 3e56ecb32b938f46eea17a924fa0b006c66a3e6e SHA256 0dd2a9f9aab559243c4d282b5c143ed8876b8d6f8be519bfa8ca6e8fc0c55d9a
DIST adobe-flash-10.3.183.18.i386.tar.gz 5459173 RMD160 15e27e8a595b945260bb9b41b1145888d0ccc1a8 SHA1 94cfed04bbf04977c16f90d1cbbdd0dae91d56c9 SHA256 49596b20f5bf659a772110e88b9e5990ecb20306dcfb2daba8917b6367184dc9
-DIST adobe-flash-11.2.202.228.i386.tar.gz 6917230 RMD160 60ee451496c048d71fd9bc488e002f8645aa3095 SHA1 7af39c4e16d399d4c2940bd029d3c497f064e343 SHA256 20a806eaf508aa8bf22d9803e94b9f942a548da87cd0a59712c7bcd1df0d44e6
-DIST adobe-flash-11.2.202.228.x86_64.tar.gz 7224876 RMD160 cbf525ea7c6580537719cf5c2d705edd9e0835bb SHA1 7e54bf4271b2696480eb999100e506e511306fd0 SHA256 92c9758d347d05c284dcafccbc8370d8ba9a52f039ce1dbe558be66560476681
-DIST adobe-flash-11.2.202.233.i386.tar.gz 6916591 RMD160 6a433ffbb756e789e8af5525dafe76fe84bee5aa SHA1 71dba8513d4272329794fff0ea98c8a696c398cd SHA256 96b65d9b0dd5fca3f49fa13565fc2583f9254e605ecaf708363ad08b2a58ecc9
-DIST adobe-flash-11.2.202.233.x86_64.tar.gz 7224826 RMD160 a29071d436d2a4bd3138ba85cb7ad70e1506d800 SHA1 93bd258740ce8fa78242beb987c191f95625cd22 SHA256 9ebada855742f2169a3e4aabce0947a4b586ee9ab9cbfce638f665e63df01962
-DIST adobe-flash-11.2.202.235.i386.tar.gz 6916435 RMD160 72a06d7fd754b7e04e382ee5e368b88d1ac9415a SHA1 ac3d96f6b5335add2c50abc98c2245149908d1aa SHA256 3c687f0f05eaad30c7f034c107df2b692ea7494d5515c2238dbe10ea0735d56d
-DIST adobe-flash-11.2.202.235.x86_64.tar.gz 7224725 RMD160 13087670847bac251a1b1199f90b804fd1075e7d SHA1 314b39640ce2371c69e6936e747ab82c8b2adb94 SHA256 43f5d076948eb4f9ef8c91e86ec18eb6c0ca931901e660b034ad769cb4361990
DIST adobe-flash-11.2.202.236.i386.tar.gz 6916648 RMD160 41c2d8a36ab944f44c2215df223c3a6746509fbc SHA1 3f8ecfa1b9990ee4c8d47a83a6a6011283eaaa62 SHA256 c24d9ecda151bd571360eb4988bb743fb956b2674016755cbe8205b7f99cb3a8
DIST adobe-flash-11.2.202.236.x86_64.tar.gz 7224685 RMD160 3535ae9502efc19f45d4afb9af3b21c7acf01c19 SHA1 94760b74505ed07e8c9089590fb0fb345b23de36 SHA256 3e1f930f15c7f85bb8c7a766ae2418b3539df13f3e668866ae8ea27681e036f2
-EBUILD adobe-flash-10.3.183.18.ebuild 3724 RMD160 ca627d7d59c25e3ad0e3bbfb03c80b401d93f968 SHA1 8022579166364ed078a446898032bccbc0d768c6 SHA256 ec1871d25cce1e25f5acfba686eb9e96fc89c0b26b0127ec57a265af75620def
-EBUILD adobe-flash-11.2.202.228.ebuild 8304 RMD160 eff44cc09a08ba65caf771f79b8e3513330a1d82 SHA1 2587f6fd34df83250d42c2dc0ef405e7014dd9ba SHA256 54cde1e6fc388afba5dd1421dfb998a728b296cce23381bc1b92108ce9fa173b
-EBUILD adobe-flash-11.2.202.233.ebuild 8301 RMD160 9182eb0fb1cdce226e57a5cbf856a31c6d9dc2ce SHA1 cbe5228e9a4a12e78fdb8765c51d42a608e329df SHA256 228ffb7c287fb0cf1ed1f5765f4e9236e4bbea729db2c79a4efaf21f6b43d224
-EBUILD adobe-flash-11.2.202.235.ebuild 8304 RMD160 0ddca600f24b22e9ec44b94a91c043d0b16698e4 SHA1 f9dbc3748ff8e571e301dfcf973f2b051e8fb8e6 SHA256 d19157c520a45c5882cc9dfcb701165646dcead622e59aee21895d1bbe1b6f82
-EBUILD adobe-flash-11.2.202.236.ebuild 8298 RMD160 10adce25ce27ef8778160282e9fae2bb64e56b56 SHA1 0b8cf69380142216f57c8a40b3b9d4623851282b SHA256 a51e009bd1adfa5127c2a343d58172f9dcfc49fa6d5dcd44c1474a0cdadd824b
-MISC ChangeLog 42938 RMD160 9ec36a0b63b31ddec2dd2e17146a05e0a2c4dbe9 SHA1 56c06b0ab14fd6a45702e22c77466e9de4619898 SHA256 042d9b11c079390d89d89887e8b7b2687c2e73b3fe15940eefb79412dbeb5a3d
+EBUILD adobe-flash-10.3.183.18.ebuild 3484 RMD160 242291bcad76782b428195d2d3bbe6dfbcaff977 SHA1 158b236f504daca6a6be743ed5159d62b75f80ae SHA256 ca83d68101539a792107a10a5899ababdcf71d4a63ff0f0fd5db1e8706dbb332
+EBUILD adobe-flash-11.2.202.236.ebuild 8017 RMD160 719021de18c4ab24dd1beb6ad4bb3b0ad9504ce3 SHA1 1442178987353371e490d7d4f5111ee375b0af92 SHA256 6c033b2ae6ece18b34377b7a2cef786e7aab07f9a4cbf9ed83b6794974e85c2d
+MISC ChangeLog 43227 RMD160 0edcbe32ff628f350268a4181ce8ff8fc15282fb SHA1 82ac3258a853b4b32a9c9424875274bdc97db716 SHA256 08fece7441b57f205c65916ef9b1dbe6b6c156de9a2e81a8b1a1d4dae4c9749d
MISC metadata.xml 1084 RMD160 01945abbb11a137e8ad64088f16ba4368c241878 SHA1 94a7b3fdfe2e35e2eb6233f326ae8391f48c8fc7 SHA256 20d7dd4b855c8a6d441febca72a4c5ed1605db2fe884c11dbf3b129b02556552
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQEcBAEBCgAGBQJP1cUhAAoJEOTDgjZ80txdG5gIAJvm5NWRZB5Pus2m6n3px2my
-Ml9WowGxc50N8+dbm/uJbRcZ1MIK6Sm1vYUZZrOPXb3hyfPbiIMPM0YpjRDeAGLU
-qcmQwKAcVbqVIJ/3fzyrFLRqwSpdcMefaezjbcT+xFn7oAui8M8BCfcZALDAbogl
-BPnpt6AteE5usqEqfgRoVZUFhEqwTjgMQeKmUB5EyVVvDY8ylrGvXh7Oj14zfA5A
-x1+utkeEWZlcx02KJozQVGaVaZy1x1TJaCyfrBEAxQhpYJXE8G+lrTNsqFdOGnvw
-rfOujd8THIz6kVIhyIkeqgAsa1QmQAEd5YRawUo3yDty3cJppOzHQxSN03UzhYY=
-=/xKp
------END PGP SIGNATURE-----
diff --git a/www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild b/www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild
index 3722e7bbedc8..940b1f1af908 100644
--- a/www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild
+++ b/www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild,v 1.1 2012/04/24 14:58:37 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-10.3.183.18.ebuild,v 1.2 2012/06/19 19:32:58 lack Exp $
EAPI=4
inherit nsplugins multilib toolchain-funcs versionator
@@ -9,7 +9,7 @@ MY_32B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_f
DESCRIPTION="Adobe Flash Player"
SRC_URI="${MY_32B_URI}"
-HOMEPAGE="http://www.adobe.com/flashplayer"
+HOMEPAGE="http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html"
IUSE="vdpau kde"
SLOT="0"
@@ -114,9 +114,4 @@ pkg_postinst() {
elog
fi
fi
-
- ewarn "Flash player is closed-source, with a long history of security"
- ewarn "issues. Please consider only running flash applets you know to"
- ewarn "be safe. The 'flashblock' extension may help for mozilla users:"
- ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
}
diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.228.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.228.ebuild
deleted file mode 100644
index cc0bec3520d8..000000000000
--- a/www-plugins/adobe-flash/adobe-flash-11.2.202.228.ebuild
+++ /dev/null
@@ -1,264 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.2.202.228.ebuild,v 1.6 2012/04/24 21:37:20 flameeyes Exp $
-
-EAPI=4
-inherit nsplugins multilib toolchain-funcs versionator
-
-MY_32B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_$(get_major_version)_linux.i386.tar.gz -> ${P}.i386.tar.gz"
-MY_64B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_$(get_major_version)_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
-
-DESCRIPTION="Adobe Flash Player"
-SRC_URI="x86? ( ${MY_32B_URI} )
-amd64? (
- multilib? (
- 32bit? ( ${MY_32B_URI} )
- 64bit? ( ${MY_64B_URI} )
- )
- !multilib? ( ${MY_64B_URI} )
-)"
-HOMEPAGE="http://www.adobe.com/products/flashplayer.html"
-IUSE="multilib -32bit +64bit vdpau kde +sse2check"
-SLOT="0"
-
-KEYWORDS="-* amd64 x86"
-LICENSE="AdobeFlash-10.3"
-RESTRICT="strip mirror"
-
-S="${WORKDIR}"
-
-NATIVE_DEPS="x11-libs/gtk+:2
- media-libs/fontconfig
- dev-libs/nss
- net-misc/curl
- vdpau? ( x11-libs/libvdpau )
- kde? ( kde-base/kcmshell )
- >=sys-libs/glibc-2.4"
-
-EMUL_DEPS="vdpau? ( >=app-emulation/emul-linux-x86-xlibs-20110129 )
- >=app-emulation/emul-linux-x86-gtklibs-20100409-r1
- app-emulation/emul-linux-x86-soundlibs"
-
-DEPEND="amd64? ( multilib? ( !64bit? ( www-plugins/nspluginwrapper ) ) )"
-RDEPEND="x86? ( $NATIVE_DEPS )
- amd64? (
- multilib? (
- 64bit? ( $NATIVE_DEPS )
- 32bit? ( $EMUL_DEPS )
- )
- !multilib? ( $NATIVE_DEPS )
- )
- || ( media-fonts/liberation-fonts media-fonts/corefonts )
- ${DEPEND}"
-
-# Where should this all go? (Bug #328639)
-INSTALL_BASE="opt/Adobe/flash-player"
-
-# Ignore QA warnings in these closed-source binaries, since we can't fix them:
-QA_PREBUILT="opt/*"
-
-any_cpu_missing_flag() {
- local value=$1
- grep '^flags' /proc/cpuinfo | grep -qv "$value"
-}
-
-pkg_pretend() {
- if any_cpu_missing_flag 'sse2'; then
- eerror "This version of adobe-flash requires a CPU that supports the"
- eerror "SSE2 instruction set, and at least one of your CPUs does not"
- eerror "support this feature."
- eerror ""
- if use sse2check; then
- eerror "You should mask this version and use adobe-flash-10.3.* instead."
- eerror "To do so, add the following line to your package.mask file:"
- eerror " =${CATEGORY}/${P}"
- eerror ""
- eerror "Or if you are trying to build a binary package for another host"
- eerror "that does support SSE2 instructions, you may override this"
- eerror "check by setting USE=\"-sse2check\""
- eerror ""
- die "${P} requires CPU with SSE2"
- else
- eerror "Continuing anyway due to USE=\"-sse2check\", but be aware that flash"
- eerror "will not function unless all of the CPUs on the system where it"
- eerror "is installed support the SSE2 instruction set."
- fi
- fi
-}
-
-pkg_setup() {
- if use x86; then
- export native_install=1
- elif use amd64; then
- # amd64 users may unselect the native 64bit binary, if they choose
- # TODO: In future revisions, remove this ability now that 64-bit
- # binaries are officially released and working.
- if ! use multilib || use 64bit; then
- export native_install=1
- else
- unset native_install
- fi
-
- if use multilib && use 32bit; then
- export amd64_32bit=1
- else
- unset amd64_32bit
- fi
-
- if use multilib && ! use 32bit && ! use 64bit; then
- eerror "You must select at least one architecture USE flag (32bit or 64bit)"
- die "No library version selected [-32bit -64bit]"
- fi
-
- unset need_lahf_wrapper
- if [[ $native_install ]]; then
- # 64bit flash requires the 'lahf' instruction (bug #268336)
- if any_cpu_missing_flag 'lahf_lm'; then
- export need_lahf_wrapper=1
- fi
- fi
- fi
-}
-
-src_unpack() {
- if [[ $amd64_32bit ]]; then
- # Since the 32-bit and 64-bit packages collide, put the 32-bit one
- # elsewhere:
- local my_32b_src=${MY_32B_URI##*>}
- local my_64b_src=${MY_64B_URI##*>}
- if [[ $native_install ]]; then
- unpack $my_64b_src
- fi
- mkdir 32bit
- pushd 32bit >/dev/null
- unpack $my_32b_src
- popd >/dev/null
- else
- default_src_unpack
- fi
-}
-
-src_compile() {
- if [[ $need_lahf_wrapper ]]; then
- # This experimental wrapper, from Maks Verver via bug #268336 should
- # emulate the missing lahf instruction affected platforms.
- $(tc-getCC) -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so \
- "${FILESDIR}/flashplugin-lahf-fix.c" \
- || die "Compile of flashplugin-lahf-fix.so failed"
- fi
-}
-
-src_install() {
- if [[ $native_install ]]; then
- if use x86; then
- local PKGLIB=lib
- else
- local PKGLIB=lib64
- fi
- local BASE=${INSTALL_BASE}
-
- # The plugin itself
- exeinto /${BASE}/flash-plugin
- doexe libflashplayer.so
- inst_plugin /${BASE}/flash-plugin/libflashplayer.so
-
- # The optional KDE4 KCM plugin
- if use kde; then
- exeinto /${BASE}/kde4
- doexe usr/${PKGLIB}/kde4/kcm_adobe_flash_player.so
- dosym /${BASE}/kde4/kcm_adobe_flash_player.so \
- /usr/$(get_libdir)/kde4/kcm_adobe_flash_player.so
- insinto /usr/share/kde4/services
- doins usr/share/kde4/services/kcm_adobe_flash_player.desktop
- else
- # No KDE applet, so allow the GTK utility to show up in KDE:
- sed -i usr/share/applications/flash-player-properties.desktop \
- -e "/^NotShowIn=KDE;/d" || die "sed of .desktop file failed"
- fi
-
- # The userland 'flash-player-properties' standalone app:
- exeinto /${BASE}/bin
- doexe usr/bin/flash-player-properties
- dosym /${BASE}/bin/flash-player-properties \
- usr/bin/flash-player-properties
-
- # Icon and .desktop for 'flash-player-properties'
- for icon in $(find usr/share/icons/ -name '*.png'); do
- insinto /$(dirname $icon)
- doins $icon
- done
- dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
- usr/share/pixmaps/flash-player-properties.png
- insinto usr/share/applications
- sed -i usr/share/applications/flash-player-properties.desktop \
- -e "s:^Exec=:Exec=/${BASE}/bin/:" || die "sed of .desktop file failed"
- doins usr/share/applications/flash-player-properties.desktop
- fi
-
- if [[ $need_lahf_wrapper ]]; then
- # This experimental wrapper, from Maks Verver via bug #268336 should
- # emulate the missing lahf instruction affected platforms.
- exeinto /${INSTALL_BASE}
- doexe flashplugin-lahf-fix.so
- inst_plugin /${INSTALL_BASE}/flashplugin-lahf-fix.so
- fi
-
- if [[ $amd64_32bit ]]; then
- # Only install the plugin, nothing else for 32-bit.
- local oldabi="${ABI}"
- ABI="x86"
-
- # 32b plugin
- pushd "${S}/32bit"
- exeinto /${INSTALL_BASE}32
- doexe libflashplayer.so
- inst_plugin /${INSTALL_BASE}32/libflashplayer.so
- popd
-
- ABI="${oldabi}"
- fi
-
- # The magic config file!
- insinto "/etc/adobe"
- doins "${FILESDIR}/mms.cfg"
-}
-
-pkg_postinst() {
- if use amd64; then
- if [[ $need_lahf_wrapper ]]; then
- ewarn "Your processor does not support the 'lahf' instruction which is used"
- ewarn "by Adobe's 64-bit flash binary. We have installed a wrapper which"
- ewarn "should allow this plugin to run. If you encounter problems, please"
- ewarn "adjust your USE flags to install only the 32-bit version and reinstall:"
- ewarn " ${CATEGORY}/$PN[+32bit -64bit]"
- elog
- fi
- if has_version 'www-plugins/nspluginwrapper'; then
- if [[ $native_install ]]; then
- # TODO: Perhaps parse the output of 'nspluginwrapper -l'
- # However, the 64b flash plugin makes
- # 'nspluginwrapper -l' segfault.
- local FLASH_WRAPPER="${ROOT}/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so"
- if [[ -f ${FLASH_WRAPPER} ]]; then
- einfo "Removing duplicate 32-bit plugin wrapper: Native 64-bit plugin installed"
- nspluginwrapper -r "${FLASH_WRAPPER}"
- fi
- else
- einfo "nspluginwrapper detected: Installing plugin wrapper"
- local oldabi="${ABI}"
- ABI="x86"
- local FLASH_SOURCE="${ROOT}/${INSTALL_BASE}32/libflashplayer.so"
- nspluginwrapper -i "${FLASH_SOURCE}"
- ABI="${oldabi}"
- fi
- elif [[ ! $native_install ]]; then
- elog "To use the 32-bit flash player in a native 64-bit browser,"
- elog "you must install www-plugins/nspluginwrapper"
- fi
- fi
-
- ewarn "Flash player is closed-source, with a long history of security"
- ewarn "issues. Please consider only running flash applets you know to"
- ewarn "be safe. The 'flashblock' extension may help for mozilla users:"
- ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
-}
diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.233.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.233.ebuild
deleted file mode 100644
index 6163669f1ee9..000000000000
--- a/www-plugins/adobe-flash/adobe-flash-11.2.202.233.ebuild
+++ /dev/null
@@ -1,264 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.2.202.233.ebuild,v 1.1 2012/05/02 18:44:27 lack Exp $
-
-EAPI=4
-inherit nsplugins multilib toolchain-funcs versionator
-
-MY_32B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_$(get_major_version)_linux.i386.tar.gz -> ${P}.i386.tar.gz"
-MY_64B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_$(get_major_version)_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
-
-DESCRIPTION="Adobe Flash Player"
-SRC_URI="x86? ( ${MY_32B_URI} )
-amd64? (
- multilib? (
- 32bit? ( ${MY_32B_URI} )
- 64bit? ( ${MY_64B_URI} )
- )
- !multilib? ( ${MY_64B_URI} )
-)"
-HOMEPAGE="http://www.adobe.com/products/flashplayer.html"
-IUSE="multilib -32bit +64bit vdpau kde +sse2check"
-SLOT="0"
-
-KEYWORDS="-* ~amd64 ~x86"
-LICENSE="AdobeFlash-10.3"
-RESTRICT="strip mirror"
-
-S="${WORKDIR}"
-
-NATIVE_DEPS="x11-libs/gtk+:2
- media-libs/fontconfig
- dev-libs/nss
- net-misc/curl
- vdpau? ( x11-libs/libvdpau )
- kde? ( kde-base/kcmshell )
- >=sys-libs/glibc-2.4"
-
-EMUL_DEPS="vdpau? ( >=app-emulation/emul-linux-x86-xlibs-20110129 )
- >=app-emulation/emul-linux-x86-gtklibs-20100409-r1
- app-emulation/emul-linux-x86-soundlibs"
-
-DEPEND="amd64? ( multilib? ( !64bit? ( www-plugins/nspluginwrapper ) ) )"
-RDEPEND="x86? ( $NATIVE_DEPS )
- amd64? (
- multilib? (
- 64bit? ( $NATIVE_DEPS )
- 32bit? ( $EMUL_DEPS )
- )
- !multilib? ( $NATIVE_DEPS )
- )
- || ( media-fonts/liberation-fonts media-fonts/corefonts )
- ${DEPEND}"
-
-# Where should this all go? (Bug #328639)
-INSTALL_BASE="opt/Adobe/flash-player"
-
-# Ignore QA warnings in these closed-source binaries, since we can't fix them:
-QA_PREBUILT="opt/*"
-
-any_cpu_missing_flag() {
- local value=$1
- grep '^flags' /proc/cpuinfo | grep -qv "$value"
-}
-
-pkg_pretend() {
- if any_cpu_missing_flag 'sse2'; then
- eerror "This version of adobe-flash requires a CPU that supports the"
- eerror "SSE2 instruction set, and at least one of your CPUs does not"
- eerror "support this feature."
- eerror ""
- if use sse2check; then
- eerror "You should mask this version and use adobe-flash-10.3.* instead."
- eerror "To do so, add the following line to your package.mask file:"
- eerror " =${CATEGORY}/${P}"
- eerror ""
- eerror "Or if you are trying to build a binary package for another host"
- eerror "that does support SSE2 instructions, you may override this"
- eerror "check by setting USE=\"-sse2check\""
- eerror ""
- die "${P} requires CPU with SSE2"
- else
- eerror "Continuing anyway due to USE=\"-sse2check\", but be aware that flash"
- eerror "will not function unless all of the CPUs on the system where it"
- eerror "is installed support the SSE2 instruction set."
- fi
- fi
-}
-
-pkg_setup() {
- if use x86; then
- export native_install=1
- elif use amd64; then
- # amd64 users may unselect the native 64bit binary, if they choose
- # TODO: In future revisions, remove this ability now that 64-bit
- # binaries are officially released and working.
- if ! use multilib || use 64bit; then
- export native_install=1
- else
- unset native_install
- fi
-
- if use multilib && use 32bit; then
- export amd64_32bit=1
- else
- unset amd64_32bit
- fi
-
- if use multilib && ! use 32bit && ! use 64bit; then
- eerror "You must select at least one architecture USE flag (32bit or 64bit)"
- die "No library version selected [-32bit -64bit]"
- fi
-
- unset need_lahf_wrapper
- if [[ $native_install ]]; then
- # 64bit flash requires the 'lahf' instruction (bug #268336)
- if any_cpu_missing_flag 'lahf_lm'; then
- export need_lahf_wrapper=1
- fi
- fi
- fi
-}
-
-src_unpack() {
- if [[ $amd64_32bit ]]; then
- # Since the 32-bit and 64-bit packages collide, put the 32-bit one
- # elsewhere:
- local my_32b_src=${MY_32B_URI##*>}
- local my_64b_src=${MY_64B_URI##*>}
- if [[ $native_install ]]; then
- unpack $my_64b_src
- fi
- mkdir 32bit
- pushd 32bit >/dev/null
- unpack $my_32b_src
- popd >/dev/null
- else
- default_src_unpack
- fi
-}
-
-src_compile() {
- if [[ $need_lahf_wrapper ]]; then
- # This experimental wrapper, from Maks Verver via bug #268336 should
- # emulate the missing lahf instruction affected platforms.
- $(tc-getCC) -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so \
- "${FILESDIR}/flashplugin-lahf-fix.c" \
- || die "Compile of flashplugin-lahf-fix.so failed"
- fi
-}
-
-src_install() {
- if [[ $native_install ]]; then
- if use x86; then
- local PKGLIB=lib
- else
- local PKGLIB=lib64
- fi
- local BASE=${INSTALL_BASE}
-
- # The plugin itself
- exeinto /${BASE}/flash-plugin
- doexe libflashplayer.so
- inst_plugin /${BASE}/flash-plugin/libflashplayer.so
-
- # The optional KDE4 KCM plugin
- if use kde; then
- exeinto /${BASE}/kde4
- doexe usr/${PKGLIB}/kde4/kcm_adobe_flash_player.so
- dosym /${BASE}/kde4/kcm_adobe_flash_player.so \
- /usr/$(get_libdir)/kde4/kcm_adobe_flash_player.so
- insinto /usr/share/kde4/services
- doins usr/share/kde4/services/kcm_adobe_flash_player.desktop
- else
- # No KDE applet, so allow the GTK utility to show up in KDE:
- sed -i usr/share/applications/flash-player-properties.desktop \
- -e "/^NotShowIn=KDE;/d" || die "sed of .desktop file failed"
- fi
-
- # The userland 'flash-player-properties' standalone app:
- exeinto /${BASE}/bin
- doexe usr/bin/flash-player-properties
- dosym /${BASE}/bin/flash-player-properties \
- usr/bin/flash-player-properties
-
- # Icon and .desktop for 'flash-player-properties'
- for icon in $(find usr/share/icons/ -name '*.png'); do
- insinto /$(dirname $icon)
- doins $icon
- done
- dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
- usr/share/pixmaps/flash-player-properties.png
- insinto usr/share/applications
- sed -i usr/share/applications/flash-player-properties.desktop \
- -e "s:^Exec=:Exec=/${BASE}/bin/:" || die "sed of .desktop file failed"
- doins usr/share/applications/flash-player-properties.desktop
- fi
-
- if [[ $need_lahf_wrapper ]]; then
- # This experimental wrapper, from Maks Verver via bug #268336 should
- # emulate the missing lahf instruction affected platforms.
- exeinto /${INSTALL_BASE}
- doexe flashplugin-lahf-fix.so
- inst_plugin /${INSTALL_BASE}/flashplugin-lahf-fix.so
- fi
-
- if [[ $amd64_32bit ]]; then
- # Only install the plugin, nothing else for 32-bit.
- local oldabi="${ABI}"
- ABI="x86"
-
- # 32b plugin
- pushd "${S}/32bit"
- exeinto /${INSTALL_BASE}32
- doexe libflashplayer.so
- inst_plugin /${INSTALL_BASE}32/libflashplayer.so
- popd
-
- ABI="${oldabi}"
- fi
-
- # The magic config file!
- insinto "/etc/adobe"
- doins "${FILESDIR}/mms.cfg"
-}
-
-pkg_postinst() {
- if use amd64; then
- if [[ $need_lahf_wrapper ]]; then
- ewarn "Your processor does not support the 'lahf' instruction which is used"
- ewarn "by Adobe's 64-bit flash binary. We have installed a wrapper which"
- ewarn "should allow this plugin to run. If you encounter problems, please"
- ewarn "adjust your USE flags to install only the 32-bit version and reinstall:"
- ewarn " ${CATEGORY}/$PN[+32bit -64bit]"
- elog
- fi
- if has_version 'www-plugins/nspluginwrapper'; then
- if [[ $native_install ]]; then
- # TODO: Perhaps parse the output of 'nspluginwrapper -l'
- # However, the 64b flash plugin makes
- # 'nspluginwrapper -l' segfault.
- local FLASH_WRAPPER="${ROOT}/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so"
- if [[ -f ${FLASH_WRAPPER} ]]; then
- einfo "Removing duplicate 32-bit plugin wrapper: Native 64-bit plugin installed"
- nspluginwrapper -r "${FLASH_WRAPPER}"
- fi
- else
- einfo "nspluginwrapper detected: Installing plugin wrapper"
- local oldabi="${ABI}"
- ABI="x86"
- local FLASH_SOURCE="${ROOT}/${INSTALL_BASE}32/libflashplayer.so"
- nspluginwrapper -i "${FLASH_SOURCE}"
- ABI="${oldabi}"
- fi
- elif [[ ! $native_install ]]; then
- elog "To use the 32-bit flash player in a native 64-bit browser,"
- elog "you must install www-plugins/nspluginwrapper"
- fi
- fi
-
- ewarn "Flash player is closed-source, with a long history of security"
- ewarn "issues. Please consider only running flash applets you know to"
- ewarn "be safe. The 'flashblock' extension may help for mozilla users:"
- ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
-}
diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.235.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.235.ebuild
deleted file mode 100644
index e11d5649df01..000000000000
--- a/www-plugins/adobe-flash/adobe-flash-11.2.202.235.ebuild
+++ /dev/null
@@ -1,264 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.2.202.235.ebuild,v 1.3 2012/05/06 17:32:11 nativemad Exp $
-
-EAPI=4
-inherit nsplugins multilib toolchain-funcs versionator
-
-MY_32B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_$(get_major_version)_linux.i386.tar.gz -> ${P}.i386.tar.gz"
-MY_64B_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc/${PV}/install_flash_player_$(get_major_version)_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
-
-DESCRIPTION="Adobe Flash Player"
-SRC_URI="x86? ( ${MY_32B_URI} )
-amd64? (
- multilib? (
- 32bit? ( ${MY_32B_URI} )
- 64bit? ( ${MY_64B_URI} )
- )
- !multilib? ( ${MY_64B_URI} )
-)"
-HOMEPAGE="http://www.adobe.com/products/flashplayer.html"
-IUSE="multilib -32bit +64bit vdpau kde +sse2check"
-SLOT="0"
-
-KEYWORDS="-* amd64 x86"
-LICENSE="AdobeFlash-10.3"
-RESTRICT="strip mirror"
-
-S="${WORKDIR}"
-
-NATIVE_DEPS="x11-libs/gtk+:2
- media-libs/fontconfig
- dev-libs/nss
- net-misc/curl
- vdpau? ( x11-libs/libvdpau )
- kde? ( kde-base/kcmshell )
- >=sys-libs/glibc-2.4"
-
-EMUL_DEPS="vdpau? ( >=app-emulation/emul-linux-x86-xlibs-20110129 )
- >=app-emulation/emul-linux-x86-gtklibs-20100409-r1
- app-emulation/emul-linux-x86-soundlibs"
-
-DEPEND="amd64? ( multilib? ( !64bit? ( www-plugins/nspluginwrapper ) ) )"
-RDEPEND="x86? ( $NATIVE_DEPS )
- amd64? (
- multilib? (
- 64bit? ( $NATIVE_DEPS )
- 32bit? ( $EMUL_DEPS )
- )
- !multilib? ( $NATIVE_DEPS )
- )
- || ( media-fonts/liberation-fonts media-fonts/corefonts )
- ${DEPEND}"
-
-# Where should this all go? (Bug #328639)
-INSTALL_BASE="opt/Adobe/flash-player"
-
-# Ignore QA warnings in these closed-source binaries, since we can't fix them:
-QA_PREBUILT="opt/*"
-
-any_cpu_missing_flag() {
- local value=$1
- grep '^flags' /proc/cpuinfo | grep -qv "$value"
-}
-
-pkg_pretend() {
- if any_cpu_missing_flag 'sse2'; then
- eerror "This version of adobe-flash requires a CPU that supports the"
- eerror "SSE2 instruction set, and at least one of your CPUs does not"
- eerror "support this feature."
- eerror ""
- if use sse2check; then
- eerror "You should mask this version and use adobe-flash-10.3.* instead."
- eerror "To do so, add the following line to your package.mask file:"
- eerror " =${CATEGORY}/${P}"
- eerror ""
- eerror "Or if you are trying to build a binary package for another host"
- eerror "that does support SSE2 instructions, you may override this"
- eerror "check by setting USE=\"-sse2check\""
- eerror ""
- die "${P} requires CPU with SSE2"
- else
- eerror "Continuing anyway due to USE=\"-sse2check\", but be aware that flash"
- eerror "will not function unless all of the CPUs on the system where it"
- eerror "is installed support the SSE2 instruction set."
- fi
- fi
-}
-
-pkg_setup() {
- if use x86; then
- export native_install=1
- elif use amd64; then
- # amd64 users may unselect the native 64bit binary, if they choose
- # TODO: In future revisions, remove this ability now that 64-bit
- # binaries are officially released and working.
- if ! use multilib || use 64bit; then
- export native_install=1
- else
- unset native_install
- fi
-
- if use multilib && use 32bit; then
- export amd64_32bit=1
- else
- unset amd64_32bit
- fi
-
- if use multilib && ! use 32bit && ! use 64bit; then
- eerror "You must select at least one architecture USE flag (32bit or 64bit)"
- die "No library version selected [-32bit -64bit]"
- fi
-
- unset need_lahf_wrapper
- if [[ $native_install ]]; then
- # 64bit flash requires the 'lahf' instruction (bug #268336)
- if any_cpu_missing_flag 'lahf_lm'; then
- export need_lahf_wrapper=1
- fi
- fi
- fi
-}
-
-src_unpack() {
- if [[ $amd64_32bit ]]; then
- # Since the 32-bit and 64-bit packages collide, put the 32-bit one
- # elsewhere:
- local my_32b_src=${MY_32B_URI##*>}
- local my_64b_src=${MY_64B_URI##*>}
- if [[ $native_install ]]; then
- unpack $my_64b_src
- fi
- mkdir 32bit
- pushd 32bit >/dev/null
- unpack $my_32b_src
- popd >/dev/null
- else
- default_src_unpack
- fi
-}
-
-src_compile() {
- if [[ $need_lahf_wrapper ]]; then
- # This experimental wrapper, from Maks Verver via bug #268336 should
- # emulate the missing lahf instruction affected platforms.
- $(tc-getCC) -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so \
- "${FILESDIR}/flashplugin-lahf-fix.c" \
- || die "Compile of flashplugin-lahf-fix.so failed"
- fi
-}
-
-src_install() {
- if [[ $native_install ]]; then
- if use x86; then
- local PKGLIB=lib
- else
- local PKGLIB=lib64
- fi
- local BASE=${INSTALL_BASE}
-
- # The plugin itself
- exeinto /${BASE}/flash-plugin
- doexe libflashplayer.so
- inst_plugin /${BASE}/flash-plugin/libflashplayer.so
-
- # The optional KDE4 KCM plugin
- if use kde; then
- exeinto /${BASE}/kde4
- doexe usr/${PKGLIB}/kde4/kcm_adobe_flash_player.so
- dosym /${BASE}/kde4/kcm_adobe_flash_player.so \
- /usr/$(get_libdir)/kde4/kcm_adobe_flash_player.so
- insinto /usr/share/kde4/services
- doins usr/share/kde4/services/kcm_adobe_flash_player.desktop
- else
- # No KDE applet, so allow the GTK utility to show up in KDE:
- sed -i usr/share/applications/flash-player-properties.desktop \
- -e "/^NotShowIn=KDE;/d" || die "sed of .desktop file failed"
- fi
-
- # The userland 'flash-player-properties' standalone app:
- exeinto /${BASE}/bin
- doexe usr/bin/flash-player-properties
- dosym /${BASE}/bin/flash-player-properties \
- usr/bin/flash-player-properties
-
- # Icon and .desktop for 'flash-player-properties'
- for icon in $(find usr/share/icons/ -name '*.png'); do
- insinto /$(dirname $icon)
- doins $icon
- done
- dosym ../icons/hicolor/48x48/apps/flash-player-properties.png \
- usr/share/pixmaps/flash-player-properties.png
- insinto usr/share/applications
- sed -i usr/share/applications/flash-player-properties.desktop \
- -e "s:^Exec=:Exec=/${BASE}/bin/:" || die "sed of .desktop file failed"
- doins usr/share/applications/flash-player-properties.desktop
- fi
-
- if [[ $need_lahf_wrapper ]]; then
- # This experimental wrapper, from Maks Verver via bug #268336 should
- # emulate the missing lahf instruction affected platforms.
- exeinto /${INSTALL_BASE}
- doexe flashplugin-lahf-fix.so
- inst_plugin /${INSTALL_BASE}/flashplugin-lahf-fix.so
- fi
-
- if [[ $amd64_32bit ]]; then
- # Only install the plugin, nothing else for 32-bit.
- local oldabi="${ABI}"
- ABI="x86"
-
- # 32b plugin
- pushd "${S}/32bit"
- exeinto /${INSTALL_BASE}32
- doexe libflashplayer.so
- inst_plugin /${INSTALL_BASE}32/libflashplayer.so
- popd
-
- ABI="${oldabi}"
- fi
-
- # The magic config file!
- insinto "/etc/adobe"
- doins "${FILESDIR}/mms.cfg"
-}
-
-pkg_postinst() {
- if use amd64; then
- if [[ $need_lahf_wrapper ]]; then
- ewarn "Your processor does not support the 'lahf' instruction which is used"
- ewarn "by Adobe's 64-bit flash binary. We have installed a wrapper which"
- ewarn "should allow this plugin to run. If you encounter problems, please"
- ewarn "adjust your USE flags to install only the 32-bit version and reinstall:"
- ewarn " ${CATEGORY}/$PN[+32bit -64bit]"
- elog
- fi
- if has_version 'www-plugins/nspluginwrapper'; then
- if [[ $native_install ]]; then
- # TODO: Perhaps parse the output of 'nspluginwrapper -l'
- # However, the 64b flash plugin makes
- # 'nspluginwrapper -l' segfault.
- local FLASH_WRAPPER="${ROOT}/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so"
- if [[ -f ${FLASH_WRAPPER} ]]; then
- einfo "Removing duplicate 32-bit plugin wrapper: Native 64-bit plugin installed"
- nspluginwrapper -r "${FLASH_WRAPPER}"
- fi
- else
- einfo "nspluginwrapper detected: Installing plugin wrapper"
- local oldabi="${ABI}"
- ABI="x86"
- local FLASH_SOURCE="${ROOT}/${INSTALL_BASE}32/libflashplayer.so"
- nspluginwrapper -i "${FLASH_SOURCE}"
- ABI="${oldabi}"
- fi
- elif [[ ! $native_install ]]; then
- elog "To use the 32-bit flash player in a native 64-bit browser,"
- elog "you must install www-plugins/nspluginwrapper"
- fi
- fi
-
- ewarn "Flash player is closed-source, with a long history of security"
- ewarn "issues. Please consider only running flash applets you know to"
- ewarn "be safe. The 'flashblock' extension may help for mozilla users:"
- ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
-}
diff --git a/www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild b/www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild
index fd9c5c25b6d9..2b5219274a36 100644
--- a/www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild
+++ b/www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild,v 1.3 2012/06/11 10:14:52 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.2.202.236.ebuild,v 1.4 2012/06/19 19:32:58 lack Exp $
EAPI=4
inherit nsplugins multilib toolchain-funcs versionator
@@ -256,9 +256,4 @@ pkg_postinst() {
elog "you must install www-plugins/nspluginwrapper"
fi
fi
-
- ewarn "Flash player is closed-source, with a long history of security"
- ewarn "issues. Please consider only running flash applets you know to"
- ewarn "be safe. The 'flashblock' extension may help for mozilla users:"
- ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
}