+ for line in '$(cat $tarball_file)' + [[ e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## =~ ^# ]] ++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## ++ cut -d# -f1-1 + tarball_name=e1000e-3.6.0.tar.gz ++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## ++ cut -d# -f2-2 + directory_name=e1000e-3.6.0 ++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## ++ cut -d# -f3-3 + tarball_url=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## ++ cut -d# -f4-4 + method=http ++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## ++ cut -d# -f5-5 + util= ++ echo e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## ++ cut -d# -f6-6 + script= + tarball_name=e1000e-3.6.0.tar.gz + [[ e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## =~ ^pupp* ]] + download_path=./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz + download_directory=./output/stx/CentOS/downloads + '[' -e ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz ']' + [[ e1000e-3.6.0.tar.gz#e1000e-3.6.0#https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz#http## =~ ^! ]] + '[' -e ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz ']' + '[' http == git ']' + for dl_src in '$dl_source' + case $dl_src in ++ url_to_stx_mirror_url https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz centos ++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++ local DISTRO=centos ++ local URL_PATH= ++ local FS_PATH= ++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']' ++ '[' centos == '' ']' +++ repo_url_to_sub_path https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz +++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz +++ local FAMILY= +++ local SERVER= +++ local URL_PATH= +++ local FS_PATH= +++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']' +++ echo https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz +++ grep -q 'centos[.]org' +++ grep -q 'fedoraproject[.]org[/]pub[/]epel' +++ echo https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ url_server https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ local LOGIN ++++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']' ++++ url_login https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ sed 's#^.*@## ; s#:.*$##' ++++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']' ++++ echo https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ sed 's#^.*://\([^/]*\)/.*$#\1#' ++++ return 0 ++++ '[' 0 -ne 0 ']' ++++ return 0 +++ SERVER=sourceforge.net +++ '[' 0 -ne 0 ']' ++++ url_path https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ local URL=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ '[' https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']' ++++ echo https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ sed 's#^.*://[^/]*/\(.*\)$#\1#' ++++ return 0 +++ URL_PATH=projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz +++ '[' 0 -ne 0 ']' ++++ url_path_to_fs_path projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ local INPUT_PATH=projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ local TEMP ++++ '[' projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz == '' ']' ++++ TEMP=projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++++ printf %b 'projects/e1000/files/e1000e\x20historic\x20archive/3.6.0/e1000e-3.6.0.tar.gz' ++++ return 0 +++ FS_PATH='projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ '[' 0 -ne 0 ']' ++++ normalize_path 'projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' ++++ local 'INPUT_PATH=projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' ++++ '[' 'projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' == '' ']' ++++ echo 'projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' ++++ sed 's#[/]\+#/#g ; s#[/][.][/]#/#g ; s#/$## ; s#^[.]/##' ++++ return 0 +++ FS_PATH='projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ '[' 0 -ne 0 ']' +++ normalize_path './/sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ local 'INPUT_PATH=.//sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ '[' './/sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' == '' ']' +++ echo './/sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ sed 's#[/]\+#/#g ; s#[/][.][/]#/#g ; s#/$## ; s#^[.]/##' +++ return 0 +++ '[' 0 -ne 0 ']' +++ return 0 ++ FS_PATH='sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' ++ '[' 0 -ne 0 ']' +++ fs_path_to_url_path 'sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ local 'INPUT_PATH=sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' +++ local LENGTH +++ local POS +++ local CHAR +++ '[' 'sourceforge.net/projects/e1000/files/e1000e historic archive/3.6.0/e1000e-3.6.0.tar.gz' == '' ']' +++ LENGTH=86 +++ (( POS = 0 )) +++ (( POS < LENGTH )) +++ CHAR=s +++ case $CHAR in +++ printf s +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=o +++ case $CHAR in +++ printf o +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=u +++ case $CHAR in +++ printf u +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=r +++ case $CHAR in +++ printf r +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=c +++ case $CHAR in +++ printf c +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=f +++ case $CHAR in +++ printf f +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=o +++ case $CHAR in +++ printf o +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=r +++ case $CHAR in +++ printf r +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=g +++ case $CHAR in +++ printf g +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=n +++ case $CHAR in +++ printf n +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=t +++ case $CHAR in +++ printf t +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=/ +++ case $CHAR in +++ printf / +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=p +++ case $CHAR in +++ printf p +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=r +++ case $CHAR in +++ printf r +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=o +++ case $CHAR in +++ printf o +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=j +++ case $CHAR in +++ printf j +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=c +++ case $CHAR in +++ printf c +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=t +++ case $CHAR in +++ printf t +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=s +++ case $CHAR in +++ printf s +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=/ +++ case $CHAR in +++ printf / +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=1 +++ case $CHAR in +++ printf 1 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=/ +++ case $CHAR in +++ printf / +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=f +++ case $CHAR in +++ printf f +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=i +++ case $CHAR in +++ printf i +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=l +++ case $CHAR in +++ printf l +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=s +++ case $CHAR in +++ printf s +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=/ +++ case $CHAR in +++ printf / +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=1 +++ case $CHAR in +++ printf 1 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=' ' +++ case $CHAR in +++ printf %%%02X ''\'' ' +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=h +++ case $CHAR in +++ printf h +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=i +++ case $CHAR in +++ printf i +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=s +++ case $CHAR in +++ printf s +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=t +++ case $CHAR in +++ printf t +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=o +++ case $CHAR in +++ printf o +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=r +++ case $CHAR in +++ printf r +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=i +++ case $CHAR in +++ printf i +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=c +++ case $CHAR in +++ printf c +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=' ' +++ case $CHAR in +++ printf %%%02X ''\'' ' +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=a +++ case $CHAR in +++ printf a +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=r +++ case $CHAR in +++ printf r +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=c +++ case $CHAR in +++ printf c +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=h +++ case $CHAR in +++ printf h +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=i +++ case $CHAR in +++ printf i +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=v +++ case $CHAR in +++ printf v +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=/ +++ case $CHAR in +++ printf / +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=3 +++ case $CHAR in +++ printf 3 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=6 +++ case $CHAR in +++ printf 6 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=/ +++ case $CHAR in +++ printf / +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=1 +++ case $CHAR in +++ printf 1 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=e +++ case $CHAR in +++ printf e +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=- +++ case $CHAR in +++ printf - +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=3 +++ case $CHAR in +++ printf 3 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=6 +++ case $CHAR in +++ printf 6 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=0 +++ case $CHAR in +++ printf 0 +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=t +++ case $CHAR in +++ printf t +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=a +++ case $CHAR in +++ printf a +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=r +++ case $CHAR in +++ printf r +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=. +++ case $CHAR in +++ printf . +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=g +++ case $CHAR in +++ printf g +++ (( POS++ )) +++ (( POS < LENGTH )) +++ CHAR=z +++ case $CHAR in +++ printf z +++ (( POS++ )) +++ (( POS < LENGTH )) +++ return 0 ++ URL_PATH=sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++ '[' 0 -ne 0 ']' ++ echo http://mirror.starlingx.cengn.ca:80/mirror/centos/sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz ++ return 0 + url=http://mirror.starlingx.cengn.ca:80/mirror/centos/sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz + download_cmd='wget -q -t 5 --wait=15 http://mirror.starlingx.cengn.ca:80/mirror/centos/sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz -O ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz' + wget -q -t 5 --wait=15 http://mirror.starlingx.cengn.ca:80/mirror/centos/sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz -O ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz + echo 'Warning: Failed to download http://mirror.starlingx.cengn.ca:80/mirror/centos/sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz' Warning: Failed to download http://mirror.starlingx.cengn.ca:80/mirror/centos/sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz + continue + for dl_src in '$dl_source' + case $dl_src in + url=https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz + download_cmd='wget -q -t 5 --wait=15 https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz -O ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz' + wget -q -t 5 --wait=15 https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz -O ./output/stx/CentOS/downloads/e1000e-3.6.0.tar.gz + echo 'Warning: Failed to download https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz' Warning: Failed to download https://sourceforge.net/projects/e1000/files/e1000e%20historic%20archive/3.6.0/e1000e-3.6.0.tar.gz + continue