Accepting request 768178 from home:kukuk:branches:Base:System

- Re-add host.conf with fixed comments, only remove libc 4/5
  comments/entries.

OBS-URL: https://build.opensuse.org/request/show/768178
OBS-URL: https://build.opensuse.org/package/show/Base:System/netcfg?expand=0&rev=64
This commit is contained in:
Tomáš Chvátal 2020-01-29 07:21:03 +00:00 committed by Git OBS Bridge
parent 7d2246ecd6
commit acd7895218
3 changed files with 16 additions and 2 deletions

6
host.conf Normal file
View File

@ -0,0 +1,6 @@
#
# /etc/host.conf - resolver configuration file
#
# Please read the manual page host.conf(5) for more information.
#
multi on

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 28 20:15:47 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Re-add host.conf with fixed comments, only remove libc 4/5
comments/entries.
-------------------------------------------------------------------
Fri Dec 6 08:41:17 UTC 2019 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package netcfg
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,7 @@ Group: System/Base
Source0: defaultdomain
Source1: exports
Source2: ftpusers
Source3: host.conf
Source4: hosts
Source5: hosts.allow
Source6: hosts.deny
@ -61,7 +62,7 @@ cp %{SOURCE16} .
%install
mkdir -p %{buildroot}%{_sysconfdir}
for i in hostname aliases defaultdomain exports ftpusers hosts hosts.allow hosts.deny hosts.equiv hosts.lpd netgroup ethertypes; do
for i in hostname aliases defaultdomain exports ftpusers host.conf hosts hosts.allow hosts.deny hosts.equiv hosts.lpd netgroup ethertypes; do
install $RPM_SOURCE_DIR/$i %{buildroot}/%{_sysconfdir}
done
mkdir -p %{buildroot}%{_prefix}%{_sysconfdir}
@ -80,6 +81,7 @@ rm -f %{buildroot}%{_prefix}%{_sysconfdir}/services.orig
%verify(not md5 size mtime) %{_distconfdir}/ethers
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/ftpusers
%config(noreplace) %{_sysconfdir}/host.conf
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.allow
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.deny