diff --git a/_service b/_service index 2c888bd..3ab1c23 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ git https://github.com/mr-karan/doggo.git - v0.5.7 + v1.0.4 * v(\d+\.\d+\.\d+) @PARENT_TAG@ diff --git a/_servicedata b/_servicedata index 45c596b..10fb55e 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/mr-karan/doggo.git - c72c2ef9ec99053e33808bc03fee80d57ea017cb \ No newline at end of file + bac855567c203714c35586f026b91e4caf687636 \ No newline at end of file diff --git a/doggo-0.5.7.obscpio b/doggo-0.5.7.obscpio deleted file mode 100644 index b93f86d..0000000 --- a/doggo-0.5.7.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cec020bfa233d3d799429950f2356cd6de20693b4c78e8f705790d6b7c01fe98 -size 540684 diff --git a/doggo-1.0.4.obscpio b/doggo-1.0.4.obscpio new file mode 100644 index 0000000..f4f8e0a --- /dev/null +++ b/doggo-1.0.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ef2650a645c757c86420e04c38408f2dcc5e0b8efa2f7f95e49cfa57fc1c4bd +size 2785292 diff --git a/doggo.changes b/doggo.changes index ff9fca3..0f9bfab 100644 --- a/doggo.changes +++ b/doggo.changes @@ -1,9 +1,72 @@ +------------------------------------------------------------------- +Wed Jul 03 17:49:48 UTC 2024 - Jeff Kowalczyk + +- Update to version 1.0.4: + * fix: add ca-certificates in doggo-web + * Updating canonical URL + * Fix zsh completions + * docs: add --rm in docker + +------------------------------------------------------------------- +Tue Jul 2 14:16:05 UTC 2024 - Jeff Kowalczyk + +- Packaging improvements: + * Add subpackage web providing web browser UI for making DNS queries + * Add Group: Productivity/Networking/DNS/Utilities + * Update License: to GPL-3.0 instead of GPL-3.0-only + * Update to BuildRequires: golang(API) >= 1.22 matching go.mod + * Add Recommends: %{name}-bash-completion + * Completions subpackages for fish, zsh remain as Suggests: + * Reorder completions install ops consistently: bash, fish, zsh + * Add changelog detail for earlier release v1.0.1 + +------------------------------------------------------------------- +Tue Jul 02 13:50:51 UTC 2024 - Jeff Kowalczyk + +- Update to version 1.0.3: + * chore: upgrade deps + * chore: fix help text + * docs: specify correct usage of timeout flag + * feat: add ctx cancellation while resolving records + * feat: Refactor DNS resolvers for concurrent lookups + * feat: add support for common query types + * chore: fix docs link + * chore: revamp README + +------------------------------------------------------------------- +Tue Jul 02 10:43:52 UTC 2024 - Eyad Issa + +- Update to version 1.0.2: + * refactor: move main package to cmd/doggo for proper binary naming + +- Update to version 1.0.1 + * fix: proper alignment of help text + * ci: re-enable dependabot + * ci: add npm caching + * ci: goreleaser + * ci: upgrade actions + * refactor: replace logrus with slog + * feat: add support for more platforms and targets + * feat: add single install script + * feat: add completions command + * feat: add support for query flags + * refactor: fix loading of nameservers + * chore: upgrade deps + * fix: send proper json error responses + +- Update to version 1.0.0: + * feat: add bash completion support + * feat: add completions command + * Fix syntax error in ZSH completion + * Update ZSH completion to include all current options + * added tls client configuration for doh and doq + ------------------------------------------------------------------- Mon Oct 23 09:36:30 UTC 2023 - Eyad Issa - Packaging improvements: * Fix zsh-completion and fish-completion by not requiring - zsh-completion and fish-completion and by supplementing the + zsh-completion and fish-completion and by supplementing the right package. * Fix fish-completion by using the .fish suffix when copying the completion file. diff --git a/doggo.obsinfo b/doggo.obsinfo index 8dbe514..7ef2407 100644 --- a/doggo.obsinfo +++ b/doggo.obsinfo @@ -1,4 +1,4 @@ name: doggo -version: 0.5.7 -mtime: 1691988406 -commit: c72c2ef9ec99053e33808bc03fee80d57ea017cb +version: 1.0.4 +mtime: 1720024636 +commit: bac855567c203714c35586f026b91e4caf687636 diff --git a/doggo.spec b/doggo.spec index c98e473..d70f0e5 100644 --- a/doggo.spec +++ b/doggo.spec @@ -1,7 +1,7 @@ # # spec file for package doggo # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,16 @@ Name: doggo -Version: 0.5.7 +Version: 1.0.4 Release: 0 Summary: CLI tool and API server DNS client implemented in Go -License: GPL-3.0 +License: GPL-3.0-only +Group: Productivity/Networking/DNS/Utilities URL: https://github.com/mr-karan/doggo -Source0: %{name}-%{version}.tar -Source1: vendor.tar.xz -BuildRequires: golang(API) >= 1.20 +Source0: %{name}-%{version}.tar +Source1: vendor.tar.xz +BuildRequires: golang(API) >= 1.22 +Recommends: %{name}-bash-completion Suggests: %{name}-fish-completion Suggests: %{name}-zsh-completion @@ -33,6 +35,23 @@ doggo is a modern command-line DNS client (like dig) implemented in Go. It outputs information in a neat concise manner and supports protocols like DoH, DoT, DoQ, and DNSCrypt as well. +%package web +Summary: Web UI for %{name} +Group: Productivity/Networking/DNS/Utilities +Supplements: %{name} + +%description web +HTTP server for %{name} that provides a web browser UI for making DNS queries + +%package bash-completion +Summary: bash completion for %{name} +Group: System/Shells +Supplements: (%{name} and bash) +BuildArch: noarch + +%description bash-completion +bash completion scripts for %{name} + %package fish-completion Summary: fish completion for %{name} Group: System/Shells @@ -59,31 +78,44 @@ zsh completion scripts for %{name} export GOFLAGS="-buildmode=pie" %endif go build ./cmd/%{name} -go build ./cmd/api +# build separate binary providing web interface +go build -o %{name}-web ./web/ %install install -d %{buildroot}%{_bindir} install -D %{name} %{buildroot}%{_bindir}/%{name} -install -D api %{buildroot}%{_bindir}/%{name}-api -install -Dm644 completions/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish -install -Dm644 completions/%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} +install -D %{name} %{buildroot}%{_bindir}/%{name}-web + +# Completions +./%{name} completions bash > %{name}.bash +install -Dm644 %{name}.bash %{buildroot}%{_datadir}/bash-completions/completions/%{name} +./%{name} completions fish > %{name}.fish +install -Dm644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish +./%{name} completions zsh > %{name}.zsh +install -Dm644 %{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name} %files %license LICENSE %doc README.md -%doc config-api-sample.toml %{_bindir}/%{name} -%{_bindir}/%{name}-api -%dir %{_datadir}/fish -%dir %{_datadir}/fish/vendor_completions.d -%dir %{_datadir}/zsh -%dir %{_datadir}/zsh/site-functions +%files web +%doc config-api-sample.toml +%{_bindir}/%{name}-web %files fish-completion +%dir %{_datadir}/fish +%dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/%{name}.fish %files zsh-completion +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_%{name} +%files bash-completion +%dir %{_datadir}/bash-completions +%dir %{_datadir}/bash-completions/completions +%{_datadir}/bash-completions/completions/%{name} + %changelog diff --git a/vendor.tar.xz b/vendor.tar.xz index ad9aefa..b2f23a9 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bca2aa8afc7f4fed722c51bd51263e7d4ce28e8f04778665cf5778aab9586ea0 -size 5255032 +oid sha256:596d4719a591469156ddb20b768f3fa870fea6591c045f21f049af4c9c913ecf +size 1514756