5 Commits

Author SHA256 Message Date
375fd8e47c Accepting request 1242291 from devel:languages:go
- Update to version 0.75.0:
  * Added DNSContext.QueryStatistics method that returns the DNS
    query statistics for both the upstream and fallback DNS servers
  * Positional (non-flag) arguments now cause an error instead of
    beingignored
  * The upstream.ExchangeParallel function now consistently returns
    a nil upstream in case of a DNS lookup error
  * Removed DNSContext.CachedUpstreamAddr and
    DNSContext.QueryDuration properties
- Packaging improvements:
  * Drop autosetup -p 1 arg only needed when package has patches
  * Use BuildRequires: golang(API) >= 1.23 rather than 1.23.5
    (three digit) as per go.mod. Currently the Provides:
    golang(API) expression is major version (two-digit) only.
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Remove go build -x output build command verbosity. Use go
    default arguments absent a clear need.
  * Remove go build -v output line per package verbosity. Use go
    default arguments absent a clear need.
  * _service obs_scm remove param match tag not needed
  * %check enable tests excluding tests with network access (forwarded request 1242290 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1242291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dnsproxy?expand=0&rev=33
2025-02-03 20:44:29 +00:00
bdfe1d592e - Update to version 0.75.0:
* Added DNSContext.QueryStatistics method that returns the DNS
    query statistics for both the upstream and fallback DNS servers
  * Positional (non-flag) arguments now cause an error instead of
    beingignored
  * The upstream.ExchangeParallel function now consistently returns
    a nil upstream in case of a DNS lookup error
  * Removed DNSContext.CachedUpstreamAddr and
    DNSContext.QueryDuration properties
- Packaging improvements:
  * Drop autosetup -p 1 arg only needed when package has patches
  * Use BuildRequires: golang(API) >= 1.23 rather than 1.23.5
    (three digit) as per go.mod. Currently the Provides:
    golang(API) expression is major version (two-digit) only.
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Remove go build -x output build command verbosity. Use go
    default arguments absent a clear need.
  * Remove go build -v output line per package verbosity. Use go
    default arguments absent a clear need.
  * _service obs_scm remove param match tag not needed
  * %check enable tests excluding tests with network access

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/dnsproxy?expand=0&rev=77
2025-02-03 05:52:09 +00:00
d9c05d938c - Enable tests
- Update to version 0.75.0:
  * Added DNSContext.QueryStatistics method that returns the DNS
    query statistics for both the upstream and fallback DNS servers
  * Positional (non-flag) arguments now cause an error instead of
    beingignored
  * The upstream.ExchangeParallel function now consistently returns
    a nil upstream in case of a DNS lookup error
  * Removed DNSContext.CachedUpstreamAddr and
    DNSContext.QueryDuration properties
- Update to version 0.74.1:
  * Fixed issue with locating the system hosts file
  * Fixed everse DNS lookups for records from the hosts file
- Update to version 0.74.0:
  * command-line flag --hosts-files now supports both absolute path
    and relative paths
- Update to version 0.73.5:
  * Fixed race conditions when using fastest_addr and parallel
    upstream modes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/dnsproxy?expand=0&rev=76
2025-02-03 00:02:40 +00:00
d23e7e6822 Accepting request 1230995 from devel:languages:go
- Update to version 0.73.4:
  * Improved resource consumption
- Update to version 0.73.3:
  * Fixed cache related log messages
  * Updated golibs dependency (forwarded request 1230950 from VaiTon)

OBS-URL: https://build.opensuse.org/request/show/1230995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dnsproxy?expand=0&rev=32
2024-12-16 18:09:39 +00:00
9c64e61a16 Accepting request 1230950 from home:VaiTon:branches:devel:languages:go
- Update to version 0.73.4:
  * Improved resource consumption
- Update to version 0.73.3:
  * Fixed cache related log messages
  * Updated golibs dependency

OBS-URL: https://build.opensuse.org/request/show/1230950
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/dnsproxy?expand=0&rev=74
2024-12-14 05:44:23 +00:00
8 changed files with 84 additions and 22 deletions

View File

@@ -2,10 +2,9 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/AdguardTeam/dnsproxy.git</param>
<param name="revision">v0.73.2</param>
<param name="match-tag">*</param>
<param name="revision">v0.75.0</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
@@ -13,6 +12,5 @@
<service name="go_modules" mode="manual">
<param name="compression">zstd</param>
</service>
<service name="tar" mode="buildtime"/>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/AdguardTeam/dnsproxy.git</param>
<param name="changesrevision">011f37a4992822fe2e5ac8f11b3d585321696f2c</param></service></servicedata>
<param name="changesrevision">11779165dd116c8889cf6dca9675607f83ed2502</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2e4012fa2634ab8e76f846a51e40bb9dc56f699e00ef798c9efa9c9f3715bc8
size 686604

3
dnsproxy-0.75.0.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d241058ecb4ff72638b88903eb1933d460f8cc8683a784ed737f4cd27203fb05
size 689676

View File

@@ -1,3 +1,64 @@
-------------------------------------------------------------------
Mon Feb 3 00:02:55 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Packaging improvements:
* Drop autosetup -p 1 arg only needed when package has patches
* Use BuildRequires: golang(API) >= 1.23 rather than 1.23.5
(three digit) as per go.mod. Currently the Provides:
golang(API) expression is major version (two-digit) only. We
ship new go releases sufficiently quickly that this has not
often been an issue. Consideration is being given to the best
way to handle the new three digit go.mod required minimum Go
version.
* Build PIE with pattern that may become recommended procedure:
%%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
A go toolchain buildmode default config would be preferable
but none exist at this time.
* Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
* Remove go build -x output build command verbosity. Use go
default arguments absent a clear need.
* Remove go build -v output line per package verbosity. Use go
default arguments absent a clear need.
-------------------------------------------------------------------
Sun Feb 2 08:40:25 UTC 2025 - Enrico Belleri <kilgore.trout@idesmi.eu>
- Packaging improvements:
* _service obs_scm remove param match tag not needed
* %check enable tests excluding tests with network access
- Update to version 0.75.0:
* Added DNSContext.QueryStatistics method that returns the DNS
query statistics for both the upstream and fallback DNS servers
* Positional (non-flag) arguments now cause an error instead of
beingignored
* The upstream.ExchangeParallel function now consistently returns
a nil upstream in case of a DNS lookup error
* Removed DNSContext.CachedUpstreamAddr and
DNSContext.QueryDuration properties
- Update to version 0.74.1:
* Fixed issue with locating the system hosts file
* Fixed everse DNS lookups for records from the hosts file
- Update to version 0.74.0:
* command-line flag --hosts-files now supports both absolute path
and relative paths
- Update to version 0.73.5:
* Fixed race conditions when using fastest_addr and parallel
upstream modes
-------------------------------------------------------------------
Sat Dec 14 01:59:27 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to version 0.73.4:
* Improved resource consumption
- Update to version 0.73.3:
* Fixed cache related log messages
* Updated golibs dependency
-------------------------------------------------------------------
Wed Oct 16 22:53:13 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>

View File

@@ -1,4 +1,4 @@
name: dnsproxy
version: 0.73.2
mtime: 1726113961
commit: 011f37a4992822fe2e5ac8f11b3d585321696f2c
version: 0.75.0
mtime: 1738171551
commit: 11779165dd116c8889cf6dca9675607f83ed2502

View File

@@ -1,7 +1,7 @@
#
# spec file for package dnsproxy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: dnsproxy
Version: 0.73.2
Version: 0.75.0
Release: 0
Summary: A DNS proxy server
License: Apache-2.0
@@ -26,7 +26,7 @@ URL: https://github.com/AdguardTeam/dnsproxy
Source: dnsproxy-%{version}.tar
Source1: vendor.tar.zstd
BuildRequires: zstd
BuildRequires: golang(API) >= 1.22
BuildRequires: golang(API) >= 1.23
%description
A DNS proxy server that supports numerous protocols, including
@@ -35,17 +35,20 @@ it can work as a DNS-over-HTTPS, DNS-over-TLS or DNS-over-QUIC
server.
%prep
%autosetup -p1 -a1
%autosetup -a 1
%build
go build \
-mod=vendor \
%ifnarch ppc64 # Does not support pie
-buildmode=pie
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
go build
%install
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
%check
# Skip tests which require network
go test -count=1 -short -failfast -shuffle=on -timeout=2m -skip='Test((Udp|Tcp|Tls|Https|Quic|DNSCrypt)Proxy|FilteringHandler|LookupNetIP|ExchangeParallel|Upstream.*|NewUpstreamResolver_validity|Proxy_trustedProxies|ProxyRace|DNSCrypt_Exchange_dialFail|FallbackFromInvalidBootstrap|OneByOneUpstreamsExchange|ExchangeWithReservedDomains|RatelimitingProxy)' ./...
%files
%license LICENSE

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfb93d0087b38a9ecfecc619008a4f601ef899b669ff98553c62ce06ea423451
size 2417435
oid sha256:3dc84dcb8aa4e2c47f4e4b42987c7b9b6654a5c6ef4a255dd42ad98048bdd6ce
size 2480568