10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2
12.2-rc1
7.2
7.3
7.4
7.5
7.5-systemd
7.6
7.6-systemd
7.7
7.7-systemd
7.8
7.8-systemd
7.9
7.9-systemd
8.0
8.1
8.2
8.3
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/loongarch-12.2
xry111/mips64el
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Rev | Line | |
---|
[daed5a3] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
| 3 | <!-- Create a md5 list for packages and pathces used. -->
|
---|
| 4 |
|
---|
| 5 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 6 | version="1.0">
|
---|
| 7 |
|
---|
| 8 | <xsl:output method="text"/>
|
---|
| 9 |
|
---|
| 10 | <xsl:template match="/">
|
---|
| 11 | <xsl:apply-templates select="//ulink"/>
|
---|
| 12 | </xsl:template>
|
---|
| 13 |
|
---|
| 14 | <xsl:template match="ulink">
|
---|
| 15 | <!-- If some package don't have the predefined strings in their
|
---|
| 16 | name, the next test must be fixed to match it also. Skip possible
|
---|
| 17 | duplicated URLs that may be split for PDF output -->
|
---|
| 18 | <xsl:if test="(contains( @url, '.tar.' ) or
|
---|
| 19 | contains( @url, '.tgz' ) or
|
---|
| 20 | contains( @url, '.patch') ) and
|
---|
| 21 | not( ancestor-or-self::*/@condition = 'pdf' )" >
|
---|
| 22 | <!-- Get the md5sum -->
|
---|
| 23 | <xsl:value-of select="../../para/literal"/>
|
---|
| 24 |
|
---|
| 25 | <!-- Add two spaces -->
|
---|
| 26 | <xsl:text> </xsl:text>
|
---|
| 27 |
|
---|
| 28 | <!-- Get the basename -->
|
---|
| 29 | <xsl:call-template name="basename">
|
---|
| 30 | <xsl:with-param name="pathname" select="@url"/>
|
---|
| 31 | </xsl:call-template>
|
---|
| 32 |
|
---|
| 33 | <!-- Add a newline -->
|
---|
| 34 | <xsl:text>
</xsl:text>
|
---|
| 35 |
|
---|
| 36 | </xsl:if>
|
---|
| 37 | </xsl:template>
|
---|
| 38 |
|
---|
| 39 | <xsl:template name="basename">
|
---|
| 40 | <xsl:param name="pathname"/>
|
---|
| 41 |
|
---|
| 42 | <xsl:choose>
|
---|
| 43 |
|
---|
| 44 | <xsl:when test="contains( $pathname, '/' )" >
|
---|
| 45 | <xsl:call-template name="basename">
|
---|
| 46 | <xsl:with-param name="pathname" select="substring-after( $pathname, '/' )" />
|
---|
| 47 | </xsl:call-template>
|
---|
| 48 | </xsl:when>
|
---|
| 49 |
|
---|
| 50 | <xsl:otherwise>
|
---|
| 51 | <xsl:value-of select="$pathname"/>
|
---|
| 52 | </xsl:otherwise>
|
---|
| 53 |
|
---|
| 54 | </xsl:choose>
|
---|
| 55 | </xsl:template>
|
---|
| 56 |
|
---|
| 57 | </xsl:stylesheet>
|
---|
| 58 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.