Accepting request 254518 from home:MargueriteSu:branches:server:dns

OBS-URL: https://build.opensuse.org/request/show/254518
OBS-URL: https://build.opensuse.org/package/show/server:dns/dnscrypt-proxy?expand=0&rev=3
This commit is contained in:
Marguerite Su 2014-10-07 14:32:39 +00:00 committed by Git OBS Bridge
parent e0f122a2bc
commit a677ca5c3b
3 changed files with 12 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# This file is part of dnscrypt # This file is part of dnscrypt-proxy
# Author: Marguerite Su <i@marguerite.su> with some AUR references. # Author: Marguerite Su <i@marguerite.su> with some AUR references.
# Version: 1.4.0 # Version: 1.4.0
# Description: dnscrypt is a tool that encrypts your DNS queries in order to # Description: dnscrypt is a tool that encrypts your DNS queries in order to
@ -26,3 +26,4 @@ Restart=on-abort
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Alias=dnscrypt.service

View File

@ -1,5 +1,5 @@
# #
# spec file for package dnscrypt # spec file for package dnscrypt-proxy
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -16,7 +16,7 @@
# #
Name: dnscrypt Name: dnscrypt-proxy
Version: 1.4.1 Version: 1.4.1
Release: 0 Release: 0
Summary: A tool for securing communications between a client and a DNS resolver Summary: A tool for securing communications between a client and a DNS resolver
@ -24,7 +24,7 @@ License: BSD-3-Clause
Group: Productivity/Networking/DNS/Utilities Group: Productivity/Networking/DNS/Utilities
#Git-Url: https://github.com/jedisct1/dnscrypt-proxy #Git-Url: https://github.com/jedisct1/dnscrypt-proxy
Url: http://dnscrypt.org Url: http://dnscrypt.org
Source: http://download.dnscrypt.org/dnscrypt-proxy/%{name}-proxy-%{version}.tar.bz2 Source: http://download.dnscrypt.org/dnscrypt-proxy/%{name}-%{version}.tar.bz2
Source1: %{name}.service Source1: %{name}.service
BuildRequires: libsodium-devel BuildRequires: libsodium-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -32,6 +32,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: systemd BuildRequires: systemd
%{?systemd_requires} %{?systemd_requires}
%endif %endif
Provides: dnscrypt = %{version}-%{release}
Obsoletes: dnscrypt < %{version}-%{release}
%description %description
dnscrypt-proxy provides local service which can be used directly as your local resolver or as a DNS forwarder, dnscrypt-proxy provides local service which can be used directly as your local resolver or as a DNS forwarder,
@ -45,7 +47,7 @@ While not providing end-to-end security, it protects the local network, which is
of the chain, against man-in-the-middle attacks. It also provides some confidentiality to DNS queries. of the chain, against man-in-the-middle attacks. It also provides some confidentiality to DNS queries.
%prep %prep
%setup -q -n %{name}-proxy-%{version} %setup -q
%build %build
%configure %configure
@ -77,11 +79,11 @@ cp -r %{SOURCE1} %{buildroot}%{_unitdir}
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog README COPYING NEWS TECHNOTES THANKS %doc AUTHORS ChangeLog README COPYING NEWS TECHNOTES THANKS
%{_bindir}/hostip %{_bindir}/hostip
%{_sbindir}/%{name}-proxy %{_sbindir}/%{name}
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%{_mandir}/man8/hostip.8.gz %{_mandir}/man8/hostip.8.gz
%{_mandir}/man8/%{name}-proxy.8.gz %{_mandir}/man8/%{name}.8.gz
%dir %{_datadir}/%{name}-proxy %dir %{_datadir}/%{name}
%{_datadir}/%{name}-proxy/%{name}-resolvers.csv %{_datadir}/%{name}/dnscrypt-resolvers.csv
%changelog %changelog