diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2022-01-02 20:40:21 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-01-03 08:59:54 +0100 |
commit | 776cc36f81c77479609546ff8ed87b56ec71a279 (patch) | |
tree | 762ccb3a3f8fedef53ab339908a399fc5318f1d6 | |
parent | 4b5d75483c1f858242945982c4bf879f9a7929ac (diff) | |
download | current-776cc36f81c77479609546ff8ed87b56ec71a279.tar.gz current-776cc36f81c77479609546ff8ed87b56ec71a279.tar.xz |
Sun Jan 2 20:40:21 UTC 202220220102204021
d/doxygen-1.9.3-x86_64-1.txz: Upgraded.
n/network-scripts-15.0-noarch-18.txz: Rebuilt.
netconfig: when DHCP configuration is selected, also add hostname labeled
loopback entries to /etc/hosts. We don't want to have to rely on something
else providing correct name service in order to be able to reach our
machine through its own hostname. This was a regression since the netconfig
shipped with Slackware 14.2.
Thanks to Zexuo.
-rw-r--r-- | ChangeLog.rss | 22 | ||||
-rw-r--r-- | ChangeLog.txt | 10 | ||||
-rw-r--r-- | FILELIST.TXT | 59 | ||||
-rw-r--r-- | source/n/network-scripts/0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch | 25 | ||||
-rwxr-xr-x | source/n/network-scripts/network-scripts.SlackBuild | 9 |
5 files changed, 93 insertions, 32 deletions
diff --git a/ChangeLog.rss b/ChangeLog.rss index 47edc981f..5b24680ac 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,10 +11,28 @@ <description>Tracking Slackware development in git.</description> <language>en-us</language> <id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id> - <pubDate>Sun, 2 Jan 2022 01:25:29 GMT</pubDate> - <lastBuildDate>Sun, 2 Jan 2022 07:59:44 GMT</lastBuildDate> + <pubDate>Sun, 2 Jan 2022 20:40:21 GMT</pubDate> + <lastBuildDate>Mon, 3 Jan 2022 07:59:44 GMT</lastBuildDate> <generator>maintain_current_git.sh v 1.13</generator> <item> + <title>Sun, 2 Jan 2022 20:40:21 GMT</title> + <pubDate>Sun, 2 Jan 2022 20:40:21 GMT</pubDate> + <link>https://git.slackware.nl/current/tag/?h=20220102204021</link> + <guid isPermaLink="false">20220102204021</guid> + <description> + <![CDATA[<pre> +d/doxygen-1.9.3-x86_64-1.txz: Upgraded. +n/network-scripts-15.0-noarch-18.txz: Rebuilt. + netconfig: when DHCP configuration is selected, also add hostname labeled + loopback entries to /etc/hosts. We don't want to have to rely on something + else providing correct name service in order to be able to reach our + machine through its own hostname. This was a regression since the netconfig + shipped with Slackware 14.2. + Thanks to Zexuo. + </pre>]]> + </description> + </item> + <item> <title>Sun, 2 Jan 2022 01:25:29 GMT</title> <pubDate>Sun, 2 Jan 2022 01:25:29 GMT</pubDate> <link>https://git.slackware.nl/current/tag/?h=20220102012529</link> diff --git a/ChangeLog.txt b/ChangeLog.txt index d1d3cdc90..a4df2d1f4 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,13 @@ +Sun Jan 2 20:40:21 UTC 2022 +d/doxygen-1.9.3-x86_64-1.txz: Upgraded. +n/network-scripts-15.0-noarch-18.txz: Rebuilt. + netconfig: when DHCP configuration is selected, also add hostname labeled + loopback entries to /etc/hosts. We don't want to have to rely on something + else providing correct name service in order to be able to reach our + machine through its own hostname. This was a regression since the netconfig + shipped with Slackware 14.2. + Thanks to Zexuo. ++--------------------------+ Sun Jan 2 01:25:29 UTC 2022 a/mdadm-4.2-x86_64-1.txz: Upgraded. ap/usbmuxd-20210925_e3a3180-x86_64-1.txz: Upgraded. diff --git a/FILELIST.TXT b/FILELIST.TXT index 3fde87dd5..7cb48f121 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Sun Jan 2 01:28:35 UTC 2022 +Sun Jan 2 20:43:22 UTC 2022 Here is the file list for this directory. If you are using a mirror site and find missing or extra files in the disk subdirectories, please have the archive administrator refresh the mirror. -drwxr-xr-x 12 root root 4096 2022-01-02 01:25 . +drwxr-xr-x 12 root root 4096 2022-01-02 20:40 . -rw-r--r-- 1 root root 10064 2016-06-30 18:39 ./ANNOUNCE.14_2 -rw-r--r-- 1 root root 15573 2021-12-07 17:35 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1094050 2021-12-31 19:47 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2021-12-31 19:47 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1094749 2022-01-02 01:28 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-01-02 01:28 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT --rw-r--r-- 1 root root 1817065 2022-01-02 01:25 ./ChangeLog.txt +-rw-r--r-- 1 root root 1817564 2022-01-02 20:40 ./ChangeLog.txt drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 2 root root 4096 2021-12-29 20:48 ./EFI/BOOT -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi @@ -25,9 +25,9 @@ drwxr-xr-x 2 root root 4096 2021-12-29 20:48 ./EFI/BOOT -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg --rw-r--r-- 1 root root 1424387 2021-12-31 19:47 ./FILELIST.TXT +-rw-r--r-- 1 root root 1425291 2022-01-02 01:28 ./FILELIST.TXT -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY --rw-r--r-- 1 root root 864735 2022-01-02 01:28 ./PACKAGES.TXT +-rw-r--r-- 1 root root 864735 2022-01-02 20:42 ./PACKAGES.TXT -rw-r--r-- 1 root root 8564 2016-06-28 21:33 ./README.TXT -rw-r--r-- 1 root root 3635 2021-12-29 20:20 ./README.initrd -rw-r--r-- 1 root root 34412 2017-12-01 17:44 ./README_CRYPT.TXT @@ -743,11 +743,11 @@ drwxr-xr-x 2 root root 4096 2012-09-20 18:06 ./patches -rw-r--r-- 1 root root 575 2012-09-20 18:06 ./patches/FILE_LIST -rw-r--r-- 1 root root 14 2012-09-20 18:06 ./patches/MANIFEST.bz2 -rw-r--r-- 1 root root 224 2012-09-20 18:06 ./patches/PACKAGES.TXT -drwxr-xr-x 17 root root 4096 2022-01-02 01:28 ./slackware64 --rw-r--r-- 1 root root 337483 2022-01-02 01:28 ./slackware64/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-01-02 01:28 ./slackware64/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 418542 2022-01-02 01:27 ./slackware64/FILE_LIST --rw-r--r-- 1 root root 4153582 2022-01-02 01:27 ./slackware64/MANIFEST.bz2 +drwxr-xr-x 17 root root 4096 2022-01-02 20:43 ./slackware64 +-rw-r--r-- 1 root root 337483 2022-01-02 20:43 ./slackware64/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-01-02 20:43 ./slackware64/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 418542 2022-01-02 20:42 ./slackware64/FILE_LIST +-rw-r--r-- 1 root root 4152370 2022-01-02 20:42 ./slackware64/MANIFEST.bz2 lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT drwxr-xr-x 2 root root 32768 2022-01-02 01:27 ./slackware64/a -rw-r--r-- 1 root root 327 2021-07-17 17:47 ./slackware64/a/aaa_base-15.0-x86_64-1.txt @@ -1385,7 +1385,7 @@ drwxr-xr-x 2 root root 20480 2022-01-02 01:27 ./slackware64/ap -rw-r--r-- 1 root root 506 2021-02-13 11:48 ./slackware64/ap/zsh-5.8-x86_64-3.txt -rw-r--r-- 1 root root 3056824 2021-02-13 11:48 ./slackware64/ap/zsh-5.8-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 11:48 ./slackware64/ap/zsh-5.8-x86_64-3.txz.asc -drwxr-xr-x 2 root root 20480 2021-12-29 20:51 ./slackware64/d +drwxr-xr-x 2 root root 20480 2022-01-02 20:42 ./slackware64/d -rw-r--r-- 1 root root 360 2021-12-17 05:34 ./slackware64/d/Cython-0.29.26-x86_64-1.txt -rw-r--r-- 1 root root 2392444 2021-12-17 05:34 ./slackware64/d/Cython-0.29.26-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-12-17 05:34 ./slackware64/d/Cython-0.29.26-x86_64-1.txz.asc @@ -1428,9 +1428,9 @@ drwxr-xr-x 2 root root 20480 2021-12-29 20:51 ./slackware64/d -rw-r--r-- 1 root root 481 2021-11-03 00:52 ./slackware64/d/distcc-3.4-x86_64-3.txt -rw-r--r-- 1 root root 314132 2021-11-03 00:52 ./slackware64/d/distcc-3.4-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-11-03 00:52 ./slackware64/d/distcc-3.4-x86_64-3.txz.asc --rw-r--r-- 1 root root 543 2021-08-19 18:02 ./slackware64/d/doxygen-1.9.2-x86_64-1.txt --rw-r--r-- 1 root root 7213184 2021-08-19 18:02 ./slackware64/d/doxygen-1.9.2-x86_64-1.txz --rw-r--r-- 1 root root 163 2021-08-19 18:02 ./slackware64/d/doxygen-1.9.2-x86_64-1.txz.asc +-rw-r--r-- 1 root root 543 2022-01-02 19:47 ./slackware64/d/doxygen-1.9.3-x86_64-1.txt +-rw-r--r-- 1 root root 7443840 2022-01-02 19:47 ./slackware64/d/doxygen-1.9.3-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-02 19:47 ./slackware64/d/doxygen-1.9.3-x86_64-1.txz.asc -rw-r--r-- 1 root root 371 2021-02-13 09:16 ./slackware64/d/flex-2.6.4-x86_64-5.txt -rw-r--r-- 1 root root 282436 2021-02-13 09:16 ./slackware64/d/flex-2.6.4-x86_64-5.txz -rw-r--r-- 1 root root 163 2021-02-13 09:16 ./slackware64/d/flex-2.6.4-x86_64-5.txz.asc @@ -3881,7 +3881,7 @@ drwxr-xr-x 2 root root 81920 2022-01-02 01:27 ./slackware64/l -rw-r--r-- 1 root root 463 2021-12-21 17:10 ./slackware64/l/zstd-1.5.1-x86_64-1.txt -rw-r--r-- 1 root root 436008 2021-12-21 17:10 ./slackware64/l/zstd-1.5.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-12-21 17:10 ./slackware64/l/zstd-1.5.1-x86_64-1.txz.asc -drwxr-xr-x 2 root root 32768 2021-12-31 19:46 ./slackware64/n +drwxr-xr-x 2 root root 32768 2022-01-02 20:42 ./slackware64/n -rw-r--r-- 1 root root 357 2021-11-26 19:25 ./slackware64/n/ModemManager-1.18.4-x86_64-1.txt -rw-r--r-- 1 root root 2127700 2021-11-26 19:25 ./slackware64/n/ModemManager-1.18.4-x86_64-1.txz -rw-r--r-- 1 root root 163 2021-11-26 19:25 ./slackware64/n/ModemManager-1.18.4-x86_64-1.txz.asc @@ -4168,9 +4168,9 @@ drwxr-xr-x 2 root root 32768 2021-12-31 19:46 ./slackware64/n -rw-r--r-- 1 root root 306 2021-02-13 12:15 ./slackware64/n/netwatch-1.3.1_2-x86_64-5.txt -rw-r--r-- 1 root root 86984 2021-02-13 12:15 ./slackware64/n/netwatch-1.3.1_2-x86_64-5.txz -rw-r--r-- 1 root root 163 2021-02-13 12:15 ./slackware64/n/netwatch-1.3.1_2-x86_64-5.txz.asc --rw-r--r-- 1 root root 582 2021-11-11 17:47 ./slackware64/n/network-scripts-15.0-noarch-17.txt --rw-r--r-- 1 root root 39824 2021-11-11 17:47 ./slackware64/n/network-scripts-15.0-noarch-17.txz --rw-r--r-- 1 root root 163 2021-11-11 17:47 ./slackware64/n/network-scripts-15.0-noarch-17.txz.asc +-rw-r--r-- 1 root root 582 2022-01-02 20:21 ./slackware64/n/network-scripts-15.0-noarch-18.txt +-rw-r--r-- 1 root root 39896 2022-01-02 20:21 ./slackware64/n/network-scripts-15.0-noarch-18.txz +-rw-r--r-- 1 root root 163 2022-01-02 20:21 ./slackware64/n/network-scripts-15.0-noarch-18.txz.asc -rw-r--r-- 1 root root 557 2021-02-13 12:16 ./slackware64/n/netwrite-0.17-x86_64-4.txt -rw-r--r-- 1 root root 6912 2021-02-13 12:16 ./slackware64/n/netwrite-0.17-x86_64-4.txz -rw-r--r-- 1 root root 163 2021-02-13 12:16 ./slackware64/n/netwrite-0.17-x86_64-4.txz.asc @@ -5609,11 +5609,11 @@ drwxr-xr-x 2 root root 4096 2021-02-15 19:33 ./slackware64/y -rw-r--r-- 1 root root 1486956 2021-02-13 13:56 ./slackware64/y/nethack-3.6.6-x86_64-3.txz -rw-r--r-- 1 root root 163 2021-02-13 13:56 ./slackware64/y/nethack-3.6.6-x86_64-3.txz.asc -rw-r--r-- 1 root root 26 2020-12-30 21:55 ./slackware64/y/tagfile -drwxr-xr-x 18 root root 4096 2022-01-02 01:28 ./source --rw-r--r-- 1 root root 583136 2022-01-02 01:28 ./source/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-01-02 01:28 ./source/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 811781 2022-01-02 01:28 ./source/FILE_LIST --rw-r--r-- 1 root root 23333350 2022-01-02 01:28 ./source/MANIFEST.bz2 +drwxr-xr-x 18 root root 4096 2022-01-02 20:43 ./source +-rw-r--r-- 1 root root 583253 2022-01-02 20:43 ./source/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-01-02 20:43 ./source/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 811912 2022-01-02 20:43 ./source/FILE_LIST +-rw-r--r-- 1 root root 23336658 2022-01-02 20:43 ./source/MANIFEST.bz2 -rw-r--r-- 1 root root 1314 2006-10-02 04:40 ./source/README.TXT drwxr-xr-x 122 root root 4096 2021-11-11 20:15 ./source/a -rw-r--r-- 1 root root 1591 2021-04-06 18:09 ./source/a/FTBFSlog @@ -7394,8 +7394,8 @@ drwxr-xr-x 2 root root 4096 2021-11-02 19:02 ./source/d/distcc -rw-r--r-- 1 root root 33 2018-03-10 19:45 ./source/d/distcc/distcc.url -rw-r--r-- 1 root root 295 2013-03-31 22:26 ./source/d/distcc/doinst.sh.gz -rw-r--r-- 1 root root 935 2018-02-27 06:13 ./source/d/distcc/slack-desc -drwxr-xr-x 3 root root 4096 2021-08-19 17:57 ./source/d/doxygen --rw-r--r-- 1 root root 3003193 2021-08-18 20:58 ./source/d/doxygen/doxygen-1.9.2.src.tar.lz +drwxr-xr-x 3 root root 4096 2022-01-02 19:43 ./source/d/doxygen +-rw-r--r-- 1 root root 3042659 2021-12-31 09:54 ./source/d/doxygen/doxygen-1.9.3.src.tar.lz -rwxr-xr-x 1 root root 4493 2021-08-19 17:58 ./source/d/doxygen/doxygen.SlackBuild -rw-r--r-- 1 root root 37 2019-08-10 04:16 ./source/d/doxygen/doxygen.url drwxr-xr-x 2 root root 4096 2021-08-19 17:57 ./source/d/doxygen/patches @@ -12412,9 +12412,10 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/netwatch -rw-r--r-- 1 root root 491 2009-03-04 08:01 ./source/n/netwatch/netwatch.makefile.diff.gz -rw-r--r-- 1 root root 233 2009-03-04 08:01 ./source/n/netwatch/netwatch.phonemyself.diff.gz -rw-r--r-- 1 root root 762 2018-02-27 06:13 ./source/n/netwatch/slack-desc -drwxr-xr-x 5 root root 4096 2021-11-10 22:14 ./source/n/network-scripts +drwxr-xr-x 5 root root 4096 2022-01-02 20:16 ./source/n/network-scripts -rw-r--r-- 1 root root 1936 2021-11-10 22:26 ./source/n/network-scripts/0000-rc.inet1.new-lxc-additions.patch -rw-r--r-- 1 root root 899 2021-11-10 22:29 ./source/n/network-scripts/0001-netconfig-turn-off-rc.networkmanager-if-networkmanager-is-not-selected.patch +-rw-r--r-- 1 root root 1229 2022-01-02 20:43 ./source/n/network-scripts/0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch -rw-r--r-- 1 root root 8788 2021-02-28 22:32 ./source/n/network-scripts/README.IPv6 -rw-r--r-- 1 root root 1919 2021-02-28 02:09 ./source/n/network-scripts/README.VLANs -rw-r--r-- 1 root root 6258 2021-02-28 05:34 ./source/n/network-scripts/README.bonding @@ -12426,7 +12427,7 @@ drwxr-xr-x 2 root root 4096 2020-08-14 03:30 ./source/n/network-scripts/ma drwxr-xr-x 2 root root 4096 2021-03-13 05:06 ./source/n/network-scripts/modprobe.d -rw-r--r-- 1 root root 442 2021-02-28 02:09 ./source/n/network-scripts/modprobe.d/bonding.conf -rw-r--r-- 1 root root 344 2021-02-28 02:09 ./source/n/network-scripts/modprobe.d/ipv6.conf --rwxr-xr-x 1 root root 3770 2021-11-10 22:16 ./source/n/network-scripts/network-scripts.SlackBuild +-rwxr-xr-x 1 root root 4001 2022-01-02 20:21 ./source/n/network-scripts/network-scripts.SlackBuild drwxr-xr-x 2 root root 4096 2021-04-01 20:21 ./source/n/network-scripts/scripts -rw-r--r-- 1 root root 21 1999-01-28 01:15 ./source/n/network-scripts/scripts/HOSTNAME -rw-r--r-- 1 root root 27 1994-07-07 15:39 ./source/n/network-scripts/scripts/host.conf diff --git a/source/n/network-scripts/0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch b/source/n/network-scripts/0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch new file mode 100644 index 000000000..08cc1807f --- /dev/null +++ b/source/n/network-scripts/0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch @@ -0,0 +1,25 @@ +From aab9ad500096d67919f7e4f12a7466a74770d3a5 Mon Sep 17 00:00:00 2001 +From: Patrick J. Volkerding <volkerdi@slackware.com> +Date: Sun, 2 Jan 2022 14:17:08 -0600 +Subject: [PATCH] Add hostname-labeled loopback entries for DHCP + +This addresses a regression since the netconfig in Slackware 14.2. Previously, +when selecting to configure the machine with DHCP we would have entries with +the loopback addresses that were labeled with the machine's hostname. +Without these, a machine will not be able to contact itself using its own +hostname unless something else is providing matching name service, and we +do not want to have to rely on this. + +--- ./sbin/netconfig.orig 2022-01-02 14:07:01.168594490 -0600 ++++ ./sbin/netconfig 2022-01-02 14:14:30.835569617 -0600 +@@ -554,6 +554,10 @@ + rm -f $TMP/reply + + if [ "$REPLY" = "DHCP" ]; then ++ # We need the line below to make sure there are entries for loopback in ++ # /etc/hosts labeled with the machine's hostname, otherwise we might not ++ # be able to reach our own machine using the hostname. ++ LOOPBACK="yes" + dialog --title "SELECT DHCP TYPE" --default-item "DHCPv4" \ + --cancel-button "Exit" --menu \ + "Please select the type of DHCP to use to configure your networking. diff --git a/source/n/network-scripts/network-scripts.SlackBuild b/source/n/network-scripts/network-scripts.SlackBuild index ea4bad779..b5bf39688 100755 --- a/source/n/network-scripts/network-scripts.SlackBuild +++ b/source/n/network-scripts/network-scripts.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=network-scripts VERSION=${VERSION:-15.0} ARCH=noarch -BUILD=${BUILD:-17} +BUILD=${BUILD:-18} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information @@ -97,5 +97,12 @@ cat $CWD/slack-desc > $PKG/install/slack-desc rm -f sbin/netconfig.orig ) +# Patch netconfig to add hostname-labeled loopback entries when DHCP +# is selected: +( cd $PKG + cat $CWD/0002-add-hostname-loopback-entries-in-etc-hosts-for-dhcp.patch | patch -p1 --verbose || exit 1 + rm -f sbin/netconfig.orig +) + cd $PKG /sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz |