From 6ceeca83d1b38890cba5030b27c3bc8c91e36e2a Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 25 Dec 2017 20:21:01 +0100 Subject: [PATCH] app-editors/sublime-text: Remove vulnerable versions Bug: https://bugs.gentoo.org/635972 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- app-editors/sublime-text/Manifest | 4 -- .../sublime-text/sublime-text-2.0.2-r2.ebuild | 62 ------------------ .../sublime-text-3_pre3126-r3.ebuild | 64 ------------------- 3 files changed, 130 deletions(-) delete mode 100644 app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild delete mode 100644 app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild diff --git a/app-editors/sublime-text/Manifest b/app-editors/sublime-text/Manifest index c59659cc143a0..e0dcb8faeed27 100644 --- a/app-editors/sublime-text/Manifest +++ b/app-editors/sublime-text/Manifest @@ -1,6 +1,2 @@ -DIST sublime-text-2.0.2_x32.tar.bz2 5584673 BLAKE2B b2dcdbc7681b8e7d8d003c2a69806dec7026f1fd1b9185c3c2c64f4cca94d83cbb5cf51f829cf6a284caabd4c1e6d30a4ab1b72b9ed98887792266ba2b33eec7 SHA512 08d99183a102b376109a140f2c58cac2ecd49179e639a80da9860ae03a223229df217c9316b7571b10b59983ad49d8145b86c6e20175f3cd87021aca1d7527bc -DIST sublime-text-2.0.2_x64.tar.bz2 5662968 BLAKE2B 1f1a1c1cc1b14fff27c01654ae6f7c0a4984be1b0448dfe832422b3ae6e13f457fdfe4d0dfd1f8a20b8ff89c9abada84033ae39baadc2b6c109c889536a4b66e SHA512 330dc9c4141d0e01f19605b397126b9ca0703377d565cbc552f4bc622ba54b38dbf2485aca71d6f24e3160e71ea40b2057ce66a3907ff6766916fb39438e9113 -DIST sublime_text_3_build_3126_x32.tar.bz2 9258647 BLAKE2B a651dcba881353a42dd92d2ac7ed27eff194873488a4e19e4b4fb42c63c4516db23df4ef7cd77492f7345d143e5d05f4338323a8fb57366015bbab641b72f054 SHA512 f8377adbad072577995918c7c8311ae63c7290581b00200e698ded18722893edf0baa7227480c8fc6143be30d695fae1e7312f7a9ac6728b8a397ea814a829fa -DIST sublime_text_3_build_3126_x64.tar.bz2 9313954 BLAKE2B 060d3825e99dec24903ab5fb9053d834d415427bddc9150992a5b5303827d86c12b67a606da5f56f42a636e4688695922c111928ef046cc1867a69ed87e4f48c SHA512 a0a683b3cef45fba2a294cb044e5dc24ed3ea8d8a669321ee15844a48b88fbd345d50f499a9feb865735b15b44ff99d6b5f8aaee453245b9fd61e9e3d1c69f26 DIST sublime_text_3_build_3143_x32.tar.bz2 9847438 BLAKE2B bca62736e3dbaae5aa5318af5aca4c78c5abff1189a58b354205351f21ba1caa8a6b479e9a7e01fdb4a56dec68d50e0e43522918b461463cdada7e6dbda6441c SHA512 471716815a171f786ad5f12b743ec3c17dcde2fc165522e523d338c9184af7789095e2de41e89d0c4b0dc58bfe409f116662016e7014c528650ce074c101084b DIST sublime_text_3_build_3143_x64.tar.bz2 9857381 BLAKE2B bf69810574eda5bb3afaa82dcbf8b68f9bef1db19af2382e0ee4b93cb87f08caa3f7bdc754419284b3902e0e715a97d211adcd234f35d8038071818368b3fb54 SHA512 db6375cbcaf1cb6e1d583aa043abeaeecf0236e1d2e23b965b6c2dd616ec2277d73786d2a9c273329c1a94890edc7ddce1551292b5170dc5b558cd7246c5093f diff --git a/app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild b/app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild deleted file mode 100644 index b482c88d899a3..0000000000000 --- a/app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils gnome2-utils - -# get the major version from PV -MV=${PV:0:1} - -DESCRIPTION="Sophisticated text editor for code, markup and prose" -HOMEPAGE="http://www.sublimetext.com" -SRC_URI=" - amd64? ( https://download.sublimetext.com/Sublime%20Text%20${PV}%20x64.tar.bz2 -> ${P}_x64.tar.bz2 ) - x86? ( https://download.sublimetext.com/Sublime%20Text%20${PV}.tar.bz2 -> ${P}_x32.tar.bz2 )" - -LICENSE="Sublime" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus" -RESTRICT="bindist mirror strip" - -RDEPEND=" - dev-libs/glib:2 - x11-libs/gtk+:2 - x11-libs/libX11 - dbus? ( sys-apps/dbus )" - -QA_PREBUILT="*" -S="${WORKDIR}/Sublime Text ${MV}" - -# Sublime bundles the kitchen sink, which includes python and other assorted -# modules. Do not try to unbundle these because you are guaranteed to fail. - -src_install() { - insinto /opt/${PN}${MV} - doins -r "Pristine Packages" lib - doins sublime_plugin.py PackageSetup.py - - exeinto /opt/${PN}${MV} - doexe sublime_text - dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl - - local size - for size in 16 32 48 128 256; do - newicon -s ${size} Icon/${size}x${size}/sublime_text.png subl.png - done - - make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \ - "TextEditor;IDE;Development" "StartupNotify=true" - - # needed to get WM_CLASS lookup right - mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die -} - -pkg_postrm() { - gnome2_icon_cache_update -} - -pkg_postinst() { - gnome2_icon_cache_update -} diff --git a/app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild b/app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild deleted file mode 100644 index c8285fe3355dc..0000000000000 --- a/app-editors/sublime-text/sublime-text-3_pre3126-r3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils gnome2-utils - -# get the major version from PV -MV=${PV:0:1} -MY_PV=${PV#*_pre} - -DESCRIPTION="Sophisticated text editor for code, markup and prose" -HOMEPAGE="http://www.sublimetext.com" -SRC_URI=" - amd64? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 ) - x86? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 )" - -LICENSE="Sublime" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus" -RESTRICT="bindist mirror strip" - -RDEPEND=" - dev-libs/glib:2 - x11-libs/gtk+:2 - x11-libs/libX11 - dbus? ( sys-apps/dbus )" - -QA_PREBUILT="*" -S="${WORKDIR}/sublime_text_${MV}" - -# Sublime bundles the kitchen sink, which includes python and other assorted -# modules. Do not try to unbundle these because you are guaranteed to fail. - -src_install() { - insinto /opt/${PN}${MV} - doins -r Packages Icon - doins changelog.txt sublime_plugin.py sublime.py python3.3.zip - - exeinto /opt/${PN}${MV} - doexe crash_reporter plugin_host sublime_text - dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl - - local size - for size in 32 48 128 256; do - dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \ - /usr/share/icons/hicolor/${size}x${size}/apps/subl.png - done - - make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \ - "TextEditor;IDE;Development" "StartupNotify=true" - - # needed to get WM_CLASS lookup right - mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die -} - -pkg_postrm() { - gnome2_icon_cache_update -} - -pkg_postinst() { - gnome2_icon_cache_update -}