Import functions from ruby-build v20160426-33-g3304f96

I should add EOL warnings to old versions later....
This commit is contained in:
Yamashita, Yuu 2016-06-02 01:49:10 +00:00
parent 10957b786a
commit 69d5656311

View file

@ -680,6 +680,26 @@ package_option() {
eval "$variable=( \"\${value[@]}\" )" eval "$variable=( \"\${value[@]}\" )"
} }
build_package_warn_eol() {
local package_name="$1"
{ echo
echo "WARNING: $package_name is past its end of life and is now unsupported."
echo "It no longer receives bug fixes or critical security updates."
echo
} >&3
}
build_package_warn_unsupported() {
local package_name="$1"
{ echo
echo "WARNING: $package_name is nearing its end of life."
echo "It only receives critical security updates, no bug fixes."
echo
} >&3
}
build_package_standard() { build_package_standard() {
local package_name="$1" local package_name="$1"