SHA256
1
0
forked from pool/dnsproxy

9 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
7d4a1bb7a8 Accepting request 1208519 from devel:languages:go
- Update to version 0.73.2: (forwarded request 1208517 from VaiTon)

OBS-URL: https://build.opensuse.org/request/show/1208519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dnsproxy?expand=0&rev=31
2024-10-17 16:39:26 +00:00
001529e7e5 - Update to version 0.73.2:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/dnsproxy?expand=0&rev=72
2024-10-16 23:14:54 +00:00
dd11410d8c Accepting request 1196364 from devel:languages:go
- Update to version 0.73.1:
  * Fixed the hosts-file-enabled field of the YAML configuration 
    could not be parsed
- Update to version 0.73.0:
  * Added the --hosts-file-enabled and the --hosts-files options, 
    which control the preliminary resolving A, AAAA and PTR 
    requests from hosts (5) files before using the upstream servers

- Update to version 0.72.3:
  * Updated golibs dependency (forwarded request 1196363 from VaiTon)

OBS-URL: https://build.opensuse.org/request/show/1196364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dnsproxy?expand=0&rev=30
2024-08-28 19:30:15 +00:00
4ba483eb84 - Update to version 0.73.1:
* Fixed the hosts-file-enabled field of the YAML configuration 
    could not be parsed
- Update to version 0.73.0:
  * Added the --hosts-file-enabled and the --hosts-files options, 
    which control the preliminary resolving A, AAAA and PTR 
    requests from hosts (5) files before using the upstream servers

- Update to version 0.72.3:
  * Updated golibs dependency

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/dnsproxy?expand=0&rev=70
2024-08-27 22:42:51 +00:00
8 changed files with 116 additions and 29 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.72.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">791906ea48e8bb350a79b456ceeac69915583df0</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:6db613bf4d92bb432a4deb4cbc6922e14d2bc4db094fd7b850e39c1fff7503c4
size 651276

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,11 +1,97 @@
-------------------------------------------------------------------
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>
- Update to version 0.73.2:
* Get rid of github.com/jessevdk/go-flags dependency
-------------------------------------------------------------------
Tue Aug 27 21:37:03 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to version 0.73.1:
* Fixed the hosts-file-enabled field of the YAML configuration
could not be parsed
- Update to version 0.73.0:
* Added the --hosts-file-enabled and the --hosts-files options,
which control the preliminary resolving A, AAAA and PTR
requests from hosts (5) files before using the upstream servers
-------------------------------------------------------------------
Thu Aug 15 19:09:33 UTC 2024 - eyadlorenzo@gmail.com
- Update to version 0.72.3:
* Updated golibs dependency
-------------------------------------------------------------------
Wed Jul 31 21:50:26 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to version 0.72.2:
* General memory performance improvements
- Update to version 0.72.1:
* Race conditions on message ID in DNS-over-HTTPS and
* Race conditions on message ID in DNS-over-HTTPS and
DNS-over-QUIC upstream implementations
-------------------------------------------------------------------
@@ -13,7 +99,7 @@ Sun Jul 07 19:14:45 UTC 2024 - eyadlorenzo@gmail.com
- Update to version 0.72.0:
* Package API changes
-------------------------------------------------------------------
Sun Jun 02 21:02:14 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
@@ -66,12 +152,12 @@ Fri Apr 05 08:16:29 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to version 0.68.0:
* PTR requests for domains containing DNS64 prefixes are now
answered with NXDOMAIN if proxy.Config.UseDNS64 is set to
answered with NXDOMAIN if proxy.Config.UseDNS64 is set to
true, but proxy.Config.UsePrivateRDNS is not.
* Fallback servers aren't used for the aforementioned requests,
as well as for all private RDNS requests.
* All the private RDNS requests coming from external
(non-private) client are now answered with NXDOMAIN
* All the private RDNS requests coming from external
(non-private) client are now answered with NXDOMAIN
before proxy.RequestHandler.
- Update to version 0.67.0
@@ -82,7 +168,7 @@ Tue Apr 02 15:17:20 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to version 0.66.1:
* DNS64-mapped PTR requests now checked for possible resolving recursion.
- Update to version 0.66.0:
* API Changes

View File

@@ -1,4 +1,4 @@
name: dnsproxy
version: 0.72.2
mtime: 1722443806
commit: 791906ea48e8bb350a79b456ceeac69915583df0
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.72.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:900dea2a5bbd88d7c1930ac67ef8cf844b56c7bc83e05456d53fe699926fcfaa
size 2445125
oid sha256:3dc84dcb8aa4e2c47f4e4b42987c7b9b6654a5c6ef4a255dd42ad98048bdd6ce
size 2480568