diff --git a/sdk_container/src/third_party/portage-stable/eclass/alternatives.eclass b/sdk_container/src/third_party/portage-stable/eclass/alternatives.eclass index a7d6a1b1db..62633dc63e 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/alternatives.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/alternatives.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/alternatives.eclass,v 1.18 2013/09/21 01:03:42 ottxor Exp $ +# $Id$ # @ECLASS: alternatives.eclass # @AUTHOR: diff --git a/sdk_container/src/third_party/portage-stable/eclass/ant-tasks.eclass b/sdk_container/src/third_party/portage-stable/eclass/ant-tasks.eclass index 2887ea83ff..91d3193a2f 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/ant-tasks.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/ant-tasks.eclass @@ -1,9 +1,6 @@ -# Eclass for building dev-java/ant-* packages -# # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# Author Vlastimil Babka -# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.17 2015/04/28 20:35:40 chewi Exp $ +# $Id$ # @ECLASS: ant-tasks.eclass # @MAINTAINER: @@ -63,12 +60,12 @@ ANT_TASK_PV="${PV}" if [[ ${PV} == *beta2* ]]; then MY_PV=${PV/_beta2/beta} UPSTREAM_PREFIX="http://people.apache.org/dist/ant/v1.7.1beta2/src" - GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles" + GENTOO_PREFIX="https://dev.gentoo.org/~caster/distfiles" ANT_TASK_PV=$(get_version_component_range 1-3) elif [[ ${PV} == *_rc* ]]; then MY_PV=${PV/_rc/RC} - UPSTREAM_PREFIX="http://dev.gentoo.org/~caster/distfiles" - GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles" + UPSTREAM_PREFIX="https://dev.gentoo.org/~caster/distfiles" + GENTOO_PREFIX="https://dev.gentoo.org/~caster/distfiles" ANT_TASK_PV=$(get_version_component_range 1-3) else # default for final releases @@ -76,13 +73,13 @@ else UPSTREAM_PREFIX="mirror://apache/ant/source" case ${PV} in 1.9.*) - GENTOO_PREFIX="http://dev.gentoo.org/~tomwij/files/dist" + GENTOO_PREFIX="https://dev.gentoo.org/~tomwij/files/dist" ;; 1.8.4) - GENTOO_PREFIX="http://dev.gentoo.org/~sera/distfiles" + GENTOO_PREFIX="https://dev.gentoo.org/~sera/distfiles" ;; *) - GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles" + GENTOO_PREFIX="https://dev.gentoo.org/~caster/distfiles" ;; esac fi diff --git a/sdk_container/src/third_party/portage-stable/eclass/apache-2.eclass b/sdk_container/src/third_party/portage-stable/eclass/apache-2.eclass index 9d8a485436..e07693da2b 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/apache-2.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/apache-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.41 2015/06/07 19:22:36 pacho Exp $ +# $Id$ # @ECLASS: apache-2.eclass # @MAINTAINER: @@ -16,8 +16,8 @@ inherit autotools eutils flag-o-matic multilib ssl-cert user toolchain-funcs ver && die "Do not use this eclass with anything else than www-servers/apache ebuilds!" case ${EAPI:-0} in - 0|1|2|3) - die "This eclass requires >=EAPI-4" + 0|1|2|3|4) + die "This eclass requires >=EAPI-5" ;; esac @@ -71,7 +71,7 @@ esac [[ -n "$GENTOO_PATCH_A" ]] || GENTOO_PATCH_A="${GENTOO_PATCHNAME}-${GENTOO_PATCHSTAMP}.tar.bz2" SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2 - http://dev.gentoo.org/~${GENTOO_DEVELOPER}/dist/apache/${GENTOO_PATCH_A}" + https://dev.gentoo.org/~${GENTOO_DEVELOPER}/dist/apache/${GENTOO_PATCH_A}" # @VARIABLE: IUSE_MPMS_FORK # @DESCRIPTION: @@ -89,7 +89,7 @@ SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2 # built-in modules IUSE_MPMS="${IUSE_MPMS_FORK} ${IUSE_MPMS_THREAD}" -IUSE="${IUSE} debug doc ldap selinux ssl static suexec threads" +IUSE="${IUSE} debug doc ldap libressl selinux ssl static suexec threads" for module in ${IUSE_MODULES} ; do IUSE="${IUSE} apache2_modules_${module}" @@ -106,7 +106,10 @@ DEPEND="dev-lang/perl apache2_modules_deflate? ( sys-libs/zlib ) apache2_modules_mime? ( app-misc/mime-types ) ldap? ( =net-nds/openldap-2* ) - ssl? ( >=dev-libs/openssl-0.9.8m ) + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.2:0= ) + libressl? ( dev-libs/libressl:= ) + ) !=www-servers/apache-1*" RDEPEND+=" ${DEPEND} selinux? ( sec-policy/selinux-apache )" @@ -365,7 +368,7 @@ check_upgrade() { eerror "(${EROOT}etc/apache2/apache2-builtin-mods) exists on your" eerror "system." eerror - eerror "Please read http://www.gentoo.org/doc/en/apache-upgrading.xml" + eerror "Please read https://wiki.gentoo.org/wiki/Project:Apache/Upgrading" eerror "for detailed information how to convert this file to the new" eerror "APACHE2_MODULES USE_EXPAND variable." eerror diff --git a/sdk_container/src/third_party/portage-stable/eclass/apache-module.eclass b/sdk_container/src/third_party/portage-stable/eclass/apache-module.eclass index b0e82e7651..16fbddd792 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/apache-module.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/apache-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/apache-module.eclass,v 1.26 2013/06/22 00:06:53 vapier Exp $ +# $Id$ # @ECLASS: apache-module.eclass # @MAINTAINER: diff --git a/sdk_container/src/third_party/portage-stable/eclass/aspell-dict.eclass b/sdk_container/src/third_party/portage-stable/eclass/aspell-dict.eclass index da6afc8c8b..6207f6a15f 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/aspell-dict.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/aspell-dict.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/aspell-dict.eclass,v 1.44 2014/01/05 11:39:48 pacho Exp $ +# $Id$ # @ECLASS: aspell-dict.eclass # @MAINTAINER: diff --git a/sdk_container/src/third_party/portage-stable/eclass/autotools-multilib.eclass b/sdk_container/src/third_party/portage-stable/eclass/autotools-multilib.eclass index fadcdc90db..0141bc6a86 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/autotools-multilib.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/autotools-multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-multilib.eclass,v 1.23 2014/05/02 16:16:37 mgorny Exp $ +# $Id$ # @ECLASS: autotools-multilib.eclass # @MAINTAINER: @@ -21,6 +21,7 @@ # EAPI=4 is required for meaningful MULTILIB_USEDEP. case ${EAPI:-0} in + 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";; 4|5) ;; *) die "EAPI=${EAPI} is not supported" ;; esac diff --git a/sdk_container/src/third_party/portage-stable/eclass/autotools-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/autotools-utils.eclass index 89b7a9b55f..b850cf7af1 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/autotools-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/autotools-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.75 2015/06/07 12:55:46 mgorny Exp $ +# $Id$ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -89,6 +89,7 @@ # Keep variable names synced with cmake-utils and the other way around! case ${EAPI:-0} in + 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";; 2|3|4|5) ;; *) die "EAPI=${EAPI} is not supported" ;; esac diff --git a/sdk_container/src/third_party/portage-stable/eclass/base.eclass b/sdk_container/src/third_party/portage-stable/eclass/base.eclass index 9e963869d5..5ddbb39277 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/base.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/base.eclass @@ -1,6 +1,22 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.59 2014/07/11 08:21:58 ulm Exp $ +# $Id$ + +# DEPRECATED +# This eclass has been deprecated and must not be used by any new +# ebuilds or eclasses. Replacements for particular phase functions +# in EAPI 2+: +# +# base_src_unpack() - default (or unpacker_src_unpack if unpacker.eclass +# was inherited) +# base_src_prepare() - inherit eutils, inline: +# epatch "${PATCHES[@]}" # if PATCHES defined as array +# epatch ${PATCHES} # if PATCHES defined as string +# epatch_user +# base_src_configure() - default +# base_src_compile() - default +# base_src_install() - default +# base_src_install_docs() - einstalldocs from eutils.eclass # @ECLASS: base.eclass # @MAINTAINER: @@ -18,6 +34,7 @@ inherit eutils BASE_EXPF="src_unpack src_compile src_install" case "${EAPI:-0}" in + 6) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";; 2|3|4|5) BASE_EXPF+=" src_prepare src_configure" ;; *) ;; esac diff --git a/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass index db16e27c19..e5809f8882 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.14 2014/09/02 15:28:05 mgorny Exp $ +# $Id$ # @ECLASS: bash-completion-r1.eclass # @MAINTAINER: @@ -26,7 +26,7 @@ inherit toolchain-funcs case ${EAPI:-0} in - 0|1|2|3|4|5) ;; + 0|1|2|3|4|5|6) ;; *) die "EAPI ${EAPI} unsupported (yet)." esac @@ -41,12 +41,13 @@ _bash-completion-r1_get_bashdir() { debug-print-function ${FUNCNAME} "${@}" if $(tc-getPKG_CONFIG) --exists bash-completion &>/dev/null; then - local path="$($(tc-getPKG_CONFIG) --variable=$1 bash-completion)" + local path + path=$($(tc-getPKG_CONFIG) --variable="${1}" bash-completion) || die # we need to return unprefixed, so strip from what pkg-config returns # to us, bug #477692 echo "${path#${EPREFIX}}" else - echo $2 + echo "${2}" fi } @@ -129,6 +130,7 @@ bashcomp_alias() { shift for f; do - dosym "${base}" "$(_bash-completion-r1_get_bashcompdir)/${f}" + dosym "${base}" "$(_bash-completion-r1_get_bashcompdir)/${f}" \ + || return done } diff --git a/sdk_container/src/third_party/portage-stable/eclass/bash-completion.eclass b/sdk_container/src/third_party/portage-stable/eclass/bash-completion.eclass deleted file mode 100644 index b74f95ef6d..0000000000 --- a/sdk_container/src/third_party/portage-stable/eclass/bash-completion.eclass +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.29 2013/07/05 17:39:10 ulm Exp $ - -# DEPRECATED -# This eclass has been superseded by bash-completion-r1 eclass. -# Please modify your ebuilds to use that one instead. - -# @ECLASS: bash-completion.eclass -# @MAINTAINER: -# shell-tools@gentoo.org. -# @AUTHOR: -# Original author: Aaron Walker -# @BLURB: An Interface for installing contributed bash-completion scripts -# @DESCRIPTION: -# Simple eclass that provides an interface for installing -# contributed (ie not included in bash-completion proper) -# bash-completion scripts. -# -# Note: this eclass has been deprecated in favor of bash-completion-r1. Please -# use that one instead. - -# @ECLASS-VARIABLE: BASHCOMPLETION_NAME -# @DESCRIPTION: -# Install the completion script with this name (see also dobashcompletion) - -# @ECLASS-VARIABLE: BASHCOMPFILES -# @DESCRIPTION: -# Space delimited list of files to install if dobashcompletion is called without -# arguments. - -inherit eutils - -EXPORT_FUNCTIONS pkg_postinst - -IUSE="bash-completion" - -# Allow eclass to be inherited by eselect without a circular dependency -if [[ ${CATEGORY}/${PN} != app-admin/eselect ]]; then - RDEPEND="bash-completion? ( app-admin/eselect )" -fi -PDEPEND="bash-completion? ( app-shells/bash-completion )" - -# @FUNCTION: dobashcompletion -# @USAGE: [file] [new_file] -# @DESCRIPTION: -# The first argument is the location of the bash-completion script to install, -# and is required if BASHCOMPFILES is not set. The second argument is the name -# the script will be installed as. If BASHCOMPLETION_NAME is set, it overrides -# the second argument. If no second argument is given and BASHCOMPLETION_NAME -# is not set, it will default to ${PN}. -dobashcompletion() { - local f - - eqawarn "bash-completion.eclass has been deprecated." - eqawarn "Please update your ebuilds to use bash-completion-r1 instead." - - if [[ -z ${1} && -z ${BASHCOMPFILES} ]]; then - die "Usage: dobashcompletion [file] [new file]" - fi - - if use bash-completion; then - insinto /usr/share/bash-completion - if [[ -n ${1} ]]; then - [[ -z ${BASHCOMPLETION_NAME} ]] && BASHCOMPLETION_NAME="${2:-${PN}}" - newins "${1}" "${BASHCOMPLETION_NAME}" || die "Failed to install ${1}" - else - set -- ${BASHCOMPFILES} - for f in "$@"; do - if [[ -e ${f} ]]; then - doins "${f}" || die "Failed to install ${f}" - fi - done - fi - fi -} - -# @FUNCTION: bash-completion_pkg_postinst -# @DESCRIPTION: -# The bash-completion pkg_postinst function, which is exported -bash-completion_pkg_postinst() { - local f - - if use bash-completion ; then - elog "The following bash-completion scripts have been installed:" - if [[ -n ${BASHCOMPLETION_NAME} ]]; then - elog " ${BASHCOMPLETION_NAME}" - else - set -- ${BASHCOMPFILES} - for f in "$@"; do - elog " $(basename ${f})" - done - fi - elog - elog "To enable command-line completion on a per-user basis run:" - elog " eselect bashcomp enable