diff --git a/lang-dotnet/nuget/autobuild/build b/lang-dotnet/nuget/autobuild/build index 476064c5731f..a59b7ee9d74e 100644 --- a/lang-dotnet/nuget/autobuild/build +++ b/lang-dotnet/nuget/autobuild/build @@ -1 +1,3 @@ -install -Dm 0644 ${SRCDIR}/nuget.exe ${PKGDIR}/usr/lib/nuget/nuget.exe +abinfo "Installing NuGet ..." +install -Dvm0644 "$SRCDIR"/nuget.exe \ + "$PKGDIR"/usr/lib/nuget/nuget.exe diff --git a/lang-dotnet/nuget/autobuild/defines b/lang-dotnet/nuget/autobuild/defines index 19d48f0b1d76..36d753b7c81c 100644 --- a/lang-dotnet/nuget/autobuild/defines +++ b/lang-dotnet/nuget/autobuild/defines @@ -3,4 +3,10 @@ PKGSEC=cli-mono PKGDEP="mono" PKGDES="Package manager for NuGet repos" -PKGEPOCH=1 +ABTYPE=self + +# NOTE: Only one pre-built binary. +ABSPLITDBG=0 + +# FIXME: Missing Mono support. +FAIL_ARCH="!(amd64|arm64|ppc64el)" diff --git a/lang-dotnet/nuget/autobuild/overrides/usr/bin/nuget b/lang-dotnet/nuget/autobuild/overrides/usr/bin/nuget index 4bfdaefa81ba..2efe78fffe98 100755 --- a/lang-dotnet/nuget/autobuild/overrides/usr/bin/nuget +++ b/lang-dotnet/nuget/autobuild/overrides/usr/bin/nuget @@ -1,2 +1,2 @@ #!/bin/sh -exec /usr/bin/mono --runtime=v4.0 /usr/lib/nuget/nuget.exe $* +exec /usr/bin/mono /usr/lib/nuget/nuget.exe "$@" diff --git a/lang-dotnet/nuget/autobuild/postinst b/lang-dotnet/nuget/autobuild/postinst index 4f114559b18b..6354bd7e84fe 100644 --- a/lang-dotnet/nuget/autobuild/postinst +++ b/lang-dotnet/nuget/autobuild/postinst @@ -1,4 +1 @@ -mozroots --import --machine --sync -yes | certmgr -ssl -m https://go.microsoft.com -yes | certmgr -ssl -m https://nugetgallery.blob.core.windows.net -yes | certmgr -ssl -m https://nuget.org +cert-sync /etc/ssl/certs/ca-certificates.crt diff --git a/lang-dotnet/nuget/autobuild/prepare b/lang-dotnet/nuget/autobuild/prepare deleted file mode 100644 index 4751e7580ba5..000000000000 --- a/lang-dotnet/nuget/autobuild/prepare +++ /dev/null @@ -1 +0,0 @@ -wget https://dist.nuget.org/win-x86-commandline/v${PKGVER}/nuget.exe -O ${SRCDIR}/nuget.exe diff --git a/lang-dotnet/nuget/spec b/lang-dotnet/nuget/spec index 3eff5667641b..5205a82b02bb 100644 --- a/lang-dotnet/nuget/spec +++ b/lang-dotnet/nuget/spec @@ -1,4 +1,5 @@ -VER=4.9.4 -REL=1 -DUMMYSRC=1 +EPOCH=1 +VER=6.14.0 +SRCS="file::rename=nuget.exe::https://dist.nuget.org/win-x86-commandline/v$VER/nuget.exe" +CHKSUMS="SHA256::92dbed160ddee0f64b901e907439e021211b428e57c089ecc12fc38dcc4bd9a5" CHKUPDATE="anitya::id=6997"