[arch-commits] Commit in dotnet-core/repos/community-x86_64 (5 files)
Maxime Gauduin
alucryd at archlinux.org
Tue Nov 13 21:41:10 UTC 2018
Date: Tuesday, November 13, 2018 @ 21:41:09
Author: alucryd
Revision: 407230
archrelease: copy trunk to community-x86_64
Added:
dotnet-core/repos/community-x86_64/PKGBUILD
(from rev 407229, dotnet-core/trunk/PKGBUILD)
dotnet-core/repos/community-x86_64/dotnet-coreclr-rid.patch
(from rev 407229, dotnet-core/trunk/dotnet-coreclr-rid.patch)
dotnet-core/repos/community-x86_64/dotnet.sh
(from rev 407229, dotnet-core/trunk/dotnet.sh)
Deleted:
dotnet-core/repos/community-x86_64/PKGBUILD
dotnet-core/repos/community-x86_64/dotnet-coreclr-rid.patch
--------------------------+
PKGBUILD | 311 ++++++++++++++++++++++-----------------------
dotnet-coreclr-rid.patch | 76 +++++-----
dotnet.sh | 6
3 files changed, 202 insertions(+), 191 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-13 21:40:58 UTC (rev 407229)
+++ PKGBUILD 2018-11-13 21:41:09 UTC (rev 407230)
@@ -1,153 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Max Liebkies <mail at maxliebkies.de>
-
-pkgbase=dotnet-core
-pkgname=('dotnet-host' 'dotnet-runtime' 'aspnet-runtime' 'dotnet-sdk')
-pkgver=2.1.5+403
-pkgrel=1
-arch=('x86_64')
-url='https://www.microsoft.com/net/core'
-license=('MIT')
-makedepends=(
- 'clang' 'cmake' 'curl' 'git' 'icu' 'krb5' 'libunwind' 'lldb' 'llvm'
- 'lttng-ust' 'openssl-1.0' 'zlib'
-)
-options=('staticlibs')
-source=(
- "dotnet-source-build::git+https://github.com/dotnet/source-build.git#tag=v${pkgver%+*}"
- 'dotnet-application-insights::git+https://github.com/Microsoft/ApplicationInsights-dotnet.git'
- 'dotnet-cecil::git+https://github.com/mono/cecil.git'
- 'dotnet-cli::git+https://github.com/dotnet/cli.git'
- 'dotnet-cli-migrate::git+https://github.com/dotnet/cli-migrate.git'
- 'dotnet-clicommandlineparser::git+https://github.com/dotnet/clicommandlineparser.git'
- 'dotnet-common::git+https://github.com/aspnet/common.git'
- 'dotnet-core-setup::git+https://github.com/dotnet/core-setup.git'
- 'dotnet-coreclr::git+https://github.com/dotnet/coreclr.git'
- 'dotnet-corefx::git+https://github.com/dotnet/corefx.git'
- 'dotnet-fsharp::git+https://github.com/Microsoft/VisualFSharp.git'
- 'dotnet-linker::git+https://github.com/mono/linker.git'
- 'dotnet-msbuild::git+https://github.com/Microsoft/msbuild.git'
- 'dotnet-newtonsoft-json::git+https://github.com/JamesNK/Newtonsoft.Json.git'
- 'dotnet-nuget-client::git+https://github.com/NuGet/NuGet.Client.git'
- 'dotnet-roslyn::git+https://github.com/dotnet/roslyn.git'
- 'dotnet-roslyn-tools::git+https://github.com/dotnet/roslyn-tools.git'
- 'dotnet-sdk::git+https://github.com/dotnet/sdk.git'
- 'dotnet-standard::git+https://github.com/dotnet/standard.git'
- 'dotnet-templating::git+https://github.com/dotnet/templating.git'
- 'dotnet-vstest::git+https://github.com/Microsoft/vstest.git'
- 'dotnet-websdk::git+https://github.com/aspnet/websdk.git'
- 'dotnet-xliff-tasks::git+https://github.com/dotnet/xliff-tasks.git'
- 'https://download.visualstudio.microsoft.com/download/pr/97fce50e-e736-41c3-a700-d83d43178197/4c00b063affdbc940dd16f62c68d1505/aspnetcore-runtime-2.1.5-linux-x64.tar.gz'
- 'dotnet-coreclr-rid.patch'
-)
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- '775bcb800f186461b54f2ca0dc858c2a34dc82f95ad060681e8f440c48c2b291'
- '2c4fc48151e5319d57c8761091709070a17da91eddc2de8a26bc32c60679bfee')
-
-prepare() {
- cd dotnet-source-build
-
- for submodule in src/{application-insights,cli,cli-migrate,clicommandlineparser,common,core-setup,coreclr,corefx,fsharp,linker,msbuild,newtonsoft-json,nuget-client,roslyn,roslyn-tools,sdk,standard,templating,vstest,websdk,xliff-tasks}; do
- git submodule init ${submodule}
- git config submodule.${submodule}.url ../dotnet-${submodule#src/}
- git submodule update
- done
-
- cd src/linker
-
- for submodule in cecil; do
- git submodule init ${submodule}
- git config submodule.${submodule}.url ../../../dotnet-${submodule}
- git submodule update
- done
-
- cd ../coreclr
-
- patch -Np1 -i "${srcdir}"/dotnet-coreclr-rid.patch
-}
-
-build() {
- cd dotnet-source-build
-
- export PKG_CONFIG_PATH='/usr/lib/openssl-1.0/pkgconfig'
- export SOURCE_BUILD_SKIP_SUBMODULE_CHECK=1
-
- ./build.sh
-}
-
-package_dotnet-host() {
- pkgdesc='A generic driver for the .NET Core Command Line Interface'
-
- cd dotnet-source-build/bin/x64/Release
-
- install -dm 755 "${pkgdir}"/{opt/dotnet,usr/bin,usr/share/licenses/dotnet-host}
- tar -C "${pkgdir}"/opt/dotnet -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./dotnet ./host
- tar -C "${pkgdir}"/usr/share/licenses/dotnet-host -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./LICENSE.txt ./ThirdPartyNotices.txt
- chown root:root -R "${pkgdir}"/opt/dotnet
- ln -s /opt/dotnet/dotnet "${pkgdir}"/usr/bin/
-}
-
-package_dotnet-runtime() {
- pkgdesc='The .NET Core runtime'
- depends=('dotnet-host' 'icu' 'krb5' 'libunwind' 'openssl-1.0' 'zlib'
- 'libcurl.so')
- optdepends=('lttng-ust: CoreCLR tracing')
- provides=('dotnet-runtime-2.1')
- conflicts=('dotnet-runtime-2.1')
-
- cd dotnet-source-build/bin/x64/Release
-
- install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses}
- tar -C "${pkgdir}"/opt/dotnet -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./shared
- chown root:root -R "${pkgdir}"/opt/dotnet
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-runtime
-}
-
-package_aspnet-runtime() {
- pkgdesc='The ASP.NET Core runtime'
- depends=('dotnet-runtime')
- provides=('aspnet-runtime-2.1')
- conflicts=('aspnet-runtime-2.1')
-
- install -dm 755 "${pkgdir}"/{opt/dotnet/shared,usr/share/licenses}
- cp -dr --no-preserve='ownership' shared/Microsoft.AspNetCore.{All,App} "${pkgdir}"/opt/dotnet/shared/
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-runtime
-}
-
-package_dotnet-sdk() {
- pkgdesc='The .NET Core SDK'
- depends=('dotnet-runtime')
- provides=('dotnet-sdk-2.1')
- conflicts=('dotnet-sdk-2.1')
-
- cd dotnet-source-build/bin/x64/Release
-
- install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses}
- tar -C "${pkgdir}"/opt/dotnet -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./sdk
- chown root:root -R "${pkgdir}"/opt/dotnet
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-sdk
-}
-
-# vim: ts=2 sw=2 et:
Copied: dotnet-core/repos/community-x86_64/PKGBUILD (from rev 407229, dotnet-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-13 21:41:09 UTC (rev 407230)
@@ -0,0 +1,158 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Max Liebkies <mail at maxliebkies.de>
+
+pkgbase=dotnet-core
+pkgname=('dotnet-host' 'dotnet-runtime' 'aspnet-runtime' 'dotnet-sdk')
+pkgver=2.1.6+500
+pkgrel=1
+arch=('x86_64')
+url='https://www.microsoft.com/net/core'
+license=('MIT')
+makedepends=(
+ 'clang' 'cmake' 'curl' 'git' 'icu' 'krb5' 'libunwind' 'lldb' 'llvm'
+ 'lttng-ust' 'openssl-1.0' 'zlib'
+)
+options=('staticlibs')
+source=(
+ "dotnet-source-build::git+https://github.com/dotnet/source-build.git#tag=v${pkgver%+*}a"
+ 'dotnet-application-insights::git+https://github.com/Microsoft/ApplicationInsights-dotnet.git'
+ 'dotnet-aspnet-razor::git+https://github.com/aspnet/Razor.git'
+ 'dotnet-cecil::git+https://github.com/mono/cecil.git'
+ 'dotnet-cli::git+https://github.com/dotnet/cli.git'
+ 'dotnet-cli-migrate::git+https://github.com/dotnet/cli-migrate.git'
+ 'dotnet-clicommandlineparser::git+https://github.com/dotnet/clicommandlineparser.git'
+ 'dotnet-common::git+https://github.com/aspnet/common.git'
+ 'dotnet-core-setup::git+https://github.com/dotnet/core-setup.git'
+ 'dotnet-coreclr::git+https://github.com/dotnet/coreclr.git'
+ 'dotnet-corefx::git+https://github.com/dotnet/corefx.git'
+ 'dotnet-fsharp::git+https://github.com/Microsoft/VisualFSharp.git'
+ 'dotnet-linker::git+https://github.com/mono/linker.git'
+ 'dotnet-msbuild::git+https://github.com/Microsoft/msbuild.git'
+ 'dotnet-newtonsoft-json::git+https://github.com/JamesNK/Newtonsoft.Json.git'
+ 'dotnet-nuget-client::git+https://github.com/NuGet/NuGet.Client.git'
+ 'dotnet-roslyn::git+https://github.com/dotnet/roslyn.git'
+ 'dotnet-roslyn-tools::git+https://github.com/dotnet/roslyn-tools.git'
+ 'dotnet-sdk::git+https://github.com/dotnet/sdk.git'
+ 'dotnet-standard::git+https://github.com/dotnet/standard.git'
+ 'dotnet-templating::git+https://github.com/dotnet/templating.git'
+# 'dotnet-toolset::git+https://github.com/dotnet/toolset.git'
+ 'dotnet-vstest::git+https://github.com/Microsoft/vstest.git'
+ 'dotnet-websdk::git+https://github.com/aspnet/websdk.git'
+ 'dotnet-xliff-tasks::git+https://github.com/dotnet/xliff-tasks.git'
+ 'https://download.visualstudio.microsoft.com/download/pr/5ecfed21-c776-4924-b734-126400fd324a/4e1bfb9c870ffcf99b1bf953b91ef072/aspnetcore-runtime-2.1.6-linux-x64.tar.gz'
+ 'dotnet.sh'
+ 'dotnet-coreclr-rid.patch'
+)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ '3d4a4135627c07716447fd058b91c8c45de6b5c385f1245cae8a7a62dec93ce9'
+ 'f4cb02490234b853946477f82514f0c6247b55b08b2e85fae98e99a6e6974edd'
+ '2c4fc48151e5319d57c8761091709070a17da91eddc2de8a26bc32c60679bfee')
+
+prepare() {
+ cd dotnet-source-build
+
+ for submodule in src/{application-insights,aspnet-razor,cli,cli-migrate,clicommandlineparser,common,core-setup,coreclr,corefx,fsharp,linker,msbuild,newtonsoft-json,nuget-client,roslyn,roslyn-tools,sdk,standard,templating,vstest,websdk,xliff-tasks}; do
+ git submodule init ${submodule}
+ git config submodule.${submodule}.url ../dotnet-${submodule#src/}
+ git submodule update
+ done
+
+ cd src/linker
+
+ for submodule in cecil; do
+ git submodule init ${submodule}
+ git config submodule.${submodule}.url ../../../dotnet-${submodule}
+ git submodule update
+ done
+
+ cd ../coreclr
+
+ patch -Np1 -i "${srcdir}"/dotnet-coreclr-rid.patch
+}
+
+build() {
+ cd dotnet-source-build
+
+ export PKG_CONFIG_PATH='/usr/lib/openssl-1.0/pkgconfig'
+ export SOURCE_BUILD_SKIP_SUBMODULE_CHECK=1
+
+ ./build.sh
+}
+
+package_dotnet-host() {
+ pkgdesc='A generic driver for the .NET Core Command Line Interface'
+
+ cd dotnet-source-build/bin/x64/Release
+
+ install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses/dotnet-host}
+ tar -C "${pkgdir}"/opt/dotnet -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./dotnet ./host
+ tar -C "${pkgdir}"/usr/share/licenses/dotnet-host -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./LICENSE.txt ./ThirdPartyNotices.txt
+ chown root:root -R "${pkgdir}"/opt/dotnet
+ install -Dm 755 "${srcdir}"/dotnet.sh "${pkgdir}"/usr/bin/dotnet
+}
+
+package_dotnet-runtime() {
+ pkgdesc='The .NET Core runtime'
+ depends=('dotnet-host' 'icu' 'krb5' 'libunwind' 'openssl-1.0' 'zlib'
+ 'libcurl.so')
+ optdepends=('lttng-ust: CoreCLR tracing')
+ provides=('dotnet-runtime-2.1')
+ conflicts=('dotnet-runtime-2.1')
+
+ cd dotnet-source-build/bin/x64/Release
+
+ install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses}
+ tar -C "${pkgdir}"/opt/dotnet -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./shared
+ chown root:root -R "${pkgdir}"/opt/dotnet
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-runtime
+}
+
+package_aspnet-runtime() {
+ pkgdesc='The ASP.NET Core runtime'
+ depends=('dotnet-runtime')
+ provides=('aspnet-runtime-2.1')
+ conflicts=('aspnet-runtime-2.1')
+
+ install -dm 755 "${pkgdir}"/{opt/dotnet/shared,usr/share/licenses}
+ cp -dr --no-preserve='ownership' shared/Microsoft.AspNetCore.{All,App} "${pkgdir}"/opt/dotnet/shared/
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-runtime
+}
+
+package_dotnet-sdk() {
+ pkgdesc='The .NET Core SDK'
+ depends=('dotnet-runtime')
+ provides=('dotnet-sdk-2.1')
+ conflicts=('dotnet-sdk-2.1')
+
+ cd dotnet-source-build/bin/x64/Release
+
+ install -dm 755 "${pkgdir}"/{opt/dotnet,usr/share/licenses}
+ tar -C "${pkgdir}"/opt/dotnet -xf dotnet-sdk-${pkgver/[0-9]\+}-linux-x64.tar.gz ./sdk
+ chown root:root -R "${pkgdir}"/opt/dotnet
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-sdk
+}
+
+# vim: ts=2 sw=2 et:
Deleted: dotnet-coreclr-rid.patch
===================================================================
--- dotnet-coreclr-rid.patch 2018-11-13 21:40:58 UTC (rev 407229)
+++ dotnet-coreclr-rid.patch 2018-11-13 21:41:09 UTC (rev 407230)
@@ -1,38 +0,0 @@
-diff -rupN dotnet-coreclr.orig/build-packages.sh dotnet-coreclr/build-packages.sh
---- dotnet-coreclr.orig/build-packages.sh 2018-06-21 11:53:45.890536633 +0200
-+++ dotnet-coreclr/build-packages.sh 2018-06-21 11:57:34.508917604 +0200
-@@ -24,6 +24,9 @@ initHostDistroRid()
- if [[ $ID == "alpine" ]]; then
- __HostDistroRid="linux-musl-$__Arch"
- fi
-+ if [[ $ID == "arch" ]]; then
-+ __HostDistroRid="arch-$__Arch"
-+ fi
- elif [ -e /etc/redhat-release ]; then
- local redhatRelease=$(</etc/redhat-release)
- if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
-diff -rupN dotnet-coreclr.orig/build.sh dotnet-coreclr/build.sh
---- dotnet-coreclr.orig/build.sh 2018-06-21 11:53:45.890536633 +0200
-+++ dotnet-coreclr/build.sh 2018-06-21 11:56:19.968359087 +0200
-@@ -73,6 +73,9 @@ initHostDistroRid()
- if [[ $ID == "alpine" ]]; then
- __HostDistroRid="linux-musl-$__HostArch"
- fi
-+ if [[ $ID == "arch" ]]; then
-+ __HostDistroRid="arch-$__HostArch"
-+ fi
- elif [ -e /etc/redhat-release ]; then
- local redhatRelease=$(</etc/redhat-release)
- if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
-diff -rupN dotnet-coreclr.orig/build-test.sh dotnet-coreclr/build-test.sh
---- dotnet-coreclr.orig/build-test.sh 2018-06-21 11:53:45.890536633 +0200
-+++ dotnet-coreclr/build-test.sh 2018-06-21 11:58:19.189252190 +0200
-@@ -21,6 +21,8 @@ initHostDistroRid()
- source /etc/os-release
- if [[ $ID == "alpine" ]]; then
- __HostDistroRid="linux-musl-$__HostArch"
-+ elif [[ $ID == "arch" ]]; then
-+ __HostDistroRid="arch-$__HostArch"
- else
- __PortableBuild=1
- __HostDistroRid="$ID.$VERSION_ID-$__HostArch"
Copied: dotnet-core/repos/community-x86_64/dotnet-coreclr-rid.patch (from rev 407229, dotnet-core/trunk/dotnet-coreclr-rid.patch)
===================================================================
--- dotnet-coreclr-rid.patch (rev 0)
+++ dotnet-coreclr-rid.patch 2018-11-13 21:41:09 UTC (rev 407230)
@@ -0,0 +1,38 @@
+diff -rupN dotnet-coreclr.orig/build-packages.sh dotnet-coreclr/build-packages.sh
+--- dotnet-coreclr.orig/build-packages.sh 2018-06-21 11:53:45.890536633 +0200
++++ dotnet-coreclr/build-packages.sh 2018-06-21 11:57:34.508917604 +0200
+@@ -24,6 +24,9 @@ initHostDistroRid()
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__Arch"
+ fi
++ if [[ $ID == "arch" ]]; then
++ __HostDistroRid="arch-$__Arch"
++ fi
+ elif [ -e /etc/redhat-release ]; then
+ local redhatRelease=$(</etc/redhat-release)
+ if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
+diff -rupN dotnet-coreclr.orig/build.sh dotnet-coreclr/build.sh
+--- dotnet-coreclr.orig/build.sh 2018-06-21 11:53:45.890536633 +0200
++++ dotnet-coreclr/build.sh 2018-06-21 11:56:19.968359087 +0200
+@@ -73,6 +73,9 @@ initHostDistroRid()
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__HostArch"
+ fi
++ if [[ $ID == "arch" ]]; then
++ __HostDistroRid="arch-$__HostArch"
++ fi
+ elif [ -e /etc/redhat-release ]; then
+ local redhatRelease=$(</etc/redhat-release)
+ if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
+diff -rupN dotnet-coreclr.orig/build-test.sh dotnet-coreclr/build-test.sh
+--- dotnet-coreclr.orig/build-test.sh 2018-06-21 11:53:45.890536633 +0200
++++ dotnet-coreclr/build-test.sh 2018-06-21 11:58:19.189252190 +0200
+@@ -21,6 +21,8 @@ initHostDistroRid()
+ source /etc/os-release
+ if [[ $ID == "alpine" ]]; then
+ __HostDistroRid="linux-musl-$__HostArch"
++ elif [[ $ID == "arch" ]]; then
++ __HostDistroRid="arch-$__HostArch"
+ else
+ __PortableBuild=1
+ __HostDistroRid="$ID.$VERSION_ID-$__HostArch"
Copied: dotnet-core/repos/community-x86_64/dotnet.sh (from rev 407229, dotnet-core/trunk/dotnet.sh)
===================================================================
--- dotnet.sh (rev 0)
+++ dotnet.sh 2018-11-13 21:41:09 UTC (rev 407230)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export DOTNET_ROOT=/opt/dotnet
+exec /opt/dotnet/dotnet $@
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list