Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lang-dotnet/nuget/autobuild/build
Original file line number Diff line number Diff line change
@@ -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
8 changes: 7 additions & 1 deletion lang-dotnet/nuget/autobuild/defines
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
2 changes: 1 addition & 1 deletion lang-dotnet/nuget/autobuild/overrides/usr/bin/nuget
Original file line number Diff line number Diff line change
@@ -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 "$@"
5 changes: 1 addition & 4 deletions lang-dotnet/nuget/autobuild/postinst
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion lang-dotnet/nuget/autobuild/prepare

This file was deleted.

7 changes: 4 additions & 3 deletions lang-dotnet/nuget/spec
Original file line number Diff line number Diff line change
@@ -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"