[arch-commits] Commit in dotnet-core/repos/community-x86_64 (3 files)

Maxime Gauduin alucryd at archlinux.org
Wed Jun 27 19:52:33 UTC 2018


    Date: Wednesday, June 27, 2018 @ 19:52:33
  Author: alucryd
Revision: 346567

archrelease: copy trunk to community-x86_64

Added:
  dotnet-core/repos/community-x86_64/PKGBUILD
    (from rev 346566, dotnet-core/trunk/PKGBUILD)
  dotnet-core/repos/community-x86_64/dotnet-coreclr-rid.patch
    (from rev 346566, dotnet-core/trunk/dotnet-coreclr-rid.patch)
Deleted:
  dotnet-core/repos/community-x86_64/PKGBUILD

--------------------------+
 PKGBUILD                 |  282 ++++++++++++++++++++++-----------------------
 dotnet-coreclr-rid.patch |   38 ++++++
 2 files changed, 178 insertions(+), 142 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-27 19:52:21 UTC (rev 346566)
+++ PKGBUILD	2018-06-27 19:52:33 UTC (rev 346567)
@@ -1,142 +0,0 @@
-# $Id$
-# 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.1
-_pkgver_sdk=2.1.301
-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')
-_commit='1dd84aaa2e44f1694ce0e681f96b6cd4e79f48ff'
-source=(
-  "dotnet-source-build::git+https://github.com/dotnet/source-build.git#commit=${_commit}"
-  'dotnet-application-insights::git+https://github.com/Microsoft/ApplicationInsights-dotnet.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-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.microsoft.com/download/9/3/E/93ED35C8-57B9-4D50-AE32-0330111B38E8/aspnetcore-runtime-2.1.1-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'
-            'e92ca4f35996e5793f611b1c9714134321328a00fc754bb32d8120052c0eb9c3'
-            '2c4fc48151e5319d57c8761091709070a17da91eddc2de8a26bc32c60679bfee')
-
-prepare() {
-  cd dotnet-source-build
-
-  for submodule in src/{application-insights,cli,cli-migrate,clicommandlineparser,common,core-setup,coreclr,corefx,fsharp,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/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_sdk}-linux-x64.tar.gz ./dotnet ./host
-  tar -C "${pkgdir}"/usr/share/licenses/dotnet-host -xf dotnet-sdk-${_pkgver_sdk}-linux-x64.tar.gz ./LICENSE.txt ./ThirdPartyNotices.txt
-  ln -s /opt/dotnet/dotnet "${pkgdir}"/usr/bin/
-}
-
-package_dotnet-runtime() {
-  pkgdesc='The .NET Core runtime'
-  depends=('dotnet-host' 'icu' 'krb5' '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_sdk}-linux-x64.tar.gz ./shared
-  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() {
-  pkgver=2.1.301
-  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_sdk}-linux-x64.tar.gz ./sdk
-  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 346566, dotnet-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-27 19:52:33 UTC (rev 346567)
@@ -0,0 +1,140 @@
+# $Id$
+# 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.1+301
+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')
+_commit='1dd84aaa2e44f1694ce0e681f96b6cd4e79f48ff'
+source=(
+  "dotnet-source-build::git+https://github.com/dotnet/source-build.git#commit=${_commit}"
+  'dotnet-application-insights::git+https://github.com/Microsoft/ApplicationInsights-dotnet.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-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.microsoft.com/download/9/3/E/93ED35C8-57B9-4D50-AE32-0330111B38E8/aspnetcore-runtime-2.1.1-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'
+            'e92ca4f35996e5793f611b1c9714134321328a00fc754bb32d8120052c0eb9c3'
+            '2c4fc48151e5319d57c8761091709070a17da91eddc2de8a26bc32c60679bfee')
+
+prepare() {
+  cd dotnet-source-build
+
+  for submodule in src/{application-insights,cli,cli-migrate,clicommandlineparser,common,core-setup,coreclr,corefx,fsharp,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/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
+  ln -s /opt/dotnet/dotnet "${pkgdir}"/usr/bin/
+}
+
+package_dotnet-runtime() {
+  pkgdesc='The .NET Core runtime'
+  depends=('dotnet-host' 'icu' 'krb5' '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
+  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
+  ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-sdk
+}
+
+# vim: ts=2 sw=2 et:

Copied: dotnet-core/repos/community-x86_64/dotnet-coreclr-rid.patch (from rev 346566, dotnet-core/trunk/dotnet-coreclr-rid.patch)
===================================================================
--- dotnet-coreclr-rid.patch	                        (rev 0)
+++ dotnet-coreclr-rid.patch	2018-06-27 19:52:33 UTC (rev 346567)
@@ -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"



More information about the arch-commits mailing list