|
|
a1e7aa3 |
Name: stubby
|
|
|
a736995 |
Version: 0.4.3
|
|
|
b3593c3 |
Release: 2%{?dist}
|
|
|
a1e7aa3 |
Summary: Application that act as a local DNS Privacy stub resolver
|
|
|
a1e7aa3 |
|
|
|
9ec25f1 |
License: BSD-3-Clause
|
|
|
4d78ba6 |
URL: https://github.com/getdnsapi/stubby
|
|
|
4d78ba6 |
Source0: https://github.com/getdnsapi/stubby/archive/v%{version}/stubby-%{version}.tar.gz
|
|
|
a1e7aa3 |
|
|
|
4d78ba6 |
Provides: getdns-stubby = 1.7.0-1
|
|
|
4d78ba6 |
Obsoletes: getdns-stubby < 1.7.0-1
|
|
|
4720b20 |
%{?systemd_requires}
|
|
|
a1e7aa3 |
|
|
|
651e372 |
Patch1: stubby-0.3.1-dnssec-ta.patch
|
|
|
651e372 |
|
|
|
96b7b80 |
BuildRequires: gcc
|
|
|
96b7b80 |
BuildRequires: make
|
|
|
96b7b80 |
BuildRequires: cmake
|
|
|
96b7b80 |
BuildRequires: getdns-devel >= 0.7.0
|
|
|
96b7b80 |
BuildRequires: openssl-devel
|
|
|
96b7b80 |
BuildRequires: libyaml-devel
|
|
|
96b7b80 |
BuildRequires: systemd-rpm-macros
|
|
|
4720b20 |
|
|
|
a1e7aa3 |
%description
|
|
|
a1e7aa3 |
Stubby is a local DNS Privacy stub resolver (using DNS-over-TLS).
|
|
|
4d78ba6 |
Stubby encrypts DNS queries sent from a client machine to a
|
|
|
a1e7aa3 |
DNS Privacy resolver increasing end user privacy.
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
%prep
|
|
|
eaf1ff9 |
%autosetup -p1
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
%build
|
|
|
6d02ced |
%cmake -DCMAKE_BUILD_TYPE:STRING=Release
|
|
|
1dcc7c4 |
%cmake_build
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
%install
|
|
|
1dcc7c4 |
%cmake_install
|
|
|
a1e7aa3 |
find %{buildroot} -size 0 -delete
|
|
|
a1e7aa3 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
a1e7aa3 |
install -pm 0644 systemd/stubby.service %{buildroot}%{_unitdir}/stubby.service
|
|
|
a1e7aa3 |
|
|
|
4720b20 |
%preun
|
|
|
4720b20 |
%systemd_preun %{name}
|
|
|
4720b20 |
|
|
|
4720b20 |
%post
|
|
|
4720b20 |
# systemd would replace it with symlink
|
|
|
4d78ba6 |
if [ ! -L "%{_localstatedir}/cache/stubby" -a -d "%{_localstatedir}/cache/stubby" ]; then
|
|
|
4d78ba6 |
mv "%{_localstatedir}/cache/stubby"{,.rpmsave}
|
|
|
4720b20 |
fi
|
|
|
4720b20 |
%systemd_post %{name}
|
|
|
4720b20 |
|
|
|
4720b20 |
%postun
|
|
|
4720b20 |
%systemd_postun_with_restart %{name}
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
%files
|
|
|
4d78ba6 |
%{_bindir}/stubby
|
|
|
4d78ba6 |
%config(noreplace) %{_sysconfdir}/stubby
|
|
|
4d78ba6 |
%ghost %{_localstatedir}/cache/stubby
|
|
|
a1e7aa3 |
%{_unitdir}/stubby.service
|
|
|
4d78ba6 |
%{_mandir}/man1/stubby.1.gz
|
|
|
a1e7aa3 |
%dir %{_docdir}/%{name}
|
|
|
a1e7aa3 |
%{_docdir}/%{name}/AUTHORS
|
|
|
a1e7aa3 |
%license %{_docdir}/%{name}/COPYING
|
|
|
a1e7aa3 |
%{_docdir}/%{name}/ChangeLog
|
|
|
a1e7aa3 |
%{_docdir}/%{name}/README.md
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
%changelog
|
|
|
b3593c3 |
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
|
|
|
b3593c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
b3593c3 |
|
|
|
a736995 |
* Tue Jan 03 2023 Petr Menšík <pemensik@redhat.com> - 0.4.3-1
|
|
|
a736995 |
- Update to 0.4.3 (#2156047)
|
|
|
a736995 |
|
|
|
eaf1ff9 |
* Sat Oct 15 2022 Petr Menšík <pemensik@redhat.com> - 0.4.2-2
|
|
|
eaf1ff9 |
- Private users do not work with dynamic users
|
|
|
7708e3b |
- Provide path to unbound-anchor key, but keep it commented out
|
|
|
eaf1ff9 |
|
|
|
a7bced6 |
* Thu Oct 13 2022 Petr Menšík <pemensik@redhat.com> - 0.4.2-1
|
|
|
a7bced6 |
- Update to 0.4.2 (#1974450)
|
|
|
651e372 |
- Use unbound-anchor key again
|
|
|
a7bced6 |
|
|
|
9ec25f1 |
* Fri Sep 30 2022 Petr Menšík <pemensik@redhat.com> - 0.4.0-6
|
|
|
9ec25f1 |
- Update License tag to SPDX identifier
|
|
|
9ec25f1 |
|
|
|
6d02ced |
* Tue Aug 2 2022 Joe Orton <jorton@redhat.com> - 0.4.0-5
|
|
|
6d02ced |
- fix build (#2113738)
|
|
|
6d02ced |
|
|
|
5e0544d |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4
|
|
|
5e0544d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
5e0544d |
|
|
|
353cd0f |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
|
|
|
353cd0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
353cd0f |
|
|
|
ff62ea3 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
|
ff62ea3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
ff62ea3 |
|
|
|
4d78ba6 |
* Mon Jun 07 2021 Paul Wouters <paul.wouters@aiven.io> - 0.4.0-1
|
|
|
4d78ba6 |
- Resolves: rhbz#1968092 stubby-0.4.0 is available
|
|
|
4d78ba6 |
|
|
|
bcf6fbb |
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.1-0.9.20200318git7939e965
|
|
|
bcf6fbb |
- Rebuilt for updated systemd-rpm-macros
|
|
|
bcf6fbb |
See https://pagure.io/fesco/issue/2583.
|
|
|
bcf6fbb |
|
|
|
335a719 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-0.8.20200318git7939e965
|
|
|
335a719 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
335a719 |
|
|
|
8091e0b |
* Fri Oct 16 2020 Petr Menšík <pemensik@redhat.com> - 0.3.1-0.7.20200318git7939e965
|
|
|
8091e0b |
- Move only directory, not symlink on upgrade (#1884575)
|
|
|
8091e0b |
|
|
|
4720b20 |
* Mon Oct 05 2020 Petr Menšík <pemensik@redhat.com> - 0.3.1-0.6.20200318git7939e965
|
|
|
4720b20 |
- Move old cache directory on upgrade (#1884575)
|
|
|
4720b20 |
|
|
|
1dcc7c4 |
* Mon Aug 10 2020 Artem Egorenkov <aegorenk@redhat.com> - 0.3.1-0.5.20200318git7939e965
|
|
|
1dcc7c4 |
- cmake macros are used instead of make
|
|
|
1dcc7c4 |
|
|
|
1d12aa6 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-0.4.20200318git7939e965
|
|
|
1d12aa6 |
- Second attempt - Rebuilt for
|
|
|
1d12aa6 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1d12aa6 |
|
|
|
89d1b16 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-0.3.20200318git7939e965
|
|
|
89d1b16 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
89d1b16 |
|
|
|
a1e7aa3 |
* Wed Mar 18 2020 Artem Egorenkov <aegorenk@redhat.com> - 0.3.1-0.2.20200318git7939e965
|
|
|
a1e7aa3 |
- Snapshot information field added
|
|
|
a1e7aa3 |
- systemd-rpm-macros added to build requirements
|
|
|
a1e7aa3 |
- systemd-devel and systemd removed from build requirements
|
|
|
a1e7aa3 |
- Obsoletes version for getns-stubby fixed
|
|
|
a1e7aa3 |
|
|
|
a1e7aa3 |
* Thu Mar 12 2020 Artem Egorenkov <aegorenk@redhat.com> - 0.3.1-0.1.29785b
|
|
|
a1e7aa3 |
- First stubby package
|