Sync from SUSE:SLFO:Main cni-plugin-dnsname revision 08caef96e200a8d68b8f6a6f237be0ad

This commit is contained in:
Adrian Schröter 2024-05-03 11:42:51 +02:00
commit c3d028ae59
7 changed files with 165 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

20
_service Normal file
View File

@ -0,0 +1,20 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/containers/dnsname.git</param>
<param name="scm">git</param>
<param name="filename">dnsname</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v1.3.1</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="buildtime">
<param name="basename">dnsname</param>
</service>
</services>

6
_servicedata Normal file
View File

@ -0,0 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/containers/dnsname.git</param>
<param name="changesrevision">18822f9a4fb35d1349eb256f4cd2bfd372474d84</param>
</service>
</servicedata>

View File

@ -0,0 +1,54 @@
-------------------------------------------------------------------
Fri Mar 25 08:27:36 UTC 2022 - Enrico Belleri <idesmi@protonmail.com>
- 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 <rhafer@suse.com>
- remove empty scriptlets
- Adjust build flags to create PIE binary
-------------------------------------------------------------------
Tue Sep 29 12:50:28 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
- Initial release v1.0.0

55
cni-plugin-dnsname.spec Normal file
View File

@ -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

BIN
dnsname-1.3.1.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

4
dnsname.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: dnsname
version: 1.3.1
mtime: 1629230735
commit: 18822f9a4fb35d1349eb256f4cd2bfd372474d84