dotnet*: Add livecheck

This commit is contained in:
Vadym-Valdis Yudaiev
2023-02-27 22:57:28 +02:00
parent 306162e028
commit e000b85cd8
16 changed files with 76 additions and 4 deletions
+4
View File
@@ -44,3 +44,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/2.1
livecheck.regex "ASP.NET Core Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -44,3 +44,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/3.1
livecheck.regex "ASP.NET Core Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -62,3 +62,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/6.0
livecheck.regex "ASP.NET Core Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -63,3 +63,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/7.0
livecheck.regex "ASP.NET Core Runtime (\\d+(?:\\.\\d+)*)"
+8 -1
View File
@@ -3,7 +3,9 @@
PortSystem 1.0
name aspnetcore-runtime-devel
version 8.0.0-preview.1.23112.2
set main_version 8.0.0
set patch_version 1.23112.2
version ${main_version}-preview.${patch_version}
revision 0
categories dotnet
license MIT
@@ -63,3 +65,8 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.version [join [lrange [split ${patch_version} .] 0 0] .]
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/8.0
livecheck.regex "ASP.NET Core Runtime ${main_version}-preview.(\\d)"
+5
View File
@@ -74,3 +74,8 @@ destroot {
# Symlink dotnet into the bin directory
ln -s ${dotnet_home}/dotnet ${destroot}${prefix}/bin
}
set major_ver [join [lrange [split ${version} .] 0 1] .]
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/${major_ver}
livecheck.regex ".NET Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -43,3 +43,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/2.1
livecheck.regex ".NET Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -43,3 +43,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/3.1
livecheck.regex ".NET Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -61,3 +61,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/6.0
livecheck.regex ".NET Runtime (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -62,3 +62,7 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/7.0
livecheck.regex ".NET Runtime (\\d+(?:\\.\\d+)*)"
+8 -1
View File
@@ -3,7 +3,9 @@
PortSystem 1.0
name dotnet-runtime-devel
version 8.0.0-preview.1.23110.8
set main_version 8.0.0
set patch_version 1.23110.8
version ${main_version}-preview.${patch_version}
revision 0
categories dotnet
license MIT
@@ -62,3 +64,8 @@ destroot {
move ${worksrcpath}${runtime_dir}/${version} ${destroot}${dotnet_home}${runtime_dir}
}
livecheck.version [join [lrange [split ${patch_version} .] 0 0] .]
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/8.0
livecheck.regex ".NET Runtime ${main_version}-preview.(\\d)"
+4
View File
@@ -46,3 +46,7 @@ destroot {
move ${worksrcpath}/sdk/${version} ${destroot}${dotnet_home}/sdk
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/2.1
livecheck.regex "SDK (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -47,3 +47,7 @@ destroot {
move ${worksrcpath}/sdk/${version} ${destroot}${dotnet_home}/sdk
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/3.1
livecheck.regex "SDK (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -68,3 +68,7 @@ destroot {
move ${worksrcpath}/sdk/${version} ${destroot}${dotnet_home}/sdk
move ${worksrcpath}/sdk-manifests/${dotnet_manifest_version} ${destroot}${dotnet_home}/sdk-manifests
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/6.0
livecheck.regex "SDK (\\d+(?:\\.\\d+)*)"
+4
View File
@@ -69,3 +69,7 @@ destroot {
move ${worksrcpath}/sdk/${version} ${destroot}${dotnet_home}/sdk
move ${worksrcpath}/sdk-manifests/${dotnet_manifest_version} ${destroot}${dotnet_home}/sdk-manifests
}
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/7.0
livecheck.regex "SDK (\\d+(?:\\.\\d+)*)"
+7 -2
View File
@@ -4,8 +4,8 @@ PortSystem 1.0
name dotnet-sdk-devel
set main_version 8.0.100
set patch_version preview.1.23115.2
version ${main_version}-${patch_version}
set patch_version 1.23115.2
version ${main_version}-preview.${patch_version}
revision 0
categories dotnet devel
license MIT
@@ -71,3 +71,8 @@ destroot {
move ${worksrcpath}/sdk/${version} ${destroot}${dotnet_home}/sdk
move ${worksrcpath}/sdk-manifests/${dotnet_manifest_version} ${destroot}${dotnet_home}/sdk-manifests
}
livecheck.version [join [lrange [split ${patch_version} .] 0 0] .]
livecheck.type regex
livecheck.url https://dotnet.microsoft.com/en-us/download/dotnet/8.0
livecheck.regex "SDK ${main_version}-preview.(\\d)"