diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-09-02 15:55:33 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-09-02 15:55:33 +0000 |
commit | 5870c86cf3a3ce26ada01ef4612a96a05584ea2b (patch) | |
tree | 77315cd8df1d95f7df1be3989d9f58ffbb5638ad /www-client | |
parent | Remove unused versions. (diff) | |
download | historical-5870c86cf3a3ce26ada01ef4612a96a05584ea2b.tar.gz historical-5870c86cf3a3ce26ada01ef4612a96a05584ea2b.tar.bz2 historical-5870c86cf3a3ce26ada01ef4612a96a05584ea2b.zip |
Old.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-next/ChangeLog | 6 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 17 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1042-r1.ebuild | 232 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1042.ebuild | 226 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1047.ebuild | 232 |
5 files changed, 9 insertions, 704 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 27d998787cae..e0b9c4fbe723 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-client/opera-next # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.39 2011/09/02 15:50:23 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.40 2011/09/02 15:55:32 jer Exp $ + + 02 Sep 2011; Jeroen Roovers <jer@gentoo.org> -opera-next-12.00.1042.ebuild, + -opera-next-12.00.1042-r1.ebuild, -opera-next-12.00.1047.ebuild: + Security bug #381275. *opera-next-12.00.1054 (02 Sep 2011) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index b9a68f20fd32..cf16c7c7464e 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -1,25 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST opera-next-12.00-1042.i386.freebsd.tar.xz 11232784 RMD160 da78aaa10ec8cb1414f15482bcd2807f8e9e6ad1 SHA1 24b0e485f8ac1743c799f12e37fce9e56eff0c8c SHA256 83480385ecd2f4df07a8796e9727d3ff61917af2d3da38bcf24e4454f4f82ae1 -DIST opera-next-12.00-1042.i386.linux.tar.xz 11164156 RMD160 b505eb3dd058b7d6798444dfb28805a84abcbba0 SHA1 54edbe6bb40ab7a54dfec11c176310aca65ee2e3 SHA256 d0802cfef9a94e48d0b7dcbec5e950600737c968be3eb90392b257d1bba400b8 -DIST opera-next-12.00-1042.x86_64.linux.tar.xz 11933032 RMD160 9f818af166586bfee71751ffd92d4f8cf8360d0b SHA1 23ec930c4888d29f7e496687363edf89c5e59e1b SHA256 ed8794fad0ad6c6ecfe9296fe5a0d5ac2f7d878f1aa80d50d009d26bdf9daca4 -DIST opera-next-12.00-1047.i386.freebsd.tar.xz 11240576 RMD160 d4ad7ea735675e54f4a567e6e461e071bf5c5930 SHA1 8a366b54886ae0104f823728db9e7176f2b78240 SHA256 8fc719b2bd35cb233cd156da9d3cd862121bf75647fd030c868c40aab210c4b7 -DIST opera-next-12.00-1047.i386.linux.tar.xz 11168232 RMD160 bd190a4d2e90250e64aeac71cac89e6206796939 SHA1 ff529aa486df5c08cd8a37bd5c87895f3bf4e175 SHA256 36bedc08fe5feb371731f301bfc9c1bc131802d4e64915ea286f7c1f2f38e88f -DIST opera-next-12.00-1047.x86_64.linux.tar.xz 11931752 RMD160 214b954e62dfccf2c95bc581fee6a992c30d3f2a SHA1 ea8de68952c60acf94faf445f28c87aa1d36d016 SHA256 2b04ae1f14f39c80c394b673d66adfae522f8b29513fc7065028d7403d60439a DIST opera-next-12.00-1054.i386.freebsd.tar.xz 11276900 RMD160 df6534d3b93efa550c841c8fb2db7bf7c1dd4a90 SHA1 21a43e43316bb4d192827a2248395f877ab90830 SHA256 73e037a1cd713bfd1e6e01419d4eb83fa623eed4514453e9c883fe29e2673e10 DIST opera-next-12.00-1054.i386.linux.tar.xz 11201764 RMD160 224fbb3b76cd2459e836a21d7da336be4ca076e2 SHA1 d4d50dc2516185104169bd1f58433207d1986122 SHA256 607b6fb0a873d24701fe0571abda2bc711b53174795f00aeffc214a4f3e8ab24 DIST opera-next-12.00-1054.x86_64.linux.tar.xz 11969604 RMD160 2b97f58673d3c4dbe8a61e45f4b3def06858d910 SHA1 af8676a26fa80ac19c11648f86f41748f7c3081b SHA256 ca1f5bcd6d5149ee6f3810d0c3495605ca11bb43ffe35f72c9f014478742a5a6 -EBUILD opera-next-12.00.1042-r1.ebuild 6065 RMD160 f7448d789cf5ea0bc2750347bbce2c50ca1ce5b9 SHA1 d018ca2d013d6ccf4f5473612e75263efe123fe6 SHA256 7afc244d3286a26fa5fa0f169587ca41a95e8cd8104142f8901b0a4a074bf36f -EBUILD opera-next-12.00.1042.ebuild 5893 RMD160 f682c18d6313f95e340ff9cffca847d9538aa177 SHA1 45040adb7e36b5c90d259f1e8058f3f0da660621 SHA256 95ecf514091d93465aa7e5334aa15102e1490a1d12e7ef15e629d8605a30df54 -EBUILD opera-next-12.00.1047.ebuild 6061 RMD160 cf89bce579c85763153389e05ef235e638970c05 SHA1 c872339674e5bd3ac95f9049415b76c7bf53d09e SHA256 b162ff6368e08deee2c696749a25cc84ab39ce9efcfde447d9e4a417b0ebf4f2 EBUILD opera-next-12.00.1054.ebuild 6068 RMD160 caa4d42e4a0e8a726c0170608e74aa12a7f6522a SHA1 61eb01e530a65333edddebf89755f42a0e97f739 SHA256 a410dae1dad6cfa7c3048e88ab310fe551f9982a56ed91d89e26330e51ab27ce -MISC ChangeLog 8030 RMD160 01387d18d9e6b6216e5190534c1c921d292e9423 SHA1 827466f12f25a812d1ac040b751d6c8b9f243c93 SHA256 454cc7b158415e5ce1f5a72489e78df35e294f16958717a10803a8a3fd39c627 +MISC ChangeLog 8200 RMD160 7b1e4f10b6fd302632fb32a66bcdbc1f8eea6afd SHA1 91aba7e97a8f3a1176cff59a24949511fe72cf29 SHA256 4798385fd6f50bbc6047d43efe29181901249d4b0df2e9b514f1365da17b814e MISC metadata.xml 1547 RMD160 465d146bcfdb6553f7f0ab2dddd68c4dcb2e7731 SHA1 1afb7e0ccc0833ba0eb73be38b282b66ad629ff6 SHA256 5cfc6e7cbf3c454d563eb407b4569f0f5a9b3ce7770026d6055f27211d481915 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk5g+0UACgkQVWmRsqeSphPCtACfSR2CZ7rAqVjICBgiXeQNcZMK -y4QAn2YTpJxvwLkzUn7/kUPZ/L3BFnhK -=LZuF +iEYEARECAAYFAk5g/HoACgkQVWmRsqeSphPfOgCfQBEcRNX5n4A12UhrR2eXmJYl +gqUAniqTO+dNUf6masFUyWT+vcgTFohc +=jVaj -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1042-r1.ebuild b/www-client/opera-next/opera-next-12.00.1042-r1.ebuild deleted file mode 100644 index df2182925ef9..000000000000 --- a/www-client/opera-next/opera-next-12.00.1042-r1.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1042-r1.ebuild,v 1.1 2011/08/07 03:02:03 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="animate_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${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 "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}/liboperagtk2.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 -} diff --git a/www-client/opera-next/opera-next-12.00.1042.ebuild b/www-client/opera-next/opera-next-12.00.1042.ebuild deleted file mode 100644 index c31a228f7668..000000000000 --- a/www-client/opera-next/opera-next-12.00.1042.ebuild +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1042.ebuild,v 1.1 2011/08/05 16:00:57 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="animate_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${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 "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}/liboperagtk2.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}-browser.desktop \ - || die "sed failed" - - # 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 -} diff --git a/www-client/opera-next/opera-next-12.00.1047.ebuild b/www-client/opera-next/opera-next-12.00.1047.ebuild deleted file mode 100644 index 8d00063e0a3b..000000000000 --- a/www-client/opera-next/opera-next-12.00.1047.ebuild +++ /dev/null @@ -1,232 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1047.ebuild,v 1.1 2011/08/16 19:59:48 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="bergen_${O_V}-${O_B}" -O_P="${PN}-${O_V}-${O_B}" -O_U="http://snapshot.opera.com/unix/" - -SRC_URI=" - amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}${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 "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}/liboperagtk2.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 -} |