commit:     232a60dfb4321c0c59bb55a6421d5f908cea1919
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 02:32:16 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 02:32:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232a60df

dev-vcs/mercurial: cleanup vulnerable wrt bug #627484

 dev-vcs/mercurial/Manifest               |   2 -
 dev-vcs/mercurial/mercurial-3.8.4.ebuild | 134 -------------------------------
 dev-vcs/mercurial/mercurial-4.1.3.ebuild | 134 -------------------------------
 3 files changed, 270 deletions(-)

diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
index 76e2ba58909..f06ed9eff95 100644
--- a/dev-vcs/mercurial/Manifest
+++ b/dev-vcs/mercurial/Manifest
@@ -1,5 +1,3 @@
-DIST mercurial-3.8.4.tar.gz 4775341 BLAKE2B 
ea43b2e6c630f5d6293c40b0cf28ce66293d26ed892a79de9e0e35c381c1c0094a912fac1c13c700655bdff3cb885da3bbc7348b7cc0775c2fc69211c5b38ea9
 SHA512 
2ee785f631f9ae346e10ca77251a9ce6d3dacd598588c39f1a69ce1f4b668866f6109d682428512c37c300b26741b74672195538d66845e85cfff5ead886cf4c
-DIST mercurial-4.1.3.tar.gz 5134965 BLAKE2B 
93d4d72160e28f77ff8c2833ec0f5ea5adc47eb1cd2d8b2383f3eccbd2e4c65e595ed8dfa6f2133e50e3f39a3c14902628a98eb3bc81bfb1d981eb668a75bc23
 SHA512 
794c513b7e061bc56d270ef57adc0fadeffd5bcc988da0934b24db686b76bf573aef2bbaa3baa9220f31463795bc6e6a99fc1284ebcf8d7e49f42b8129347811
 DIST mercurial-4.3.3.tar.gz 5491634 BLAKE2B 
becfe01fb52af6047d570d2b8a674204f5e698bf42c2a3ff46298de40112ace3c367012eabdfc3ac4257e1618a513a75ff27b75050ecbd7f796e847715c95f70
 SHA512 
2d5249b6b2ec6b21c548702af2cf6b8e0858197a370514465aa7a880391f2e9efd6aecefb67fc547dfb8759c1c678009dc5a33fc48743bee30fcbdd853ee1cc6
 DIST mercurial-4.3.tar.gz 5469979 BLAKE2B 
5a0df1bce4b3343a9101b634aed44c7ab3af5ed9a07883b20f87829bedd5abdae92b476a3d108a9ccf093dad18f7c82b36d5d6a6622346e156bca6dcbaeb3c9a
 SHA512 
d74ae5f35d8c415c07737b59e6c5455963dfbf5d038c43d683fd34dd84423b9ccf9cd670667f458db20d8580fc7c7d9e5609d29d990e1e94683734694211c417
 DIST mercurial-4.4.1.tar.gz 5636532 BLAKE2B 
07b91da192db30a925bd9798c5d6ab02336501c04f9d65bb9042786c2f5e6f8c16f6ebe6817f68ac746c21f79e39dbb8284b7590063d7a6ef615a8e2b6dbe821
 SHA512 
4c87adb6d3d30f7f9211eee64df727aefdac246be3ca9e3af412b76c32b76d701b19e00ca339168446ee5e20fad2ffc24f0c87438b6bda954560108235ab14a8

