Accepting request 597363 from home:dheidler
- Initial Package OBS-URL: https://build.opensuse.org/request/show/597363 OBS-URL: https://build.opensuse.org/package/show/network/openresolv?expand=0&rev=1
This commit is contained in:
commit
257292c282
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
openresolv-3.9.0.tar.xz
Normal file
3
openresolv-3.9.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:51a04d39232bb797c9efeaad51a525cf50a1deefcb19a1ea5dd3475118634db8
|
||||||
|
size 18844
|
4
openresolv.changes
Normal file
4
openresolv.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 16 14:51:02 UTC 2018 - dheidler@suse.com
|
||||||
|
|
||||||
|
- Initial Package
|
56
openresolv.spec
Normal file
56
openresolv.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: openresolv
|
||||||
|
Version: 3.9.0
|
||||||
|
Release: 0
|
||||||
|
Summary: DNS management framework
|
||||||
|
License: BSD-2-Clause
|
||||||
|
Group: Productivity/Networking/DNS/Utilities
|
||||||
|
Url: https://roy.marples.name/projects/openresolv
|
||||||
|
Source: https://roy.marples.name/downloads/openresolv/%{name}-%{version}.tar.xz
|
||||||
|
Requires: sh
|
||||||
|
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
|
||||||
|
%setup -q
|
||||||
|
sed -i -e 's/^#!\/bin\/sh$//' named.in pdnsd.in dnsmasq.in unbound.in libc.in
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure --bindir=/usr/sbin --libexecdir=/usr/lib/resolvconf
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README
|
||||||
|
%config(noreplace) %{_sysconfdir}/resolvconf.conf
|
||||||
|
%dir /usr/lib/resolvconf
|
||||||
|
/usr/lib/resolvconf/*
|
||||||
|
/usr/sbin/resolvconf
|
||||||
|
/usr/share/man/man5/resolvconf.*
|
||||||
|
/usr/share/man/man8/resolvconf.*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user