commit ccdf590048eab8b378e99b2628ae4b60ce165206 Author: MSVSphere Packaging Team Date: Wed Apr 3 15:28:49 2024 +0300 import aardvark-dns-1.10.0-1.module+el8.10.0+21209+52deeb51 diff --git a/.aardvark-dns.metadata b/.aardvark-dns.metadata new file mode 100644 index 0000000..b055ded --- /dev/null +++ b/.aardvark-dns.metadata @@ -0,0 +1,2 @@ +a1c2f6539a0cc52b7a0e54af4ac2a7f5257b56bd SOURCES/aardvark-dns-v1.10.0-vendor.tar.gz +fba49f4549cc0e40b2c06bcbfd8b71fe12b67d47 SOURCES/v1.10.0.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..81d54ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/aardvark-dns-v1.10.0-vendor.tar.gz +SOURCES/v1.10.0.tar.gz diff --git a/SPECS/aardvark-dns.spec b/SPECS/aardvark-dns.spec new file mode 100644 index 0000000..87ed991 --- /dev/null +++ b/SPECS/aardvark-dns.spec @@ -0,0 +1,107 @@ +# debuginfo doesn't work yet +%global debug_package %{nil} + +Epoch: 2 +Name: aardvark-dns +Version: 1.10.0 +License: ASL 2.0 and BSD and MIT +Release: 1%{?dist} +ExclusiveArch: %{rust_arches} +Summary: Authoritative DNS server for A/AAAA container records +URL: https://github.com/containers/aardvark-dns +Source0: %{url}/archive/v%{version}.tar.gz +Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz +BuildRequires: cargo +BuildRequires: git-core +BuildRequires: make +BuildRequires: rust-srpm-macros + +%description +%{summary} + +Forwards other request to configured resolvers. +Read more about configuration in `src/backend/mod.rs`. + +%prep +%autosetup -Sgit +tar fx %{SOURCE1} +mkdir -p .cargo + +cat >.cargo/config << EOF +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" + +[net] +offline = true +EOF + +%build +%{__make} build + +%install +%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install + +%files +%license LICENSE +%dir %{_libexecdir}/podman +%{_libexecdir}/podman/%{name} + +%changelog +* Thu Jan 25 2024 Jindrich Novy - 2:1.10.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.10.0 +- Related: Jira:RHEL-2110 + +* Thu Dec 07 2023 Lokesh Mandvekar - 2:1.9.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.9.0 +- Related: Jira:RHEL-2110 + +* Fri Sep 29 2023 Jindrich Novy - 2:1.8.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.8.0 +- Related: Jira:RHEL-2110 + +* Mon Jul 03 2023 Jindrich Novy - 2:1.7.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.7.0 +- Related: #2176055 + +* Thu May 11 2023 Jindrich Novy - 2:1.6.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.6.0 +- Related: #2176055 + +* Fri Feb 03 2023 Jindrich Novy - 2:1.5.0-2 +- always stay offline during build +- Related: #2123641 + +* Fri Feb 03 2023 Jindrich Novy - 2:1.5.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.5.0 +- Related: #2123641 + +* Thu Dec 08 2022 Jindrich Novy - 2:1.4.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.4.0 +- Related: #2123641 + +* Mon Nov 14 2022 Jindrich Novy - 2:1.3.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.3.0 +- Related: #2123641 + +* Wed Sep 28 2022 Jindrich Novy - 2:1.2.0-1 +- update to https://github.com/containers/aardvark-dns/releases/tag/v1.2.0 +- Related: #2116481 + +* Wed Aug 24 2022 Jindrich Novy - 2:1.1.0-4 +- remove windows binaries and regenerate vendor tarball +- Related: #2061390 + +* Tue Aug 09 2022 Jindrich Novy - 2:1.1.0-3 +- add gating.yaml +- Related: #2061390 + +* Thu Aug 04 2022 Jindrich Novy - 2:1.1.0-2 +- bump Epoch to preserve upgrade path +- Related: #2061390 + +* Wed Aug 3 2022 Jindrich Novy 1.1.0-1 +- initial import +- Related: #2061390