Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Troy Dawson
3e7d786dbe epel8-playground decommissioned : https://pagure.io/epel/issue/136 2022-01-31 17:30:45 -08:00
Petr Menšík
bf6aa8d664 Adjust spec macros to EPEL8
%cmake_build macros are not yet supported on EPEL. Use build in source
dir and legacy %make_build instead.
2020-09-03 20:58:16 +02:00
6 changed files with 1 additions and 98 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/stubby-0.3.1.tar.gz

View file

@ -1,3 +0,0 @@
# stubby
The stubby package

1
dead.package Normal file
View file

@ -0,0 +1 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

View file

@ -1 +0,0 @@
SHA512 (stubby-0.3.1.tar.gz) = 34e2eb7f37ed7323469b5bd9791c62834c1b1a9698e2d8e3bd3aebdc4e9cb0c71a855e85f5301a13bc1f7ef89d6f337a769dc39465fb0d67e147b1371730d5fa

View file

@ -1,11 +0,0 @@
diff -up getdns-1.6.0/stubby/stubby.yml.example.anchor getdns-1.6.0/stubby/stubby.yml.example
--- getdns-1.6.0/stubby/stubby.yml.example.anchor 2020-03-11 23:57:32.380258063 +0100
+++ getdns-1.6.0/stubby/stubby.yml.example 2020-03-11 23:59:59.545636591 +0100
@@ -157,6 +157,7 @@ listen_addresses:
# Specify the location of the installed trust anchor file to override the
# default location (see above)
# dnssec_trust_anchors: "/etc/unbound/getdns-root.key"
+dnssec_trust_anchors: "/var/lib/unbound/root.key"
################################## UPSTREAMS ################################

View file

@ -1,82 +0,0 @@
%global git_commit 7939e9652acb120d43d37db2eb0dea986f29785b
%global git_date 20200318
%global git_short_commit %(echo %{git_commit} | cut -c -8)
%global git_suffix %{git_date}git%{git_short_commit}
Name: stubby
Version: 0.3.1
Release: 0.5.%{git_suffix}%{?dist}
Summary: Application that act as a local DNS Privacy stub resolver
License: BSD
URL: https://github.com/getdnsapi/%{name}
Source0: https://github.com/getdnsapi/stubby/archive/%{git_commit}/%{name}-%{version}.tar.gz
Provides: getdns-stubby = 1.6.0-2
Obsoletes: getdns-stubby < 1.6.0-2
BuildRequires: gcc
BuildRequires: make
BuildRequires: cmake
BuildRequires: getdns-devel
BuildRequires: libyaml-devel
BuildRequires: systemd-rpm-macros
Patch1: stubby-0.3.1-dnssec-ta.patch
%description
Stubby is a local DNS Privacy stub resolver (using DNS-over-TLS).
Stubby encrypts DNS queries sent from a client machine to a
DNS Privacy resolver increasing end user privacy.
%prep
%autosetup -n stubby-%{git_commit}
%build
%cmake -DCMAKE_BUILD_TYPE:STRING=Release .
%cmake_build
%install
%cmake_install
find %{buildroot} -size 0 -delete
mkdir -p %{buildroot}%{_unitdir}
install -pm 0644 systemd/stubby.service %{buildroot}%{_unitdir}/stubby.service
%files
%{_bindir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}
%{_unitdir}/stubby.service
%{_mandir}/man1/%{name}.1.gz
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/AUTHORS
%license %{_docdir}/%{name}/COPYING
%{_docdir}/%{name}/ChangeLog
%{_docdir}/%{name}/README.md
%changelog
* Mon Aug 10 2020 Artem Egorenkov <aegorenk@redhat.com> - 0.3.1-0.5.20200318git7939e965
- cmake macros are used instead of make
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-0.4.20200318git7939e965
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-0.3.20200318git7939e965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Mar 18 2020 Artem Egorenkov <aegorenk@redhat.com> - 0.3.1-0.2.20200318git7939e965
- Snapshot information field added
- systemd-rpm-macros added to build requirements
- systemd-devel and systemd removed from build requirements
- Obsoletes version for getns-stubby fixed
* Thu Mar 12 2020 Artem Egorenkov <aegorenk@redhat.com> - 0.3.1-0.1.29785b
- First stubby package