[Bug 274221] [NEW PORT] misc/corso: Free, Secure, and Open-Source Backup for Microsoft 365
Date: Sat, 18 Nov 2023 07:12:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274221 --- Comment #2 from freebsd@ps0.dev --- (In reply to Renato Botelho from comment #1) How did you build the port? When I built/tested it by following the procedure specified in FreeBSD's Porter's Handbook[1], I got the following: [1] https://docs.freebsd.org/en/books/porters-handbook/book/#porting-testing [root@freebsd /usr/ports/misc/corso]# make clean ===> Cleaning for corso-0.12.0 [root@freebsd /usr/ports/misc/corso]# make stage ===> License APACHE20 accepted by the user ===> corso-0.12.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by corso-0.12.0 for building ===> Extracting for corso-0.12.0 => SHA256 Checksum OK for alcionai-corso-v0.12.0_GH0.tar.gz. ===> Patching for corso-0.12.0 ===> corso-0.12.0 depends on package: go>=1.20 - found ===> Configuring for corso-0.12.0 ===> Building for corso-0.12.0 go build -o corso go: downloading github.com/spf13/cobra v1.7.0 go: downloading golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b go: downloading github.com/alcionai/clues v0.0.0-20230728164842-7dc4795a43e4 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/aws/aws-sdk-go v1.44.333 go: downloading github.com/spf13/viper v1.16.0 go: downloading github.com/tidwall/pretty v1.2.1 go: downloading github.com/tomlazar/table v0.1.2 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading github.com/vbauerster/mpb/v8 v8.1.6 go: downloading github.com/alcionai/kopia v0.12.2-0.20230822191057-17d4deff94a3 go: downloading go.uber.org/zap v1.25.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.1 go: downloading github.com/cenkalti/backoff/v4 v4.2.1 go: downloading github.com/microsoft/kiota-abstractions-go v1.2.0 go: downloading github.com/microsoft/kiota-authentication-azure-go v1.0.0 go: downloading github.com/microsoft/kiota-http-go v1.1.0 go: downloading github.com/microsoftgraph/msgraph-sdk-go v1.16.0 go: downloading github.com/microsoftgraph/msgraph-sdk-go-core v1.0.0 go: downloading golang.org/x/net v0.14.0 go: downloading golang.org/x/time v0.3.0 go: downloading github.com/google/uuid v1.3.1 go: downloading github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/spf13/afero v1.9.5 go: downloading github.com/spf13/cast v1.5.1 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/mattn/go-runewidth v0.0.15 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d go: downloading github.com/armon/go-metrics v0.4.1 go: downloading github.com/rudderlabs/analytics-go v3.3.3+incompatible go: downloading github.com/puzpuzpuz/xsync/v2 v2.5.0 go: downloading github.com/microsoft/kiota-serialization-json-go v1.0.4 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.1.1 go: downloading golang.org/x/crypto v0.12.0 go: downloading github.com/yosida95/uritemplate/v3 v3.0.2 go: downloading go.opentelemetry.io/otel v1.16.0 go: downloading go.opentelemetry.io/otel/trace v1.16.0 go: downloading github.com/cjlapao/common-go v0.0.39 go: downloading github.com/microsoft/kiota-serialization-form-go v1.0.0 go: downloading github.com/microsoft/kiota-serialization-multipart-go v1.0.0 go: downloading github.com/microsoft/kiota-serialization-text-go v1.0.0 go: downloading github.com/stretchr/testify v1.8.4 go: downloading github.com/aws/aws-xray-sdk-go v1.8.1 go: downloading golang.org/x/sys v0.11.0 go: downloading golang.org/x/text v0.12.0 go: downloading github.com/subosito/gotenv v1.4.2 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading github.com/magiconair/properties v1.8.7 go: downloading github.com/pelletier/go-toml/v2 v2.0.9 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/rivo/uniseg v0.4.4 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 go: downloading github.com/segmentio/backo-go v1.0.1 go: downloading github.com/tidwall/gjson v1.15.0 go: downloading github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 go: downloading github.com/go-logr/logr v1.2.4 go: downloading go.opentelemetry.io/otel/metric v1.16.0 go: downloading golang.org/x/sync v0.3.0 go: downloading google.golang.org/grpc v1.57.0 go: downloading github.com/minio/minio-go/v7 v7.0.62 go: downloading github.com/klauspost/compress v1.16.7 go: downloading github.com/klauspost/pgzip v1.2.6 go: downloading github.com/pierrec/lz4 v2.6.1+incompatible go: downloading github.com/edsrzf/mmap-go v1.1.0 go: downloading github.com/gofrs/flock v0.8.1 go: downloading github.com/hashicorp/cronexpr v1.1.2 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/spatialcurrent/go-lazy v0.0.0-20211115014721-47315cc003d1 go: downloading github.com/prometheus/client_golang v1.16.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/valyala/fasthttp v1.48.0 go: downloading github.com/jmespath/go-jmespath v0.4.0 go: downloading github.com/mattn/go-isatty v0.0.19 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading github.com/tidwall/match v1.1.1 go: downloading github.com/golang-jwt/jwt/v5 v5.0.0 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/natefinch/atomic v1.0.1 go: downloading google.golang.org/protobuf v1.31.0 go: downloading github.com/klauspost/reedsolomon v1.11.8 go: downloading github.com/zeebo/blake3 v0.2.3 go: downloading github.com/chmduquesne/rollinghash v4.0.0+incompatible go: downloading github.com/json-iterator/go v1.1.12 go: downloading github.com/minio/md5-simd v1.1.2 go: downloading github.com/minio/sha256-simd v1.0.1 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/prometheus/client_model v0.4.0 go: downloading github.com/prometheus/common v0.44.0 go: downloading github.com/prometheus/procfs v0.11.1 go: downloading github.com/andybalholm/brotli v1.0.5 go: downloading github.com/valyala/bytebufferpool v1.0.0 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 go: downloading github.com/klauspost/cpuid/v2 v2.2.5 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/rs/xid v1.5.0 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 ===> Staging for corso-0.12.0 ===> corso-0.12.0 depends on package: go>=1.20 - found ===> Generating temporary packing list install -s -m 555 /usr/ports/misc/corso/work/corso-0.12.0/src/corso /usr/ports/misc/corso/work/stage/usr/local/bin ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) [root@freebsd /usr/ports/misc/corso]# make stage-qa ====> Running Q/A tests (stage-qa) [root@freebsd /usr/ports/misc/corso]# make package ===> Building package for corso-0.12.0 [root@freebsd /usr/ports/misc/corso]# ls -l work/pkg/corso-0.12.0.pkg -rw-r--r-- 1 root wheel 15038940 Nov 15 20:56 work/pkg/corso-0.12.0.pkg [root@freebsd /usr/ports/misc/corso]# make install ===> Installing for corso-0.12.0 ===> Checking if corso is already installed ===> Registering installation for corso-0.12.0 Installing corso-0.12.0... [root@freebsd /usr/ports/misc/corso]# pkg info corso corso-0.12.0 Name : corso Version : 0.12.0 Installed on : Wed Nov 15 20:57:24 2023 CET Origin : misc/corso Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : misc Licenses : APACHE20 Maintainer : freebsd@ps0.dev WWW : https://corsobackup.io/ Comment : Free, Secure, and Open-Source Backup for Microsoft 365 Annotations : FreeBSD_version: 1301000 Flat size : 101MiB Description : Corso is the first open-source tool that aims to assist IT admins with the critical task of protecting their Microsoft 365 data. It provides a reliable, secure, and efficient data protection engine. Admins decide where to store the backup data and have the flexibility to perform backups of their desired service through an intuitive interface. As Corso evolves, it can become a great building block for more complex data protection workflows. [root@freebsd /usr/ports/misc/corso]# make deinstall ===> Deinstalling for corso ===> Deinstalling corso-0.12.0 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: corso: 0.12.0 Number of packages to be removed: 1 The operation will free 101 MiB. [1/1] Deinstalling corso-0.12.0... [1/1] Deleting files for corso-0.12.0: 100% -- You are receiving this mail because: You are the assignee for the bug.