diff --git a/ethers b/ethers deleted file mode 100644 index 62a9859..0000000 --- a/ethers +++ /dev/null @@ -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 -# -# diff --git a/hosts b/hosts index be82a97..911b4d2 100644 --- a/hosts +++ b/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 diff --git a/netcfg.changes b/netcfg.changes index 6fdc0f9..c83fe65 100644 --- a/netcfg.changes +++ b/netcfg.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Nov 21 08:39:54 UTC 2023 - Thorsten Kukuk + +- Fix syntax of localhost entries in hosts [bsc#1217355] + +------------------------------------------------------------------- +Mon Nov 20 14:00:02 UTC 2023 - Thorsten Kukuk + +- 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 diff --git a/netcfg.spec b/netcfg.spec index a0a5e93..fa38f72 100644 --- a/netcfg.spec +++ b/netcfg.spec @@ -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 diff --git a/netgroup b/netgroup deleted file mode 100644 index cd696b7..0000000 --- a/netgroup +++ /dev/null @@ -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,,) -