[jhalfs] 01/02: BLFS: remove support for ftp and alternate server
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 05b955b62c1cf4afda76c08587303cd95e4eb4c6 Author: Pierre Labastie <[email protected]> AuthorDate: Tue Nov 21 10:12:28 2023 +0100 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. --- 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> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page