Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/adobe-flash: ChangeLog adobe-flash-10.3.183.7.ebuild adobe-flash-10.3.183.5.ebuild adobe-flash-10.3.181.26.ebuild adobe-flash-10.3.181.34.ebuild
Date: Fri, 02 Sep 2011 15:11:17
Message-Id: 20110902151107.BE5222004C@flycatcher.gentoo.org
1 scarabeus 11/09/02 15:11:07
2
3 Modified: ChangeLog
4 Added: adobe-flash-10.3.183.7.ebuild
5 Removed: adobe-flash-10.3.183.5.ebuild
6 adobe-flash-10.3.181.26.ebuild
7 adobe-flash-10.3.181.34.ebuild
8 Log:
9 Non-maintainer commit: add new 10.3 version that has fetchable sources. Remove unfetchable versions. Also this release fixes security issues in older 10.3.
10
11 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64, RepoMan options: --force)
12
13 Revision Changes Path
14 1.103 www-plugins/adobe-flash/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/adobe-flash/ChangeLog?rev=1.103&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/adobe-flash/ChangeLog?rev=1.103&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/adobe-flash/ChangeLog?r1=1.102&r2=1.103
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v
23 retrieving revision 1.102
24 retrieving revision 1.103
25 diff -u -r1.102 -r1.103
26 --- ChangeLog 31 Aug 2011 16:09:54 -0000 1.102
27 +++ ChangeLog 2 Sep 2011 15:11:07 -0000 1.103
28 @@ -1,6 +1,15 @@
29 # ChangeLog for www-plugins/adobe-flash
30 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.102 2011/08/31 16:09:54 lack Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/ChangeLog,v 1.103 2011/09/02 15:11:07 scarabeus Exp $
33 +
34 +*adobe-flash-10.3.183.7 (02 Sep 2011)
35 +
36 + 02 Sep 2011; Tomáš Chvátal <scarabeus@g.o>
37 + -adobe-flash-10.3.181.26.ebuild, -adobe-flash-10.3.181.34.ebuild,
38 + -adobe-flash-10.3.183.5.ebuild, +adobe-flash-10.3.183.7.ebuild:
39 + Non-maintainer commit: add new 10.3 version that has fetchable sources.
40 + Remove unfetchable versions. Also this release fixes security issues in older
41 + 10.3.
42
43 31 Aug 2011; Jim Ramsay <lack@g.o>
44 adobe-flash-11.0.1.60_beta201108082.ebuild:
45
46
47
48 1.1 www-plugins/adobe-flash/adobe-flash-10.3.183.7.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/adobe-flash/adobe-flash-10.3.183.7.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/adobe-flash/adobe-flash-10.3.183.7.ebuild?rev=1.1&content-type=text/plain
52
53 Index: adobe-flash-10.3.183.7.ebuild
54 ===================================================================
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/www-plugins/adobe-flash/adobe-flash-10.3.183.7.ebuild,v 1.1 2011/09/02 15:11:07 scarabeus Exp $
58
59 EAPI=4
60 inherit nsplugins rpm multilib toolchain-funcs
61
62 MY_32B_URI="http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-${PV}-release.i386.rpm"
63
64 DESCRIPTION="Adobe Flash Player"
65 SRC_URI="${MY_32B_URI}"
66 HOMEPAGE="http://www.adobe.com/flashplayer"
67 IUSE="vdpau kde"
68 SLOT="0"
69
70 KEYWORDS="-* amd64 x86"
71 LICENSE="AdobeFlash-10.3"
72 RESTRICT="strip mirror"
73
74 S="${WORKDIR}"
75
76 NATIVE_DEPS="x11-libs/gtk+:2
77 media-libs/fontconfig
78 dev-libs/nss
79 net-misc/curl
80 vdpau? ( x11-libs/libvdpau )
81 kde? ( kde-base/kcmshell )
82 >=sys-libs/glibc-2.4"
83
84 EMUL_DEPS="vdpau? ( >=app-emulation/emul-linux-x86-xlibs-20110129 )
85 >=app-emulation/emul-linux-x86-gtklibs-20100409-r1
86 app-emulation/emul-linux-x86-soundlibs"
87
88 DEPEND="amd64? ( www-plugins/nspluginwrapper )"
89 RDEPEND="x86? ( $NATIVE_DEPS )
90 amd64? ( $EMUL_DEPS )
91 || ( media-fonts/liberation-fonts media-fonts/corefonts )
92 ${DEPEND}"
93
94 # Where should this all go? (Bug #328639)
95 INSTALL_BASE="opt/Adobe/flash-player"
96 INSTALL_BASE32="${INSTALL_BASE}32"
97
98 # Ignore QA warnings in these closed-source binaries, since we can't fix them:
99 QA_PREBUILT="opt/* usr/lib*/kde4/*"
100
101 src_install() {
102 if use amd64; then
103 local oldabi="${ABI}"
104 ABI="x86"
105 BASE=${INSTALL_BASE32}
106 else
107 BASE=${INSTALL_BASE}
108 fi
109
110 # The plugin itself
111 exeinto /${BASE}/plugin
112 doexe usr/lib/flash-plugin/libflashplayer.so
113 doexe usr/lib/flash-plugin/homecleanup
114 inst_plugin /${BASE}/plugin/libflashplayer.so
115
116 # The optional KDE4 KCM plugin
117 if use kde && ! use amd64; then
118 exeinto /usr/$(get_libdir)/kde4/
119 doexe usr/$(get_libdir)/kde4/kcm_adobe_flash_player.so
120 insinto /usr/share/kde4/services
121 doins usr/share/kde4/services/kcm_adobe_flash_player.desktop
122 else
123 # No KDE applet, so allow the GTK utility to show up in KDE:
124 sed -i usr/share/applications/flash-player-properties.desktop \
125 -e "/^NotShowIn=KDE;/d" || die "sed of .desktop file failed"
126 fi
127
128 # The userland 'properties' standalone app:
129 exeinto /${BASE}/bin
130 doexe usr/bin/flash-player-properties
131 for icon in $(find usr/share/icons/ -name '*.png'); do
132 insinto /$(dirname $icon)
133 doins $icon
134 done
135 elog "Done with icons."
136 insinto usr/share/applications
137 sed -i usr/share/applications/flash-player-properties.desktop \
138 -e "s:^Exec=:Exec=/${BASE}/bin/:" || die "sed of .desktop file failed"
139 doins usr/share/applications/flash-player-properties.desktop
140
141 dodoc "usr/lib/flash-plugin/README"
142 dodoc "usr/share/doc/flash-plugin-${PV}/readme.txt"
143
144 if use amd64; then
145 ABI="${oldabi}"
146 fi
147
148 # The magic config file!
149 insinto "/etc/adobe"
150 doins "${FILESDIR}/mms.cfg"
151 }
152
153 pkg_postinst() {
154 if use amd64; then
155 elog "Adobe has no stable 64-bit native version at this time."
156 #elog "The beta"
157 #elog "64-bit native release (codenamed \"square\") is installed as part"
158 #elog "of the unstable testing version of this package:"
159 #elog " ${CATEGORY}/${P}_p...."
160 elog
161 if has_version 'www-plugins/nspluginwrapper'; then
162 elog "nspluginwrapper detected: Installing plugin wrapper"
163 local oldabi="${ABI}"
164 ABI="x86"
165 local FLASH_SOURCE="${ROOT}/${INSTALL_BASE32}/plugin/libflashplayer.so"
166 nspluginwrapper -i "${FLASH_SOURCE}"
167 ABI="${oldabi}"
168 elog
169 else
170 elog "To use the 32-bit flash player in a native 64-bit firefox,"
171 elog "you must install www-plugins/nspluginwrapper."
172 elog
173 fi
174 fi
175
176 ewarn "Flash player is closed-source, with a long history of security"
177 ewarn "issues. Please consider only running flash applets you know to"
178 ewarn "be safe. The 'flashblock' extension may help for mozilla users:"
179 ewarn " https://addons.mozilla.org/en-US/firefox/addon/433"
180 }