blob: 11d976244995055b65dba1951ea3230998908df5 [file] [log] [blame]
Serge Bazanskif369cfa2020-05-22 18:36:42 +02001// Copyright 2020 The Monogon Project Authors.
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17package main
18
19func depsContainerd(p *planner) {
20 p.collectOverride(
21 "github.com/containerd/containerd", "8e685f78cf66e2901b2fbed2fdddd64449a74ab9",
22 buildTags("no_zfs", "no_aufs", "no_devicemapper", "no_btrfs"),
23 disabledProtoBuild,
Lorenz Brun9a741a82020-05-28 15:08:45 +020024 patches("containerd-build.patch"),
Serge Bazanskif369cfa2020-05-22 18:36:42 +020025 ).use(
26 "github.com/BurntSushi/toml",
27 "github.com/Microsoft/go-winio",
28 "github.com/beorn7/perks",
29 "github.com/cespare/xxhash/v2",
30 "github.com/cilium/ebpf",
31 "github.com/containerd/btrfs",
32 "github.com/containerd/console",
33 "github.com/containerd/continuity",
34 "github.com/containerd/fifo",
35 "github.com/containerd/go-cni",
36 "github.com/containerd/go-runc",
37 "github.com/containerd/ttrpc",
38 "github.com/containerd/typeurl",
39 "github.com/containernetworking/cni",
40 "github.com/coreos/go-systemd/v22",
41 "github.com/cpuguy83/go-md2man",
42 "github.com/davecgh/go-spew",
43 "github.com/docker/distribution",
44 "github.com/docker/docker",
45 "github.com/docker/go-events",
46 "github.com/docker/go-metrics",
47 "github.com/docker/go-units",
48 "github.com/docker/spdystream",
49 "github.com/emicklei/go-restful",
50 "github.com/godbus/dbus/v5",
51 "github.com/gogo/protobuf",
52 "github.com/google/gofuzz",
53 "github.com/google/uuid",
54 "github.com/hashicorp/errwrap",
55 "github.com/hashicorp/go-multierror",
56 "github.com/hashicorp/golang-lru",
57 "github.com/imdario/mergo",
58 "github.com/json-iterator/go",
59 "github.com/konsorten/go-windows-terminal-sequences",
60 "github.com/matttproud/golang_protobuf_extensions",
61 "github.com/modern-go/concurrent",
62 "github.com/modern-go/reflect2",
63 "github.com/opencontainers/go-digest",
64 "github.com/opencontainers/image-spec",
65 "github.com/opencontainers/runc",
66 "github.com/opencontainers/runtime-spec",
67 "github.com/pkg/errors",
68 "github.com/prometheus/client_golang",
69 "github.com/prometheus/client_model",
70 "github.com/prometheus/common",
71 "github.com/prometheus/procfs",
72 "github.com/russross/blackfriday",
73 "github.com/seccomp/libseccomp-golang",
74 "github.com/sirupsen/logrus",
75 "github.com/stretchr/testify",
76 "github.com/syndtr/gocapability",
77 "github.com/tchap/go-patricia",
78 "github.com/urfave/cli",
79 "go.etcd.io/bbolt",
80 "go.opencensus.io",
81 "golang.org/x/crypto",
82 "golang.org/x/oauth2",
83 "golang.org/x/sync",
84 "golang.org/x/sys",
85 "google.golang.org/genproto",
86 "gopkg.in/inf.v0",
87 "gopkg.in/yaml.v2",
88 "gotest.tools",
89 "k8s.io/klog",
90 "sigs.k8s.io/yaml",
91 ).with(disabledProtoBuild).use(
92 "github.com/Microsoft/hcsshim",
93 "github.com/containerd/cgroups",
94 "github.com/containerd/cri",
95 "github.com/gogo/googleapis",
96 ).with(buildTags("selinux")).use(
97 "github.com/opencontainers/selinux",
98 )
99
100 // containernetworking/plugins
101 p.collectOverride(
102 "github.com/containernetworking/plugins", "v0.8.2",
103 patches("cni-plugins-build.patch"),
104 ).use(
105 "github.com/alexflint/go-filemutex",
106 "github.com/coreos/go-iptables",
107 "github.com/j-keck/arping",
108 "github.com/safchain/ethtool",
109 )
110}