Ignore:
Timestamp:
11/21/2023 09:12:28 AM (10 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
c1f02f2
Parents:
23b0161
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    r23b0161 r05b955b  
    442442      </xsl:call-template>
    443443    </xsl:variable>
    444     <xsl:variable name="first_letter"
    445                   select="translate(substring($package,1,1),
    446                                     'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    447                                     'abcdefghijklmnopqrstuvwxyz')"/>
    448444    <xsl:text>&#xA;</xsl:text>
    449445    <xsl:value-of select="$varname"/>
     
    461457    <xsl:value-of select="$varname"/>
    462458    <xsl:text>"
    463   else&#xA;</xsl:text>
    464     <!-- Download from upstream http -->
    465     <xsl:if test="string-length($httpurl) &gt; 10">
    466       <xsl:text>    wget -T 30 -t 5 "</xsl:text>
    467       <xsl:value-of select="$httpurl"/>
    468       <xsl:text>" ||&#xA;</xsl:text>
    469     </xsl:if>
    470     <!-- Download from upstream ftp -->
    471     <xsl:if test="string-length($ftpurl) &gt; 10">
    472       <xsl:text>    wget -T 30 -t 5 "</xsl:text>
    473       <xsl:value-of select="$ftpurl"/>
    474       <xsl:text>" ||&#xA;</xsl:text>
    475     </xsl:if>
    476     <!-- The FTP_SERVER mirror as a last resort -->
    477     <xsl:text>    wget -T 30 -t 5 "${JH_FTP_SERVER}svn/</xsl:text>
    478     <xsl:value-of select="$first_letter"/>
    479     <xsl:text>/$</xsl:text>
    480     <xsl:value-of select="$varname"/>
     459  else<!-- Download from upstream http -->
     460    wget -T 30 -t 5 "</xsl:text>
     461    <xsl:value-of select="$httpurl"/>
    481462    <xsl:text>"
    482463  fi
Note: See TracChangeset for help on using the changeset viewer.