From 56377da48755ece6ddd7e3f6c38b6f7f7db66625 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 21 Mar 2024 18:38:03 +0000 Subject: [PATCH] containernetworking-plugins package is retired on branch c10s for BAKERY-412 --- .gitignore | 64 ---------------- containernetworking-plugins.spec | 123 ------------------------------- dead.package | 1 + sources | 1 - 4 files changed, 1 insertion(+), 188 deletions(-) delete mode 100644 .gitignore delete mode 100644 containernetworking-plugins.spec create mode 100644 dead.package delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1bd5402..0000000 --- a/.gitignore +++ /dev/null @@ -1,64 +0,0 @@ -/19f2f28178aa88772f69c4eeb3793d4a63c244b0.tar.gz -/9ebe139e77e82afb122e335328007bca86905ae4.tar.gz -/a62711a5da7a2dc2eb93eac47e103738ad923fd6.tar.gz -/fe60fcddb897079746ec1523fd1837ab05b1e689.tar.gz -/966bbcb8a572aa4c253ea9650888ad2306e3c8f2.tar.gz -/7ba2bcfeab482eaaa7d6e7e4ec9fbd493c54d4fa.tar.gz -/ded2f1757770e8e2aa41f65687f8fc876f83048b.tar.gz -/ccd683e1a3109adf19919291642a514f0dff0c6f.tar.gz -/2d6d4b260a98973a206fde18bdde4f2511c72c60.tar.gz -/c9e1c0c1edecfa407069a01059dab958ede6b709.tar.gz -/485be65581341430f9106a194a98f0f2412245fb.tar.gz -/7e6843008129e5b8283beee2f81ee71d7834ab7c.tar.gz -/4bb288193ce68c35ca2cb3a7d06ce1dd05fe18f6.tar.gz -/23d5525ec3745a5b6f937fdc7e5fd1f95ea876ae.tar.gz -/291ab6cc849c83882cbe5988c483b334ad1aee36.tar.gz -/f5c3d1b1bab6ee72a32702c22ebb0f008580ef2d.tar.gz -/47a9fd80c8258a288db0bb39f68516a4770012a4.tar.gz -/117e30ff2151e8ae8b3c49fcdcc77def3fae6c9d.tar.gz -/f4332fec59a8f1e3a23cc75eec7f817c93483387.tar.gz -/a78853f29fa73cb211bb05698e6b313cd4404fa1.tar.gz -/5af9ff493e60ddda7b6d75a26ff3ba635c7debfb.tar.gz -/f7a2fc97e4282bdf82754bd758d0a5f9d4d99525.tar.gz -/ad10b6fa91aacd720f1f9ab94341a97a82a24965.tar.gz -/b76fdd7c03f434a3a481bfaee0a0e48e70979486.tar.gz -/1fb9793607361bc8ae032a12964c67e7f2b92079.tar.gz -/e1f8f9bee5e8e9b6406d6060bd0cb41cdc76d1b0.tar.gz -/28773dc92574b0546da25f6b777f9ff99f11815a.tar.gz -/c90b165c6e6bd7ee6c32188092d9a9442f1aba22.tar.gz -/6eb8e31d215c254a58aab527c94313e8d147242b.tar.gz -/d713ec692c8d2da2bc567690846738a567d72f33.tar.gz -/8a88f90f9413dbbb058f62c1735eca4e08e988dd.tar.gz -/bd589992fbe0740418fcc7df7572bd98f4d759c0.tar.gz -/9b8de6a613657df14a3a5958642872fa9855d570.tar.gz -/e78e6aa5b9fd7e3e66f0cb997152c44c2a4e43df.tar.gz -/6df03d79376a4b0d5af10948886fdd98a1aca9ec.tar.gz -/a9abbaf19b305e45ff174694ebb5e8d6a21c892e.tar.gz -/440dcc331b692e64bcf0893a22ceda1826ee9f61.tar.gz -/ccd872bd7a834e0948758cc039a90721d817a8ed.tar.gz -/8aad9739d8383de465293d5da346a61ff3131449.tar.gz -/cccf5395e85bef6ff8410f12ba7be088a78554e5.tar.gz -/509d645ee9ccfee0ad90fe29de3133d0598b7305.tar.gz -/e13bab99e54b4a34375450518d7db7a3da825e44.tar.gz -/3819ef7e8629242eddf1521e34d28b6cefb346ab.tar.gz -/48a97a7ad16cb839d4871cd493faca13129737ca.tar.gz -/8c66d687c788a9b739b8d43a4b8fa933541163e5.tar.gz -/8feef71fd3cb32ff9a6bf3a377837486872f86aa.tar.gz -/74a6b28a2c2796a2638ba61a85bb620640bfeb31.tar.gz -/fa48f7515b50272b7106702a662fadbf2ead3d18.tar.gz -/8936113a166100406eb77aab02f2e0b6365ae288.tar.gz -/47927f5084925ab8e42ef0858714c13f116d515b.tar.gz -/0ea07b826990e4475bbe06110f456ac0a648e6ee.tar.gz -/1c1799ef39a8b82a6fb99af1a42b089694a68b4b.tar.gz -/d3851201759a080b9aec90bf9cb5e4e2fd3ef4f9.tar.gz -/2989aba9dc2f2e9652a102f43bf5973ee3982352.tar.gz -/b41052c547ee3193a33714c81164505a9012ac86.tar.gz -/8de0287741e448a0a398b571030bcfa9243e4504.tar.gz -/6618a0aba83e7307bc7c15d84e7f53a5d49b52da.tar.gz -/78702e9d8a2cdb6931fab433f1d1e6789162954f.tar.gz -/5238c13aa96ccacb1329903935c83a424e2cd8b6.tar.gz -/2876cd54760199f4eedd8439727ad6d2fa9b142e.tar.gz -/v1.0.0.tar.gz -/v1.0.1.tar.gz -/v1.1.0.tar.gz -/v1.1.1.tar.gz diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec deleted file mode 100644 index fa64494..0000000 --- a/containernetworking-plugins.spec +++ /dev/null @@ -1,123 +0,0 @@ -%global with_debug 1 - -%if 0%{?with_debug} -%global _find_debuginfo_dwz_opts %{nil} -%global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif - -%global provider github -%global provider_tld com -%global project containernetworking -%global repo plugins -%global import_path %{provider}.%{provider_tld}/%{project}/%{repo} -%global git0 https://%{import_path} - -%global built_tag v1.1.1 -%global built_tag_strip %(b=%{built_tag}; echo ${b:1}) -%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) - -Name: %{project}-%{repo} -Version: 1.1.1 -Release: %autorelease -License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause and MIT and MPL-2.0 -Summary: Libraries for writing CNI plugin -URL: %{git0} -# Tarball fetched from upstream -Source0: %{url}/archive/%{built_tag}.tar.gz -ExclusiveArch: %{golang_arches} -BuildRequires: golang >= 1.16.6 -BuildRequires: systemd-devel -BuildRequires: go-rpm-macros -BuildRequires: go-md2man -Requires: systemd -Obsoletes: %{project}-cni < 0.7.1-2 -Provides: %{project}-cni = %{version}-%{release} -Provides: kubernetes-cni -Provides: container-network-stack = 1 -# vendored libraries -# awk '{print "Provides: bundled(golang("$1")) = "$2}' go.mod | sort | uniq | sed -e 's/-/_/g' -e '/bundled(golang())/d' -e '/bundled(golang(go\|module\|replace\|require))/d' -Provides: bundled(golang(github.com/Microsoft/go_winio)) = v0.4.17 -Provides: bundled(golang(github.com/Microsoft/hcsshim)) = v0.8.20 -Provides: bundled(golang(github.com/alexflint/go_filemutex)) = v1.1.0 -Provides: bundled(golang(github.com/buger/jsonparser)) = v1.1.1 -Provides: bundled(golang(github.com/containerd/cgroups)) = v1.0.1 -Provides: bundled(golang(github.com/containernetworking/cni)) = v1.0.1 -Provides: bundled(golang(github.com/coreos/go_iptables)) = v0.6.0 -Provides: bundled(golang(github.com/coreos/go_systemd/v22)) = v22.3.2 -Provides: bundled(golang(github.com/d2g/dhcp4)) = v0.0.0_20170904100407_a1d1b6c41b1c -Provides: bundled(golang(github.com/d2g/dhcp4client)) = v1.0.0 -Provides: bundled(golang(github.com/d2g/dhcp4server)) = v0.0.0_20181031114812_7d4a0a7f59a5 -Provides: bundled(golang(github.com/fsnotify/fsnotify)) = v1.4.9 -Provides: bundled(golang(github.com/godbus/dbus/v5)) = v5.0.4 -Provides: bundled(golang(github.com/gogo/protobuf)) = v1.3.2 -Provides: bundled(golang(github.com/golang/groupcache)) = v0.0.0_20200121045136_8c9f03a8e57e -Provides: bundled(golang(github.com/mattn/go_shellwords)) = v1.0.12 -Provides: bundled(golang(github.com/networkplumbing/go_nft)) = v0.2.0 -Provides: bundled(golang(github.com/nxadm/tail)) = v1.4.8 -Provides: bundled(golang(github.com/onsi/ginkgo)) = v1.16.4 -Provides: bundled(golang(github.com/onsi/gomega)) = v1.15.0 -Provides: bundled(golang(github.com/pkg/errors)) = v0.9.1 -Provides: bundled(golang(github.com/safchain/ethtool)) = v0.0.0_20210803160452_9aa261dae9b1 -Provides: bundled(golang(github.com/sirupsen/logrus)) = v1.8.1 -Provides: bundled(golang(github.com/vishvananda/netlink)) = v1.1.1_0.20210330154013_f5de75959ad5 -Provides: bundled(golang(github.com/vishvananda/netns)) = v0.0.0_20210104183010_2eb08e3e575f - -%description -The CNI (Container Network Interface) project consists of a specification -and libraries for writing plugins to configure network interfaces in Linux -containers, along with a number of supported plugins. CNI concerns itself -only with network connectivity of containers and removing allocated resources -when the container is deleted. - -%prep -%autosetup -p1 -n %{repo}-%{built_tag_strip} -rm -rf plugins/main/windows - -# Use correct paths in cni-dhcp unitfiles -sed -i 's/\/opt\/cni\/bin/\%{_prefix}\/libexec\/cni/' plugins/ipam/dhcp/systemd/cni-dhcp.service - -%build -export ORG_PATH="%{provider}.%{provider_tld}/%{project}" -export REPO_PATH="$ORG_PATH/%{repo}" - -if [ ! -h gopath/src/${REPO_PATH} ]; then - mkdir -p gopath/src/${ORG_PATH} - ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255 -fi - -export GOPATH=$(pwd)/gopath -mkdir -p $(pwd)/bin - -echo "Building plugins" -export PLUGINS="plugins/meta/* plugins/main/* plugins/ipam/* plugins/sample" -for d in $PLUGINS; do - if [ -d "$d" ]; then - plugin="$(basename "$d")" - echo " $plugin" - %gobuild -o "${PWD}/bin/$plugin" "$@" "$REPO_PATH"/$d - fi -done - -%install -install -d -p %{buildroot}%{_libexecdir}/cni/ -install -p -m 0755 bin/* %{buildroot}/%{_libexecdir}/cni - -install -dp %{buildroot}%{_unitdir} -install -p plugins/ipam/dhcp/systemd/cni-dhcp.service %{buildroot}%{_unitdir} -install -p plugins/ipam/dhcp/systemd/cni-dhcp.socket %{buildroot}%{_unitdir} - -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%files -%license LICENSE -%doc *.md -%dir %{_libexecdir}/cni -%{_libexecdir}/cni/* -%{_unitdir}/cni-dhcp.service -%{_unitdir}/cni-dhcp.socket - -%changelog -%autochangelog diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6303050 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +containernetworking-plugins package is retired on branch c10s for BAKERY-412 \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index df26dc8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (v1.1.1.tar.gz) = 03da31caee5f9595abf65d4a551984b995bc18c5e97409549f08997c5a6a2b41a8950144f8a5b4f810cb401ddbe312232d2be76ec977acf8108eb490786b1817