commit 3415b116bf4c6c834836fb2bf42b54f81b60a01a2f21a16754ff6d0038b68762 Author: Thorsten Kukuk Date: Wed Feb 15 10:48:52 2023 +0000 Accepting request 1065714 from home:danishprakash:branches:devel:microos First version of the aardvark-dns package OBS-URL: https://build.opensuse.org/request/show/1065714 OBS-URL: https://build.opensuse.org/package/show/devel:microos/aardvark-dns?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..2e6460a --- /dev/null +++ b/_service @@ -0,0 +1,27 @@ + + + https://github.com/containers/aardvark-dns + @PARENT_TAG@ + git + v1.5.0 + * + v(\d+\.\d+\.\d+) + \1 + enable + + + + *.tar + gz + + + + aardvark-dns + gz + true + + + aardvark-dns + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..430550f --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/containers/aardvark-dns + 65480f45efe1f8c381f6ee06df3117d5c3d01f50 \ No newline at end of file diff --git a/aardvark-dns-1.5.0.tar.gz b/aardvark-dns-1.5.0.tar.gz new file mode 100644 index 0000000..1bcdf71 --- /dev/null +++ b/aardvark-dns-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dccb2cc4c7ee68347fa5f71c3761db0c794de5794fa6f2fa573b1adb82d60ea +size 53116 diff --git a/aardvark-dns.changes b/aardvark-dns.changes new file mode 100644 index 0000000..0e527f4 --- /dev/null +++ b/aardvark-dns.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 14 10:53:26 UTC 2023 - Danish Prakash + +- First version of aardvark-dns diff --git a/aardvark-dns.spec b/aardvark-dns.spec new file mode 100644 index 0000000..1b634a9 --- /dev/null +++ b/aardvark-dns.spec @@ -0,0 +1,59 @@ +# +# spec file for package aardvark-dns +# +# Copyright (c) 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: aardvark-dns +Version: 1.5.0 +Release: 0 +Summary: Authoritative dns server for A/AAAA container records +License: Apache-2.0 +URL: https://github.com/containers/%{name} +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +Source2: cargo_config +BuildRequires: cargo +BuildRequires: cargo-packaging +# Disable this line if you wish to support all platforms. +# In most situations, you will likely only target tier1 arches for user facing components. +ExclusiveArch: %{rust_tier1_arches} + +%description +Aardvark-dns is an authoritative dns server for A/AAAA container records. +It can forward other requests to configured resolvers. + +%prep +%autosetup -a1 +mkdir .cargo +cp %{SOURCE2} .cargo/config + + +%build +cargo build --release +mkdir -p bin +cp target/release/%{name} bin/ + + +%install +%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix} + + +%files +%license LICENSE +%dir %{_libexecdir}/podman +%{_libexecdir}/podman/%{name} + +%changelog diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..2368137 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1dd8989c20a55669d9edfca8aa5ce29b0a846940cdfec02b94d6535ef44023f5 +size 25205131