commit c3d028ae59c1b7b7762030ca6f2032f8b98d1f34731b40cc7652eba57cc2d015 Author: Adrian Schröter Date: Fri May 3 11:42:51 2024 +0200 Sync from SUSE:SLFO:Main cni-plugin-dnsname revision 08caef96e200a8d68b8f6a6f237be0ad diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..641735a --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/containers/dnsname.git + git + dnsname + .git + @PARENT_TAG@ + v1.3.1 + v(.*) + enable + + + + *.tar + xz + + + dnsname + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..8dd9114 --- /dev/null +++ b/_servicedata @@ -0,0 +1,6 @@ + + + https://github.com/containers/dnsname.git + 18822f9a4fb35d1349eb256f4cd2bfd372474d84 + + diff --git a/cni-plugin-dnsname.changes b/cni-plugin-dnsname.changes new file mode 100644 index 0000000..3277fac --- /dev/null +++ b/cni-plugin-dnsname.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Fri Mar 25 08:27:36 UTC 2022 - Enrico Belleri + +- Update to version 1.3.1: + * Don't use LDFLAGS: made `dnsname` unable to build in some + packaging systems (not ours). + +------------------------------------------------------------------- +Fri Nov 19 18:28:08 UTC 2021 - ralf@h4kamp.de + +- Update to version 1.3.0: + * Bump to v1.3.0 + * Output version information when called directly + * Do not error on del command + * Cirrus: Remove unused $DEST_BRANCH definition + * Cleanup dangling config files + * Update F34beta -> F34 and U2010 -> U2104 + * Cirrus: Add modern get_ci_vm support + * Cirrus: Update to F34beta VM image + * Bump to v1.2.0 + * return dnsmasq errors + * Update podman readme + * Add dns search domain to cni result + * Add AppArmor instruction in the Podman readme + * fix typo in README_PODMAN + * Added missing comma in README_PODMAN.md + * Cirrus: Update to F33 and U2010 + * Improve documentation of use with Podman + * bump go-iptables version +- Fix build on SLE and Leap + +------------------------------------------------------------------- +Fri Jan 08 12:15:02 UTC 2021 - rbrown@suse.com + +- Update to version 1.1.1: + * Bump to v1.1.1 + * use tabs not spaces + * Bump to v1.1 + * pass aliases to dns masq + * Cirrus: Use images from automation_images + * correct fedora package name in documentation + * clarify where to report issues + * change references from libpod to podman + +------------------------------------------------------------------- +Wed Oct 7 10:44:02 UTC 2020 - Ralf Haferkamp + +- remove empty scriptlets +- Adjust build flags to create PIE binary + +------------------------------------------------------------------- +Tue Sep 29 12:50:28 UTC 2020 - Ralf Haferkamp + +- Initial release v1.0.0 diff --git a/cni-plugin-dnsname.spec b/cni-plugin-dnsname.spec new file mode 100644 index 0000000..378469e --- /dev/null +++ b/cni-plugin-dnsname.spec @@ -0,0 +1,55 @@ +# +# spec file for package cni-plugin-dnsname +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: cni-plugin-dnsname +Version: 1.3.1 +Release: 0 +Summary: CNI plugin to provide name resolution for containers +License: Apache-2.0 +URL: https://github.com/containers/dnsname +Source: dnsname-%{version}.tar.xz +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.13 +Requires: cni +Requires: dnsmasq + +%description +This CNI plugin sets up the use of dnsmasq on a given CNI network so that Pods +can resolve each other by name. When configured, the pod and its IP address are +added to a network specific hosts file that dnsmasq reads in. Similarly, when a +pod is removed from the network, it will remove the entry from the hosts file. +Each CNI network will have its own dnsmasq instance. + +The dnsname plugin was specifically designed for the Podman container engine. + +%prep +%setup -q -n dnsname-%{version} + +%build +%make_build GO_BUILD="GO111MODULE=on go build -mod=vendor -buildmode=pie" binaries + +%install +LIBEXECDIR=%{_libexecdir}/cni %make_install + +%files +%license LICENSE +%doc README.md README_PODMAN.md RELEASE_NOTES.md +%dir %{_libexecdir}/cni +%{_libexecdir}/cni/dnsname + +%changelog diff --git a/dnsname-1.3.1.obscpio b/dnsname-1.3.1.obscpio new file mode 100644 index 0000000..945817c --- /dev/null +++ b/dnsname-1.3.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d596b1c27d2b02ae6989422e717ea5dd24bcf34b53113cef89d4cfb3af04ace +size 13438989 diff --git a/dnsname.obsinfo b/dnsname.obsinfo new file mode 100644 index 0000000..81ade37 --- /dev/null +++ b/dnsname.obsinfo @@ -0,0 +1,4 @@ +name: dnsname +version: 1.3.1 +mtime: 1629230735 +commit: 18822f9a4fb35d1349eb256f4cd2bfd372474d84