forked from pool/netcfg
Accepting request 1129940 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1129940 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcfg?expand=0&rev=52
This commit is contained in:
commit
bb434f2643
16
ethers
16
ethers
@ -1,16 +0,0 @@
|
||||
#
|
||||
# ethers This file contains 48 bit Ethernet addresses and their
|
||||
# corresponding IP number or hostname. The two items are
|
||||
# separated by any number of SPACE and/or TAB char acters.
|
||||
# A at the beginning of a line starts a comment which extends
|
||||
# to the end of the line. The Ethernet-address is written as
|
||||
# x:x:x:x:x:x, where x is a hexadecimal number between 0 and
|
||||
# ff which represents one byte of the address, which is in
|
||||
# network byte order (bigendian). The IP-number may be a
|
||||
# hostname which can be resolved by DNS or a dot separated
|
||||
# number.
|
||||
#
|
||||
# Syntax:
|
||||
# Ethernet-address IP-number
|
||||
#
|
||||
#
|
7
hosts
7
hosts
@ -9,13 +9,10 @@
|
||||
# IP-Address Full-Qualified-Hostname Short-Hostname
|
||||
#
|
||||
|
||||
127.0.0.1 localhost
|
||||
# fallback hostname used by NetworkManager
|
||||
127.0.0.1 localhost.localdomain
|
||||
127.0.0.1 localhost localhost.localdomain
|
||||
::1 localhost localhost.localdomain ipv6-localhost ipv6-loopback
|
||||
|
||||
# special IPv6 addresses
|
||||
::1 localhost ipv6-localhost ipv6-loopback
|
||||
|
||||
fe00::0 ipv6-localnet
|
||||
|
||||
ff00::0 ipv6-mcastprefix
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 21 08:39:54 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Fix syntax of localhost entries in hosts [bsc#1217355]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 20 14:00:02 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Remove empty netgroup example file from /etc [jsc#PED-240].
|
||||
NIS, the main consumer, got already dropped.
|
||||
- Remove empty ethers example file, /usr/etc should not contain
|
||||
examples, for the format there is the manual page, does not
|
||||
support IPv6.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 09:45:23 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
@ -30,8 +30,6 @@ Source10: protocols
|
||||
Source11: services.bz2
|
||||
Source12: hostname
|
||||
Source13: aliases
|
||||
Source14: ethers
|
||||
Source15: netgroup
|
||||
Source16: COPYING
|
||||
Source17: ethertypes
|
||||
Source100: services-compare.pl
|
||||
@ -58,11 +56,11 @@ cp %{SOURCE16} .
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
for i in hostname aliases exports host.conf hosts netgroup ethertypes; do
|
||||
for i in hostname aliases exports host.conf hosts ethertypes; do
|
||||
install $RPM_SOURCE_DIR/$i %{buildroot}/%{_sysconfdir}
|
||||
done
|
||||
mkdir -p %{buildroot}%{_prefix}%{_sysconfdir}
|
||||
for i in networks protocols services.bz2 ethers; do
|
||||
for i in networks protocols services.bz2; do
|
||||
install $RPM_SOURCE_DIR/$i %{buildroot}%{_prefix}%{_sysconfdir}
|
||||
done
|
||||
bunzip2 %{buildroot}%{_prefix}%{_sysconfdir}/services.bz2
|
||||
@ -75,11 +73,9 @@ install -d -m 0755 %{buildroot}/%{_sysconfdir}/exports.d
|
||||
%defattr(644,root,root,755)
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hostname
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/aliases
|
||||
%verify(not md5 size mtime) %{_prefix}%{_sysconfdir}/ethers
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports
|
||||
%config(noreplace) %{_sysconfdir}/host.conf
|
||||
%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts
|
||||
%config(noreplace) %{_sysconfdir}/netgroup
|
||||
%{_prefix}%{_sysconfdir}/networks
|
||||
%{_prefix}%{_sysconfdir}/protocols
|
||||
%{_prefix}%{_sysconfdir}/services
|
||||
|
24
netgroup
24
netgroup
@ -1,24 +0,0 @@
|
||||
#
|
||||
# netgroup The netgroup file. Entries look like this:
|
||||
#
|
||||
# netgroup (host,user,domain) (host,user,domain) ..
|
||||
#
|
||||
# So for example a netgroup for powerusers could be:
|
||||
#
|
||||
# powerusers (,miquels,) (,torvalds,) (,fubar,)
|
||||
#
|
||||
# And an entry in the password file like
|
||||
#
|
||||
# +@powerusers::::::
|
||||
# +:*:::::/etc/NoShell
|
||||
#
|
||||
#
|
||||
# would give access only to the users in "powerusers", while the
|
||||
# other users would be known to the system but have an invalid
|
||||
# shell AND an invalid password (with Linux, you can also
|
||||
# override the password field).
|
||||
#
|
||||
|
||||
# powerusers (,miquels,) (,torvalds,) (,fubar,)
|
||||
# ourhosts (picard,,) (enterprise,,) (laforge,,) (Q,,)
|
||||
|
Loading…
Reference in New Issue
Block a user