2019-11-04 08:12:31 +00:00
|
|
|
#
|
|
|
|
# spec file for package openresolv
|
|
|
|
#
|
2023-12-06 10:31:22 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-04-20 01:02:11 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-11-04 08:12:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-04-20 01:02:11 +00:00
|
|
|
#
|
|
|
|
|
2019-11-04 08:12:31 +00:00
|
|
|
|
2018-04-20 01:02:11 +00:00
|
|
|
Name: openresolv
|
2023-12-06 10:31:22 +00:00
|
|
|
Version: 3.13.2
|
2018-04-20 01:02:11 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: DNS management framework
|
|
|
|
License: BSD-2-Clause
|
2019-11-04 08:12:31 +00:00
|
|
|
URL: https://roy.marples.name/projects/openresolv
|
2023-12-06 10:31:22 +00:00
|
|
|
Source0: https://github.com/NetworkConfiguration/openresolv/releases/download/v3.13.2/openresolv-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/NetworkConfiguration/openresolv/releases/download/v3.13.2/openresolv-%{version}.tar.xz.asc
|
2018-04-20 09:41:04 +00:00
|
|
|
Requires: bash
|
2018-04-20 01:02:11 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
/etc/resolv.conf is a file that holds the configuration for the local resolution of domain names.
|
|
|
|
Normally this file is either static or maintained by a local daemon, normally a DHCP daemon.
|
|
|
|
openresolv will make sure, that multiple processes (eg. dhcpcd, NetworkManager, openvpn)
|
|
|
|
can write the resolv.conf without overwriting each others changes.
|
|
|
|
|
|
|
|
openresolv can generate a combined resolv.conf or a configuration file for a local nameserver
|
|
|
|
(like unbound, dnsmasq or bind) that will route the dns requests according to the search domain.
|
|
|
|
|
|
|
|
%prep
|
2023-12-06 10:31:22 +00:00
|
|
|
%autosetup
|
2019-11-04 08:12:31 +00:00
|
|
|
sed -i -e 's/^#!\/bin\/sh$//' named.in pdnsd.in dnsmasq.in unbound.in libc.in pdns_recursor.in
|
2018-04-20 01:02:11 +00:00
|
|
|
|
|
|
|
%build
|
2019-11-04 08:12:31 +00:00
|
|
|
./configure --bindir=%{_sbindir} --libexecdir=%{_libexecdir}/resolvconf
|
2023-12-06 10:31:22 +00:00
|
|
|
%make_build
|
2018-04-20 01:02:11 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
2019-11-04 08:12:31 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
2018-04-20 01:02:11 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/resolvconf.conf
|
2019-11-04 08:12:31 +00:00
|
|
|
%dir %{_libexecdir}/resolvconf
|
|
|
|
%{_libexecdir}/resolvconf/*
|
|
|
|
%{_sbindir}/resolvconf
|
|
|
|
%{_mandir}/man5/resolvconf.conf.5%{?ext_man}
|
|
|
|
%{_mandir}/man8/resolvconf.8%{?ext_man}
|
2018-04-20 01:02:11 +00:00
|
|
|
|
|
|
|
%changelog
|