mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
lang/dotnet: Update to 9.0.0
Move .NET 8 to lang/dotnet8 Co-authored-by: Gleb Popov <arrowd@FreeBSD.org>
This commit is contained in:
parent
582dd57560
commit
cbf4344824
@ -46,6 +46,7 @@
|
||||
SUBDIR += dhall
|
||||
SUBDIR += dlang-tools
|
||||
SUBDIR += dotnet
|
||||
SUBDIR += dotnet8
|
||||
SUBDIR += duktape
|
||||
SUBDIR += duktape-lib
|
||||
SUBDIR += ecl
|
||||
|
@ -1,9 +1,9 @@
|
||||
PORTNAME= dotnet
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${DOTNETVERSION}.6
|
||||
DISTVERSION= ${DOTNETVERSION}.0
|
||||
CATEGORIES= lang devel
|
||||
MASTER_SITES= https://github.com/dotnet/dotnet/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/release.json?dummy=/:dotnetmanifest \
|
||||
LOCAL/arrowd/dotnet/:bootstrap
|
||||
https://github.com/sec/dotnet-core-freebsd-source-build/releases/download/9.0.0-rc.2-native/:bootstrap
|
||||
DISTFILES= release.json-${PORTVERSION}:dotnetmanifest \
|
||||
${BOOTSTRAP_SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}:bootstrap \
|
||||
${BOOTSTRAP_SDK_DISTNAME}${EXTRACT_SUFX}:bootstrap
|
||||
@ -23,48 +23,47 @@ BUILD_DEPENDS= bash:shells/bash \
|
||||
git:devel/git \
|
||||
ggrep:textproc/gnugrep \
|
||||
terminfo-db>0:misc/terminfo-db
|
||||
LIB_DEPENDS= libicuuc.so:devel/icu \
|
||||
LIB_DEPENDS= libbrotlienc.so:archivers/brotli \
|
||||
libicuuc.so:devel/icu \
|
||||
libinotify.so:devel/libinotify \
|
||||
libunwind.so:devel/libunwind
|
||||
RUN_DEPENDS= terminfo-db>0:misc/terminfo-db
|
||||
|
||||
USES= autoreconf:build gssapi:mit llvm:noexport nodejs pkgconfig \
|
||||
USES= autoreconf:build gssapi:mit llvm:noexport pkgconfig \
|
||||
python:build,3.9+ shebangfix ssl
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
SHEBANG_FILES= src/diagnostics/src/Tools/dotnet-trace/*.sh \
|
||||
src/source-build-externals/src/azure-activedirectory-identitymodel-extensions-for-dotnet/updateAssemblyInfo.sh
|
||||
SHEBANG_FILES= src/diagnostics/src/Tools/dotnet-trace/*.sh
|
||||
|
||||
BINARY_ALIAS= grep=${LOCALBASE}/bin/ggrep
|
||||
DOTNET_ENV= PYTHON=${PYTHON_CMD}
|
||||
|
||||
BOOTSTRAP_DOTNETVERSION= 8.0
|
||||
BOOTSTRAP_DOTNETVERSION= 9.0
|
||||
BOOTSTRAP_SDKVERSION= ${BOOTSTRAP_DOTNETVERSION}.100
|
||||
BOOTSTRAP_SDKVERSIONSUFFIX= -rtm.23551.1
|
||||
BOOTSTRAP_SDKVERSIONSUFFIX= -rc.2.24474.1
|
||||
BOOTSTRAP_SDKVERSIONBINSUFFIX= -rc.2.24474.11
|
||||
BOOTSTRAP_SOURCEBUILT_ARTIFACTS_DISTNAME= Private.SourceBuilt.Artifacts.${BOOTSTRAP_SDKVERSION}${BOOTSTRAP_SDKVERSIONSUFFIX}.freebsd.13-${DOTNET_ARCH}
|
||||
BOOTSTRAP_SDK_DISTNAME= dotnet-sdk-${BOOTSTRAP_SDKVERSION}-freebsd-${DOTNET_ARCH}
|
||||
BOOTSTRAP_SDK_DISTNAME= dotnet-sdk-${BOOTSTRAP_SDKVERSION}${BOOTSTRAP_SDKVERSIONBINSUFFIX}-freebsd-${DOTNET_ARCH}
|
||||
|
||||
DOTNETVERSION= 8.0
|
||||
SDKVERSION= ${DOTNETVERSION}.106
|
||||
SDKVERSIONSUFFIX= -servicing.24272.10
|
||||
SOURCEBUILT_ARTIFACTS_DISTNAME= Private.SourceBuilt.Artifacts.${SDKVERSION}${SDKVERSIONSUFFIX}.freebsd.13-${DOTNET_ARCH}
|
||||
SDK_DISTNAME= dotnet-sdk-${SDKVERSION}-freebsd-${DOTNET_ARCH}
|
||||
DOTNET_ARCH= ${ARCH:S|amd64|x64|:C|aarch64|arm64|}
|
||||
DOTNETVERSION= 9.0
|
||||
SDKVERSION= ${DOTNETVERSION}.100
|
||||
SDKVERSIONSUFFIX= -rtm.24529.1
|
||||
SDK_DISTNAME= dotnet-sdk-${SDKVERSION}-${SDK_RID}
|
||||
SDK_RID= freebsd.${_OSVERSION_MAJOR}-${DOTNET_ARCH}
|
||||
DOTNET_ARCH= ${ARCH:S|amd64|x64|:C|aarch64|arm64|}
|
||||
|
||||
PLIST_SUB= DOTNET_ARCH=${DOTNET_ARCH} FULL_DOTNETVERSION=${PORTVERSION} \
|
||||
DOTNETVERSION=${DOTNETVERSION} \
|
||||
SDKVERSION=${SDKVERSION} SDKVERSIONSUFFIX=${SDKVERSIONSUFFIX} \
|
||||
BOOTSTRAP_SDKVERSION=${BOOTSTRAP_SDKVERSION}
|
||||
PLIST_SUB= DOTNET_ARCH=${DOTNET_ARCH} FULL_DOTNETVERSION=${PORTVERSION} \
|
||||
DOTNETVERSION=${DOTNETVERSION} \
|
||||
SDKVERSION=${SDKVERSION} SDKVERSIONSUFFIX=${SDKVERSIONSUFFIX} \
|
||||
SDK_RID=${SDK_RID}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1400000
|
||||
LIB_DEPENDS+= libcrypto.so.111:misc/compat13x
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == aarch64
|
||||
BROKEN= "crossgen2" exited with code 139
|
||||
.if ${ARCH} == amd64
|
||||
PLIST_SUB+= VXSORT=
|
||||
.else
|
||||
PLIST_SUB+= VXSORT="@comment "
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@ -84,37 +83,31 @@ post-extract:
|
||||
|
||||
${ELFCTL} -e +noaslr ${WRKDIR}/bootstrap_sdk/dotnet
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|linux-${DOTNET_ARCH}|freebsd-${DOTNET_ARCH}|g' \
|
||||
${WRKDIR}/bootstrap_sdk/sdk/${BOOTSTRAP_SDKVERSION}${BOOTSTRAP_SDKVERSIONBINSUFFIX}/Microsoft.NETCoreSdk.BundledVersions.props
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${DOTNET_ENV} ./build.sh \
|
||||
--release-manifest release.json \
|
||||
--clean-while-building \
|
||||
--with-sdk ${WRKDIR}/bootstrap_sdk \
|
||||
--with-packages ${WRKDIR}/packages \
|
||||
--source-build \
|
||||
-- \
|
||||
-maxcpucount:${MAKE_JOBS_NUMBER}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/dotnet
|
||||
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release/${SDK_DISTNAME}${EXTRACT_SUFX} -C ${STAGEDIR}${PREFIX}/dotnet ${EXTRACT_AFTER_ARGS}
|
||||
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/artifacts/assets/Release/${SDK_DISTNAME}${EXTRACT_SUFX} -C ${STAGEDIR}${PREFIX}/dotnet ${EXTRACT_AFTER_ARGS}
|
||||
${ELFCTL} -e +noaslr ${STAGEDIR}${PREFIX}/dotnet/dotnet
|
||||
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/dotnet
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/sdk/${SDKVERSION}/AppHostTemplate/apphost
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.freebsd-${DOTNET_ARCH}/${DISTVERSION}/runtimes/freebsd-${DOTNET_ARCH}/native/apphost
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.freebsd-${DOTNET_ARCH}/${DISTVERSION}/runtimes/freebsd-${DOTNET_ARCH}/native/singlefilehost
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.${SDK_RID}/${DISTVERSION}/runtimes/${SDK_RID}/native/apphost
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.${SDK_RID}/${DISTVERSION}/runtimes/${SDK_RID}/native/singlefilehost
|
||||
${FIND} ${STAGEDIR}${PREFIX}/dotnet -name "*.so" -exec ${STRIP_CMD} -s "{}" ";"
|
||||
|
||||
${RLN} ${STAGEDIR}${PREFIX}/dotnet/dotnet ${STAGEDIR}${PREFIX}/bin/dotnet
|
||||
|
||||
bootstrap-makesum:
|
||||
cd ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release && sha256 ${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}
|
||||
@${ECHO_CMD} -n "SIZE (${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}) = "
|
||||
@${STAT} -f %z ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release/${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
@cd ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release && sha256 ${SDK_DISTNAME}${EXTRACT_SUFX}
|
||||
@${ECHO_CMD} -n "SIZE (${SDK_DISTNAME}${EXTRACT_SUFX}) = "
|
||||
@${STAT} -f %z ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release/${SDK_DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
@${ECHO_CMD}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,13 +1,13 @@
|
||||
TIMESTAMP = 1718635777
|
||||
SHA256 (dotnet/release.json-8.0.6) = 2391ec08e7ac922f418798c2a2ae037196e0b484f638331f4a904ec06b31039f
|
||||
SIZE (dotnet/release.json-8.0.6) = 273
|
||||
SHA256 (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-x64.tar.gz) = b91acf8ac130274fb40110f6af1d92f2348613f8cb0943b8b87f853351c8d6d2
|
||||
SIZE (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-x64.tar.gz) = 1162274049
|
||||
SHA256 (dotnet/dotnet-sdk-8.0.100-freebsd-x64.tar.gz) = d6118ff2cb9ded82eeeb976f3001bdea4ea2904e276b27ef526f458059e04149
|
||||
SIZE (dotnet/dotnet-sdk-8.0.100-freebsd-x64.tar.gz) = 385932876
|
||||
SHA256 (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-arm64.tar.gz) = 5d8337825b7a5462488a41fc731bbd0dfa4ef551c9960a17cff16bb00996adce
|
||||
SIZE (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-arm64.tar.gz) = 1142947069
|
||||
SHA256 (dotnet/dotnet-sdk-8.0.100-freebsd-arm64.tar.gz) = 08bde0c5afdfd1f29217c3bbae3ac557613cba6b622b81408fdcaecb51a5002c
|
||||
SIZE (dotnet/dotnet-sdk-8.0.100-freebsd-arm64.tar.gz) = 376095555
|
||||
SHA256 (dotnet/dotnet-dotnet-v8.0.6_GH0.tar.gz) = 042d4ae618d3761744606902df68170df751e80dd654156f4caa9bb25138d1f7
|
||||
SIZE (dotnet/dotnet-dotnet-v8.0.6_GH0.tar.gz) = 281679549
|
||||
TIMESTAMP = 1731877184
|
||||
SHA256 (dotnet/release.json-9.0.0) = 2a08862e4cd0095c743deccd8e34f3188261772cc775a7c6cdbfc9237727edda
|
||||
SIZE (dotnet/release.json-9.0.0) = 273
|
||||
SHA256 (dotnet/Private.SourceBuilt.Artifacts.9.0.100-rc.2.24474.1.freebsd.13-arm64.tar.gz) = 5ec0451c760084bf9048b28560acafdb3dc60a695c89ae54730b1c96219f76b0
|
||||
SIZE (dotnet/Private.SourceBuilt.Artifacts.9.0.100-rc.2.24474.1.freebsd.13-arm64.tar.gz) = 1064905156
|
||||
SHA256 (dotnet/Private.SourceBuilt.Artifacts.9.0.100-rc.2.24474.1.freebsd.13-x64.tar.gz) = 5ec0451c760084bf9048b28560acafdb3dc60a695c89ae54730b1c96219f76b0
|
||||
SIZE (dotnet/Private.SourceBuilt.Artifacts.9.0.100-rc.2.24474.1.freebsd.13-x64.tar.gz) = 1064905156
|
||||
SHA256 (dotnet/dotnet-sdk-9.0.100-rc.2.24474.11-freebsd-x64.tar.gz) = da7ccca35de2859a729972963e996b93933544ac057d34b742c1c13810861bbb
|
||||
SIZE (dotnet/dotnet-sdk-9.0.100-rc.2.24474.11-freebsd-x64.tar.gz) = 206748833
|
||||
SHA256 (dotnet/dotnet-sdk-9.0.100-rc.2.24474.11-freebsd-arm64.tar.gz) = 527db93a138b2db29cad834bd3f9ce3dadf7de6145203bdea6060b7ff01bd47c
|
||||
SIZE (dotnet/dotnet-sdk-9.0.100-rc.2.24474.11-freebsd-arm64.tar.gz) = 201178499
|
||||
SHA256 (dotnet/dotnet-dotnet-v9.0.0_GH0.tar.gz) = ade10f909a684c2a056b8b0ec3a30e1570ce2b83c46c5f621a4464d02729af9f
|
||||
SIZE (dotnet/dotnet-dotnet-v9.0.0_GH0.tar.gz) = 494104601
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- src/runtime/src/native/libs/System.IO.Compression.Native/CMakeLists.txt.orig 2024-10-29 16:00:04 UTC
|
||||
+++ src/runtime/src/native/libs/System.IO.Compression.Native/CMakeLists.txt
|
||||
@@ -16,8 +16,11 @@ if (NOT CLR_CMAKE_TARGET_BROWSER AND NOT CLR_CMAKE_TAR
|
||||
|
||||
if (NOT CLR_CMAKE_TARGET_BROWSER AND NOT CLR_CMAKE_TARGET_WASI)
|
||||
|
||||
- if (CLR_CMAKE_USE_SYSTEM_BROTLI)
|
||||
+ if (CLR_CMAKE_USE_SYSTEM_BROTLI)
|
||||
add_definitions(-DFEATURE_USE_SYSTEM_BROTLI)
|
||||
+ find_package(PkgConfig REQUIRED)
|
||||
+ pkg_check_modules(BROTLI REQUIRED libbrotlicommon)
|
||||
+ include_directories(${BROTLI_INCLUDE_DIRS})
|
||||
else ()
|
||||
include(${CLR_SRC_NATIVE_DIR}/external/brotli.cmake)
|
||||
|
File diff suppressed because it is too large
Load Diff
121
lang/dotnet8/Makefile
Normal file
121
lang/dotnet8/Makefile
Normal file
@ -0,0 +1,121 @@
|
||||
PORTNAME= dotnet
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${DOTNETVERSION}.6
|
||||
CATEGORIES= lang devel
|
||||
MASTER_SITES= https://github.com/dotnet/dotnet/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/release.json?dummy=/:dotnetmanifest \
|
||||
LOCAL/arrowd/dotnet/:bootstrap
|
||||
PKGNAMESUFFIX= 8
|
||||
DISTFILES= release.json-${PORTVERSION}:dotnetmanifest \
|
||||
${BOOTSTRAP_SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}:bootstrap \
|
||||
${BOOTSTRAP_SDK_DISTNAME}${EXTRACT_SUFX}:bootstrap
|
||||
DIST_SUBDIR= dotnet
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= arrowd@FreeBSD.org
|
||||
COMMENT= Open-source developer platform and a cross-platform runtime for cloud, mobile, desktop, and IoT apps
|
||||
WWW= https://dot.net
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64
|
||||
|
||||
BUILD_DEPENDS= bash:shells/bash \
|
||||
cmake:devel/cmake-core \
|
||||
git:devel/git \
|
||||
ggrep:textproc/gnugrep \
|
||||
terminfo-db>0:misc/terminfo-db
|
||||
LIB_DEPENDS= libicuuc.so:devel/icu \
|
||||
libinotify.so:devel/libinotify \
|
||||
libunwind.so:devel/libunwind
|
||||
RUN_DEPENDS= terminfo-db>0:misc/terminfo-db
|
||||
|
||||
USES= autoreconf:build gssapi:mit llvm:noexport nodejs pkgconfig \
|
||||
python:build,3.9+ shebangfix ssl
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
||||
SHEBANG_FILES= src/diagnostics/src/Tools/dotnet-trace/*.sh \
|
||||
src/source-build-externals/src/azure-activedirectory-identitymodel-extensions-for-dotnet/updateAssemblyInfo.sh
|
||||
|
||||
BINARY_ALIAS= grep=${LOCALBASE}/bin/ggrep
|
||||
DOTNET_ENV= PYTHON=${PYTHON_CMD}
|
||||
|
||||
BOOTSTRAP_DOTNETVERSION= 8.0
|
||||
BOOTSTRAP_SDKVERSION= ${BOOTSTRAP_DOTNETVERSION}.100
|
||||
BOOTSTRAP_SDKVERSIONSUFFIX= -rtm.23551.1
|
||||
BOOTSTRAP_SOURCEBUILT_ARTIFACTS_DISTNAME= Private.SourceBuilt.Artifacts.${BOOTSTRAP_SDKVERSION}${BOOTSTRAP_SDKVERSIONSUFFIX}.freebsd.13-${DOTNET_ARCH}
|
||||
BOOTSTRAP_SDK_DISTNAME= dotnet-sdk-${BOOTSTRAP_SDKVERSION}-freebsd-${DOTNET_ARCH}
|
||||
|
||||
DOTNETVERSION= 8.0
|
||||
SDKVERSION= ${DOTNETVERSION}.106
|
||||
SDKVERSIONSUFFIX= -servicing.24272.10
|
||||
SOURCEBUILT_ARTIFACTS_DISTNAME= Private.SourceBuilt.Artifacts.${SDKVERSION}${SDKVERSIONSUFFIX}.freebsd.13-${DOTNET_ARCH}
|
||||
SDK_DISTNAME= dotnet-sdk-${SDKVERSION}-freebsd-${DOTNET_ARCH}
|
||||
DOTNET_ARCH= ${ARCH:S|amd64|x64|:C|aarch64|arm64|}
|
||||
|
||||
PLIST_SUB= DOTNET_ARCH=${DOTNET_ARCH} FULL_DOTNETVERSION=${PORTVERSION} \
|
||||
DOTNETVERSION=${DOTNETVERSION} \
|
||||
SDKVERSION=${SDKVERSION} SDKVERSIONSUFFIX=${SDKVERSIONSUFFIX} \
|
||||
BOOTSTRAP_SDKVERSION=${BOOTSTRAP_SDKVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1400000
|
||||
LIB_DEPENDS+= libcrypto.so.111:misc/compat13x
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == aarch64
|
||||
BROKEN= "crossgen2" exited with code 139
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${CP} ${DISTDIR}/${DIST_SUBDIR}/release.json-${PORTVERSION} ${WRKSRC}/release.json
|
||||
|
||||
@${MKDIR} ${WRKDIR}/packages
|
||||
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
||||
${DISTDIR}/${DIST_SUBDIR}/${BOOTSTRAP_SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX} \
|
||||
-C ${WRKDIR}/packages \
|
||||
${EXTRACT_AFTER_ARGS}
|
||||
|
||||
@${MKDIR} ${WRKDIR}/bootstrap_sdk
|
||||
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
||||
${DISTDIR}/${DIST_SUBDIR}/${BOOTSTRAP_SDK_DISTNAME}${EXTRACT_SUFX} \
|
||||
-C ${WRKDIR}/bootstrap_sdk \
|
||||
${EXTRACT_AFTER_ARGS}
|
||||
|
||||
${ELFCTL} -e +noaslr ${WRKDIR}/bootstrap_sdk/dotnet
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${DOTNET_ENV} ./build.sh \
|
||||
--release-manifest release.json \
|
||||
--clean-while-building \
|
||||
--with-sdk ${WRKDIR}/bootstrap_sdk \
|
||||
--with-packages ${WRKDIR}/packages \
|
||||
-- \
|
||||
-maxcpucount:${MAKE_JOBS_NUMBER}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/dotnet
|
||||
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release/${SDK_DISTNAME}${EXTRACT_SUFX} -C ${STAGEDIR}${PREFIX}/dotnet ${EXTRACT_AFTER_ARGS}
|
||||
${ELFCTL} -e +noaslr ${STAGEDIR}${PREFIX}/dotnet/dotnet
|
||||
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/dotnet
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/sdk/${SDKVERSION}/AppHostTemplate/apphost
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.freebsd-${DOTNET_ARCH}/${DISTVERSION}/runtimes/freebsd-${DOTNET_ARCH}/native/apphost
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/dotnet/packs/Microsoft.NETCore.App.Host.freebsd-${DOTNET_ARCH}/${DISTVERSION}/runtimes/freebsd-${DOTNET_ARCH}/native/singlefilehost
|
||||
${FIND} ${STAGEDIR}${PREFIX}/dotnet -name "*.so" -exec ${STRIP_CMD} -s "{}" ";"
|
||||
|
||||
${RLN} ${STAGEDIR}${PREFIX}/dotnet/dotnet ${STAGEDIR}${PREFIX}/bin/dotnet
|
||||
|
||||
bootstrap-makesum:
|
||||
cd ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release && sha256 ${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}
|
||||
@${ECHO_CMD} -n "SIZE (${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}) = "
|
||||
@${STAT} -f %z ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release/${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
@cd ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release && sha256 ${SDK_DISTNAME}${EXTRACT_SUFX}
|
||||
@${ECHO_CMD} -n "SIZE (${SDK_DISTNAME}${EXTRACT_SUFX}) = "
|
||||
@${STAT} -f %z ${WRKSRC}/artifacts/${DOTNET_ARCH}/Release/${SDK_DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
@${ECHO_CMD}
|
||||
|
||||
.include <bsd.port.post.mk>
|
13
lang/dotnet8/distinfo
Normal file
13
lang/dotnet8/distinfo
Normal file
@ -0,0 +1,13 @@
|
||||
TIMESTAMP = 1718635777
|
||||
SHA256 (dotnet/release.json-8.0.6) = 2391ec08e7ac922f418798c2a2ae037196e0b484f638331f4a904ec06b31039f
|
||||
SIZE (dotnet/release.json-8.0.6) = 273
|
||||
SHA256 (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-x64.tar.gz) = b91acf8ac130274fb40110f6af1d92f2348613f8cb0943b8b87f853351c8d6d2
|
||||
SIZE (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-x64.tar.gz) = 1162274049
|
||||
SHA256 (dotnet/dotnet-sdk-8.0.100-freebsd-x64.tar.gz) = d6118ff2cb9ded82eeeb976f3001bdea4ea2904e276b27ef526f458059e04149
|
||||
SIZE (dotnet/dotnet-sdk-8.0.100-freebsd-x64.tar.gz) = 385932876
|
||||
SHA256 (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-arm64.tar.gz) = 5d8337825b7a5462488a41fc731bbd0dfa4ef551c9960a17cff16bb00996adce
|
||||
SIZE (dotnet/Private.SourceBuilt.Artifacts.8.0.100-rtm.23551.1.freebsd.13-arm64.tar.gz) = 1142947069
|
||||
SHA256 (dotnet/dotnet-sdk-8.0.100-freebsd-arm64.tar.gz) = 08bde0c5afdfd1f29217c3bbae3ac557613cba6b622b81408fdcaecb51a5002c
|
||||
SIZE (dotnet/dotnet-sdk-8.0.100-freebsd-arm64.tar.gz) = 376095555
|
||||
SHA256 (dotnet/dotnet-dotnet-v8.0.6_GH0.tar.gz) = 042d4ae618d3761744606902df68170df751e80dd654156f4caa9bb25138d1f7
|
||||
SIZE (dotnet/dotnet-dotnet-v8.0.6_GH0.tar.gz) = 281679549
|
4
lang/dotnet8/pkg-descr
Normal file
4
lang/dotnet8/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
.NET is an open source developer platform, created by Microsoft, for building
|
||||
many different types of applications. It provides a standard set of base class
|
||||
libraries and APIs that are common to all .NET applications. .NET apps can be
|
||||
written in such languages as C#, F#, or Visual Basic.
|
4009
lang/dotnet8/pkg-plist
Normal file
4009
lang/dotnet8/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ LICENSE_COMB= multi
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm${NODEJS_SUFFIX}
|
||||
BUILD_DEPENDS= npm:www/npm${NODEJS_SUFFIX} \
|
||||
dotnet:lang/dotnet
|
||||
dotnet:lang/dotnet8
|
||||
LIB_DEPENDS= libSkiaSharp.so:graphics/libskiasharp
|
||||
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \
|
||||
ffmpeg>0:multimedia/ffmpeg \
|
||||
@ -25,7 +25,7 @@ RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \
|
||||
libunwind>0:devel/libunwind \
|
||||
mediainfo>0:multimedia/mediainfo
|
||||
TEST_DEPENDS= npm:www/npm${NODEJS_SUFFIX} \
|
||||
dotnet:lang/dotnet
|
||||
dotnet:lang/dotnet8
|
||||
|
||||
USES= nodejs:20,build sqlite:3 ssl elfctl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user