jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gzBLFS: 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.
BLFS/xsl/scripts.xsl | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index be8a4db..ad6612a 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -441,10 +441,6 @@ echo Start Time: ${SECONDS} >> $INFOLOG </xsl:with-param> </xsl:call-template> </xsl:variable> - <xsl:variable name="first_letter" - select="translate(substring($package,1,1), - 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', - 'abcdefghijklmnopqrstuvwxyz')"/> <xsl:text>
</xsl:text> <xsl:value-of select="$varname"/> <xsl:text>=</xsl:text> @@ -460,24 +456,9 @@ echo Start Time: ${SECONDS} >> $INFOLOG <xsl:text>" "$</xsl:text> <xsl:value-of select="$varname"/> <xsl:text>" - else
</xsl:text> - <!-- Download from upstream http --> - <xsl:if test="string-length($httpurl) > 10"> - <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"/> + else<!-- Download from upstream http --> + wget -T 30 -t 5 "</xsl:text> + <xsl:value-of select="$httpurl"/> <xsl:text>" fi fi</xsl:text>