third_party: move go patches into their own folder

Change-Id: I7e2f2790e233aaf13cfd6ed2ffcf5544461a4f39
Reviewed-on: https://review.monogon.dev/c/monogon/+/3822
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index e7f0da3..d657b60 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -140,7 +140,7 @@
             "gazelle:proto file",
         ],
         "pre_patches": [
-            "//third_party/go/patches:go-tpm-tools-fix-proto-paths.patch",
+            "//third_party/com_github_google_go_tpm_tools:go-tpm-tools-fix-proto-paths.patch",
         ],
     },
     "github.com/googleapis/gax-go/v2": {
@@ -158,7 +158,7 @@
             "gazelle:build_tags seccomp",
         ],
         "patches": [
-            "//third_party/go/patches:runc-add-cdeps.patch",
+            "//third_party/com_github_opencontainers_runc:runc-add-cdeps.patch",
         ],
     },
     "github.com/google/cadvisor": {
@@ -166,7 +166,7 @@
             "gazelle:proto disable_global",
         ],
         "pre_patches": [
-            "//third_party/go/patches:cadvisor-errdefs1.patch",
+            "//third_party/com_github_google_cadvisor:cadvisor-errdefs1.patch",
         ],
     },
     "github.com/sqlc-dev/sqlc": {
@@ -195,8 +195,8 @@
             "gazelle:proto disable",
         ],
         "patches": [
-            "//third_party/go/patches:etcd-fix-embed-close.patch",
-            "//third_party/go/patches:etcd-fix-islearner-panic.patch",
+            "//third_party/com_go_etcd_io_etcd_server_v3:etcd-fix-embed-close.patch",
+            "//third_party/com_go_etcd_io_etcd_server_v3:etcd-fix-islearner-panic.patch",
         ],
     },
     "github.com/grpc-ecosystem/grpc-gateway": {
@@ -245,7 +245,7 @@
             "gazelle:proto disable",
         ],
         "patches": [
-            "//third_party/go/patches:kubelet-fix-path.patch",
+            "//third_party/com_k8s_io_kubelet:kubelet-fix-path.patch",
         ],
     },
     "k8s.io/kubernetes": {
@@ -253,14 +253,14 @@
             "gazelle:proto disable",
         ],
         "patches": [
-            "//third_party/go/patches:k8s-native-metrics.patch",
-            "//third_party/go/patches:k8s-removed-block-device-pseudo-locks.patch",
-            "//third_party/go/patches:k8s-add-pause-build-file.patch",
-            "//third_party/go/patches:k8s-reserve-metropolis-ports-import.patch",
+            "//third_party/com_k8s_io_kubernetes:k8s-native-metrics.patch",
+            "//third_party/com_k8s_io_kubernetes:k8s-removed-block-device-pseudo-locks.patch",
+            "//third_party/com_k8s_io_kubernetes:k8s-add-pause-build-file.patch",
+            "//third_party/com_k8s_io_kubernetes:k8s-reserve-metropolis-ports-import.patch",
         ],
         "pre_patches": [
-            "//third_party/go/patches:k8s-drop-legacy-log-path.patch",
-            "//third_party/go/patches:k8s-reserve-metropolis-ports.patch",
+            "//third_party/com_k8s_io_kubernetes:k8s-drop-legacy-log-path.patch",
+            "//third_party/com_k8s_io_kubernetes:k8s-reserve-metropolis-ports.patch",
         ],
     },
     "k8s.io/metrics": {
@@ -300,7 +300,7 @@
     },
     "github.com/containernetworking/cni": {
         "patches": [
-            "//third_party/go/patches:cni-fix-cachepath.patch",
+            "//third_party/com_github_containernetworking_cni:cni-fix-cachepath.patch",
         ],
     },
     "github.com/containernetworking/plugins": {
@@ -310,72 +310,72 @@
     },
     "github.com/corverroos/commentwrap": {
         "patches": [
-            "//third_party/go/patches:commentwrap-uri.patch",
+            "//third_party/com_github_corverroos_commentwrap:commentwrap-uri.patch",
         ],
     },
     "github.com/go-delve/delve": {
         "patches": [
-            "//third_party/go/patches:delve-fix-cgo.patch",
+            "//third_party/com_github_go_delve_delve:delve-fix-cgo.patch",
         ],
     },
     "github.com/pganalyze/pg_query_go/v4": {
         "patches": [
-            "//third_party/go/patches:pganalyze-add-cdeps.patch",
+            "//third_party/com_github_pganalyze_pg_query_go_v4:pganalyze-add-cdeps.patch",
         ],
     },
     "github.com/sbezverk/nfproxy": {
         "pre_patches": [
-            "//third_party/go/patches:nfproxy-adapt-to-k8s-1.28.patch",
-            "//third_party/go/patches:nfproxy-adapt-to-nftables-0.2.patch",
+            "//third_party/com_github_sbezverk_nfproxy:nfproxy-adapt-to-k8s-1.28.patch",
+            "//third_party/com_github_sbezverk_nfproxy:nfproxy-adapt-to-nftables-0.2.patch",
         ],
     },
     "github.com/google/nftables": {
         "pre_patches": [
-            "//third_party/go/patches:nftables-bigger-buffers.patch",
-            "//third_party/go/patches:nftables-dynamic-exprs.patch",
+            "//third_party/com_github_google_nftables:nftables-bigger-buffers.patch",
+            "//third_party/com_github_google_nftables:nftables-dynamic-exprs.patch",
         ],
     },
     "k8s.io/kubectl": {
         "patches": [
-            "//third_party/go/patches:kubectl-fix-embed.patch",
+            "//third_party/com_k8s_io_kubectl:kubectl-fix-embed.patch",
         ],
     },
     "github.com/seccomp/libseccomp-golang": {
         "patches": [
-            "//third_party/go/patches:libseccomp.patch",
+            "//third_party/com_github_seccomp_libseccomp_golang:libseccomp.patch",
         ],
     },
     "github.com/vishvananda/netlink": {
         "patches": [
-            "//third_party/go/patches:netlink-psample.patch",
+            "//third_party/com_github_vishvananda_netlink:netlink-psample.patch",
         ],
     },
     "gvisor.dev/gvisor": {
         "patches": [
-            "//third_party/go/patches:gvisor-fix-syslog.patch",
+            "//third_party/com_gvisor_dev_gvisor:gvisor-fix-syslog.patch",
         ],
         "pre_patches": [
-            "//third_party/go/patches:gvisor-containerd-compat.patch",
+            "//third_party/com_gvisor_dev_gvisor:gvisor-containerd-compat.patch",
         ],
     },
     "go.etcd.io/etcd/tests/v3": {
         "patches": [
-            "//third_party/go/patches:etcd-integration-logging.patch",
+            "//third_party/com_go_etcd_io_etcd_tests_v3:etcd-integration-logging.patch",
         ],
     },
     "k8s.io/component-base": {
         "patches": [
-            "//third_party/go/patches:k8s-fix-metrics-data-race.patch",
+            "//third_party/com_k8s_io_component_base:k8s-fix-metrics-data-race.patch",
         ],
     },
     "k8s.io/mount-utils": {
         "pre_patches": [
-            "//third_party/go/patches:k8s-native-mounter.patch",
+            "//third_party/com_k8s_io_mount_utils:k8s-native-mounter.patch",
         ],
     },
     "golang.org/x/tools": {
         "patches": [
-            "//third_party/go/patches:goimports-group-merging.patch",
+            "//third_party/com_golang_org_x_tools:goimports-group-merging.patch",
         ],
     },
 }