BLFS: remove support for ftp and alternate server
ftp urls have been removed from book, and in case you have to use an alternate server, better download directly to /sources/yourself.
This commit is contained in:
parent
23b0161d6c
commit
05b955b62c
1 changed files with 3 additions and 22 deletions
|
@ -441,10 +441,6 @@ echo Start Time: ${SECONDS} >> $INFOLOG
|
||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="first_letter"
|
|
||||||
select="translate(substring($package,1,1),
|
|
||||||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
|
|
||||||
'abcdefghijklmnopqrstuvwxyz')"/>
|
|
||||||
<xsl:text>
</xsl:text>
|
<xsl:text>
</xsl:text>
|
||||||
<xsl:value-of select="$varname"/>
|
<xsl:value-of select="$varname"/>
|
||||||
<xsl:text>=</xsl:text>
|
<xsl:text>=</xsl:text>
|
||||||
|
@ -460,24 +456,9 @@ echo Start Time: ${SECONDS} >> $INFOLOG
|
||||||
<xsl:text>" "$</xsl:text>
|
<xsl:text>" "$</xsl:text>
|
||||||
<xsl:value-of select="$varname"/>
|
<xsl:value-of select="$varname"/>
|
||||||
<xsl:text>"
|
<xsl:text>"
|
||||||
else
</xsl:text>
|
else<!-- Download from upstream http -->
|
||||||
<!-- Download from upstream http -->
|
wget -T 30 -t 5 "</xsl:text>
|
||||||
<xsl:if test="string-length($httpurl) > 10">
|
<xsl:value-of select="$httpurl"/>
|
||||||
<xsl:text> wget -T 30 -t 5 "</xsl:text>
|
|
||||||
<xsl:value-of select="$httpurl"/>
|
|
||||||
<xsl:text>" ||
</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<!-- Download from upstream ftp -->
|
|
||||||
<xsl:if test="string-length($ftpurl) > 10">
|
|
||||||
<xsl:text> wget -T 30 -t 5 "</xsl:text>
|
|
||||||
<xsl:value-of select="$ftpurl"/>
|
|
||||||
<xsl:text>" ||
</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<!-- The FTP_SERVER mirror as a last resort -->
|
|
||||||
<xsl:text> wget -T 30 -t 5 "${JH_FTP_SERVER}svn/</xsl:text>
|
|
||||||
<xsl:value-of select="$first_letter"/>
|
|
||||||
<xsl:text>/$</xsl:text>
|
|
||||||
<xsl:value-of select="$varname"/>
|
|
||||||
<xsl:text>"
|
<xsl:text>"
|
||||||
fi
|
fi
|
||||||
fi</xsl:text>
|
fi</xsl:text>
|
||||||
|
|
Reference in a new issue