2 # spec file for package dnscrypt
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
22 Summary: A tool
for securing communications between a client and a DNS resolver
23 Url
: http
://dnscrypt.org
24 Group: Productivity
/Networking
/DNS
/Utilities
25 Source: %{name}-proxy-%{version}.tar.bz2
26 Source1: %{name}.service
27 %if 0%{?suse_version} >= 1210
28 BuildRequires
: systemd
31 BuildRoot: %{_tmppath}/%{name}-%{version}-build
34 dnscrypt
-proxy provides
local service which can be used directly as your
local resolver or as a DNS forwarder
,
35 encrypting and authenticating requests using the DNSCrypt protocol and passing them to an upstream server
,
36 by default OpenDNS who run this on their resolvers.
38 The DNSCrypt protocol uses high
-speed high
-security elliptic
-curve cryptography and is very similar to
39 DNSCurve
, but focuses on securing communications between a client and its first
-level resolver.
41 While not providing end
-to
-end security
, it protects the
local network
, which is often the weakest point
42 of the chain
, against man
-in-the
-middle attacks. It also provides some confidentiality to DNS queries.
45 %setup -q
-n
%{name}-proxy-%{version}
54 # install systemd service
55 mkdir -p
%{buildroot}%{_unitdir}
56 cp
-r
%{SOURCE1} %{buildroot}%{_unitdir}
60 %service_add_pre %{name}.service
63 %service_add_post %{name}.service
66 %service_del_preun %{name}.service
69 %service_del_postun %{name}.service
74 %doc AUTHORS ChangeLog README COPYING NEWS TECHNOTES THANKS
76 %{_sbindir}/%{name}-proxy
77 %{_unitdir}/%{name}.service
78 %{_mandir}/man8
/hostip
.8.gz
79 %{_mandir}/man8/%{name}-proxy
.8.gz