diff --git a/dev-vcs/mercurial/mercurial-3.8.4.ebuild 
b/dev-vcs/mercurial/mercurial-3.8.4.ebuild
deleted file mode 100644
index 24f50bfae3c..00000000000
--- a/dev-vcs/mercurial/mercurial-3.8.4.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="threads"
-
-inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
-
-DESCRIPTION="Scalable distributed SCM"
-HOMEPAGE="https://www.mercurial-scm.org/";
-SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz";
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="bugzilla emacs gpg test tk"
-
-RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
-       gpg? ( app-crypt/gnupg )
-       tk? ( dev-lang/tk )
-       app-misc/ca-certificates"
-DEPEND="emacs? ( virtual/emacs )
-       test? ( app-arch/unzip
-               dev-python/pygments[${PYTHON_USEDEP}] )"
-
-SITEFILE="70${PN}-gentoo.el"
-
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
-
-python_prepare_all() {
-       # fix up logic that won't work in Gentoo Prefix (also won't outside in
-       # certain cases), bug #362891
-       sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       strip-flags -ftracer -ftree-vectorize
-       # Note: make it impl-conditional if py3 is supported
-       append-flags -fno-strict-aliasing
-
-       "${PYTHON}" setup.py build_mo || die
-}
-
-python_compile_all() {
-       rm -r contrib/{win32,macosx} || die
-       if use emacs; then
-               cd contrib || die
-               elisp-compile mercurial.el || die "elisp-compile failed!"
-       fi
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       newbashcomp contrib/bash_completion hg
-
-       insinto /usr/share/zsh/site-functions
-       newins contrib/zsh_completion _hg
-
-       rm -f doc/*.?.txt
-       dodoc CONTRIBUTORS
-       cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
-
-       dobin hgeditor
-       dobin contrib/hgk
-       python_foreach_impl python_doscript contrib/hg-ssh
-
-       if use emacs; then
-               elisp-install ${PN} contrib/mercurial.el* || die "elisp-install 
failed!"
-               elisp-site-file-install "${FILESDIR}"/${SITEFILE}
-       fi
-
-       local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix 
buildrpm plan9
-                         *.el mercurial.spec)
-       for f in ${RM_CONTRIB[@]}; do
-               rm -r contrib/$f || die
-       done
-
-       dodoc -r contrib
-       docompress -x /usr/share/doc/${PF}/contrib
-       doman doc/*.?
-
-       insinto /etc/mercurial/hgrc.d
-       doins "${FILESDIR}/cacerts.rc"
-}
-
-src_test() {
-       pushd tests &>/dev/null || die
-       rm -rf *svn*                    # Subversion tests fail with 1.5
-       rm -f test-archive*             # Fails due to verbose tar output 
changes
-       rm -f test-convert-baz*         # GNU Arch baz
-       rm -f test-convert-cvs*         # CVS
-       rm -f test-convert-darcs*       # Darcs
-       rm -f test-convert-git*         # git
-       rm -f test-convert-mtn*         # monotone
-       rm -f test-convert-tla*         # GNU Arch tla
-       #rm -f test-doctest*            # doctest always fails with python 2.5.x
-       rm -f test-largefiles*          # tends to time out
-
-       popd &>/dev/null || die
-       distutils-r1_src_test
-}
-
-python_test() {
-       local TEST_DIR
-
-       rm -rf "${TMPDIR}"/test
-       distutils_install_for_testing
-       cd tests || die
-       "${PYTHON}" run-tests.py --verbose \
-               --tmpdir="${TMPDIR}"/test \
-               --with-hg="${TEST_DIR}"/scripts/hg \
-               || die "Tests fail with ${EPYTHON}"
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-
-       elog "If you want to convert repositories from other tools using 
convert"
-       elog "extension please install correct tool:"
-       elog "  dev-vcs/cvs"
-       elog "  dev-vcs/darcs"
-       elog "  dev-vcs/git"
-       elog "  dev-vcs/monotone"
-       elog "  dev-vcs/subversion"
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

diff --git a/dev-vcs/mercurial/mercurial-4.1.3.ebuild 
b/dev-vcs/mercurial/mercurial-4.1.3.ebuild
deleted file mode 100644
index f29a2c796da..00000000000
--- a/dev-vcs/mercurial/mercurial-4.1.3.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="threads"
-
-inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
-
-DESCRIPTION="Scalable distributed SCM"
-HOMEPAGE="https://www.mercurial-scm.org/";
-SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz";
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="bugzilla emacs gpg test tk"
-
-RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
-       gpg? ( app-crypt/gnupg )
-       tk? ( dev-lang/tk )
-       app-misc/ca-certificates"
-DEPEND="emacs? ( virtual/emacs )
-       test? ( app-arch/unzip
-               dev-python/pygments[${PYTHON_USEDEP}] )"
-
-SITEFILE="70${PN}-gentoo.el"
-
-PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
-
-python_prepare_all() {
-       # fix up logic that won't work in Gentoo Prefix (also won't outside in
-       # certain cases), bug #362891
-       sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       strip-flags -ftracer -ftree-vectorize
-       # Note: make it impl-conditional if py3 is supported
-       append-flags -fno-strict-aliasing
-
-       "${PYTHON}" setup.py build_mo || die
-}
-
-python_compile_all() {
-       rm -r contrib/{win32,macosx} || die
-       if use emacs; then
-               cd contrib || die
-               elisp-compile mercurial.el || die "elisp-compile failed!"
-       fi
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       newbashcomp contrib/bash_completion hg
-
-       insinto /usr/share/zsh/site-functions
-       newins contrib/zsh_completion _hg
-
-       rm -f doc/*.?.txt
-       dodoc CONTRIBUTORS
-       cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
-
-       dobin hgeditor
-       dobin contrib/hgk
-       python_foreach_impl python_doscript contrib/hg-ssh
-
-       if use emacs; then
-               elisp-install ${PN} contrib/mercurial.el* || die "elisp-install 
failed!"
-               elisp-site-file-install "${FILESDIR}"/${SITEFILE}
-       fi
-
-       local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix 
buildrpm plan9
-                         *.el mercurial.spec)
-       for f in ${RM_CONTRIB[@]}; do
-               rm -r contrib/$f || die
-       done
-
-       dodoc -r contrib
-       docompress -x /usr/share/doc/${PF}/contrib
-       doman doc/*.?
-
-       insinto /etc/mercurial/hgrc.d
-       doins "${FILESDIR}/cacerts.rc"
-}
-
-src_test() {
-       pushd tests &>/dev/null || die
-       rm -rf *svn*                    # Subversion tests fail with 1.5
-       rm -f test-archive*             # Fails due to verbose tar output 
changes
-       rm -f test-convert-baz*         # GNU Arch baz
-       rm -f test-convert-cvs*         # CVS
-       rm -f test-convert-darcs*       # Darcs
-       rm -f test-convert-git*         # git
-       rm -f test-convert-mtn*         # monotone
-       rm -f test-convert-tla*         # GNU Arch tla
-       #rm -f test-doctest*            # doctest always fails with python 2.5.x
-       rm -f test-largefiles*          # tends to time out
-
-       popd &>/dev/null || die
-       distutils-r1_src_test
-}
-
-python_test() {
-       local TEST_DIR
-
-       rm -rf "${TMPDIR}"/test
-       distutils_install_for_testing
-       cd tests || die
-       "${PYTHON}" run-tests.py --verbose \
-               --tmpdir="${TMPDIR}"/test \
-               --with-hg="${TEST_DIR}"/scripts/hg \
-               || die "Tests fail with ${EPYTHON}"
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-
-       elog "If you want to convert repositories from other tools using 
convert"
-       elog "extension please install correct tool:"
-       elog "  dev-vcs/cvs"
-       elog "  dev-vcs/darcs"
-       elog "  dev-vcs/git"
-       elog "  dev-vcs/monotone"
-       elog "  dev-vcs/subversion"
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

Reply via email to