# ChangeLog for www-client/opera
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.653 2011/10/22 07:16:13 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.654 2011/10/22 15:37:25 jer Exp $
+
+ 22 Oct 2011; Jeroen Roovers <jer@gentoo.org> -opera-11.51.1087.ebuild,
+ -opera-11.51.1087-r1.ebuild:
+ Vulnerable.
22 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> opera-11.52.1100.ebuild:
x86 stable wrt bug #387137
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
-DIST opera-11.51-1087.i386.freebsd.tar.xz 11149240 RMD160 1c44af8ffabfb2800db2b90d3cb988fd00966cab SHA1 2a0dd4151f4bab974f9fa13c17b9684ac4b991a2 SHA256 290589cf4c7ef1824c893a7fc5d42cbe964c361113bcc1c7ed0c5bc945b56118
-DIST opera-11.51-1087.i386.linux.tar.xz 11091928 RMD160 310b0cb07b973c17e633aaa467e7aeb4f2e2b1af SHA1 66bbb7be225cc873557f30fed0a3e9572c408650 SHA256 e2da38a1775b59ebf09e3695505634a3df9655b8812e3b4fe3163d02488d4aad
-DIST opera-11.51-1087.x86_64.linux.tar.xz 11847484 RMD160 9be81036bc18d7d4f91ab18cf03a5c33b38488e9 SHA1 6e519ba468f09cf1de34ca659f71efe9aa8be664 SHA256 63a4fb2e480bd895384bfb8e2c8e71dc979354f0eb8423b552dc37089dc791ad
DIST opera-11.52-1100.i386.freebsd.tar.xz 11116644 RMD160 7692b599389e2d3e3e6f8c3ad8176d1d3bec6eff SHA1 4335431402fc0aea985c045c818dc23fbe00a6c4 SHA256 ae90c802ba9f1f487df71dddfb538af08265421341cc3146ac80ddfaa6b452d3
DIST opera-11.52-1100.i386.linux.tar.xz 11083092 RMD160 54252f6f655e2d7f38931ab3338c100e4ed49eca SHA1 3c4a7b36016aa9727cb7805db504d0159fe8ac6e SHA256 ccbfdcd0f9f5e35f64f6b71410b5af7b5e749f0976e530d1543d6cc58b989af9
DIST opera-11.52-1100.x86_64.linux.tar.xz 11860188 RMD160 dbeb3375eb9443559bbda05fc90a1e00f81df6cf SHA1 69eab27253f7dc9bb1e7ecf57983f0d675ec158e SHA256 9880b91733eddc17b85edba3eef0fe96c7e6a8fb3cc8c802b3719307214cb7a5
-EBUILD opera-11.51.1087-r1.ebuild 5698 RMD160 d980286b2b46a5ee044d1e408d5ad8843f1afd95 SHA1 d4788470adb61cf10fe176f06a664db32b0ea94c SHA256 7f881fbb0f90df955df387fe9283c8485e31b390979eb6f55b0702bca001918b
-EBUILD opera-11.51.1087.ebuild 6046 RMD160 e24f0a3ba2562a7f982eff551a50e6869cb7457e SHA1 c26eb97c0c32f6c5e02735e5bd5c5260d77a07b6 SHA256 1bf4d29b385dcd3a80649b03eeb64b31c131c08467df87a2810a15a8585c14ef
EBUILD opera-11.52.1100.ebuild 5700 RMD160 643a472817d7a959cabd8a927de31e17d8815428 SHA1 1709aabca35aee159583918d29572475e1a7764b SHA256 bc156a0c65f58d895c47d71351a42fa48c8ff07c4ef968e1486b4ed1a464a51b
-MISC ChangeLog 124643 RMD160 61b51694e48a0c783d56804c775e5b3f3d33d6d8 SHA1 0139f091aa69357963939f2348a009a0258285a4 SHA256 ad7185431a97cf7c04bf8d20597df3d6273ad26e102057d97d5af66bec1b2f8f
+MISC ChangeLog 124755 RMD160 907f2c8c1b7cadae24f300e2bb22e8e67275d28a SHA1 3b7eb1377ce722e85b6b9db7ae2feeefd9c160cf SHA256 33449b2fdd70190439d21a50a2bae9d1cf6b384a3add3866160da53099b0eaed
MISC metadata.xml 620 RMD160 f8a12fd1775a3eedf492dad65b79198d452f60a4 SHA1 d537cfe0d1da51a92612821d24ac851174389340 SHA256 208c8c09c43c5092d2491833c97990cd5b3d8fce38e03d70d90f0ffbbee84282
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREKAAYFAk6ibdUACgkQuUQtlDBCeQLkNgCfdD+tZkhYGq3FwkwCnapli8RO
-T8UAoIWxPR9XVKPwqwxsos2M2lFpwpLu
-=2s4x
+iEYEARECAAYFAk6i4zsACgkQVWmRsqeSphPsWwCeK6gf+zt8iTU4eYkX1J8W73gk
+DokAnAuw2eGVAFcgA0i+kOGS2O5811uS
+=tVTr
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.51.1087-r1.ebuild,v 1.1 2011/10/17 21:09:00 jer Exp $
-
-EAPI="4"
-
-inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
-
-DESCRIPTION="A fast and secure web browser and Internet suite"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-11 LGPL-2 LGPL-3"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde +gstreamer"
-
-O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00
-O_B="$(get_version_component_range 3)" # Build version, i.e. 1156
-
-O_D="${O_V/./}"
-O_P="${PN}-${O_V}-${O_B}"
-O_U="mirror://opera/"
-
-SRC_URI="
- amd64? ( ${O_U}linux/${O_D}/${O_P}.x86_64.linux.tar.xz )
- x86? ( ${O_U}linux/${O_D}/${O_P}.i386.linux.tar.xz )
- x86-fbsd? ( ${O_U}unix/${O_D}/${O_P}.i386.freebsd.tar.xz )
-"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
-hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te
-th tl tr uk uz vi zh-CN zh-TW zu"
-
-for O_LINGUA in ${O_LINGUAS}; do
- IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
-done
-
-DEPEND="
- >=sys-apps/sed-4
- app-arch/xz-utils
-"
-GTKRDEPEND="
- dev-libs/atk
- dev-libs/glib:2
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/pango
- x11-libs/pixman
-"
-KDERDEPEND="
- kde-base/kdelibs
- x11-libs/qt-core
- x11-libs/qt-gui
-"
-GSTRDEPEND="
- dev-libs/glib
- dev-libs/libxml2
- media-plugins/gst-plugins-meta
- media-libs/gstreamer
-"
-RDEPEND="
- media-libs/fontconfig
- media-libs/freetype
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXft
- x11-libs/libXrender
- gtk? ( ${GTKRDEPEND} )
- kde? ( ${KDERDEPEND} )
- gstreamer? ( ${GSTRDEPEND} )
-"
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- mv -v ${PN}* "${S}" || die
-}
-
-src_prepare() {
- local LNGDIR="share/${PN}/locale"
-
- # Count linguas
- count() { echo ${#}; }
- local lingua_count=$(count ${O_LINGUAS} en)
- local locale_count=$(count ${LNGDIR}/*)
- [[ ${lingua_count} = ${locale_count} ]] \
- || die "Number of LINGUAS does not match number of locales"
- unset count
-
- # Remove unwanted linguas
- einfo "Keeping these locales (linguas): ${LINGUAS}."
- for LINGUA in ${O_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}" || die "The list of linguas needs to be fixed"
- fi
- done
-
- # Remove doc directory but keep the LICENSE under another name (bug #315473)
- mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt
- rm -rf share/doc
- for locale in share/${PN}/locale/*; do
- rm -f "${locale}/license.txt"
- ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \
- || die
- done
-
- # Remove package directory
- rm -rf share/${PN}/package
-
- # Optional libraries
- if ! use gtk; then
- rm lib/${PN}/liboperagtk.so || die
- fi
- if ! use kde; then
- rm lib/${PN}/liboperakde4.so || die
- fi
- if ! use gstreamer; then
- rm -r lib/${PN}/gstreamer || die
- fi
-
- # Unzip the man pages before sedding
- gunzip share/man/man1/* || die
-
- # Replace PREFIX, SUFFIX and PN in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- -e "s:opera:${PN}:g" \
- share/man/man1/* \
- share/applications/${PN}-*.desktop \
- || die
-
- # Replace "Opera" with "Opera Next"
- if [[ ${PN} = opera-next ]]; then
- sed -i share/applications/${PN}-*.desktop \
- -e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die
- fi
-
- # Create /usr/bin/opera wrapper
- echo '#!/bin/sh' > ${PN}
- echo 'export OPERA_DIR=/usr/share/'"${PN}" >> ${PN}
- echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
- >> ${PN}
- echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" lib/${PN}/ | \
- while read i; do
- if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
- then
- export SANITY_CHECK_LIBZ_FAILED=1
- break
- fi
- sed -i \
- "$i" \
- -e 's/libz\.so\.3/libz.so.1/g'
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die
- fi
-}
-
-src_install() {
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die
- mv share/ "${D}/usr/" || die
-
- # Install startup scripts
- dobin ${PN}
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \
- > "${D}"/etc/revdep-rebuild/90${PN}
-
- # Set PaX markings for hardened/PaX (bug #344267)
- pax-mark m \
- "${D}/${OPREFIX}/${PN}/${PN}" \
- "${D}/${OPREFIX}/${PN}/operaplugincleaner" \
- "${D}/${OPREFIX}/${PN}/operapluginwrapper"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-
- # Update desktop file database and gtk icon cache (bug #334993)
- gnome2_icon_cache_update
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- # Update desktop file database and gtk icon cache (bug #334993)
- gnome2_icon_cache_update
- fdo-mime_desktop_database_update
-}
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.51.1087.ebuild,v 1.4 2011/09/04 00:49:58 phajdan.jr Exp $
-
-EAPI="4"
-
-inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
-
-DESCRIPTION="A fast and secure web browser and Internet suite"
-HOMEPAGE="http://www.opera.com/"
-
-SLOT="0"
-LICENSE="OPERA-11 LGPL-2 LGPL-3"
-KEYWORDS="amd64 x86 ~x86-fbsd"
-IUSE="elibc_FreeBSD gtk kde +gstreamer"
-
-O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00
-O_B="$(get_version_component_range 3)" # Build version, i.e. 1156
-
-O_D="${O_V/./}"
-O_P="${PN}-${O_V}-${O_B}"
-O_U="mirror://opera/"
-
-SRC_URI="
- amd64? ( ${O_U}linux/${O_D}/${O_P}.x86_64.linux.tar.xz )
- x86? ( ${O_U}linux/${O_D}/${O_P}.i386.linux.tar.xz )
- x86-fbsd? ( ${O_U}unix/${O_D}/${O_P}.i386.freebsd.tar.xz )
-"
-
-OPREFIX="/usr/$(get_libdir)"
-
-QA_DT_HASH="${OPREFIX}/${PN}/.*"
-QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
-
-O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
-hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te
-th tl tr uk uz vi zh-CN zh-TW zu"
-
-for O_LINGUA in ${O_LINGUAS}; do
- IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
-done
-
-DEPEND="
- >=sys-apps/sed-4
- app-arch/xz-utils
-"
-GTKRDEPEND="
- dev-libs/atk
- dev-libs/glib:2
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/pango
- x11-libs/pixman
-"
-KDERDEPEND="
- kde-base/kdelibs
- x11-libs/qt-core
- x11-libs/qt-gui
-"
-GSTRDEPEND="
- dev-libs/glib
- dev-libs/libxml2
- media-plugins/gst-plugins-meta
- media-libs/gstreamer
-"
-RDEPEND="
- media-libs/fontconfig
- media-libs/freetype
- sys-apps/util-linux
- sys-libs/zlib
- virtual/opengl
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXft
- x11-libs/libXrender
- gtk? ( ${GTKRDEPEND} )
- kde? ( ${KDERDEPEND} )
- gstreamer? ( ${GSTRDEPEND} )
-"
-
-pkg_setup() {
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
- elog "If you seek support, please file a bug report at"
- elog "https://bugs.gentoo.org and post the output of"
- elog " \`emerge --info =${CATEGORY}/${P}'"
- echo -e \
- " ${GOOD}****************************************************${NORMAL}"
-}
-
-src_unpack() {
- unpack ${A}
- mv -v ${O_P}* "${S}" || die
-}
-
-src_prepare() {
- local LNGDIR="share/${PN}/locale"
-
- # Count linguas
- count() { echo ${#}; }
- local lingua_count=$(count ${O_LINGUAS} en)
- local locale_count=$(count ${LNGDIR}/*)
- [[ ${lingua_count} = ${locale_count} ]] \
- || die "Number of LINGUAS does not match number of locales"
- unset count
-
- # Remove unwanted linguas
- einfo "Keeping these locales (linguas): ${LINGUAS}."
- for LINGUA in ${O_LINGUAS}; do
- if ! use linguas_${LINGUA/-/_}; then
- LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
- rm -r "${LINGUA}" || die "The list of linguas needs to be fixed"
- fi
- done
-
- # Remove doc directory but keep the LICENSE under another name (bug #315473)
- mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt
- rm -rf share/doc
- for locale in share/${PN}/locale/*; do
- rm -f "${locale}/license.txt"
- ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \
- || die "ln -sn license.txt"
- done
-
- # Remove package directory
- rm -rf share/${PN}/package
-
- # Leave libopera*.so only if the user chooses
- if ! use gtk; then
- rm lib/${PN}/liboperagtk.so || die "rm liboperagtk.so failed"
- fi
- if ! use kde; then
- rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed"
- fi
-
- # Unzip the man pages before sedding
- gunzip share/man/man1/* || die "gunzip failed"
-
- # Replace PREFIX, SUFFIX and PN in various files
- sed -i \
- -e "s:@@{PREFIX}:/usr:g" \
- -e "s:@@{SUFFIX}::g" \
- -e "s:@@{_SUFFIX}::g" \
- -e "s:@@{USUFFIX}::g" \
- -e "s:opera:${PN}:g" \
- share/man/man1/* \
- share/applications/${PN}-*.desktop \
- || die "sed failed"
-
- # Replace "Opera" with "Opera Next"
- if [[ ${PN} = opera-next ]]; then
- sed -i share/applications/${PN}-*.desktop \
- -e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die
- fi
-
- # Create /usr/bin/opera wrapper
- echo '#!/bin/sh' > ${PN}
- echo 'export OPERA_DIR=/usr/share/'"${PN}" >> ${PN}
- echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
- >> ${PN}
- echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
-
- # Fix libdir in defaults/pluginpath.ini
- sed -i \
- share/${PN}/defaults/pluginpath.ini \
- -e "s|/usr/lib32|${OPREFIX}|g" \
- -e '/netscape/{s|[0-1]|2|g}' \
- || die "sed pluginpath.ini failed"
-
- # Change libz.so.3 to libz.so.1 for gentoo/freebsd
- if use elibc_FreeBSD; then
- scanelf -qR -N libz.so.3 -F "#N" lib/${PN}/ | \
- while read i; do
- if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
- then
- export SANITY_CHECK_LIBZ_FAILED=1
- break
- fi
- sed -i \
- "$i" \
- -e 's/libz\.so\.3/libz.so.1/g'
- done
- [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] \
- && die "failed to change libz.so.3 to libz.so.1"
- fi
-}
-
-src_install() {
- # We install into usr instead of opt as Opera does not support the latter
- dodir /usr
- mv lib/ "${D}/${OPREFIX}" || die "mv lib/ failed"
- mv share/ "${D}/usr/" || die "mv share/ failed"
-
- # Install startup scripts
- dobin ${PN}
-
- # Stop revdep-rebuild from checking opera binaries
- dodir /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \
- > "${D}"/etc/revdep-rebuild/90${PN}
-
- # Set PaX markings for hardened/PaX (bug #344267)
- pax-mark m \
- "${D}/${OPREFIX}/${PN}/${PN}" \
- "${D}/${OPREFIX}/${PN}/operaplugincleaner" \
- "${D}/${OPREFIX}/${PN}/operapluginwrapper"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- if use elibc_FreeBSD; then
- elog
- elog "To improve shared memory usage please set:"
- elog "$ sysctl kern.ipc.shm_allow_removed=1"
- fi
-
- # Update desktop file database and gtk icon cache (bug #334993)
- gnome2_icon_cache_update
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- # Update desktop file database and gtk icon cache (bug #334993)
- gnome2_icon_cache_update
- fdo-mime_desktop_database_update
-}