summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES_AND_HINTS.TXT25
-rw-r--r--ChangeLog.rss40
-rw-r--r--ChangeLog.txt28
-rw-r--r--FILELIST.TXT216
-rwxr-xr-xrecompress.sh1
-rwxr-xr-xsource/a/e2fsprogs/e2fsprogs.SlackBuild2
-rw-r--r--source/a/etc/_etc/etc/hosts.new10
-rwxr-xr-xsource/a/etc/etc.SlackBuild2
-rwxr-xr-xsource/a/hwdata/hwdata.SlackBuild2
-rw-r--r--source/ap/hplip/fix-desktop-file.patch13
-rwxr-xr-xsource/ap/hplip/hplip.SlackBuild5
-rwxr-xr-xsource/d/git/git.SlackBuild6
-rwxr-xr-xsource/d/vala/vala.SlackBuild2
-rwxr-xr-xsource/l/python-pillow/python-pillow.SlackBuild2
-rw-r--r--source/n/network-scripts/README.IPv6182
-rw-r--r--source/n/network-scripts/README.VLANs52
-rw-r--r--source/n/network-scripts/README.bonding129
-rw-r--r--source/n/network-scripts/README.networking554
-rw-r--r--source/n/network-scripts/manpages/rc.inet1.82
-rw-r--r--source/n/network-scripts/manpages/rc.inet1.conf.594
-rw-r--r--source/n/network-scripts/modprobe.d/modprobe.d/bonding.conf9
-rw-r--r--source/n/network-scripts/modprobe.d/modprobe.d/ipv6.conf8
-rwxr-xr-xsource/n/network-scripts/network-scripts.SlackBuild8
-rw-r--r--source/n/network-scripts/scripts/netconfig751
-rw-r--r--source/n/network-scripts/scripts/rc.inet1128
-rw-r--r--source/n/network-scripts/scripts/rc.inet1.conf67
-rw-r--r--source/n/wireless_tools/scripts/rc.wireless44
-rwxr-xr-xsource/n/wireless_tools/wireless_tools.SlackBuild2
-rwxr-xr-xsource/xfce/mousepad/mousepad.SlackBuild2
-rw-r--r--source/xfce/mousepad/mousepad.url2
30 files changed, 1766 insertions, 622 deletions
diff --git a/CHANGES_AND_HINTS.TXT b/CHANGES_AND_HINTS.TXT
index 73589891..2d20d446 100644
--- a/CHANGES_AND_HINTS.TXT
+++ b/CHANGES_AND_HINTS.TXT
@@ -34,13 +34,20 @@ User authentication is PAM-based now; in short, Slackware ships PAM.
The stock networking scripts now use iproute2 instead of net-tools and
bridge-utils and friends. All of the previous functionality is still
supported with the same config file syntax in /etc/rc.d/rc.inet1.conf,
- but added functionality includes support for creating virtual interfaces
- (e.g. tun/tap) and adding them to bridges as well as binding additional
- IP addresses to virtual and/or real interfaces. This did involve some
- added options to rc.inet1.conf. Maybe best of all, /sbin/ifconfig can
- still be used to view (and even configure) interfaces manually - any
- additional IP addresses bound to interfaces using rc.inet1 will be done
- in such a way that /sbin/ifconfig recognizes them.
+ but added functionality includes:
+ - support for creating virtual interfaces (e.g. tun/tap) and adding
+ them to bridges as well as binding additional IP addresses to
+ virtual and/or real interfaces
+ - VLAN (802.1Q) support
+ - Link Aggregation (bonding) support
+ - IPv6 support
+ The added functionality required some additional options and changes
+ to the format of rc.inet1.conf, but for basic configurations, you can
+ still use /sbin/ifconfig to view and/or configure interfaces manually.
+ For IPv6 support, note that SLAAC is now disabled by default (the
+ rationale is that a newly installed machine should not have internet
+ connectivity without admin intervention) - see the USE_SLAAC config
+ parameter in the new rc.inet1.conf file.
The ntp package has changed such that ntpd now drops privileges and runs as
user ntp and group ntp. Be sure to move/merge the changes to rc.ntpd and
@@ -112,7 +119,7 @@ Use one of the provided generic kernels for daily use. Do not report
ATI proprietary drivers) if you use the SMP kernel.
If you decide to use one of the non-SMP kernels, you will need to follow the
- instructions in /extra/linux-5.10.14-nosmp-sdk/README.TXT to modify your
+ instructions in /extra/linux-5.10.19-nosmp-sdk/README.TXT to modify your
kernel sources for non-SMP usage. Note that this only applies if you are
using the Slackware-provided non-SMP kernel - if you build a custom kernel,
the symlinks at /lib/modules/$(uname -r)/{build,source} will point to the
@@ -182,6 +189,7 @@ d/ninja
d/opencl-headers
d/parallel
d/patchelf
+d/poke
d/python-pip
d/python2 (replaces d/python)
d/python3
@@ -517,4 +525,5 @@ xfce/gtk-xfce-engine
xfce/orage
extra/bittorrent/bittorrent
extra/mplayerplug-in/mplayerplug-in
+extra/recordmydesktop/recordmydesktop
diff --git a/ChangeLog.rss b/ChangeLog.rss
index 52448cbc..e7a9fb68 100644
--- a/ChangeLog.rss
+++ b/ChangeLog.rss
@@ -11,10 +11,46 @@
<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>Sat, 27 Feb 2021 19:26:22 GMT</pubDate>
- <lastBuildDate>Sun, 28 Feb 2021 07:59:43 GMT</lastBuildDate>
+ <pubDate>Mon, 1 Mar 2021 20:10:44 GMT</pubDate>
+ <lastBuildDate>Tue, 2 Mar 2021 07:59:44 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.12</generator>
<item>
+ <title>Mon, 1 Mar 2021 20:10:44 GMT</title>
+ <pubDate>Mon, 1 Mar 2021 20:10:44 GMT</pubDate>
+ <link>https://git.slackware.nl/current/tag/?h=20210301201044</link>
+ <guid isPermaLink="false">20210301201044</guid>
+ <description>
+ <![CDATA[<pre>
+a/e2fsprogs-1.46.2-x86_64-1.txz: Upgraded.
+a/etc-15.0-x86_64-14.txz: Rebuilt.
+ /etc/hosts: added IPv6 loopback addresses.
+a/hwdata-0.345-noarch-1.txz: Upgraded.
+ap/hplip-3.20.6-x86_64-7.txz: Rebuilt.
+ Fixed desktop file to show category and icon properly.
+ Thanks to upnort and ArTourter.
+d/git-2.30.1-x86_64-3.txz: Rebuilt.
+ Make sure the bash-completion file is installed in the proper location.
+ Thanks to Robby Workman.
+d/python-setuptools-54.0.0-x86_64-1.txz: Upgraded.
+d/vala-0.50.4-x86_64-1.txz: Upgraded.
+l/imagemagick-7.0.11_2-x86_64-1.txz: Upgraded.
+l/python-pillow-8.1.1-x86_64-1.txz: Upgraded.
+n/network-scripts-15.0-noarch-13.txz: Rebuilt.
+ Well, apparently there was a newer branch of this than the one that was
+ sitting in my usual pending queue, so here it is. This also includes some
+ additional documentation on the new features. NOTE: In order to use SLAAC
+ to configure IPv6, you'll need to have USE_SLAAC[x]="yes" for the interface
+ in rc.inet1.conf. This is to ensure that nobody is surprised to find their
+ machine fully exposed to the internet - better safe than sorry.
+ Thanks to Darren "Tadgy" Austin and Robby Workman.
+n/wireless_tools-30.pre9-x86_64-4.txz: Rebuilt.
+ This package contains some updates to rc.wireless and rc.wireless.conf.
+ Thanks to Darren "Tadgy" Austin.
+xfce/mousepad-0.5.3-x86_64-1.txz: Upgraded.
+ </pre>]]>
+ </description>
+ </item>
+ <item>
<title>Sat, 27 Feb 2021 19:26:22 GMT</title>
<pubDate>Sat, 27 Feb 2021 19:26:22 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20210227192622</link>
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 0b95cc5e..77e5a459 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,31 @@
+Mon Mar 1 20:10:44 UTC 2021
+a/e2fsprogs-1.46.2-x86_64-1.txz: Upgraded.
+a/etc-15.0-x86_64-14.txz: Rebuilt.
+ /etc/hosts: added IPv6 loopback addresses.
+a/hwdata-0.345-noarch-1.txz: Upgraded.
+ap/hplip-3.20.6-x86_64-7.txz: Rebuilt.
+ Fixed desktop file to show category and icon properly.
+ Thanks to upnort and ArTourter.
+d/git-2.30.1-x86_64-3.txz: Rebuilt.
+ Make sure the bash-completion file is installed in the proper location.
+ Thanks to Robby Workman.
+d/python-setuptools-54.0.0-x86_64-1.txz: Upgraded.
+d/vala-0.50.4-x86_64-1.txz: Upgraded.
+l/imagemagick-7.0.11_2-x86_64-1.txz: Upgraded.
+l/python-pillow-8.1.1-x86_64-1.txz: Upgraded.
+n/network-scripts-15.0-noarch-13.txz: Rebuilt.
+ Well, apparently there was a newer branch of this than the one that was
+ sitting in my usual pending queue, so here it is. This also includes some
+ additional documentation on the new features. NOTE: In order to use SLAAC
+ to configure IPv6, you'll need to have USE_SLAAC[x]="yes" for the interface
+ in rc.inet1.conf. This is to ensure that nobody is surprised to find their
+ machine fully exposed to the internet - better safe than sorry.
+ Thanks to Darren "Tadgy" Austin and Robby Workman.
+n/wireless_tools-30.pre9-x86_64-4.txz: Rebuilt.
+ This package contains some updates to rc.wireless and rc.wireless.conf.
+ Thanks to Darren "Tadgy" Austin.
+xfce/mousepad-0.5.3-x86_64-1.txz: Upgraded.
++--------------------------+
Sat Feb 27 19:26:22 UTC 2021
a/kernel-generic-5.10.19-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.19-x86_64-1.txz: Upgraded.
diff --git a/FILELIST.TXT b/FILELIST.TXT
index a8a854a9..a6d8ab57 100644
--- a/FILELIST.TXT
+++ b/FILELIST.TXT
@@ -1,20 +1,20 @@
-Sat Feb 27 19:31:09 UTC 2021
+Mon Mar 1 20:13:40 UTC 2021
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 2021-02-27 19:26 .
+drwxr-xr-x 12 root root 4096 2021-03-01 20:10 .
-rw-r--r-- 1 root root 10064 2016-06-30 18:39 ./ANNOUNCE.14_2
--rw-r--r-- 1 root root 15004 2021-02-09 12:00 ./CHANGES_AND_HINTS.TXT
--rw-r--r-- 1 root root 1068572 2021-02-24 20:38 ./CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2021-02-24 20:38 ./CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 15339 2021-02-28 22:06 ./CHANGES_AND_HINTS.TXT
+-rw-r--r-- 1 root root 1069152 2021-02-27 19:31 ./CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2021-02-27 19:31 ./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 1382672 2021-02-27 19:26 ./ChangeLog.txt
+-rw-r--r-- 1 root root 1384101 2021-03-01 20:10 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
drwxr-xr-x 2 root root 4096 2021-02-27 19:24 ./EFI/BOOT
-rw-r--r-- 1 root root 1417216 2019-07-05 18:54 ./EFI/BOOT/bootx64.efi
@@ -25,9 +25,9 @@ drwxr-xr-x 2 root root 4096 2021-02-27 19:24 ./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 1392595 2021-02-24 20:37 ./FILELIST.TXT
+-rw-r--r-- 1 root root 1393464 2021-02-27 19:31 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
--rw-r--r-- 1 root root 842858 2021-02-27 19:30 ./PACKAGES.TXT
+-rw-r--r-- 1 root root 842858 2021-03-01 20:13 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8564 2016-06-28 21:33 ./README.TXT
-rw-r--r-- 1 root root 3635 2021-02-27 19:14 ./README.initrd
-rw-r--r-- 1 root root 34412 2017-12-01 17:44 ./README_CRYPT.TXT
@@ -714,13 +714,13 @@ 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 2021-02-27 19:30 ./slackware64
--rw-r--r-- 1 root root 329853 2021-02-27 19:30 ./slackware64/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2021-02-27 19:30 ./slackware64/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 409378 2021-02-27 19:29 ./slackware64/FILE_LIST
--rw-r--r-- 1 root root 3994394 2021-02-27 19:29 ./slackware64/MANIFEST.bz2
+drwxr-xr-x 17 root root 4096 2021-03-01 20:13 ./slackware64
+-rw-r--r-- 1 root root 329853 2021-03-01 20:13 ./slackware64/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2021-03-01 20:13 ./slackware64/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 409378 2021-03-01 20:12 ./slackware64/FILE_LIST
+-rw-r--r-- 1 root root 3992100 2021-03-01 20:12 ./slackware64/MANIFEST.bz2
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
-drwxr-xr-x 2 root root 28672 2021-02-27 19:29 ./slackware64/a
+drwxr-xr-x 2 root root 28672 2021-03-01 20:12 ./slackware64/a
-rw-r--r-- 1 root root 327 2021-02-13 10:54 ./slackware64/a/aaa_base-14.2-x86_64-7.txt
-rw-r--r-- 1 root root 10804 2021-02-13 10:54 ./slackware64/a/aaa_base-14.2-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:54 ./slackware64/a/aaa_base-14.2-x86_64-7.txz.asc
@@ -784,9 +784,9 @@ drwxr-xr-x 2 root root 28672 2021-02-27 19:29 ./slackware64/a
-rw-r--r-- 1 root root 336 2021-02-13 10:57 ./slackware64/a/dosfstools-4.2-x86_64-2.txt
-rw-r--r-- 1 root root 97376 2021-02-13 10:57 ./slackware64/a/dosfstools-4.2-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:57 ./slackware64/a/dosfstools-4.2-x86_64-2.txz.asc
--rw-r--r-- 1 root root 404 2021-02-13 10:58 ./slackware64/a/e2fsprogs-1.46.1-x86_64-2.txt
--rw-r--r-- 1 root root 1205192 2021-02-13 10:58 ./slackware64/a/e2fsprogs-1.46.1-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-02-13 10:58 ./slackware64/a/e2fsprogs-1.46.1-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 404 2021-03-01 19:34 ./slackware64/a/e2fsprogs-1.46.2-x86_64-1.txt
+-rw-r--r-- 1 root root 1207892 2021-03-01 19:34 ./slackware64/a/e2fsprogs-1.46.2-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-03-01 19:34 ./slackware64/a/e2fsprogs-1.46.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 350 2021-02-13 10:58 ./slackware64/a/ed-1.17-x86_64-3.txt
-rw-r--r-- 1 root root 62632 2021-02-13 10:58 ./slackware64/a/ed-1.17-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:58 ./slackware64/a/ed-1.17-x86_64-3.txz.asc
@@ -805,9 +805,9 @@ drwxr-xr-x 2 root root 28672 2021-02-27 19:29 ./slackware64/a
-rw-r--r-- 1 root root 375 2021-02-13 11:01 ./slackware64/a/elvis-2.2_0-x86_64-7.txt
-rw-r--r-- 1 root root 713228 2021-02-13 11:01 ./slackware64/a/elvis-2.2_0-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:01 ./slackware64/a/elvis-2.2_0-x86_64-7.txz.asc
--rw-r--r-- 1 root root 202 2021-02-13 11:01 ./slackware64/a/etc-15.0-x86_64-13.txt
--rw-r--r-- 1 root root 27552 2021-02-13 11:01 ./slackware64/a/etc-15.0-x86_64-13.txz
--rw-r--r-- 1 root root 163 2021-02-13 11:01 ./slackware64/a/etc-15.0-x86_64-13.txz.asc
+-rw-r--r-- 1 root root 202 2021-03-01 04:48 ./slackware64/a/etc-15.0-x86_64-14.txt
+-rw-r--r-- 1 root root 27392 2021-03-01 04:48 ./slackware64/a/etc-15.0-x86_64-14.txz
+-rw-r--r-- 1 root root 163 2021-03-01 04:48 ./slackware64/a/etc-15.0-x86_64-14.txz.asc
-rw-r--r-- 1 root root 510 2021-02-13 11:01 ./slackware64/a/eudev-3.2.10-x86_64-2.txt
-rw-r--r-- 1 root root 1042316 2021-02-13 11:01 ./slackware64/a/eudev-3.2.10-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:01 ./slackware64/a/eudev-3.2.10-x86_64-2.txz.asc
@@ -862,9 +862,9 @@ drwxr-xr-x 2 root root 28672 2021-02-27 19:29 ./slackware64/a
-rw-r--r-- 1 root root 441 2021-02-13 11:07 ./slackware64/a/hostname-3.23-x86_64-3.txt
-rw-r--r-- 1 root root 9132 2021-02-13 11:07 ./slackware64/a/hostname-3.23-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:07 ./slackware64/a/hostname-3.23-x86_64-3.txz.asc
--rw-r--r-- 1 root root 316 2021-02-13 11:07 ./slackware64/a/hwdata-0.344-noarch-2.txt
--rw-r--r-- 1 root root 1438324 2021-02-13 11:07 ./slackware64/a/hwdata-0.344-noarch-2.txz
--rw-r--r-- 1 root root 163 2021-02-13 11:07 ./slackware64/a/hwdata-0.344-noarch-2.txz.asc
+-rw-r--r-- 1 root root 316 2021-03-01 19:37 ./slackware64/a/hwdata-0.345-noarch-1.txt
+-rw-r--r-- 1 root root 1441504 2021-03-01 19:37 ./slackware64/a/hwdata-0.345-noarch-1.txz
+-rw-r--r-- 1 root root 163 2021-03-01 19:37 ./slackware64/a/hwdata-0.345-noarch-1.txz.asc
-rw-r--r-- 1 root root 465 2021-02-13 11:07 ./slackware64/a/infozip-6.0-x86_64-7.txt
-rw-r--r-- 1 root root 401604 2021-02-13 11:07 ./slackware64/a/infozip-6.0-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:07 ./slackware64/a/infozip-6.0-x86_64-7.txz.asc
@@ -1101,7 +1101,7 @@ drwxr-xr-x 2 root root 28672 2021-02-27 19:29 ./slackware64/a
-rw-r--r-- 1 root root 540 2021-02-13 11:22 ./slackware64/a/zoo-2.10_22-x86_64-4.txt
-rw-r--r-- 1 root root 56160 2021-02-13 11:22 ./slackware64/a/zoo-2.10_22-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:22 ./slackware64/a/zoo-2.10_22-x86_64-4.txz.asc
-drwxr-xr-x 2 root root 20480 2021-02-24 20:36 ./slackware64/ap
+drwxr-xr-x 2 root root 20480 2021-03-01 20:12 ./slackware64/ap
-rw-r--r-- 1 root root 291 2021-02-13 11:23 ./slackware64/ap/a2ps-4.14-x86_64-9.txt
-rw-r--r-- 1 root root 703580 2021-02-13 11:23 ./slackware64/ap/a2ps-4.14-x86_64-9.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:23 ./slackware64/ap/a2ps-4.14-x86_64-9.txz.asc
@@ -1183,9 +1183,9 @@ drwxr-xr-x 2 root root 20480 2021-02-24 20:36 ./slackware64/ap
-rw-r--r-- 1 root root 592 2021-02-13 11:30 ./slackware64/ap/gutenprint-5.3.4-x86_64-3.txt
-rw-r--r-- 1 root root 2764424 2021-02-13 11:30 ./slackware64/ap/gutenprint-5.3.4-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:30 ./slackware64/ap/gutenprint-5.3.4-x86_64-3.txz.asc
--rw-r--r-- 1 root root 459 2021-02-13 11:31 ./slackware64/ap/hplip-3.20.6-x86_64-6.txt
--rw-r--r-- 1 root root 19217232 2021-02-13 11:31 ./slackware64/ap/hplip-3.20.6-x86_64-6.txz
--rw-r--r-- 1 root root 163 2021-02-13 11:31 ./slackware64/ap/hplip-3.20.6-x86_64-6.txz.asc
+-rw-r--r-- 1 root root 459 2021-03-01 19:36 ./slackware64/ap/hplip-3.20.6-x86_64-7.txt
+-rw-r--r-- 1 root root 19217332 2021-03-01 19:36 ./slackware64/ap/hplip-3.20.6-x86_64-7.txz
+-rw-r--r-- 1 root root 163 2021-03-01 19:36 ./slackware64/ap/hplip-3.20.6-x86_64-7.txz.asc
-rw-r--r-- 1 root root 481 2021-02-13 11:31 ./slackware64/ap/htop-3.0.5-x86_64-3.txt
-rw-r--r-- 1 root root 115872 2021-02-13 11:31 ./slackware64/ap/htop-3.0.5-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:31 ./slackware64/ap/htop-3.0.5-x86_64-3.txz.asc
@@ -1356,7 +1356,7 @@ drwxr-xr-x 2 root root 20480 2021-02-24 20:36 ./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 16384 2021-02-27 19:29 ./slackware64/d
+drwxr-xr-x 2 root root 16384 2021-03-01 20:12 ./slackware64/d
-rw-r--r-- 1 root root 360 2021-02-21 02:21 ./slackware64/d/Cython-0.29.22-x86_64-1.txt
-rw-r--r-- 1 root root 2386760 2021-02-21 02:21 ./slackware64/d/Cython-0.29.22-x86_64-1.txz
-rw-r--r-- 1 root root 163 2021-02-21 02:21 ./slackware64/d/Cython-0.29.22-x86_64-1.txz.asc
@@ -1435,9 +1435,9 @@ drwxr-xr-x 2 root root 16384 2021-02-27 19:29 ./slackware64/d
-rw-r--r-- 1 root root 628 2021-02-13 09:52 ./slackware64/d/gettext-tools-0.21-x86_64-3.txt
-rw-r--r-- 1 root root 2181092 2021-02-13 09:52 ./slackware64/d/gettext-tools-0.21-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 09:52 ./slackware64/d/gettext-tools-0.21-x86_64-3.txz.asc
--rw-r--r-- 1 root root 397 2021-02-13 09:53 ./slackware64/d/git-2.30.1-x86_64-2.txt
--rw-r--r-- 1 root root 6416744 2021-02-13 09:53 ./slackware64/d/git-2.30.1-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-02-13 09:53 ./slackware64/d/git-2.30.1-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 397 2021-02-28 19:37 ./slackware64/d/git-2.30.1-x86_64-3.txt
+-rw-r--r-- 1 root root 6417296 2021-02-28 19:37 ./slackware64/d/git-2.30.1-x86_64-3.txz
+-rw-r--r-- 1 root root 163 2021-02-28 19:37 ./slackware64/d/git-2.30.1-x86_64-3.txz.asc
-rw-r--r-- 1 root root 589 2021-02-13 09:54 ./slackware64/d/gnucobol-3.1.2-x86_64-3.txt
-rw-r--r-- 1 root root 880720 2021-02-13 09:54 ./slackware64/d/gnucobol-3.1.2-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 09:54 ./slackware64/d/gnucobol-3.1.2-x86_64-3.txz.asc
@@ -1523,9 +1523,9 @@ drwxr-xr-x 2 root root 16384 2021-02-27 19:29 ./slackware64/d
-rw-r--r-- 1 root root 270 2021-02-13 10:44 ./slackware64/d/python-pip-21.0.1-x86_64-2.txt
-rw-r--r-- 1 root root 1723316 2021-02-13 10:44 ./slackware64/d/python-pip-21.0.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:44 ./slackware64/d/python-pip-21.0.1-x86_64-2.txz.asc
--rw-r--r-- 1 root root 562 2021-02-25 19:53 ./slackware64/d/python-setuptools-53.1.0-x86_64-1.txt
--rw-r--r-- 1 root root 627604 2021-02-25 19:53 ./slackware64/d/python-setuptools-53.1.0-x86_64-1.txz
--rw-r--r-- 1 root root 163 2021-02-25 19:53 ./slackware64/d/python-setuptools-53.1.0-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 562 2021-03-01 19:42 ./slackware64/d/python-setuptools-54.0.0-x86_64-1.txt
+-rw-r--r-- 1 root root 628064 2021-03-01 19:42 ./slackware64/d/python-setuptools-54.0.0-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-03-01 19:42 ./slackware64/d/python-setuptools-54.0.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 484 2021-02-13 10:45 ./slackware64/d/python2-2.7.18-x86_64-4.txt
-rw-r--r-- 1 root root 13018740 2021-02-13 10:45 ./slackware64/d/python2-2.7.18-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:45 ./slackware64/d/python2-2.7.18-x86_64-4.txz.asc
@@ -1566,9 +1566,9 @@ drwxr-xr-x 2 root root 16384 2021-02-27 19:29 ./slackware64/d
-rw-r--r-- 1 root root 2654592 2021-02-13 10:53 ./slackware64/d/swig-4.0.2-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:53 ./slackware64/d/swig-4.0.2-x86_64-3.txz.asc
-rw-r--r-- 1 root root 812 2021-02-27 19:15 ./slackware64/d/tagfile
--rw-r--r-- 1 root root 394 2021-02-13 10:54 ./slackware64/d/vala-0.50.3-x86_64-3.txt
--rw-r--r-- 1 root root 2240664 2021-02-13 10:54 ./slackware64/d/vala-0.50.3-x86_64-3.txz
--rw-r--r-- 1 root root 163 2021-02-13 10:54 ./slackware64/d/vala-0.50.3-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 394 2021-02-28 19:45 ./slackware64/d/vala-0.50.4-x86_64-1.txt
+-rw-r--r-- 1 root root 2247912 2021-02-28 19:45 ./slackware64/d/vala-0.50.4-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-02-28 19:45 ./slackware64/d/vala-0.50.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 591 2021-02-13 10:54 ./slackware64/d/yasm-1.3.0-x86_64-4.txt
-rw-r--r-- 1 root root 523832 2021-02-13 10:54 ./slackware64/d/yasm-1.3.0-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 10:54 ./slackware64/d/yasm-1.3.0-x86_64-4.txz.asc
@@ -2703,7 +2703,7 @@ drwxr-xr-x 2 root root 77824 2021-02-24 20:36 ./slackware64/kde
-rw-r--r-- 1 root root 296 2021-02-13 15:05 ./slackware64/kde/zeroconf-ioslave-20.12.2-x86_64-2.txt
-rw-r--r-- 1 root root 52608 2021-02-13 15:05 ./slackware64/kde/zeroconf-ioslave-20.12.2-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-02-13 15:05 ./slackware64/kde/zeroconf-ioslave-20.12.2-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 73728 2021-02-27 19:29 ./slackware64/l
+drwxr-xr-x 2 root root 73728 2021-03-01 20:12 ./slackware64/l
-rw-r--r-- 1 root root 329 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txt
-rw-r--r-- 1 root root 928148 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-02-13 05:56 ./slackware64/l/GConf-3.2.6-x86_64-7.txz.asc
@@ -3058,9 +3058,9 @@ drwxr-xr-x 2 root root 73728 2021-02-27 19:29 ./slackware64/l
-rw-r--r-- 1 root root 473 2021-02-13 06:52 ./slackware64/l/id3lib-3.8.3-x86_64-4.txt
-rw-r--r-- 1 root root 161400 2021-02-13 06:52 ./slackware64/l/id3lib-3.8.3-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 06:52 ./slackware64/l/id3lib-3.8.3-x86_64-4.txz.asc
--rw-r--r-- 1 root root 537 2021-02-21 19:20 ./slackware64/l/imagemagick-7.0.11_1-x86_64-1.txt
--rw-r--r-- 1 root root 7933436 2021-02-21 19:20 ./slackware64/l/imagemagick-7.0.11_1-x86_64-1.txz
--rw-r--r-- 1 root root 163 2021-02-21 19:20 ./slackware64/l/imagemagick-7.0.11_1-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 537 2021-02-28 19:41 ./slackware64/l/imagemagick-7.0.11_2-x86_64-1.txt
+-rw-r--r-- 1 root root 7936508 2021-02-28 19:41 ./slackware64/l/imagemagick-7.0.11_2-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-02-28 19:41 ./slackware64/l/imagemagick-7.0.11_2-x86_64-1.txz.asc
-rwxr-xr-x 1 root root 2897 2009-06-24 22:06 ./slackware64/l/install-packages
-rw-r--r-- 1 root root 446 2006-09-18 10:41 ./slackware64/l/install.end
-rw-r--r-- 1 root root 415 2021-02-13 06:54 ./slackware64/l/isl-0.23-x86_64-3.txt
@@ -3614,9 +3614,9 @@ drwxr-xr-x 2 root root 73728 2021-02-27 19:29 ./slackware64/l
-rw-r--r-- 1 root root 333 2021-02-13 07:40 ./slackware64/l/python-packaging-20.9-x86_64-2.txt
-rw-r--r-- 1 root root 53052 2021-02-13 07:40 ./slackware64/l/python-packaging-20.9-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-02-13 07:40 ./slackware64/l/python-packaging-20.9-x86_64-2.txz.asc
--rw-r--r-- 1 root root 526 2021-02-13 07:41 ./slackware64/l/python-pillow-8.1.0-x86_64-3.txt
--rw-r--r-- 1 root root 656296 2021-02-13 07:41 ./slackware64/l/python-pillow-8.1.0-x86_64-3.txz
--rw-r--r-- 1 root root 163 2021-02-13 07:41 ./slackware64/l/python-pillow-8.1.0-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 526 2021-03-01 19:41 ./slackware64/l/python-pillow-8.1.1-x86_64-1.txt
+-rw-r--r-- 1 root root 656964 2021-03-01 19:41 ./slackware64/l/python-pillow-8.1.1-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-03-01 19:41 ./slackware64/l/python-pillow-8.1.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 280 2021-02-13 07:41 ./slackware64/l/python-ply-3.11-x86_64-6.txt
-rw-r--r-- 1 root root 71792 2021-02-13 07:41 ./slackware64/l/python-ply-3.11-x86_64-6.txz
-rw-r--r-- 1 root root 163 2021-02-13 07:41 ./slackware64/l/python-ply-3.11-x86_64-6.txz.asc
@@ -3777,7 +3777,7 @@ drwxr-xr-x 2 root root 73728 2021-02-27 19:29 ./slackware64/l
-rw-r--r-- 1 root root 463 2021-02-16 19:06 ./slackware64/l/zstd-1.4.8-x86_64-4.txt
-rw-r--r-- 1 root root 416040 2021-02-16 19:06 ./slackware64/l/zstd-1.4.8-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-16 19:06 ./slackware64/l/zstd-1.4.8-x86_64-4.txz.asc
-drwxr-xr-x 2 root root 32768 2021-02-27 19:29 ./slackware64/n
+drwxr-xr-x 2 root root 32768 2021-03-01 20:12 ./slackware64/n
-rw-r--r-- 1 root root 357 2021-02-13 11:52 ./slackware64/n/ModemManager-1.14.10-x86_64-3.txt
-rw-r--r-- 1 root root 1877092 2021-02-13 11:52 ./slackware64/n/ModemManager-1.14.10-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 11:52 ./slackware64/n/ModemManager-1.14.10-x86_64-3.txz.asc
@@ -4058,9 +4058,9 @@ drwxr-xr-x 2 root root 32768 2021-02-27 19:29 ./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-02-27 18:58 ./slackware64/n/network-scripts-15.0-noarch-12.txt
--rw-r--r-- 1 root root 28940 2021-02-27 18:58 ./slackware64/n/network-scripts-15.0-noarch-12.txz
--rw-r--r-- 1 root root 163 2021-02-27 18:58 ./slackware64/n/network-scripts-15.0-noarch-12.txz.asc
+-rw-r--r-- 1 root root 582 2021-03-01 19:51 ./slackware64/n/network-scripts-15.0-noarch-13.txt
+-rw-r--r-- 1 root root 39572 2021-03-01 19:51 ./slackware64/n/network-scripts-15.0-noarch-13.txz
+-rw-r--r-- 1 root root 163 2021-03-01 19:51 ./slackware64/n/network-scripts-15.0-noarch-13.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
@@ -4215,9 +4215,9 @@ drwxr-xr-x 2 root root 32768 2021-02-27 19:29 ./slackware64/n
-rw-r--r-- 1 root root 367 2021-02-16 19:24 ./slackware64/n/whois-5.5.8-x86_64-1.txt
-rw-r--r-- 1 root root 60868 2021-02-16 19:24 ./slackware64/n/whois-5.5.8-x86_64-1.txz
-rw-r--r-- 1 root root 163 2021-02-16 19:24 ./slackware64/n/whois-5.5.8-x86_64-1.txz.asc
--rw-r--r-- 1 root root 677 2021-02-13 12:33 ./slackware64/n/wireless_tools-30.pre9-x86_64-3.txt
--rw-r--r-- 1 root root 134388 2021-02-13 12:33 ./slackware64/n/wireless_tools-30.pre9-x86_64-3.txz
--rw-r--r-- 1 root root 163 2021-02-13 12:33 ./slackware64/n/wireless_tools-30.pre9-x86_64-3.txz.asc
+-rw-r--r-- 1 root root 677 2021-02-28 19:29 ./slackware64/n/wireless_tools-30.pre9-x86_64-4.txt
+-rw-r--r-- 1 root root 134404 2021-02-28 19:29 ./slackware64/n/wireless_tools-30.pre9-x86_64-4.txz
+-rw-r--r-- 1 root root 163 2021-02-28 19:29 ./slackware64/n/wireless_tools-30.pre9-x86_64-4.txz.asc
-rw-r--r-- 1 root root 600 2021-02-13 12:33 ./slackware64/n/wpa_supplicant-2.9-x86_64-6.txt
-rw-r--r-- 1 root root 1166008 2021-02-13 12:33 ./slackware64/n/wpa_supplicant-2.9-x86_64-6.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:33 ./slackware64/n/wpa_supplicant-2.9-x86_64-6.txz.asc
@@ -5370,7 +5370,7 @@ drwxr-xr-x 2 root root 12288 2021-02-24 20:36 ./slackware64/xap
-rw-r--r-- 1 root root 230 2021-02-13 13:46 ./slackware64/xap/xsnow-3.2.2-x86_64-2.txt
-rw-r--r-- 1 root root 219496 2021-02-13 13:46 ./slackware64/xap/xsnow-3.2.2-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:46 ./slackware64/xap/xsnow-3.2.2-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 12288 2021-02-27 19:29 ./slackware64/xfce
+drwxr-xr-x 2 root root 12288 2021-03-01 20:12 ./slackware64/xfce
-rw-r--r-- 1 root root 253 2021-02-13 13:46 ./slackware64/xfce/Greybird-3.22.14-noarch-3.txt
-rw-r--r-- 1 root root 192668 2021-02-13 13:46 ./slackware64/xfce/Greybird-3.22.14-noarch-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:46 ./slackware64/xfce/Greybird-3.22.14-noarch-3.txz.asc
@@ -5393,9 +5393,9 @@ drwxr-xr-x 2 root root 12288 2021-02-27 19:29 ./slackware64/xfce
-rw-r--r-- 1 root root 163 2021-02-13 13:51 ./slackware64/xfce/libxfce4util-4.16.0-x86_64-3.txz.asc
-rw-r--r-- 1 root root 3369 2020-12-07 21:31 ./slackware64/xfce/maketag
-rw-r--r-- 1 root root 3369 2020-12-07 21:31 ./slackware64/xfce/maketag.ez
--rw-r--r-- 1 root root 423 2021-02-13 13:51 ./slackware64/xfce/mousepad-0.5.2-x86_64-2.txt
--rw-r--r-- 1 root root 328548 2021-02-13 13:51 ./slackware64/xfce/mousepad-0.5.2-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-02-13 13:51 ./slackware64/xfce/mousepad-0.5.2-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 423 2021-02-28 19:42 ./slackware64/xfce/mousepad-0.5.3-x86_64-1.txt
+-rw-r--r-- 1 root root 329260 2021-02-28 19:42 ./slackware64/xfce/mousepad-0.5.3-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-02-28 19:42 ./slackware64/xfce/mousepad-0.5.3-x86_64-1.txz.asc
-rw-r--r-- 1 root root 555 2020-12-07 21:31 ./slackware64/xfce/tagfile
-rw-r--r-- 1 root root 460 2021-02-13 13:51 ./slackware64/xfce/thunar-4.16.3-x86_64-2.txt
-rw-r--r-- 1 root root 1183772 2021-02-13 13:51 ./slackware64/xfce/thunar-4.16.3-x86_64-2.txz
@@ -5478,11 +5478,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 2021-02-27 19:30 ./source
--rw-r--r-- 1 root root 566022 2021-02-27 19:30 ./source/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2021-02-27 19:30 ./source/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 787831 2021-02-27 19:30 ./source/FILE_LIST
--rw-r--r-- 1 root root 22325479 2021-02-27 19:30 ./source/MANIFEST.bz2
+drwxr-xr-x 18 root root 4096 2021-03-01 20:13 ./source
+-rw-r--r-- 1 root root 566542 2021-03-01 20:13 ./source/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2021-03-01 20:13 ./source/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 788565 2021-03-01 20:13 ./source/FILE_LIST
+-rw-r--r-- 1 root root 22332989 2021-03-01 20:13 ./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-02-10 20:41 ./source/a
-rw-r--r-- 1 root root 1470 2021-01-17 20:11 ./source/a/FTBFSlog
@@ -5638,11 +5638,11 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/dosfstools
-rwxr-xr-x 1 root root 4476 2021-02-13 05:31 ./source/a/dosfstools/dosfstools.SlackBuild
-rw-r--r-- 1 root root 41 2021-01-31 19:39 ./source/a/dosfstools/dosfstools.url
-rw-r--r-- 1 root root 794 2018-02-27 06:13 ./source/a/dosfstools/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/e2fsprogs
+drwxr-xr-x 2 root root 4096 2021-03-01 19:34 ./source/a/e2fsprogs
-rw-r--r-- 1 root root 325 2009-05-30 01:25 ./source/a/e2fsprogs/doinst.sh.gz
--rw-r--r-- 1 root root 310 2021-02-10 03:09 ./source/a/e2fsprogs/e2fsprogs-1.46.1.tar.sign
--rw-r--r-- 1 root root 7019700 2021-02-10 03:09 ./source/a/e2fsprogs/e2fsprogs-1.46.1.tar.xz
--rwxr-xr-x 1 root root 7286 2021-02-13 05:31 ./source/a/e2fsprogs/e2fsprogs.SlackBuild
+-rw-r--r-- 1 root root 310 2021-03-01 03:20 ./source/a/e2fsprogs/e2fsprogs-1.46.2.tar.sign
+-rw-r--r-- 1 root root 7020552 2021-03-01 03:20 ./source/a/e2fsprogs/e2fsprogs-1.46.2.tar.xz
+-rwxr-xr-x 1 root root 7286 2021-03-01 19:34 ./source/a/e2fsprogs/e2fsprogs.SlackBuild
-rw-r--r-- 1 root root 262 2018-03-10 19:15 ./source/a/e2fsprogs/e2fsprogs.no.64bit.by.default.diff.gz
-rw-r--r-- 1 root root 861 2019-10-05 18:13 ./source/a/e2fsprogs/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/ed
@@ -5685,10 +5685,10 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/elvis
-rw-r--r-- 1 root root 1584 2003-10-21 02:32 ./source/a/elvis/elvis.clr.orig
-rw-r--r-- 1 root root 673 2010-01-27 18:31 ./source/a/elvis/elvis.ref.c.getline.diff.gz
-rw-r--r-- 1 root root 828 2020-01-12 22:43 ./source/a/elvis/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/etc
--rw-r--r-- 1 root root 28897 2018-09-05 21:46 ./source/a/etc/_etc.tar.gz
+drwxr-xr-x 2 root root 4096 2021-03-01 04:48 ./source/a/etc
+-rw-r--r-- 1 root root 28750 2021-03-01 04:48 ./source/a/etc/_etc.tar.gz
-rw-r--r-- 1 root root 1131 2019-09-08 18:53 ./source/a/etc/doinst.sh.gz
--rwxr-xr-x 1 root root 3110 2021-02-13 05:31 ./source/a/etc/etc.SlackBuild
+-rwxr-xr-x 1 root root 3110 2021-03-01 04:48 ./source/a/etc/etc.SlackBuild
-rw-r--r-- 1 root root 787 2020-05-15 03:05 ./source/a/etc/group.new
-rw-r--r-- 1 root root 536 2002-10-11 20:17 ./source/a/etc/nsswitch.conf.gz
-rw-r--r-- 1 root root 1620 2020-05-15 03:05 ./source/a/etc/passwd.new
@@ -5861,9 +5861,9 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/hostname
-rw-r--r-- 1 root root 50 2019-08-26 18:12 ./source/a/hostname/hostname.url
-rw-r--r-- 1 root root 13672 2019-11-07 11:46 ./source/a/hostname/hostname_3.23.tar.gz
-rw-r--r-- 1 root root 897 2018-02-27 06:13 ./source/a/hostname/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/hwdata
--rw-r--r-- 1 root root 1419331 2021-02-01 09:47 ./source/a/hwdata/hwdata-0.344.tar.lz
--rwxr-xr-x 1 root root 4007 2021-02-13 05:31 ./source/a/hwdata/hwdata.SlackBuild
+drwxr-xr-x 2 root root 4096 2021-03-01 19:37 ./source/a/hwdata
+-rw-r--r-- 1 root root 1422319 2021-03-01 09:16 ./source/a/hwdata/hwdata-0.345.tar.lz
+-rwxr-xr-x 1 root root 4007 2021-03-01 19:37 ./source/a/hwdata/hwdata.SlackBuild
-rw-r--r-- 1 root root 802 2018-02-27 06:13 ./source/a/hwdata/slack-desc
drwxr-xr-x 4 root root 4096 2021-02-13 05:31 ./source/a/infozip
-rwxr-xr-x 1 root root 6620 2021-02-13 05:31 ./source/a/infozip/infozip.SlackBuild
@@ -6543,7 +6543,7 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/a/zoo
-rw-r--r-- 1 root root 173607 1994-12-30 20:19 ./source/a/zoo/zoo-2.10.tar.gz
-rwxr-xr-x 1 root root 3143 2021-02-13 05:31 ./source/a/zoo/zoo.SlackBuild
-rw-r--r-- 1 root root 14136 2010-05-22 09:49 ./source/a/zoo/zoo_2.10-22.debian.tar.gz
-drwxr-xr-x 85 root root 4096 2021-02-07 21:25 ./source/ap
+drwxr-xr-x 85 root root 4096 2021-03-01 19:35 ./source/ap
-rw-r--r-- 1 root root 861 2021-01-17 20:01 ./source/ap/FTBFSlog
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/ap/a2ps
-rw-r--r-- 1 root root 1521 2017-10-01 17:59 ./source/ap/a2ps/a2ps-4.14-texinfo-nodes.patch.gz
@@ -6709,12 +6709,13 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/ap/gutenprint
-rwxr-xr-x 1 root root 4776 2021-02-13 05:31 ./source/ap/gutenprint/gutenprint.SlackBuild
-rw-r--r-- 1 root root 121 2016-02-03 04:22 ./source/ap/gutenprint/setup.cups-genppdupdate
-rw-r--r-- 1 root root 1050 2019-08-27 20:54 ./source/ap/gutenprint/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/ap/hplip
+drwxr-xr-x 2 root root 4096 2021-03-01 05:03 ./source/ap/hplip
-rw-r--r-- 1 root root 869 2018-09-30 10:10 ./source/ap/hplip/0021-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch.gz
-rw-r--r-- 1 root root 1759 2018-09-30 10:10 ./source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch.gz
-rw-r--r-- 1 root root 118 2009-03-05 16:38 ./source/ap/hplip/doinst.sh.gz
+-rw-r--r-- 1 root root 340 2021-03-01 05:02 ./source/ap/hplip/fix-desktop-file.patch.gz
-rw-r--r-- 1 root root 21226281 2020-06-16 05:59 ./source/ap/hplip/hplip-3.20.6.tar.lz
--rwxr-xr-x 1 root root 6377 2021-02-13 05:31 ./source/ap/hplip/hplip.SlackBuild
+-rwxr-xr-x 1 root root 6503 2021-03-01 05:03 ./source/ap/hplip/hplip.SlackBuild
-rw-r--r-- 1 root root 419 2013-03-20 04:46 ./source/ap/hplip/hplip.no.upgrade.diff.gz
-rw-r--r-- 1 root root 291 2017-11-28 00:41 ./source/ap/hplip/hplip.python3.shebang.diff.gz
-rw-r--r-- 1 root root 217 2016-06-01 18:56 ./source/ap/hplip/setup.py.lc_all.c.diff.gz
@@ -7146,7 +7147,7 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/ap/zsh
-rwxr-xr-x 1 root root 4352 2021-02-13 05:31 ./source/ap/zsh/zsh.SlackBuild
-rw-r--r-- 1 root root 23 2018-09-14 17:50 ./source/ap/zsh/zsh.url
-rwxr-xr-x 1 root root 11981 2021-01-08 22:31 ./source/buildlist-from-changelog.sh
-drwxr-xr-x 63 root root 4096 2021-02-27 18:36 ./source/d
+drwxr-xr-x 63 root root 4096 2021-02-28 19:36 ./source/d
drwxr-xr-x 2 root root 4096 2021-02-21 02:20 ./source/d/Cython
-rw-r--r-- 1 root root 1605300 2021-02-20 20:31 ./source/d/Cython/Cython-0.29.22.tar.lz
-rwxr-xr-x 1 root root 3031 2021-02-21 02:20 ./source/d/Cython/Cython.SlackBuild
@@ -7270,10 +7271,10 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/gdb
-rwxr-xr-x 1 root root 4465 2021-02-13 05:31 ./source/d/gdb/gdb.SlackBuild
-rw-r--r-- 1 root root 1200 2018-02-27 06:48 ./source/d/gdb/slack-desc
lrwxrwxrwx 1 root root 12 2010-07-29 00:48 ./source/d/gettext-tools -> ../a/gettext
-drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/git
+drwxr-xr-x 2 root root 4096 2021-02-28 05:59 ./source/d/git
-rw-r--r-- 1 root root 566 2021-02-08 23:45 ./source/d/git/git-2.30.1.tar.sign
-rw-r--r-- 1 root root 6327976 2021-02-08 23:45 ./source/d/git/git-2.30.1.tar.xz
--rwxr-xr-x 1 root root 5305 2021-02-13 05:31 ./source/d/git/git.SlackBuild
+-rwxr-xr-x 1 root root 5481 2021-02-28 05:59 ./source/d/git/git.SlackBuild
-rw-r--r-- 1 root root 45 2015-09-01 20:04 ./source/d/git/git.url
-rw-r--r-- 1 root root 848 2018-02-27 06:13 ./source/d/git/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/gnucobol
@@ -7470,10 +7471,10 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/python-pip
-rw-r--r-- 1 root root 33 2018-03-29 06:10 ./source/d/python-pip/pip.url
-rwxr-xr-x 1 root root 2876 2021-02-13 05:31 ./source/d/python-pip/python-pip.SlackBuild
-rw-r--r-- 1 root root 760 2018-02-27 06:13 ./source/d/python-pip/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-25 19:52 ./source/d/python-setuptools
+drwxr-xr-x 2 root root 4096 2021-03-01 19:42 ./source/d/python-setuptools
-rwxr-xr-x 1 root root 3206 2021-02-25 19:53 ./source/d/python-setuptools/python-setuptools.SlackBuild
-rw-r--r-- 1 root root 40 2017-11-28 22:11 ./source/d/python-setuptools/python-setuptools.url
--rw-r--r-- 1 root root 1195008 2021-02-25 14:44 ./source/d/python-setuptools/setuptools-53.1.0.tar.lz
+-rw-r--r-- 1 root root 1195846 2021-02-28 22:28 ./source/d/python-setuptools/setuptools-54.0.0.tar.lz
-rw-r--r-- 1 root root 1059 2018-02-27 06:13 ./source/d/python-setuptools/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/python2
-rw-r--r-- 1 root root 12854736 2020-04-19 21:50 ./source/d/python2/Python-2.7.18.tar.xz
@@ -7555,13 +7556,13 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/swig
-rw-r--r-- 1 root root 5863984 2020-06-08 19:20 ./source/d/swig/swig-4.0.2.tar.lz
-rwxr-xr-x 1 root root 4010 2021-02-13 05:31 ./source/d/swig/swig.SlackBuild
-rw-r--r-- 1 root root 87 2013-06-05 09:05 ./source/d/swig/swig.url
-drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/vala
+drwxr-xr-x 2 root root 4096 2021-02-28 19:44 ./source/d/vala
-rw-r--r-- 1 root root 1718 2019-03-10 18:11 ./source/d/vala/disable-graphviz.patch.gz
-rw-r--r-- 1 root root 116 2019-03-10 18:05 ./source/d/vala/disable-graphviz.patch.url
-rw-r--r-- 1 root root 233 2018-11-11 05:10 ./source/d/vala/no.gvc-compat.c.diff.gz
-rw-r--r-- 1 root root 849 2018-04-04 20:22 ./source/d/vala/slack-desc
--rw-r--r-- 1 root root 3512868 2021-01-10 16:51 ./source/d/vala/vala-0.50.3.tar.xz
--rwxr-xr-x 1 root root 4893 2021-02-13 05:31 ./source/d/vala/vala.SlackBuild
+-rw-r--r-- 1 root root 3531240 2021-02-28 09:32 ./source/d/vala/vala-0.50.4.tar.xz
+-rwxr-xr-x 1 root root 4893 2021-02-28 19:44 ./source/d/vala/vala.SlackBuild
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/yasm
-rw-r--r-- 1 root root 1043 2018-02-27 06:13 ./source/d/yasm/slack-desc
-rw-r--r-- 1 root root 957808 2014-11-09 10:53 ./source/d/yasm/yasm-1.3.0.tar.xz
@@ -10181,8 +10182,8 @@ drwxr-xr-x 2 root root 4096 2018-01-05 18:45 ./source/l/id3lib/patches
-rw-r--r-- 1 root root 629 2017-09-11 16:30 ./source/l/id3lib/patches/id3lib.utf8_writing.patch.gz
-rw-r--r-- 1 root root 517 2017-09-11 16:30 ./source/l/id3lib/patches/id3lib.vbr_stack_smash.patch.gz
-rw-r--r-- 1 root root 927 2018-02-27 06:12 ./source/l/id3lib/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-21 19:19 ./source/l/imagemagick
--rw-r--r-- 1 root root 10182349 2021-02-21 12:37 ./source/l/imagemagick/ImageMagick-7.0.11-1.tar.lz
+drwxr-xr-x 2 root root 4096 2021-02-28 19:40 ./source/l/imagemagick
+-rw-r--r-- 1 root root 10184760 2021-02-28 02:13 ./source/l/imagemagick/ImageMagick-7.0.11-2.tar.lz
-rw-r--r-- 1 root root 309 2016-05-17 04:08 ./source/l/imagemagick/doinst.sh.gz
-rwxr-xr-x 1 root root 7092 2021-02-19 18:54 ./source/l/imagemagick/imagemagick.SlackBuild
-rw-r--r-- 1 root root 43 2020-09-30 21:13 ./source/l/imagemagick/imagemagick.url
@@ -11127,9 +11128,9 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/python-packaging
-rw-r--r-- 1 root root 36 2020-01-25 18:33 ./source/l/python-packaging/packaging.url
-rwxr-xr-x 1 root root 2904 2021-02-13 05:32 ./source/l/python-packaging/python-packaging.SlackBuild
-rw-r--r-- 1 root root 829 2018-08-27 18:22 ./source/l/python-packaging/slack-desc
-drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/python-pillow
--rw-r--r-- 1 root root 624310 2021-01-02 11:39 ./source/l/python-pillow/Pillow-8.1.0.tar.lz
--rwxr-xr-x 1 root root 3337 2021-02-13 05:32 ./source/l/python-pillow/python-pillow.SlackBuild
+drwxr-xr-x 2 root root 4096 2021-03-01 19:41 ./source/l/python-pillow
+-rw-r--r-- 1 root root 625406 2021-03-01 08:24 ./source/l/python-pillow/Pillow-8.1.1.tar.lz
+-rwxr-xr-x 1 root root 3337 2021-03-01 19:41 ./source/l/python-pillow/python-pillow.SlackBuild
-rw-r--r-- 1 root root 40 2020-05-03 01:46 ./source/l/python-pillow/python-pillow.url
-rw-r--r-- 1 root root 987 2019-10-02 22:29 ./source/l/python-pillow/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/python-ply
@@ -11442,7 +11443,7 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/l/zstd
-rw-r--r-- 1 root root 325 2018-12-30 04:38 ./source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff.gz
-rw-r--r-- 1 root root 33 2018-11-08 01:06 ./source/l/zstd/zstd.url
-rwxr-xr-x 1 root root 14547 2021-02-14 06:12 ./source/make_world.sh
-drwxr-xr-x 151 root root 4096 2021-02-27 18:58 ./source/n
+drwxr-xr-x 151 root root 4096 2021-03-01 04:44 ./source/n
-rw-r--r-- 1 root root 1448 2021-01-17 00:09 ./source/n/FTBFSlog
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/n/ModemManager
-rw-r--r-- 1 root root 2378324 2021-01-16 13:45 ./source/n/ModemManager/ModemManager-1.14.10.tar.xz
@@ -12074,15 +12075,22 @@ 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 2020-09-05 06:09 ./source/n/network-scripts
+drwxr-xr-x 5 root root 4096 2021-02-28 05:39 ./source/n/network-scripts
+-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
+-rw-r--r-- 1 root root 28190 2021-02-28 05:36 ./source/n/network-scripts/README.networking
-rw-r--r-- 1 root root 485 2007-04-26 01:50 ./source/n/network-scripts/doinst.sh.gz
drwxr-xr-x 2 root root 4096 2020-08-14 03:30 ./source/n/network-scripts/manpages
--rw-r--r-- 1 root root 3486 2020-08-14 03:30 ./source/n/network-scripts/manpages/rc.inet1.8
--rw-r--r-- 1 root root 12797 2020-08-14 03:30 ./source/n/network-scripts/manpages/rc.inet1.conf.5
-drwxr-xr-x 2 root root 4096 2020-08-14 03:30 ./source/n/network-scripts/modprobe.d
--rw-r--r-- 1 root root 442 2020-08-14 03:30 ./source/n/network-scripts/modprobe.d/bonding.conf
--rw-r--r-- 1 root root 344 2020-08-14 03:30 ./source/n/network-scripts/modprobe.d/ipv6.conf
--rwxr-xr-x 1 root root 3023 2021-02-25 20:21 ./source/n/network-scripts/network-scripts.SlackBuild
+-rw-r--r-- 1 root root 3482 2021-02-28 05:34 ./source/n/network-scripts/manpages/rc.inet1.8
+-rw-r--r-- 1 root root 12258 2021-02-28 05:34 ./source/n/network-scripts/manpages/rc.inet1.conf.5
+drwxr-xr-x 3 root root 4096 2021-02-28 05:29 ./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
+drwxr-xr-x 2 root root 4096 2021-02-28 02:09 ./source/n/network-scripts/modprobe.d/modprobe.d
+-rw-r--r-- 1 root root 442 2021-02-28 02:09 ./source/n/network-scripts/modprobe.d/modprobe.d/bonding.conf
+-rw-r--r-- 1 root root 344 2021-02-28 02:09 ./source/n/network-scripts/modprobe.d/modprobe.d/ipv6.conf
+-rwxr-xr-x 1 root root 3298 2021-02-28 19:23 ./source/n/network-scripts/network-scripts.SlackBuild
drwxr-xr-x 2 root root 4096 2021-02-27 18:53 ./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
@@ -12090,12 +12098,12 @@ drwxr-xr-x 2 root root 4096 2021-02-27 18:53 ./source/n/network-scripts/sc
-rw-r--r-- 1 root root 293 1993-11-26 01:54 ./source/n/network-scripts/scripts/hosts.allow
-rw-r--r-- 1 root root 296 1993-11-26 01:54 ./source/n/network-scripts/scripts/hosts.deny
-rw-r--r-- 1 root root 320 1998-02-09 01:57 ./source/n/network-scripts/scripts/hosts.equiv
--rw-r--r-- 1 root root 34463 2021-02-27 18:53 ./source/n/network-scripts/scripts/netconfig
+-rw-r--r-- 1 root root 37824 2021-02-28 21:25 ./source/n/network-scripts/scripts/netconfig
-rw-r--r-- 1 root root 233 1999-10-07 05:21 ./source/n/network-scripts/scripts/networks
-rw-r--r-- 1 root root 24 1998-02-09 02:21 ./source/n/network-scripts/scripts/nntpserver
-rw-r--r-- 1 root root 5748 2002-02-10 09:01 ./source/n/network-scripts/scripts/protocols
--rw-r--r-- 1 root root 27005 2020-09-05 06:04 ./source/n/network-scripts/scripts/rc.inet1
--rw-r--r-- 1 root root 10358 2020-08-14 03:30 ./source/n/network-scripts/scripts/rc.inet1.conf
+-rw-r--r-- 1 root root 27317 2021-02-28 21:01 ./source/n/network-scripts/scripts/rc.inet1
+-rw-r--r-- 1 root root 9934 2021-02-28 05:37 ./source/n/network-scripts/scripts/rc.inet1.conf
-rw-r--r-- 1 root root 5340 2019-10-13 18:53 ./source/n/network-scripts/scripts/rc.inet2
-rw-r--r-- 1 root root 3781 2013-05-19 03:20 ./source/n/network-scripts/scripts/rc.ip_forward
-rw-r--r-- 1 root root 19 1999-01-28 01:15 ./source/n/network-scripts/scripts/resolv.conf
@@ -12485,14 +12493,14 @@ drwxr-xr-x 2 root root 4096 2021-02-16 19:24 ./source/n/whois
-rw-r--r-- 1 root root 84632 2021-02-16 00:54 ./source/n/whois/whois-5.5.8.tar.lz
-rwxr-xr-x 1 root root 2907 2021-02-16 19:24 ./source/n/whois/whois.SlackBuild
-rw-r--r-- 1 root root 33 2019-07-24 18:55 ./source/n/whois/whois.url
-drwxr-xr-x 3 root root 4096 2021-02-13 05:32 ./source/n/wireless_tools
+drwxr-xr-x 3 root root 4096 2021-02-28 05:49 ./source/n/wireless_tools
-rw-r--r-- 1 root root 389 2007-05-10 01:04 ./source/n/wireless_tools/doinst.sh.gz
drwxr-xr-x 2 root root 4096 2017-11-14 23:02 ./source/n/wireless_tools/scripts
--rw-r--r-- 1 root root 13344 2017-07-11 21:58 ./source/n/wireless_tools/scripts/rc.wireless
+-rw-r--r-- 1 root root 13538 2021-02-28 05:47 ./source/n/wireless_tools/scripts/rc.wireless
-rw-r--r-- 1 root root 7349 2017-07-11 21:58 ./source/n/wireless_tools/scripts/rc.wireless.conf
-rw-r--r-- 1 root root 1139 2018-04-10 12:34 ./source/n/wireless_tools/slack-desc
-rw-r--r-- 1 root root 182226 2016-11-04 17:56 ./source/n/wireless_tools/wireless_tools.30.pre9.tar.lz
--rwxr-xr-x 1 root root 4055 2021-02-13 05:32 ./source/n/wireless_tools/wireless_tools.SlackBuild
+-rwxr-xr-x 1 root root 4055 2021-02-28 05:49 ./source/n/wireless_tools/wireless_tools.SlackBuild
-rw-r--r-- 1 root root 227 2005-07-14 05:20 ./source/n/wireless_tools/wireless_tools.nowhine.diff.gz
-rw-r--r-- 1 root root 59 2018-12-31 19:59 ./source/n/wireless_tools/wireless_tools.url
drwxr-xr-x 4 root root 4096 2021-02-13 05:32 ./source/n/wpa_supplicant
@@ -14578,11 +14586,11 @@ drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/libxfce4util
-rw-r--r-- 1 root root 410497 2020-12-22 22:52 ./source/xfce/libxfce4util/libxfce4util-4.16.0.tar.lz
-rwxr-xr-x 1 root root 4860 2021-02-13 05:32 ./source/xfce/libxfce4util/libxfce4util.SlackBuild
-rw-r--r-- 1 root root 776 2018-02-27 06:13 ./source/xfce/libxfce4util/slack-desc
-drwxr-sr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/mousepad
+drwxr-sr-x 2 root root 4096 2021-02-28 19:41 ./source/xfce/mousepad
-rw-r--r-- 1 root root 200 2020-06-21 08:00 ./source/xfce/mousepad/doinst.sh.gz
--rw-r--r-- 1 root root 713335 2021-01-31 13:31 ./source/xfce/mousepad/mousepad-0.5.2.tar.lz
--rwxr-xr-x 1 root root 3861 2021-02-13 05:32 ./source/xfce/mousepad/mousepad.SlackBuild
--rw-r--r-- 1 root root 70 2021-01-31 19:53 ./source/xfce/mousepad/mousepad.url
+-rw-r--r-- 1 root root 714007 2021-02-28 14:56 ./source/xfce/mousepad/mousepad-0.5.3.tar.lz
+-rwxr-xr-x 1 root root 3861 2021-02-28 19:41 ./source/xfce/mousepad/mousepad.SlackBuild
+-rw-r--r-- 1 root root 70 2021-02-28 19:41 ./source/xfce/mousepad/mousepad.url
-rw-r--r-- 1 root root 921 2020-06-21 07:57 ./source/xfce/mousepad/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/thunar
drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xfce/thunar-volman
diff --git a/recompress.sh b/recompress.sh
index 30407098..cd5164e4 100755
--- a/recompress.sh
+++ b/recompress.sh
@@ -621,6 +621,7 @@ gzip ./source/ap/hplip/setup.py.lc_all.c.diff
gzip ./source/ap/hplip/doinst.sh
gzip ./source/ap/hplip/hplip.python3.shebang.diff
gzip ./source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
+gzip ./source/ap/hplip/fix-desktop-file.patch
gzip ./source/ap/hplip/0021-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
gzip ./source/ap/lxc/doinst.sh
gzip ./source/ap/ghostscript-fonts-std/doinst.sh
diff --git a/source/a/e2fsprogs/e2fsprogs.SlackBuild b/source/a/e2fsprogs/e2fsprogs.SlackBuild
index fa90bc8d..0e58d803 100755
--- a/source/a/e2fsprogs/e2fsprogs.SlackBuild
+++ b/source/a/e2fsprogs/e2fsprogs.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=e2fsprogs
VERSION=${VERSION:-$(echo e2fsprogs*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/a/etc/_etc/etc/hosts.new b/source/a/etc/_etc/etc/hosts.new
index 6e33147f..75888c58 100644
--- a/source/a/etc/_etc/etc/hosts.new
+++ b/source/a/etc/_etc/etc/hosts.new
@@ -6,16 +6,12 @@
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
-# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
-# should NEVER be named with the name of the machine. It causes problems
-# for some (stupid) programs, irc and reputedly talk. :^)
-#
# For loopbacking.
127.0.0.1 localhost
-# This next entry is technically wrong, but good enough to get TCP/IP apps
-# to quit complaining that they can't verify the hostname on a loopback-only
-# Linux box.
+::1 localhost
+# Same thing for the default hostname if nothing was set up by netconfig:
127.0.0.1 darkstar.example.net darkstar
+::1 darkstar.example.net darkstar
# End of hosts.
diff --git a/source/a/etc/etc.SlackBuild b/source/a/etc/etc.SlackBuild
index 90581406..424de599 100755
--- a/source/a/etc/etc.SlackBuild
+++ b/source/a/etc/etc.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=etc
VERSION=15.0
-BUILD=${BUILD:-13}
+BUILD=${BUILD:-14}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/a/hwdata/hwdata.SlackBuild b/source/a/hwdata/hwdata.SlackBuild
index b879c250..143ac8c1 100755
--- a/source/a/hwdata/hwdata.SlackBuild
+++ b/source/a/hwdata/hwdata.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=hwdata
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
diff --git a/source/ap/hplip/fix-desktop-file.patch b/source/ap/hplip/fix-desktop-file.patch
new file mode 100644
index 00000000..050e9aa8
--- /dev/null
+++ b/source/ap/hplip/fix-desktop-file.patch
@@ -0,0 +1,13 @@
+diff -Nur hplip-3.20.6.orig/hp-uiscan.desktop.in hplip-3.20.6/hp-uiscan.desktop.in
+--- hplip-3.20.6.orig/hp-uiscan.desktop.in 2020-06-09 06:20:52.000000000 -0500
++++ hplip-3.20.6/hp-uiscan.desktop.in 2021-02-28 23:02:12.015266747 -0600
+@@ -3,6 +3,7 @@
+ Version=1.0
+ Type=Application
+ Terminal=false
+-Name=hp-uiscan
++Name=HP Scan Utility
+ Exec=/usr/bin/hp-uiscan
+-Icon=/usr/share/icons/Humanity/devices/48/printer.svg
++Categories=Application;Utility;
++Icon=@abs_datadir@/hplip/data/images/128x128/hp_logo.png
diff --git a/source/ap/hplip/hplip.SlackBuild b/source/ap/hplip/hplip.SlackBuild
index ba5a1c5a..a33b2c8a 100755
--- a/source/ap/hplip/hplip.SlackBuild
+++ b/source/ap/hplip/hplip.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=hplip
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-6}
+BUILD=${BUILD:-7}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -83,6 +83,9 @@ zcat $CWD/setup.py.lc_all.c.diff.gz | patch -p1 --verbose || exit 1
# Fix a few .py files lacking #!/usr/bin/python3:
zcat $CWD/hplip.python3.shebang.diff.gz | patch -p1 --verbose || exit 1
+# Fix the desktop file to show correct icon and category
+zcat $CWD/fix-desktop-file.patch.gz | patch -p1 --verbose || exit 1
+
# Choose correct options depending on whether PAM is installed:
if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
unset SHADOW_OPTIONS
diff --git a/source/d/git/git.SlackBuild b/source/d/git/git.SlackBuild
index 945280e8..2bfa0d7b 100755
--- a/source/d/git/git.SlackBuild
+++ b/source/d/git/git.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=git
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -95,6 +95,10 @@ cp -a \
( cd $PKG/usr/doc/git-$VERSION/Documentation ; rm *.1 *.3 *.7 )
( cd $PKG/usr/doc/git-$VERSION && find . -name ".git*" -exec rm -r "{}" \+ )
+mkdir -p $PKG/usr/share/bash-completion/completions
+ln -s /usr/doc/git-$VERSION/contrib/completion/git-completion.bash \
+ $PKG/usr/share/bash-completion/completions/git
+
make $NUMJOBS \
prefix=/usr \
mandir=/usr/man \
diff --git a/source/d/vala/vala.SlackBuild b/source/d/vala/vala.SlackBuild
index e70d3851..9d95a215 100755
--- a/source/d/vala/vala.SlackBuild
+++ b/source/d/vala/vala.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=vala
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/l/python-pillow/python-pillow.SlackBuild b/source/l/python-pillow/python-pillow.SlackBuild
index 983e27bb..84127f41 100755
--- a/source/l/python-pillow/python-pillow.SlackBuild
+++ b/source/l/python-pillow/python-pillow.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-pillow
VERSION=${VERSION:-$(echo Pillow-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/network-scripts/README.IPv6 b/source/n/network-scripts/README.IPv6
new file mode 100644
index 00000000..fe4be5fc
--- /dev/null
+++ b/source/n/network-scripts/README.IPv6
@@ -0,0 +1,182 @@
+IPv6 for Slackware
+==================
+
+Features
+--------
+* Dual stack. Interfaces can be configured with an IPv4 address or an IPv6
+ address, or both.
+* Each interface can have single or multiple v4 and/or v6 IPs. Additional
+ v4 IPs are added as 'alias' interfaces, whereas v6 IPs are simply added
+ to the interface.
+* Optional StateLess Address Auto Configuration (SLAAC) of v6 IP addresses
+ (disabled by default).
+* DHCPv6 support for server controlled address configuration.
+* Fixed IP configuration of IPv6 interfaces.
+
+Configuration
+-------------
+v6 IPs can be configured via SLAAC, DHCP6 or statically using the following new
+options for rc.inet1.conf:
+ USE_SLAAC[x]="" Allow StateLess Address Auto Configuration of a
+ (potentially) globally routable v6 IP. With this option
+ set to "yes", the interface's v6 IP will ONLY be
+ configured via SLAAC, even if RA indicates DHCP6 is
+ available on the network - if SLAAC is not available on
+ the network, no IPv6 address will be assigned.
+
+ Since dhcpcd is capable of handling SLAAC as well as
+ DHCP, it is better practice to set USE_DHCP6[x]="yes" to
+ perform full auto configuration instead.
+
+ USE_DHCP6[x]="" Use dhcpcd to configure the interface. This will bring
+ up the interface using DHCP6, falling back to SLAAC (if
+ configured on the network), or will leave the interface
+ unconfigured after a timeout. When this option is set
+ to "yes", the USE_SLAAC[x] option is ignored.
+
+ This is the preferred option to configure an interface
+ dynamically - whether the network is setup for DHCP6 or
+ SLAAC, dhcpcd will be able to configure the interface.
+
+ IP6ADDRS[x]="" The static v6 IP addresses for the interface. This
+ option takes a list of v6 IP addresses and prefix
+ lengths in CIDR notation, in a space delimited list.
+ For example: IP6ADDRS[x]="a:b:c:d:e::1/48 1:2:3:4::5/64"
+
+ If a prefix length is not given (separated from the IP
+ address with a /), a length of 64 will be assumed, and
+ a warning emitted about the unset value.
+
+ When either the USE_DHCP6[x] or USE_SLAAC[x] options are
+ set to "yes", this setting is ignored - dynamic
+ configuration takes precedence over fixed IPs in
+ Slackware.
+
+ GATEWAY6="" The default IPv6 gateway for the network. This is a
+ IPv6 address in standard format.
+
+The following lesser used misc options have been added for use in rc.inet1.conf:
+ USE_RA[x]="" Normally, unless USE_SLAAC[x]="yes" is set, Router
+ Advertisment (RA) is disabled for the interface as it
+ can result in extraneous routes being added to the
+ routing table. With this option set to "yes", RA
+ packets will be accepted on the interface even when DHCP
+ or fixed IP addressing is used, and the routes
+ advertised by the router will be added to the table.
+
+ Conversely, if this option is explicitly set to "no", RA
+ will be disabled at all times - meaning SLAAC cannot be
+ performed even when USE_SLAAC[x]="yes" is set. The
+ default (unset) is to enable RA when SLAAC is in use,
+ and to disable it otherwise.
+
+ The use of this option should rarely be required as
+ rc.inet1 will do the right thing.
+
+ SLAAC_TIMEOUT[x]="" The time to wait (in seconds) for an interface to be
+ configured by SLAAC. When unset, the default is 15.
+ Some networks may require a longer period for the router
+ to broadcast an advertisement packet on the network.
+
+
+Disabling IPv6
+--------------
+For some use cases, where IPv6 support is not required at all, disabling IPv6
+may be a better option than leaving the interface unconfigured.
+
+There are two similar methods which can be used to disable IPv6. Both of the
+options involve creating (or replacing the content if it already exists) the
+file /etc/modprobe.d/ipv6.conf (which overrides any configuration in the
+/lib/modprobe.d/ipv6.conf file), and making the content as follows:
+ alias ipv6 off
+ alias net-pf-10 off
+Or:
+ install ipv6 /bin/true
+ install net-pf-10 /bin/true
+
+It is important to disable both the 'ipv6' and 'net-pf-10' modules since the
+module can be automatically loaded by each name.
+
+
+Changes from previous Slackware versions
+----------------------------------------
+* Previously, if the network the host is connecting to is configured for
+ StateLess Address Auto Configuration (SLAAC), the host would bring up an
+ interface with a (potentially) globally routable IPv6 address with no
+ configuration by the user. This has been changed so that all network
+ configuration must be explicitly enabled. Thus, interfaces will no longer
+ automatically come up with a valid IPv6 address on networks which support auto
+ configuration, without enabling the USE_SLAAC[x]="yes" option for the
+ interface. This is a security enhancement.
+
+* Unless RA is explicitly enabled using the USE_RA[x]="yes" option, rc.inet1 now
+ disables RA (via the accept_ra tunable in /proc) for an interface before
+ trying to add any IPs configured for it. This prevents RA on the network from
+ automatically adding any routes to the table. When USE_SLAAC[x]="yes" is set,
+ RA is implicitly re-enabled for the interface (since SLAAC and RA are usually
+ used together on a network), unless explicitly disabled with USE_RA[x]="no".
+ This is a change from previous versions of Slackware, which would auto
+ configure routes. This is a security enhancement in the same vein as above.
+
+* Interfaces will no longer be brought into the 'up' state unless they are
+ actually configured with an IP address. In previous versions, no matter
+ whether the interface was assigned an IP (either via DHCP or a fixed IP) or
+ not, the interface would be left in the 'up' state after executing 'rc.inet1
+ start'. This will no longer happen and is considered a clean-up of the
+ previous behaviour.
+
+* If no NETMASK[x] is set for an interface, rc.inet1 will now assume a
+ prefix/netmask of 24 (and will emit a warning). CIDR notation netmasks are now
+ recommended (with the leading / as optional), but the old style dotted-quad
+ notation is still accepted for IPv4. This is a configuration enhancement.
+
+* In previous versions, the IP aliases configuration for IPv4 assumed a netmask
+ of /32, making the interface only addressable by itself. Now, a netmask of
+ /24 is assumed where none is provided in the configuration. This is a bugfix.
+
+* Sometime during this -current cycle, the call to dhcpcd gained a hard coded -L
+ (disable use of IPv4LL addresses as last resort) parameter which effectively
+ rendered the DHCP_NOIPV4LL[x] option redundant - the use of -L was not
+ contingent upon the value of DHCP_NOIPV4LL[x]. The hard coded -L has been
+ removed from the dhcpcd command line, restoring the behaviour of 14.2 and the
+ usefulness of the DHCP_NOIPV4LL[x] option.
+
+
+Known issues
+------------
+* When being invoked without the -4 or -6 option (that is, when both USE_DHCP[x]
+ and USE_DHCP6[x] are set), dhcpcd will only wait until one type of IP is
+ obtained before backgrounding - it will not wait for both a v4 AND v6 to be
+ configured. This means there is no way to know if the interface has been
+ configured for both types of IP, as one type will continue to be sought in the
+ background; but may ultimately fail. This is an issue with the way dhcpcd
+ operates and not an issue with rc.inet1.
+
+* Changes in interface configuration type from DHCP to fixed IP or stateless
+ will cause an issue where the dhcpcd daemon fails to be stopped during a
+ restart or stop/start operation because rc.inet1 is unaware of how an
+ interface was previously configured - it can only stop the interface based
+ upon its current configuration. This is a by-product of the way the rc.inet1
+ script is coded (there is no record kept of the previous configuration type of
+ an interface) and is present (but doesn't seem to be documented anywhere) on
+ previous versions of Slackware. This particular issue is not specifically
+ related to IPv6, but is documented here for completeness.
+
+* When being killed in if_down(), dhcpcd requires some command line options to
+ match those which were used to invoke it - not only does the interface name
+ need to match, but also the use of -4/-6. This can cause a problem during a
+ restart or stop/start of the interface if the configuration for DHCP has
+ changed. This manifests itself in the same way as the issue detailed above
+ and is no more serious. In both cases, the end user must kill the dhcpcd
+ daemon manually. This issue is caused by the new way dhcpcd is invoked when
+ using/not using IPv6.
+
+
+Thanks
+------
+* Robby Workman, for the original iproute2 version of rc.inet1 and advice.
+* David Spencer, for advice, debating, and testing the SLAAC implementation.
+
+--
+Darren 'Tadgy' Austin.
+<darren (at) afterdark.org.uk>
diff --git a/source/n/network-scripts/README.VLANs b/source/n/network-scripts/README.VLANs
new file mode 100644
index 00000000..108c399e
--- /dev/null
+++ b/source/n/network-scripts/README.VLANs
@@ -0,0 +1,52 @@
+VLANs (aka, 802.1q)
+===================
+
+Features
+--------
+* Simple configuration of VLAN interfaces using standard rc.inet1.conf
+ variables.
+* Utilises the new IFOPTS[x]="" paramter, which allows VLAN interface
+ specific configuration, supporting the use of any option.
+* VLAN interfaces can be built on top of bonds and virtual or physical
+ interfaces.
+
+
+Configuration
+-------------
+Configuring VLAN bound interfaces utilises the standard Slackware networking
+configuration syntax in rc.inet1.conf, with setting up an interface as simple
+as changing the IFNAME[x].
+
+VLAN interfaces can be configured quite simply in rc.inet1.conf, in the standard
+Slackware way of defining an interface. The key to the configuration is to use
+the correct IFNAME[x]="" setting for the underlying ethernet (or bond) interface
+and the tagged VLAN ID that should be exposed. For example:
+ IFNAME[0]="eth0.10"
+ IFOPTS[0]=""
+ IPADDR[0]="192.168.10.1"
+ NETMASK[0]="24"
+
+The VLAN ID is taken from the full interface name, which is comprised of the
+underlying interface name, a period (.) and then the VLAN ID to expose.
+The above example would use the physical interface 'eth0', and expose the VLAN
+with ID '10'.
+
+It is also possible to use a bond as the underlying interface, which allows
+link aggregated VLAN interfaces to be created for network redundancy.
+
+The interfaces support IPv4 and IPv6 IP addressing configured in the Slackware
+way in rc.inet1.conf.
+
+IFOPTS[x] is a pipe (|) delimited list of VLAN kernel module specific settings
+to be applied to the interface. The ip-link(8) man page contains details of
+exactly what settings can be used with this option (search for "VLAN Type
+Support"). For example:
+ VLANOPTS[x]="protocol 802.1ad | reorder_hdr off"
+
+Under normal circumstances, where a standard VLAN interface is required, no
+options should be supplied.
+
+
+--
+Darren 'Tadgy' Austin.
+<darren (at) afterdark.org.uk>
diff --git a/source/n/network-scripts/README.bonding b/source/n/network-scripts/README.bonding
new file mode 100644
index 00000000..5f14e50c
--- /dev/null
+++ b/source/n/network-scripts/README.bonding
@@ -0,0 +1,129 @@
+Bonding (link aggregation)
+==========================
+
+Features
+--------
+* Full support of features offered by the bonding kernel module.
+* Selectable bonding mode using a single parameter in rc.inet1.conf.
+* Easy addition of interfaces to the bond using a parameter in rc.inet1.conf.
+* Custom bonding module options can be provided using the generic parameter
+ IFOPTS[x] in the configuration file.
+
+Configuration
+-------------
+Bonding interfaces can be configured via two new bond specific parameters in
+rc.inet1.conf, plus use of the generic IFOPTS[x] parameter. New parameters
+are:
+ BONDNICS[x]="" The space delimited list of interfaces to add to this
+ bond. The interfaces will be brought up and configured
+ while bringing up the interface, so do not need to be
+ previously defined in rc.inet1.conf. A bond can be
+ created with only 1 interface, but does not become
+ useful until at least 2 interfaces are configured.
+
+ BONDMODE[x]="" This parameter sets the bonding mode for this
+ interface. If not specified when BONDNICS[x] has been
+ used, the default is 'balance-rr'. See below for a
+ list of all bonding modes available.
+
+The following bond modes are available:
+ balance-rr This mode is also known as round-robin mode. Packets
+ are sequentially transmitted and received through each
+ interface one by one. This mode provides load
+ balancing functionality along with fault tolerance.
+ active-backup When in this mode only one interface set to active,
+ while all other interfaces are in the backup state. If
+ the active interface fails, a backup interface replaces
+ it as the only active interface in the bond. This mode
+ only provides fault tolerance, no load balancing.
+ This mode requires that the 'primary <interface>'
+ option be configured with the IFOPTS[x] parameter.
+ balance-xor The source MAC address uses exclusive or (XOR) logic
+ with the destination MAC address. This calculation
+ ensures that the same slave interface is selected for
+ each destination MAC address. This mode provides fault
+ tolerance and load balancing.
+ broadcast All packets are sent to all the slaved interfaces. This
+ mode provides fault tolerance, but may result in
+ duplicate packets arriving at the destination.
+ 802.3ad Also known as LACP. This mode creates aggregation
+ groups that share the same speed and duplex settings,
+ and it requires a switch that supports an IEEE 802.3ad.
+ This mode uses all interfaces to form the aggregation
+ group and provides fault tolerance and load balancing.
+ balance-tlb This mode ensures that the outgoing traffic
+ distribution is set according to the load on each
+ interface and that the current interface receives all
+ the incoming traffic. If the assigned interface fails
+ to receive traffic, another interface is assigned to
+ the receiving role. This provides fault tolerance and
+ load balancing.
+ balance-alb The receiving packets are load balanced through Address
+ Resolution Protocol (ARP) negotiation. This mode
+ provides fault tolerance and load balancing.
+
+Module specific interface options can be set using the the IFOPTS[x] paramter,
+which takes a pipe (|) delimited list of options for the interface. The
+following are the most useful options which can be set with IFOPTS[x]:
+ miimon Specifies the MII link monitoring frequency in milliseconds.
+ This determines how often the link state of each slaved
+ interface is checked for link failures. A value of zero
+ disables MII link monitoring, but this is NOT advised. A value
+ of 100 is a good starting point. The default value is 0, so be
+ sure to set this option with ALL modes.
+ lacp_rate This option specifies the rate at which the host will ask the
+ link partner to transmit LACPDU packets in 802.3ad mode.
+ Possible values are:
+ slow Transmit LACPDUs every 30 seconds.
+ fast Transmit LACPDUs every 1 second.
+ The default is slow, but fast is recommended.
+ primary The interface (eth0, eth2, ...) selecting which slave is the
+ primary device. The specified interface will always be the
+ active slave while it is available. Only when the primary is
+ off-line will alternate interfaces be used. This is useful
+ when one interface is preferred over another (e.g. when one
+ interface has higher throughput than another). This option
+ is only valid for active-backup, balance-tlb, and balance-alb
+ modes.
+ xmit_hash_policy
+ Selects the transmit hash policy to use for interface selection
+ in balance-xor, 802.3ad, and balance-tlb modes. Possible
+ values are:
+ layer2 Use XOR of source/dest hardware MAC addresses
+ and packet type ID fields to generate the hash.
+ This algorithm will place all traffic to a
+ particular network peer on the same slave.
+ layer2+3 Use a combination of layer2 and layer3 protocol
+ information (hardware MAC addresses and IP
+ addresses) to generate the hash.
+ This algorithm will place all traffic to a
+ particular network peer on the same slave.
+ This policy is intended to provide a more
+ balanced distribution of traffic than layer2
+ alone, especially in environments where a
+ layer3 gateway device is required to reach most
+ destinations.
+ layer3+4 This policy uses upper layer protocol
+ information, when available, to generate the
+ hash. This allows for traffic to a particular
+ network peer to span multiple slave interfaces,
+ although a single connection will not span
+ multiple slaves.
+ The default value is layer2. Additional (lesser used) policies
+ are available, and documented in kernel source documentation:
+ /usr/src/linux/Documentation/networking/bonding.txt
+
+The IFOPTS[x] option should always include the 'miimon' option - not using this
+option will result in network degradation.
+In 'active-backup' mode, the 'primary' option should also be supplied.
+When using '802.3ad mode', set "lacp_rate fast" for faster recovery from an
+interface failure.
+In other modes, the 'xmit_hash_policy' should be set.
+
+Full documentation of the bonding layer is available in the kernel source
+documentation: /usr/src/linux/Documentation/networking/bonding.txt.
+
+
+--
+Darren 'Tadgy' Austin.
+<darren (at) afterdark.org.uk>
diff --git a/source/n/network-scripts/README.networking b/source/n/network-scripts/README.networking
new file mode 100644
index 00000000..835db50a
--- /dev/null
+++ b/source/n/network-scripts/README.networking
@@ -0,0 +1,554 @@
+Slackware Network Configuration
+===============================
+
+Networking in Slackware is configured by the /etc/rc.d/rc.inet1 script, and the
+configuration file /etc/rc.d/rc.inet1.conf. Wireless interfaces are configured
+just like any network interface, but accept many more configuration parameters.
+
+The rc.inet1.conf file contains a series of variable array definitions, with
+each array index corresponding to a single network interface. This means that
+each set of parameters with an index of 0 configure the first interface (since
+indexing starts at 0), parameters with an index of 1 configure the second
+interface, and so on. Not all parameters need to be set for each type of
+interface, or interface number. This is better illustrated with examples,
+which you will find in the documentation below.
+
+
+Starting and Stopping Interfaces
+--------------------------------
+The way to start networking (configuring all NICs, bringing the interfaces up,
+and creating a default route, if required) is by running the command:
+ /etc/rc.d/rc.inet1 start
+This command will configure all networking interfaces which are defined in the
+configuration file, and is used at boot time to bring networking up.
+
+The counterpart to this is the:
+ /etc/rc.d/rc.inet1 stop
+command, which will bring all networking to a stop. It is advised to use this
+with caution as it can make your host completely inaccessable from the network.
+
+Restarting the whole network (all available network interfaces) and resetting
+the default gateway (if set) is done in a similar fashion to starting it:
+ /etc/rc.d/rc.inet1 restart
+And will first deconfigure all interfaces, before bringing them back up - which
+is functionally equalivant to a 'stop' and 'start' operation.
+
+More specifically speaking, you can start/stop/restart any network interface on
+an individual basis using the commands:
+ /etc/rc.d/rc.inet1 <interface>_start
+ /etc/rc.d/rc.inet1 <interface>_stop
+ /etc/rc.d/rc.inet1 <interface>_restart
+where <interface> is the name of an existing network interface (eth0, eth1,
+wlan0, etc).
+
+
+Guided Networking Configuration
+-------------------------------
+The 'netconfig' script is capable of configuring basic networking parameters for
+the first ethernet interface of the system, and writing an annotated
+/etc/rc.d/rc.inet1.conf configuration file. 'netconfig' is usually invoked
+during installation to configure the first ethernet interface of your freshly
+installed system.
+
+'netconfig' is capable of configuring a set of IPv4 and/or IPv6 addresses for an
+interface, or setting the interface to be configured using DHCP (both DHCPv4 and
+DHCPv6) and IPv6 StateLess Address Auto Configuration (SLAAC). The default
+gateways and nameservers can also be configured through the guided interface.
+
+The option to use NetworkManager for interface configuration (instead of
+rc.inet1.conf) is also available.
+
+For most users with a single ethernet interface, and simple IP configuration
+requirements, 'netconfig' can completely configure the networking sub-system for
+you.
+
+
+Deprecated and New IPv4 Configuration Syntax
+--------------------------------------------
+With the release of Slackware 15.0, several parameters used in older
+rc.inet1.conf configurations have become deprecated and are substituted by a
+new, singular, IP parameter for v4 addresses.
+
+Specifically, the following parameters used in previous rc.inet1.conf
+configurations to configure IPv4 addresses have become deprecated:
+ IPADDR[x]=""
+ NETMASK[x]=""
+ IPALIASES[x]=""
+These parameters should no longer be used in new configurations.
+
+New configurations should use the updated syntax parameter:
+ IPADDRS[x]=""
+which can hold multiple, space delimited, IPv4 addresses with their CIDR
+masks in order to configure an interface.
+
+The format for the addresses specified in this new parameter is:
+ IP-address/mask
+For example:
+ IPADDRS[0]="192.168.0.1/24 10.10.10.10/8"
+which would be the equilivant of old syntax:
+ IPADDR[0]="192.168.0.1"
+ NETMASK[0]="255.255.255.0"
+ IPALIASES[0]="10.10.10.10/8"
+
+If a mask (in CIDR notation) is not provided with the IP address in IPADDRS, it
+is assumed to be /24 (aka, 255.255.255.0). A warning will also be emitted about
+the missing mask.
+
+rc.inet1 is fully backwards compatible with the older syntax - old configuration
+files will contiinue to be accepted for the foreseeable future, but 'netconfig'
+has been adjusted to output the new syntax.
+
+Notes:
+ * When DHCP or SLAAC is used to dynamically configure the interface, IP
+ addresses specified in IPADDRS will be added to the interface as alias IPs.
+ However, any address specified in IPADDR is *not* added to the interface in
+ order to maintain backwards semantics with the pre 15.0 rc.inet1.
+ * Should an rc.inet1.conf contain both the IPADDR and IPADDRS parameters
+ (without DHCP or SLAAC being in use) the addresses listed in IPADDRS will be
+ added to the interface after the IPADDR address is set.
+
+
+Manual Networking Configuration
+-------------------------------
+FIXME
+
+
+IPv6
+----
+ Overview
+ ~~~~~~~~
+
+ With the new IPv4 syntax detailed above, there is the addition of optional
+ configuration semantics for IPv6.
+
+ The IPv6 capabilities in Slackware 15.0+ are as follows:
+ * Dual stack. Interfaces can be configured with an IPv4 address or an IPv6
+ address, or both.
+ * Each interface can have single or multiple v4 and/or v6 IPs.
+ * Optional StateLess Address Auto Configuration (SLAAC) of v6 IP addresses,
+ for quick and easy IPv6 configuration on supported networks.
+ * DHCPv6 support for server controlled dynamic address configuration.
+ * Fixed IPv6 addresses configured interfaces.
+
+ 'netconfig' can be used for guided configuration of all of the above features,
+ or they can be configured manually using the options below.
+
+
+ IPv6 Parameters
+ ~~~~~~~~~~~~~~~
+ v6 IPs can be configured via SLAAC, DHCP6 or statically using the following
+ new options for rc.inet1.conf:
+ USE_SLAAC[x]="" Allow StateLess Address Auto Configuration of a
+ (potentially) globally routable v6 IP. With this
+ parameter set to "yes", the interface's v6 IP will ONLY
+ be configured via SLAAC, even if Router Advertisment
+ indicates DHCPv6 is available on the network - if SLAAC
+ is not available on the network, no IPv6 address will be
+ assigned.
+
+ Since 'dhcpcd' is capable of handling SLAAC as well as
+ DHCPv6, it is better practice to set USE_DHCP6[x]="yes"
+ to perform full auto configuration instead.
+
+ USE_DHCP6[x]="" Use 'dhcpcd' to configure the interface. This will
+ bring up the interface using DHCPv6, falling back to
+ SLAAC (if supported on the network), or will leave the
+ interface unconfigured after a timeout. When this
+ parameter is set to "yes", the USE_SLAAC[x] option is
+ ignored.
+
+ This is the preferred option to configure an interface
+ dynamically - whether the network is setup for DHCPv6 or
+ SLAAC, 'dhcpcd' will be able to configure the interface.
+
+ IP6ADDRS[x]="" The static v6 IP addresses for the interface. This
+ parameter takes a list of v6 IP addresses and prefix
+ lengths in CIDR notation, in a space delimited list.
+ For example: IP6ADDRS[x]="a:b:c:d:e::1/48 1:2:3:4::5/64"
+
+ If a prefix length is not given (separated from the IP
+ address with a /), a length of 64 will be assumed, and
+ a warning emitted about the unset value.
+
+ When either the USE_DHCP6[x] or USE_SLAAC[x] options are
+ set to "yes", the IP addresses listed in this parameter
+ are also added to the interface, but only upon sucessful
+ assigning of the dynamic IP address.
+
+ A static gateway can be configured using this parameter:
+ GATEWAY6="" The default IPv6 gateway for the network. This is a
+ single IPv6 address in standard format, without a
+ prefix suffix.
+
+ The following lesser used misc options can be used for tailouring of the IPv6
+ configuration process:
+ USE_RA[x]="" Normally, unless USE_SLAAC[x]="yes" is set, Router
+ Advertisment (RA) is disabled for the interface as it
+ can result in extraneous routes being added to the
+ routing table. With this option set to "yes", RA
+ packets will be accepted on the interface even when DHCP
+ or fixed IP addressing is used, and the routes
+ advertised by the router will be added to the table.
+
+ Conversely, if this parameter is explicitly set to "no",
+ RA will be disabled at all times - meaning SLAAC cannot
+ be performed even when USE_SLAAC[x]="yes" is set. The
+ default (unset) is to enable RA when SLAAC is in use,
+ and to disable it otherwise.
+
+ The use of this parameter should rarely be required as
+ rc.inet1 will do the right thing.
+
+ SLAAC_TIMEOUT[x]="" The time to wait (in seconds) for an interface to be
+ configured by SLAAC. When unset, the default is 15.
+ Some networks may require a longer period for the router
+ to broadcast an advertisement packet on the network, so
+ may need to increase this value.
+
+
+ Disabling IPv6
+ ~~~~~~~~~~~~~~
+ For some use cases, where IPv6 support is not required at all, disabling IPv6
+ may be a better option than leaving the interface unconfigured.
+
+ There are two similar methods which can be used to disable IPv6. Both of the
+ options involve creating (or replacing the content if it already exists in)
+ the file:
+ /etc/modprobe.d/ipv6.conf
+ (which overrides any configuration in the /lib/modprobe.d/ipv6.conf file),
+ with the content:
+ alias ipv6 off
+ alias net-pf-10 off
+ Or:
+ install ipv6 /bin/true
+ install net-pf-10 /bin/true
+
+ It is important to disable both the 'ipv6' and 'net-pf-10' modules since the
+ module can be automatically loaded by either name.
+
+
+ Changes From Previous Behaviour
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * Previous to Slackware 15.0, if the network the host is connecting to is set
+ up for StateLess Address Auto Configuration (SLAAC), the host would bring up
+ an interface with a (potentially) globally routable IPv6 address with no
+ configuration by the user. This has been changed so that all network
+ configuration must be explicitly enabled. Thus, interfaces will no longer
+ automatically come up with a valid IPv6 address on networks which support
+ auto configuration, without enabling the USE_SLAAC[x]="yes" parameter for
+ the interface. This is a security enhancement.
+
+ * Unless RA is explicitly enabled using the USE_RA[x]="yes" option, rc.inet1
+ now disables RA (via the accept_ra tunable in /proc) for an interface before
+ trying to add any IPs configured for it. This prevents RA on the network
+ from automatically adding any routes to the table. When USE_SLAAC[x]="yes"
+ is set, RA is implicitly re-enabled for the interface (since SLAAC and RA
+ are usually used together on a network), unless explicitly disabled with
+ USE_RA[x]="no". This is a change from previous versions of Slackware, which
+ would auto configure routes without any user intevention. This is a
+ security enhancement.
+
+
+ Caveats
+ ~~~~~~~
+ * When being configured with the USE_DHCP[x]="yes" and USE_DHCP6[x]="yes"
+ parameters for an interface (that is, configured to obtain both a v4 and v6
+ addresses via DHCP), 'dhcpcd' will only wait until one type of IP is
+ obtained before backgrounding - it will not wait for both a v4 AND v6 to be
+ configured. This means there is no way to know if the interface has been
+ completely configured for both types of IP, as one type will continue to be
+ sought in the background; but MAY ultimately fail. This is an issue with
+ the way dhcpcd operates, not an issue with rc.inet1.
+
+
+Bonding / Link Aggregation
+--------------------------
+ Overview
+ ~~~~~~~~
+ Bonding (or Link Aggregation) is a teccnique for combining two or more
+ physical interfaces into a single, logical, interface; a logical interface
+ which has all the capabilities of a single physical interface.
+
+ The Slackware bonding options provide full support for the features offered by
+ the bonding kernel module, in the familiar Slackware parameter configuration
+ syntax. Included is the ability to select the bonding mode, easy addition of
+ interfaces to a bond using a new parameter in rc.inet1.conf, and the setting
+ of bonding module options via a new, generic, IFOPTS[x] parameter.
+
+ At this time 'netconfig' is unable to configure bonded interfaces, so they
+ must be configured manually with the parameters detailed below.
+
+
+ Bonding Parameters
+ ~~~~~~~~~~~~~~~~~~
+ Bonded interfaces can be configured via two new bond specific parameters for
+ use in rc.inet1.conf, plus the new, generic, IFOPTS[x] parameter. The new
+ bonding parameters are:
+ BONDNICS[x]="" The space delimited list of interfaces to add to this
+ bond. The interfaces will be brought up and configured
+ while bringing up the interface, so do not need to be
+ previously defined in rc.inet1.conf. A bond can be
+ created with only 1 interface, but does not become
+ useful until at least 2 interfaces are configured.
+
+ BONDMODE[x]="" This parameter sets the bonding mode for the logical
+ interface. If not specified when BONDNICS[x] has been
+ used, the default is 'balance-rr'. See below for a
+ list of all bonding modes available.
+
+
+ Bonding Modes
+ ~~~~~~~~~~~~~
+ When a bonded logical interface is created, it needs to operate in a
+ particular mode. By default that mode is 'balance-rr'. The following modes,
+ along with details of their functionallity, are available using the kernel
+ bonding driver:
+ 802.3ad Also known as LACP. This mode requires a switch that
+ supports an IEEE 802.3ad. The physical interfaces must
+ share the same speed and duplex settings and form a
+ logical interface which provides fault tolerance and
+ load balancing.
+ active-backup When in this mode only one interface set to active,
+ while all other interfaces are in the backup state. If
+ the active interface fails, a backup interface replaces
+ it as the only active interface in the bond. This mode
+ only provides fault tolerance, no load balancing.
+ This mode requires that the 'primary <interface>'
+ option be configured with the IFOPTS[x]="" parameter.
+ balance-alb The receiving packets are load balanced through Address
+ Resolution Protocol (ARP) negotiation. This mode
+ provides fault tolerance and load balancing.
+ balance-rr This mode is also known as round-robin mode. Packets
+ are sequentially transmitted and received through each
+ interface one by one. This mode provides load
+ balancing functionality along with fault tolerance.
+ This is the default mode of operation.
+ balance-tlb This mode ensures that outgoing traffic is distributed
+ according to the load on each physical interface. If
+ one interface fails to receive traffic, another
+ interface is assigned to the receiving role. This mode
+ provides fault tolerance and load balancing.
+ balance-xor The source MAC address uses eXclusive OR (XOR) logic
+ with the destination MAC address in order to determine
+ which physical interface the packet should be sent via.
+ This calculation ensures that the same physical (slave)
+ interface is selected for each destination host. If the
+ physical interface to be used is in a failed state, one
+ of the backup interfaces is used instead. This mode
+ provides fault tolerance and load balancing.
+ broadcast All packets are sent to all the physical (slaved)
+ interfaces at once. This mode provides fault tolerence
+ but may result in duplicate packets arriving at the
+ destination host, assuming they are not screened out by
+ networking hardware.
+
+
+ Bonding Options
+ ~~~~~~~~~~~~~~~
+ Bonding specific options can be set using the the IFOPTS[x]="" paramter (which
+ takes a pipe (|) delimited list of options) for the interface being
+ configured. The following are the most useful options (but not an exhaustive
+ list - see "Further Reading" below for more information) which can be set:
+ lacp_rate This option specifies the rate at which the host will
+ ask the switch to transmit LACPDU packets in 802.3ad
+ mode. Possible values are:
+ slow Transmit LACPDUs every 30 seconds.
+ fast Transmit LACPDUs every 1 second.
+ The default is slow, but fast is recommended for rapid
+ recovery after a physical link failure.
+ miimon Specifies the MII link monitoring frequency in
+ milliseconds. This determines how often the link state
+ of each physical (slaved) interface is checked for link
+ failures. A value of zero disables MII link monitoring,
+ but this is NOT advised. A value of 100 is a good
+ starting point. The default value is 0, so be sure to
+ set this option with ALL bonding modes.
+ primary The physical (slave) interface (eth0, eth1, etc) which
+ is to be used as the primary interface. The specified
+ interface will always be the active slave while it is
+ available. Only when the primary interface is off-line
+ will alternate interfaces be used. This is useful when
+ one interface is preferred over another (e.g. when one
+ interface has higher throughput than another). This
+ option is only valid for "active-backup", "balance-tlb",
+ and "balance-alb" bonding modes.
+ xmit_hash_policy Selects the transmit hash policy to use for interface
+ selection in "balance-xor", "802.3ad", and "balance-tlb"
+ bonding modes. Possible values are:
+ layer2 Use eXclusive OR (XOR) of source and
+ destination MAC addresses and packet
+ type ID fields to generate the hash.
+ This algorithm will place all traffic
+ to a particular destination on the
+ same phydivsl (slave) interface.
+ layer2+3 Use a combination of layer2 and
+ layer3 protocol information (MAC
+ addresses and IP addresses) to
+ generate the hash. This algorithm
+ will place all traffic to a particular
+ destination on the same physical
+ (slave) interface. This policy is
+ intended to provide a more balanced
+ distribution of traffic than layer2
+ alone.
+ layer3+4 This policy uses upper layer protocol
+ information, when available, to
+ generate the hash. This allows for
+ traffic to a particular destination to
+ span multiple physical (slave)
+ interfaces, although a single
+ connection will not span multiple
+ slaves.
+ The default value is layer2. Additional (lesser used)
+ policies are available - see the "Further Reading"
+ section below for further details.
+
+
+ Caveats
+ ~~~~~~~
+ * The IFOPTS[x]="" parameter should always include the 'miimon' option - not
+ using this option will result in network degradation.
+ * In "active-backup" mode, the "primary" option should also always be
+ supplied.
+ * When using "802.3ad" mode, set "lacp_rate fast" for faster recovery from an
+ interface failure. In other modes, the 'xmit_hash_policy' should be set.
+
+
+ Examples
+ ~~~~~~~~
+ FIXME: Add examples.
+
+
+ Further Reading
+ ~~~~~~~~~~~~~~~
+ Full documentation of the bonding layer is available in the kernel source
+ documentation at: /usr/src/linux/Documentation/networking/bonding.txt.
+
+
+VLANs (a.k.a, 802.1q)
+---------------------
+ Overview
+ ~~~~~~~~
+ Virtual LANs (VLANs) allow the segmentation of physical networks into
+ multiple, isolated, private virtual networks, whilst using shared network
+ switches and hardware.
+
+ VLANs work by applying tags to network frames to form virtual private LANs.
+ In this way, VLANs can keep network applications separate despite being
+ connected to the same physical network, and without requiring multiple sets of
+ cabling and networking devices to be deployed.
+
+ In essence, a VLAN is a collection of devices or network hosts that
+ communicate with one another as if they make up a single LAN, but utilising
+ shared network hardware.
+
+ Because VLAN frames are tagged with a VLAN ID, it is possible to 'cherry-pick'
+ those frames from the network by use of a VLAN interface on the host.
+
+ Slackware now allows configuration of such interfaces in order to allow a host
+ to join a specific VLAN or VLANs. The guided deployment in 'netconfig' has
+ been updated to support the creation of such VLAN interfaces.
+
+ The configuration in rc.inet1.conf for VLANs is a simple modification of the
+ existing support for declaration of a network interface using the standard
+ Slackware IFNAME[x] parameter. As shown in the examples below, VLANs
+ interfaces can be built on top on top of regular, physical, interfaces, or on
+ top of a bond interface to allow for link aggregation.
+
+ The new IFOPT[x] generic interface options parameter can be used to customise
+ the usage and configuration of the VLAN interfaces, but is not required in a
+ normal configuration setting.
+
+
+ Exposing VLANs
+ ~~~~~~~~~~~~~~
+ Configuring VLAN interfaces utilises the standard Slackware networking
+ configuration syntax in rc.inet1.conf; with setting up an interface as simple
+ as changing the IFNAME[x]="" parameter.
+
+ VLAN interfaces can be configured quite simply in rc.inet1.conf, in the
+ standard Slackware way of defining an interface. The key to the configuration
+ is to use the correct IFNAME[x]="" parameter for the underlying physical (or
+ bond) interface and the tagged VLAN ID that should be exposed. For example:
+ IFNAME[0]="eth0.10"
+ IFOPTS[0]=""
+ IPADDRS[0]="192.168.10.1/24"
+
+ The VLAN ID is taken from the full interface name, as set in the IFNAME[x]
+ parameter which is comprised of the underlying physical (or bond) interface
+ name, a period (.) and the VLAN ID to expose. The above example would use the
+ physical interface 'eth0', and expose the VLAN with ID 10, and configure the
+ interface with the IPv4 address 192.168.10.1 with a mask of 24.
+
+ IFOPTS[x]="" is a pipe (|) delimited list of VLAN kernel module specific
+ settings to be applied to the interface. The ip-link(8) man page contains
+ details of exactly what settings can be used with this option (search for
+ "VLAN Type Support"). For example:
+ IFOPTS[x]="protocol 802.1ad | reorder_hdr off"
+ Under normal circumstances, where a standard VLAN interface is required, no
+ options need be supplied.
+
+
+ Examples
+ ~~~~~~~~
+ FIXME: Add examples.
+
+
+Bridges
+-------
+
+
+Wireless (WiFi) Network Interfaces
+----------------------------------
+
+
+TUN/TAP
+-------
+
+
+Advanced networking configuration
+---------------------------------
+(stacking interface configs - bond, then VLAN, then bridge)
+
+ It is also possible to use a bond as the underlying interface, which allows
+ link aggregated VLAN interfaces to be created for network redundancy. For
+ example:
+ IFNAME[0]="bond0"
+ BONDNICS[0]="eth0 eth1"
+ BONDMODE[0]="active-backup"
+ IFOPTS[0]="miimon 100 | primary eth0"
+ IFNAME[1]="bond0.5"
+ IFNAME[2]="br0"
+ BRNICS[2]="bond0.5"
+ IPADDRS[2]="192.168.5.10/24"
+ IP6ADDRS[2]="a:b:c:d::1/64"
+ Would create a bond interface using the eth0 and eth1 physical ethernet
+ interfaces, in an "active-backup" redundancy configuration with the primary
+ interface being "eth0", exposing VLAN ID 5 and setting an IPv4 address of
+ "192.168.5.10" mask "24", plus an IPv6 address of "a:b:c:d::1" prefix "64"
+ for the interface.
+
+
+General Caveats
+---------------
+
+ The network interface definitions are stored in variable arrays. The bash shell has no facilities to retrieve the largest array index used. There-
+ fore, the rc.inet1 script makes the assumption that array indexes stay below the value of 6. Effectively this means that you can configure up to 6
+ network interfaces in rc.inet1.conf by default.
+
+ If you want to configure more than six network interfaces, you will have to edit the file /etc/rc.d/rc.inet1.conf and change the value `6' in the
+ line:
+ #MAXNICS="6"
+ (at the very bottom of the file) to a value that is larger than the largest index value you use, and uncomment the line.
+
+ The /etc/rc.d/rc.wireless script is not meant to be run on its own by the user!
+
+
+rc.inet1 does not keep a record of how an interface was configured. If the
+interface config is changed in rc.inet1.conf from, say, DHCP to static IP,
+restarting networking may fail because the previous type of interface config
+cannot be stopped (because its type is unknown). In this instance, it is easier
+to reboot to start from fresh. However, if reboot is not possible, it may be
+required to bring the interface down manually (either by deconfiguring the IPs,
+or killing dhcpcd) before trying to restart the interface.
+
diff --git a/source/n/network-scripts/manpages/rc.inet1.8 b/source/n/network-scripts/manpages/rc.inet1.8
index 4102eec6..648e0166 100644
--- a/source/n/network-scripts/manpages/rc.inet1.8
+++ b/source/n/network-scripts/manpages/rc.inet1.8
@@ -112,7 +112,7 @@ Eric Hameleers <alien@slackware.com>
.br
Robby Workman <rworkman@slackware.com>
.br
-Darren 'Tadgy' Austin <darren@afterdark.org.uk>
+Darren 'Tadgy' Austin <darren@slackware.uk>
.SH "SEE ALSO"
.BR rc.inet1.conf(5),
.BR ip(8),
diff --git a/source/n/network-scripts/manpages/rc.inet1.conf.5 b/source/n/network-scripts/manpages/rc.inet1.conf.5
index e966eb7e..8152b349 100644
--- a/source/n/network-scripts/manpages/rc.inet1.conf.5
+++ b/source/n/network-scripts/manpages/rc.inet1.conf.5
@@ -26,40 +26,45 @@ and so forth. The default interface name can be overruled by the use of
the parameter
.B IFNAME.
.LP
-This is what a typical section of the file looks like for an interface that is
-configured to use DHCP, showing all parameters with the index number `0':
+This is what a typical section of the file looks like for an interface,
+showing all parameters with the index number `0':
.LP
-# Config information for eth0:
.br
-IPADDR[0]=""
+# IPv4 config options for eth0:
+.br
+IPADDRS[0]=""
+.br
+USE_DHCP[0]=""
+.br
+# IPv6 config options for eth0:
+.br
+IP6ADDRS[0]=""
+.br
+USE_SLAAC[0]=""
.br
-NETMASK[0]=""
+USE_DHCP6[0]=""
.br
-IPALIASES[0]=""
+# Generic options for eth0:
.br
-USE_DHCP[0]="yes"
+DHCP_HOSTNAME[0]=""
.LP
-Alternatively, here is an example for an interface that uses a static
-IPv4 address, an autoconfigured IPv6 address, and a non-default name
+Alternatively, here is an example for an interface that uses static
+IPv4 addresses, an autoconfigured IPv6 address, and a non-default name
.RI ( ath0
instead of
-.IR eth1 ),
-as well as additional IPv4 alias addresses.
+.IR eth1 ).
The parameter index is `1' in this case.
.LP
-# Config information for ath0:
.br
IFNAME[1]="ath0"
.br
-IPADDR[1]="192.168.3.11"
-.br
-NETMASK[1]="24"
+# IPv4 config options for ath0:
.br
-IPALIASES[1]="192.168.3.100/24"
+IPADDRS[1]="192.168.1.10/24 10.0.0.10/8"
.br
USE_DHCP[1]=""
.br
-GATEWAY="192.168.3.1"
+# IPv6 config options for ath0
.br
IP6ADDRS[1]=""
.br
@@ -67,6 +72,15 @@ USE_SLAAC[1]="yes"
.br
USE_DHCP6[1]=""
.br
+# Generic options for ath0:
+.br
+DHCP_HOSTNAME[1]=""
+
+.br
+# Gateway IP addresses:
+.br
+GATEWAY="192.168.1.1"
+.br
GATEWAY6=""
.br
.SH EXAMPLE VIRTUAL INTERFACE CREATION AND SETUP
@@ -85,7 +99,7 @@ VIRTIFUSER[0]="root"
.br
VIRTIFGROUP[0]="root"
.br
-.SH EXAMPLE BRIDGE INTERFACE CREATION
+.SH EXAMPLE BONDING INTERFACE CREATION
Link aggregation (bond) interfaces can be configured with the use of 3 new
parameters for use in rc.inet1.conf. The BONDNICS parameter should contain
the (space delimited) list of interfaces to include in the bond. The type
@@ -114,9 +128,13 @@ BONDMODE[0]="balance-rr"
.br
IFOPTS[0]="xmit_hash_policy layer2+3 | miimon 100"
.br
-IPADDR[0]="192.168.0.10"
+IPADDRS[0]="192.168.0.10/24"
+.br
+IP6ADDRS[0]="e1ff:fec8:ae47:d9ab::abc1/64"
.br
-NETMASK[0]="24"
+GATEWAY="192.168.0.1"
+.br
+GATEWAY6="e1ff:fec8:ae47:d9ab::1"
.LP
.SH EXAMPLE VLAN INTERFACE CREATION
VLAN interfaces can be configured in rc.inet1.conf, in the standard Slackware
@@ -131,9 +149,7 @@ IFNAME[0]="eth0.100"
.br
IFOPTS[0]=""
.br
-IPADDR[0]="192.168.100.10"
-.br
-NETMASK[0]="24"
+IPADDRS[0]="192.168.100.10/24"
.LP
The IFNAME of the interface contains the underlying ethernet device name
(eth0), a period (.), and the VLAN ID to be exposed.
@@ -160,9 +176,7 @@ BRNICS[5]="eth0 eth1 tun0"
.br
IFOPTS[5]=""
.br
-IPADDR[5]="192.168.0.10"
-.br
-NETMASK[5]="24"
+IPADDRS[5]="192.168.0.10/24"
.LP
The new generic IFOPTS parameter takes a pipe (|) delimited list of interface
type specific options, but does not need any options in order for a bridge
@@ -178,24 +192,11 @@ the parameters all have the array index `0':
.LP
# Config information for eth0:
.TP 25
-IPADDR[0]=""
-# Set this parameter to an actual IPv4 address if you want static IPv4
-address assignment. This is ignored if the USE_DHCP[0] parameter is set
-to "yes".
-.TP
-NETMASK[0]=""
-# The netmask for the IPv4 address set in IPADDR[0]. This should be in
-CIDR format with an optional leading /, e.g. "24" or "/16" - though the
-traditional dotted-quad format (e.g. "255.255.255.0") is still accepted.
-If this parameter is unset or empty, a netmask of "24" will be assumed.
-.TP
-IPALIASES[0]=""
-# Space separated list of additional IPv4 addresses to bind to the
-interface after initial configuration is complete. An optional
-netmask may be specified after the address in the form "1.2.3.4/24". If no
-netmask is specified the default of "/24" will be used. If USE_DHCP[0]
-is set to `yes' then additional IPv4 addresses will only be added if the
-DHCP client invocation is successful in obtaining a primary IPv4 address.
+IPADDRS[0]=""
+# Set this parameter to a space delimited list of IPv4 addresses and netmasks
+to bind to the interface, The netmask should be in CIDR style separated from
+the IP address with a /. E.g. "192.168.1.10/24 10.0.0.10/8". If the netmask
+is not provided, "/24" is assumed.
.TP
USE_DHCP[0]=""
# If set to "yes", we will run a DHCP client and have the IPv4 address
@@ -213,8 +214,7 @@ IP6ADDRS[0]=""
IPv6 addresses and prefix lengths in CIDR notation, in a space delimited
list. For example: IP6ADDRS[0]="a:b:c:d::1/48 1:2:3:4::5/64".
If a prefix length is not given (separated from the IP address with a /), a
-length of 64 will be assumed. This is ignored if either the USE_DHCP6[0]
-or USE_SLAAC[0] parameters is set to "yes".
+length of 64 will be assumed.
.TP
USE_SLAAC[0]=""
# With this parameter set to "yes", the interface's IPv6 address will be
@@ -383,6 +383,6 @@ Eric Hameleers <alien@slackware.com>
.br
Robby Workman <rworkman@slackware.com>
.br
-Darren 'Tadgy' Austin <darren@afterdark.org.uk>
+Darren 'Tadgy' Austin <darren@slackware.uk>
.SH "SEE ALSO"
.BR rc.inet1(8)
diff --git a/source/n/network-scripts/modprobe.d/modprobe.d/bonding.conf b/source/n/network-scripts/modprobe.d/modprobe.d/bonding.conf
new file mode 100644
index 00000000..c33faf65
--- /dev/null
+++ b/source/n/network-scripts/modprobe.d/modprobe.d/bonding.conf
@@ -0,0 +1,9 @@
+##############################################################################
+# Do not edit this file; instead, copy it to /etc/modprobe.d/ and edit that
+##############################################################################
+#
+# Disable the automatic creation of a bond0 interface when module is loaded
+# Otherwise, /etc/rc.d/rc.inet1 will not be able to configure it
+#
+options bonding max_bonds=0
+options rtnl-link-bond max_bonds=0
diff --git a/source/n/network-scripts/modprobe.d/modprobe.d/ipv6.conf b/source/n/network-scripts/modprobe.d/modprobe.d/ipv6.conf
new file mode 100644
index 00000000..a0395a5a
--- /dev/null
+++ b/source/n/network-scripts/modprobe.d/modprobe.d/ipv6.conf
@@ -0,0 +1,8 @@
+##############################################################################
+# Do not edit this file; instead, copy it to /etc/modprobe.d/ and edit that
+##############################################################################
+#
+# Disable IPv6 auto configuration (SLAAC) by default
+#
+options ipv6 autoconf=0
+options net-pf-10 autoconf=0
diff --git a/source/n/network-scripts/network-scripts.SlackBuild b/source/n/network-scripts/network-scripts.SlackBuild
index dca8ce9c..4832d4db 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:-12}
+BUILD=${BUILD:-13}
# 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
@@ -74,6 +74,12 @@ mkdir -p $PKG/lib/modprobe.d/
cat $CWD/modprobe.d/bonding.conf > $PKG/lib/modprobe.d/bonding.conf
cat $CWD/modprobe.d/ipv6.conf > $PKG/lib/modprobe.d/ipv6.conf
+# Drop the documentation in /usr/doc/network-scripts-$VERSION:
+mkdir -p $PKG/usr/doc/network-scripts-$VERSION
+cp -a $CWD/README* $PKG/usr/doc/network-scripts-$VERSION
+chown -R root:root $PKG/usr/doc/network-scripts-$VERSION
+chmod 644 $PKG/usr/doc/network-scripts-$VERSION/*
+
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/source/n/network-scripts/scripts/netconfig b/source/n/network-scripts/scripts/netconfig
index f3e9742f..69c6d6ed 100644
--- a/source/n/network-scripts/scripts/netconfig
+++ b/source/n/network-scripts/scripts/netconfig
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# A script to do basic network configuration.
# Mostly written by Patrick Volkerding <volkerdi@slackware.com>.
# Modified to use /etc/rc.d/rc.inet1.conf Tue Aug 26 16:51:48 PDT 2003 <pjv>
@@ -13,17 +13,13 @@ write_config_files() {
# If we're doing loopback, we don't want 127.0.0.1 and 255.255.255.0 in
# rc.inet1.conf... it's better to leave the values null. However, since
# we use the IP in other places, we need to make a copy for here.
-RCIPCOPY=$IPADDR
-RCMASKCOPY=$NETMASK
-RCIP6COPY=$IPADDR6
-RCPREFIXCOPY=$PREFIX6
-if [ "$RCIPCOPY" = "127.0.0.1" ]; then
- RCIPCOPY=""
- RCMASKCOPY=""
+RCIPCOPY=("${IPADDRS[@]}")
+RCIP6COPY=("${IP6ADDRS[@]}")
+if [ "${RCIPCOPY[0]}" = "127.0.0.1/8" ]; then
+ RCIPCOPY=()
fi
-if [ "$RCIP6COPY" = "::1" ]; then
- RCIP6COPY=""
- RCPREFIXCOPY=""
+if [ "${RCIP6COPY[0]}" = "::1/128" ]; then
+ RCIP6COPY=()
fi
# echo "Creating /$RC..."
@@ -47,56 +43,53 @@ fi
# =============================================================================
-# IPv4 config information for eth0:
ENDFILE
if [ -n "$VLAN" ]; then
+ VLAN=".$(( 10#$VLAN ))"
echo "IFNAME[0]=\"eth0$VLAN\"" >>$RC
fi
/bin/cat << ENDFILE >> $RC
-IPADDR[0]="$RCIPCOPY"
-NETMASK[0]="$RCMASKCOPY"
-IPALIASES[0]=""
+# IPv4 config options for eth0$VLAN:
+IPADDRS[0]="${RCIPCOPY[@]}"
USE_DHCP[0]="$USE_DHCP"
-DHCP_HOSTNAME[0]="$DHCP_HOSTNAME"
-# IPv6 config information for eth0:
-IP6ADDRS[0]="`if [ ! \"$RCIP6COPY\" = \"\" ]; then echo \"$RCIP6COPY/$RCPREFIXCOPY\"; fi`"
+# IPv6 config options for eth0$VLAN:
+IP6ADDRS[0]="${RCIP6COPY[@]}"
USE_SLAAC[0]="$USE_SLAAC"
USE_DHCP6[0]="$USE_DHCP6"
+# Generic options for eth0$VLAN:
+DHCP_HOSTNAME[0]="$DHCP_HOSTNAME"
-# IPv4 config information for eth1:
-IPADDR[1]=""
-NETMASK[1]=""
-IPALIASES[1]=""
+# IPv4 config options for eth1:
+IPADDRS[1]=""
USE_DHCP[1]=""
-DHCP_HOSTNAME[1]=""
-# IPv6 config information for eth1:
+# IPv6 config options for eth1:
IP6ADDRS[1]=""
USE_SLAAC[1]=""
USE_DHCP6[1]=""
+# Generic options for eth1:
+DHCP_HOSTNAME[1]=""
-# IPv4 config information for eth2:
-IPADDR[2]=""
-NETMASK[2]=""
-IPALIASES[2]=""
+# IPv4 config options for eth2:
+IPADDRS[2]=""
USE_DHCP[2]=""
-DHCP_HOSTNAME[2]=""
-# IPv6 config information for eth2:
+# IPv6 config options for eth2:
IP6ADDRS[2]=""
USE_SLAAC[2]=""
USE_DHCP6[2]=""
+# Generic options for eth2:
+DHCP_HOSTNAME[2]=""
-# IPv4 config information for eth3:
-IPADDR[3]=""
-NETMASK[3]=""
-IPALIASES[3]=""
+# IPv4 config options for eth3:
+IPADDRS[3]=""
USE_DHCP[3]=""
-DHCP_HOSTNAME[3]=""
-# IPv6 config information for eth3:
+# IPv6 config options for eth3:
IP6ADDRS[3]=""
USE_SLAAC[3]=""
USE_DHCP6[3]=""
+# Generic options for eth3:
+DHCP_HOSTNAME[3]=""
# IPv4 default gateway IP address:
GATEWAY="$GATEWAY"
@@ -105,7 +98,7 @@ GATEWAY6="$GATEWAY6"
# =============================================================================
-# Example of how to configure a bond (link aggrigation) interface.
+# Example of how to configure a bond (link aggregation) interface.
# Note the addition of the BONDNICS and BONDMODE parameters.
# BONDNICS is a space delimited list of interfaces to add to this bond. The
# BONDNICS interfaces will be brought up and configured while bringing up the
@@ -124,9 +117,7 @@ GATEWAY6="$GATEWAY6"
#BONDNICS[0]="eth0 eth1"
#BONDMODE[0]="balance-rr"
#IFOPTS[0]="xmit_hash_policy layer2+3 | miimon 100"
-#IPADDR[0]="192.168.0.1"
-#NETMASK[0]="24"
-#IPALIASES[0]=""
+#IPADDRS[0]="192.168.0.1/24"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
#IP6ADDRS[0]=""
@@ -144,9 +135,7 @@ GATEWAY6="$GATEWAY6"
# for a standard VLAN to be configured.
#IFNAME[0]="eth0.10"
#IFOPTS[0]=""
-#IPADDR[0]="192.168.10.1"
-#NETMASK[0]="24"
-#IPALIASES[0]=""
+#IPADDRS[0]="192.168.10.1/24"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
#IP6ADDRS[0]=""
@@ -165,9 +154,7 @@ GATEWAY6="$GATEWAY6"
#IFNAME[0]="br0"
#BRNICS[0]="eth0"
#IFOPTS[0]=""
-#IPADDR[0]="192.168.0.1"
-#NETMASK[0]="24"
-#IPALIASES[0]=""
+#IPADDRS[0]="192.168.0.1/24"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
@@ -197,9 +184,7 @@ GATEWAY6="$GATEWAY6"
# Uncomment the lines you need and fill in your data. You may not need all of
# these for your wireless network.
#IFNAME[4]="wlan0"
-#IPADDR[4]=""
-#NETMASK[4]=""
-#USE_DHCP[4]="yes"
+#IPADDRS[4]=""
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
@@ -215,21 +200,21 @@ GATEWAY6="$GATEWAY6"
#WLAN_WPADRIVER[4]="wext"
#WLAN_WPAWAIT[4]=30
-
# =============================================================================
# Some examples of additional network parameters that you can use.
#IFNAME[4]="wlan0" # Use a different interface name instead of
# the default 'eth4'
-#IPALIASES[4]="192.168.5.10/24" # A space delimited list of CIDR formatted IP
- # aliases to assign to the interface after it
- # has come up. If no /<prefix> is given after
- # the IP address, /24 will be used as default.
+#IFOPTS[4]="" # A pipe (|) delimited list of interface type
+ # specific options to apply. These options
+ # can be found in the ip-link(8) man page in
+ # the approprite section for the interface
+ # type being configured.
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#PROMISCUOUS[4]="yes" # Set promiscuous mode on the interface.
-#DHCP_TIMEOUT[4]=15 # The default timeout for the DHCP client to
+#DHCP_TIMEOUT[4]="15" # The default timeout for the DHCP client to
# wait for server resonse is 15 seconds, but
# you might want a shorter or longer wait.
#DHCP_KEEPRESOLV[4]="yes" # If you don't want /etc/resolv.conf overwritten
@@ -248,7 +233,7 @@ GATEWAY6="$GATEWAY6"
# Increase the timeout if required.
#USE_RA[4]="yes" # Accept router advertisements even when SLAAC
# is disabled on the interface.
-#WLAN_ESSID[4]=DARKSTAR # An example of how you can override _any_
+#WLAN_ESSID[4]="DARKSTAR" # An example of how you can override _any_
# parameter defined in rc.wireless.conf, by
# prepending 'WLAN_' to the parameter's name.
# Useful with multiple wireless interfaces.
@@ -262,19 +247,20 @@ GATEWAY6="$GATEWAY6"
#WLAN_WPADRIVER[4]="ndiswrapper"# Tell wpa_supplicant to specifically use the
# ndiswrapper driver (if you leave this empty
# the 'wext' driver is used by default)
-#WLAN_WPAWAIT[4]=30 # In case it takes long for the WPA association
+#WLAN_WPAWAIT[4]="30" # In case it takes long for the WPA association
# to finish, you can increase the wait time
# (defaults to 10 seconds)
# =============================================================================
-# Change this to "yes" for debugging output to stdout.
+# Change this to "yes" for debugging output to syslog (if available, stdout if
+# not).
DEBUG_ETH_UP="no"
# MAXNICS is the maximum number of interfaces that will be configured.
# You may need to increase the MAXNICS value if you have many interfaces, or
# you use multiple VLANs and/or bridges. The default is 6.
-# MAXNICS="6"
+#MAXNICS="6"
ENDFILE
#
############################################################################
@@ -310,17 +296,13 @@ chmod 644 $ETCNETWORKS
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
-# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
-# should NEVER be named with the name of the machine. It causes problems
-# for some (stupid) programs, irc and reputedly talk. :^)
-#
# For loopbacking.
127.0.0.1 localhost
::1 localhost
EOF
-[ -n "$IPADDR" ] && echo -e "$IPADDR\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS
-[ -n "$IPADDR6" ] && echo -e "$IPADDR6\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS
+[ -n "${IPADDRS[0]}" ] && echo -e "${IPADDRS[0]%%/*}\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS
+[ -n "${IP6ADDRS[0]}" ] && echo -e "${IP6ADDRS[0]%%/*}\t\t\t$HOSTNM.$DOMAIN $HOSTNM" >>$HOSTS
chmod 644 $HOSTS
#
############################################################################
@@ -356,17 +338,19 @@ fi
rm -f $TMP/tempmsg /cardfound
} # end write_config_files
-TMP=/var/log/setup/tmp
-if [ ! -d $TMP ]; then
- mkdir -p $TMP
- chmod 700 $TMP
-fi
+# Covert CIDR notation masks to old style dotted quad.
+cidr2mask() {
+ # https://forum.archive.openwrt.org/viewtopic.php?id=47986&p=1#p220781
+ set -- $(( 5 - ($1 / 8) )) 255 255 255 255 $(( (255 << (8 - ($1 % 8))) & 255 )) 0 0 0
+ [ $1 -gt 1 ] && shift $1 || shift
+ echo "${1-0}.${2-0}.${3-0}.${4-0}"
+}
-# This checks IP address syntax.
-# usage: syntax_check ADDRESS #-OF-EXPECTED-SEGMENTS (up to 4)
-# example: syntax_check 123.22.43.1 4
+# This checks IPv4 address syntax.
+# usage: syntax_check_v4 ADDRESS #-OF-EXPECTED-SEGMENTS (up to 4)
+# example: syntax_check_v4 123.22.43.1 4
# returns: 0=found correct 1=too many fields 2=non numeric field found
-syntax_check_color() {
+syntax_check_v4() {
RET_CODE=0
SCRATCH=$1
SCRATCH=`echo $SCRATCH | tr "." "/"`
@@ -387,11 +371,17 @@ syntax_check_color() {
fi
if [ "$3" = "WARN" -a ! "$RET_CODE" = "0" ]; then
cat << EOF > $TMP/tempmsg
-The value you have entered seems to be non-standard. We were
-expecting $2 groups of numbers seperated by dots, like: 127.0.0.1
-Please enter a valid value.
+The IP address you entered:
+ $1
+is not valid.
+
+There should be $2 groups of numbers seperated by dots, for example:
+ 192.168.1.1
+
+Please correct any mistakes in the IP.
EOF
- dialog --title "INVALID VALUE" --defaultno --msgbox "`cat $TMP/tempmsg`" 7 72
+ dialog --title "INVALID IP" --ok-button "Back" --msgbox \
+ "`cat $TMP/tempmsg`" 12 72
rm -r $TMP/tempmsg
else
if [ "$3" = "ECHO" ]; then
@@ -401,6 +391,29 @@ EOF
return $RET_CODE;
}
+# This does cursary checks to validate an IPv6 address.
+syntax_check_v6() {
+ # We can only do a basic validation of the entered address
+ # as regexes for IPv6 addresses are very complex.
+ if [[ "$1" =~ ^[0-9a-fA-F:]+$ ]] && [[ "$1" =~ :[0-9a-fA-F]{1,4}$ ]]; then
+ return 0
+ else
+ dialog --title "INVALID IP" --ok-button "Back" --msgbox \
+"The IP address you entered:
+ $1
+is not valid.
+
+Please enter a valid IPv6 address." 9 72
+ fi
+ return 1
+}
+
+TMP=/var/log/setup/tmp
+if [ ! -d $TMP ]; then
+ mkdir -p $TMP
+ chmod 700 $TMP
+fi
+
# Figure out where we are... cheap hack.
if [ ! -e etc/slackware-version -a ! -e /etc/installer -a ! -e bin/bash ]; then
cd /
@@ -414,88 +427,116 @@ HOSTS=etc/hosts # Where hosts file is.
ETCNETWORKS=etc/networks # Where networks file is.
#
# defaults:
+IPADDRS=()
+IP6ADDRS=()
USE_DHCP="" # Use DHCP? "" == no.
USE_DHCP6=""
DHCP_HOSTNAME="" # This is our DHCP hostname.
NETWORK=127.0.0.0
-IPADDR=127.0.0.1
-NETMASK=24 # Use CIDR now.
-IPADDR6=::1
-PREFIX6=64
-# Main loop:
while [ 0 ]; do
-cat << EOF > $TMP/tempmsg
+ cat << EOF > $TMP/tempmsg
First, we'll need the name you'd like to give your host.
-Only the base hostname is needed right now. (not the domain)
+Only the base hostname is needed right now - not the domain.
+For example: darkstar
Enter hostname:
EOF
- dialog --title "ENTER HOSTNAME" --inputbox "`cat $TMP/tempmsg`" 11 65 \
- $HOSTNM 2> $TMP/SeThost
- if [ $? = 1 -o $? = 255 ]; then
+ dialog --title "ENTER HOSTNAME" --cancel-label "Exit" --inputbox \
+ "`cat $TMP/tempmsg`" 12 64 "$HOSTNM" 2> $TMP/SeThost
+ if [ $? = 1 -o $? = 255 ]; then
+ rm -f $TMP/SeThost $TMP/tempmsg
+ exit
+ fi
+ HOSTNM="`cat $TMP/SeThost`"
rm -f $TMP/SeThost $TMP/tempmsg
- exit
- fi
- HOSTNM="`cat $TMP/SeThost`"
- rm -f $TMP/SeThost $TMP/tempmsg
- if [ ! "$HOSTNM" = "" ]; then
- break;
- fi
+ if [ "$HOSTNM" = "" ] || [[ ! "$HOSTNM" =~ ^[[:alnum:]-]+$ ]] || \
+ [ "${HOSTNM:0:1}" == "-" ] || [ "${HOSTNM: -1:1}" == "-" ]; then
+ dialog --title "HOSTNAME" --ok-button "Back" --msgbox \
+ "That doesn't appear to be a valid hostname.\n
+Hostnames can only contain letters, numbers and hyphens,
+and may not begin or end with a hyphen." 7 60
+ if [ $? = 1 -o $? = 255 ]; then
+ exit
+ fi
+ else
+ break
+ fi
done
while [ 0 ]; do
-cat << EOF > $TMP/tempmsg
+ cat << EOF > $TMP/tempmsg
Now, we need the domain name for this machine, such as:
-
-example.org
-
+ example.org
Do not supply a leading '.'
-Enter domain name for $HOSTNM:
+Enter domain name for $HOSTNM:
EOF
- dialog --title "ENTER DOMAINNAME FOR '$HOSTNM'" --inputbox \
-"`cat $TMP/tempmsg`" \
-14 64 $DOMAIN 2> $TMP/SeTdom
- if [ $? = 1 -o $? = 255 ]; then
+ dialog --title "ENTER DOMAINNAME FOR '$HOSTNM'" --cancel-label "Exit" \
+ --inputbox "`cat $TMP/tempmsg`" 12 59 "$DOMAIN" 2> $TMP/SeTdom
+ if [ $? = 1 -o $? = 255 ]; then
+ rm -f $TMP/SeTdom $TMP/tempmsg
+ exit
+ fi
+ DOMAIN="`cat $TMP/SeTdom`"
rm -f $TMP/SeTdom $TMP/tempmsg
- exit
- fi
- DOMAIN="`cat $TMP/SeTdom`"
- rm -f $TMP/SeTdom $TMP/tempmsg
- if [ ! "$DOMAIN" = "" ]; then
- break;
- fi
+ # These regexes doon't catch everything, just basic syntax mistakes.
+ if [ "$DOMAIN" = "" ] || [[ ! "$DOMAIN" =~ ^([[:alnum:]]+[-.]*[[:alnum:]]+)+$ ]] || \
+ [[ "${DOMAIN:0:1}" =~ ^[.-]$ ]] || [[ "${DOMAIN: -1:1}" == ^[.-]$ ]]; then
+ dialog --title "DOMAINNAME" --ok-button "Back" --msgbox \
+ "That doesn't appear to be a valid domain name.\n
+Domain names can only contain letters and numbers, hyphens
+and dots, and may not begin or end with a hyphen or dot." 7 68
+ if [ $? = 1 -o $? = 255 ]; then
+ exit
+ fi
+ else
+ break
+ fi
done
-# Write the hostname with domain to /etc/HOSTNAME:
-echo $HOSTNM.$DOMAIN > etc/HOSTNAME
-
dialog --title "CONNECT VIA VLAN" --defaultno --yesno \
"Some advanced networking set ups require a VLAN ID in order to \
-connect to the network. Do you wish to configure a VLAN now? \n\n\
-Unless you are sure you require a VLAN, select 'No'." 8 68
-if [ $? = 0 ]; then
+connect to the network. Do you wish to configure a VLAN ID now?\n\n\
+Unless you are sure you require a VLAN ID, select 'No'." 8 68
+ERRNO="$?"
+if [ "$ERRNO" = "255" ]; then
+ exit
+elif [ "$ERRNO" = "1" ]; then
+ true
+else
while true; do
+ [ -r $TMP/SeTVLAN ] && VLAN="$(cat $TMP/SeTVLAN)"
dialog --title "VLAN ID" --cancel-label "Skip" --inputbox \
- "Enter the VLAN ID used on this network." 8 45 2>$TMP/reply
- if [ $? = 0 ]; then
- if ! (($(cat $TMP/reply))) 2>/dev/null; then
+ "Enter the VLAN ID used on this network:" 8 45 "$VLAN" 2>$TMP/reply
+ ERRNO="$?"
+ if [ "$ERRNO" = "255" ]; then
+ rm -f $TMP/SeTVLAN
+ exit
+ elif [ "$ERRNO" = "1" ]; then
+ unset VLAN
+ rm -f $TMP/SeTVLAN
+ break
+ else
+ VLAN="$(cat $TMP/reply)"
+ echo "$VLAN" >$TMP/SeTVLAN
+ if [[ ! "$VLAN" =~ ^[0-9]+$ ]]; then
dialog --title "VLAN ID" --ok-button "Back" --msgbox \
- "That doesn't appear to be a valid VLAN ID." 5 46
+ "That doesn't appear to be a valid VLAN ID." 5 46
+ if [ "$?" = "255" ]; then
+ exit
+ fi
continue
else
- VLAN=".`cat $TMP/reply`"
+ rm -f $TMP/SeTVLAN
break
fi
- else
- break
fi
done
fi
dialog --title "CONFIGURATION TYPE FOR '$HOSTNM.$DOMAIN'" \
---default-item NetworkManager \
+--default-item NetworkManager --cancel-button "Exit" \
--menu \
"Now we need to know how your machine connects to the network.\n\
If you have an internal network card and an assigned IP address, gateway, \
@@ -521,7 +562,8 @@ REPLY=`cat $TMP/reply`
rm -f $TMP/reply
if [ "$REPLY" = "DHCP" ]; then
- dialog --title "SELECT DHCP TYPE" --default-item "DHCPv4" --menu \
+ dialog --title "SELECT DHCP TYPE" --default-item "DHCPv4" \
+ --cancel-button "Exit" --menu \
"Please select the type of DHCP to use to configure your networking.
Select 'DHCPv4' to configure for an IPv4 network (this is the most
common type of network, and the safe choice). Select 'DHCPv6' for a
@@ -542,16 +584,22 @@ pure IPv6 network, or 'Both' to try and set up both types of network." 13 73 3 \
USE_DHCP="yes"
USE_DHCP6="yes"
fi
- dialog --title "SET DHCP HOSTNAME" --inputbox "Some network providers require \
+ dialog --title "SET DHCP HOSTNAME" --cancel-label "Skip" \
+ --inputbox "Some network providers require \
that the DHCP hostname be set in order to connect. If so, they'll have assigned \
a hostname to your machine, which may look something like CC-NUMBER-A (this \
depends on your ISP). If you were assigned a DHCP hostname, please enter it \
-below. If you do not have a DHCP hostname, just hit ENTER or Cancel." 13 62 \
-2> $TMP/SeTDHCPHOST
- NEW_DHCPHOST="`cat $TMP/SeTDHCPHOST`"
+below. If you do not have a DHCP hostname, just leave it blank or select 'Skip'." 13 67 \
+ 2> $TMP/SeTDHCPHOST
+ ERRNO="$?"
+ if [ "$ERRNO" = "255" ]; then
+ rm -f $TMP/SeTDHCPHOST
+ exit
+ elif [ "$ERRNO" = "0" ]; then
+ # OK, if we actually got something, use it.
+ DHCP_HOSTNAME="$(cat $TMP/SeTDHCPHOST)"
+ fi
rm -f $TMP/SeTDHCPHOST
- # OK, if we actually got something, use it.
- DHCP_HOSTNAME="$NEW_DHCPHOST"
elif [ "$REPLY" = "loopback" ]; then
LOOPBACK="yes"
elif [ "$REPLY" = "NetworkManager" ]; then
@@ -567,204 +615,215 @@ fi
if [ "$LOOPBACK" = "no" -a ! "$USE_DHCP" = "yes" -a ! "$USE_SLAAC" = "yes" ]; then
while [ 0 ]; do
while [ 0 ]; do
- if [ -r $TMP/SeTIP ]; then
- IPADDR=`cat $TMP/SeTIP`
- fi
- dialog --title "ENTER IPv4 ADDRESS FOR '$HOSTNM.$DOMAIN'" --inputbox \
-"Enter the IPv4 address for the local machine. Example: 111.112.113.114
-If you do not want to configure a static IPv4 address, just hit ENTER. " \
- 9 75 $IPADDR 2> $TMP/SeTlip
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTlip
- exit
+ if [ -r $TMP/SeTIPSv4 ]; then
+ IPADDRS=($(cat $TMP/SeTIPSv4))
fi
- IPADDR="`cat $TMP/SeTlip`"
- rm -f $TMP/SeTlip
- if [ "$IPADDR" = "" ]; then
+ dialog --title "ENTER IPv4 ADDRESSES" --cancel-label "Skip" \
+ --colors --inputbox \
+"Enter the \Z1IPv4\Zn addresses for this host. You may list one or more,
+space delimited, IPv4 addresses with netmasks in the format:
+ <IP address>/<CIDR netmask>
+For example:
+ 111.112.113.114/24 or 111.112.113.114/24 10.0.1.114/8
+Old style netmask 255.255.255.0 is equilivant of 24 in CIDR style.
+If a netmask is not specified a default of 24 will be used.
+
+The first address entered will become the primary IPv4 address
+of this host. If you do not want to configure a static IPv4
+address, just leave it blank or select 'Skip'." \
+ 18 71 "${IPADDRS[*]}" 2> $TMP/SeTIPSv4
+ ERRNO="$?"
+ if [ "$ERRNO" = "1" ]; then
+ IPADDRS=()
+ rm -f $TMP/SeTIPSv4
break
+ elif [ "$ERRNO" = "255" ]; then
+ rm -f $TMP/SeTIPSv4
+ exit
fi
- syntax_check_color $IPADDR 4 WARN
- if [ $? = 0 ]; then
- echo $IPADDR > $TMP/SeTIP
+ IPADDRS=($(cat $TMP/SeTIPSv4))
+ rm -f $TMP/SeTIPSv4
+ if [ "${IPADDRS[*]}" = "" ]; then
break
fi
- done
-
- if [ ! "$IPADDR" = "" ]; then
- while [ 0 ]; do
- if [ -r $TMP/SeTnetmask ]; then
- NETMASK=`cat $TMP/SeTnetmask`
- fi
- dialog --title "ENTER NETMASK FOR IPv4 NETWORK" --inputbox \
-"Enter the netmask for your IPv4 network.
-This will generally be a single number (eg, 24)
-or look something like this: 255.255.255.0." 10 55 $NETMASK 2> $TMP/SeTnmask
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTnmask
- exit
+ for ((I=0; I < ${#IPADDRS[@]}; I++)); do
+ IP="${IPADDRS[$I]%/*}"
+ MASK="${IPADDRS[$I]#*/}"
+ if [ "$IP" = "" ]; then
+ dialog --title "NO IPv4 ADDRESSES" --ok-button "Back" --msgbox \
+ "No IP specified in entry: ${IPADDRS[$I]}." 5 55
+ if [ "$?" = "255" ]; then
+ rm -f $TMP/SeTIPSv4
+ exit
+ fi
+ continue 2
fi
- NETMASK="`cat $TMP/SeTnmask`"
- rm -f $TMP/SeTnmask
- if [ "$NETMASK" = "" ]; then
- dialog --title "NETMASK REQUIRED" --msgbox \
-"You have configured this host with a v4
-IP address - a netmask is required." 6 43
- continue
+ syntax_check_v4 "$IP" 4 WARN || continue 2
+ if [ "$MASK" = "" ] || [ "$IP" = "$MASK" ]; then
+ IPADDRS[$I]="$IP/24"
+ MASK="24"
fi
- if (($NETMASK == 0)) 2>/dev/null || (($NETMASK > 32)) 2>/dev/null; then
- dialog --title "NETMASK INVALID" --msgbox \
-"The netmask you entered is not valid.
-Valid netmasks will be in the range 1-32." 6 45
- continue
- elif (($NETMASK)) 2>/dev/null; then
- echo $NETMASK > $TMP/SeTnetmask
- break
- else
- syntax_check_color $NETMASK 4 WARN
- if [ $? = 0 ]; then
- echo $NETMASK > $TMP/SeTnetmask
- break
+ if [[ ! "$MASK" =~ ^[0-9]+$ ]] || (($MASK <= 0)) || (($MASK > 32)); then
+ dialog --title "INVALID NETMASK" --msgbox \
+"Invalid netmask specified for entry: ${IPADDRS[$I]}.
+Valid netmasks will be in the range 1-32." 6 65
+ if [ "$?" = "255" ]; then
+ rm -f $TMP/SeTIPSv4
+ exit
fi
+ echo "${IPADDRS[@]}" >$TMP/SeTIPSv4
+ continue 2
fi
done
+ rm -f $TMP/SeTIPSv4
+ break
+ done
+
+ if [ ! "${IPADDRS[*]}" = "" ]; then
while [ 0 ]; do
- if [ -r $TMP/SeTgateway ]; then
- GATEWAY=`cat $TMP/SeTgateway`
+ if [ -r $TMP/SeTgateway4 ]; then
+ GATEWAY="`cat $TMP/SeTgateway4`"
fi
- dialog --title "ENTER IPv4 GATEWAY ADDRESS" --inputbox \
+ dialog --title "ENTER IPv4 GATEWAY ADDRESS" --cancel-label "Skip" --inputbox \
"Enter the address for the IPv4 gateway on your network, such as:
- `echo $IPADDR | cut -f 1-3 -d .`.1
+ `echo ${IPADDRS[0]} | cut -f 1-3 -d .`.1
-If you don't have an IPv4 gateway on your network just hit ENTER
-without entering a gateway IP address.
+If you don't have an IPv4 gateway on your network, leave it blank
+or select 'Skip'.
-Enter IPv4 gateway address (aaa.bbb.ccc.ddd):" 14 68 $GATEWAY 2> $TMP/SeTgate
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTgate
+Enter IPv4 gateway address:" 14 69 "$GATEWAY" 2> $TMP/SeTgateway4
+ ERRNO="$?"
+ if [ "$ERRNO" = "1" ]; then
+ GATEWAY=""
+ rm -f $TMP/SeTgateway4
+ break
+ elif [ "$ERRNO" = "255" ]; then
+ rm -f $TMP/SeTgateway4
exit
fi
- GATEWAY="`cat $TMP/SeTgate`"
- rm -f $TMP/SeTgate
+ GATEWAY="`cat $TMP/SeTgateway4`"
+ rm -f $TMP/SeTgateway4
if [ "$GATEWAY" = "" ]; then
- echo > $TMP/SeTgateway
break
fi
- syntax_check_color $GATEWAY 4 WARN
+ syntax_check_v4 "$GATEWAY" 4 WARN
if [ $? = 0 ]; then
- echo $GATEWAY > $TMP/SeTgateway
break
fi
done
+ rm -f $TMP/SeTgateway4
fi
while [ 0 ]; do
- if [ -r $TMP/SeTIP6 ]; then
- IPADDR6=`cat $TMP/SeTIP6`
+ if [ -r $TMP/SeTIPSv6 ]; then
+ IP6ADDRS=($(cat $TMP/SeTIPSv6))
fi
- dialog --title "ENTER IPv6 ADDRESS FOR '$HOSTNM.$DOMAIN'" --inputbox \
-"Enter the IPv6 address for the local machine.
-Example: fe80:426c:ffff::365a
-If you do not want to configure a static IPv6 address, just hit ENTER." \
- 10 74 $IPADDR6 2> $TMP/SeTlip6
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTlip6
+ dialog --title "ENTER IPv6 ADDRESSES" --cancel-label "Skip" \
+ --colors --inputbox \
+"Enter the \Z1IPv6\Zn addresses for this host. You may list one or more,
+space delimited, IPv6 addresses with their prefixes in the format:
+ <IP address>/<prefix>
+For example:
+ 1a:1b:1c:1d::abc/64 or 1a:1b:1c:1d::abc/64 2b2c::2:3:4:abc/64
+If a prefix is not specified a default of 64 will be used.
+
+If you do not want to configure a static IPv6 address or don't
+know what to put, just leave it blank or select 'Skip'." \
+ 16 70 "${IP6ADDRS[*]}" 2> $TMP/SeTIPSv6
+ ERRNO="$?"
+ if [ "$ERRNO" = "1" ]; then
+ IP6ADDRS=()
+ rm -f $TMP/SeTIPSv6
+ break
+ elif [ "$ERRNO" = "255" ]; then
+ rm -f $TMP/SeTIPSv6
exit
fi
- IPADDR6="`cat $TMP/SeTlip6`"
- rm -f $TMP/SeTlip6
- if [ "$IPADDR6" = "" ]; then
- if [ "$IPADDR" = "" ]; then
- dialog --title "NO IP ADDRESSES" --yesno \
-"You have not configured any IP addresses for your system.
-Are you sure you want to proceed with no IPs?" 6 61
- if [ $? = 0 ]; then
- break 2
- else
- continue 2
- fi
- fi
- else
- # We can only do a basic validation of the entered address
- # as regexes for IPv6 addresses are very complex.
- if echo "$IPADDR6" | grep -E "^[0-9a-fA-F:]+$" >/dev/null; then
- echo $IPADDR6 > $TMP/SeTIP6
- break
- else
- dialog --title "INVALID IP ADDRESS" --msgbox \
-"The IP address you entered is not valid.
-Please enter a valid IPv6 address." 6 44
- continue
- fi
+ IP6ADDRS=($(cat $TMP/SeTIPSv6))
+ rm -f $TMP/SeTIPSv6
+ if [ "${IP6ADDRS[*]}" = "" ]; then
+ break
fi
- done
-
- if [ ! "$IPADDR6" = "" ]; then
- while [ 0 ]; do
- if [ -r $TMP/SeTprefix6 ]; then
- PREFIX6=`cat $TMP/SeTprefix6`
+ for ((I=0; I < ${#IP6ADDRS[@]}; I++)); do
+ IP="${IP6ADDRS[$I]%/*}"
+ PREFIX="${IP6ADDRS[$I]#*/}"
+ if [ "$IP" = "" ]; then
+ dialog --title "NO IPv6 ADDRESSES" --ok-button "Back" --msgbox \
+ "No IP specified in entry: ${IP6ADDRS[$I]}." 5 60
+ if [ "$?" = "255" ]; then
+ rm -f $TMP/SeTIPSv6
+ exit
+ fi
+ continue 2
fi
- dialog --title "ENTER IPv6 PREFIX FOR LOCAL NETWORK" --inputbox \
-"Enter your IPv6 prefix length.
-This will be a single number (eg, 64)" 9 55 $PREFIX6 2> $TMP/SeTprefix6
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTprefix6
- exit
+ syntax_check_v6 "$IP" || continue 2
+ if [ "$PREFIX" = "" ] || [ "$IP" == "$PREFIX" ]; then
+ IP6ADDRS[$I]="$IP/64"
+ PREFIX="64"
fi
- PREFIX6="`cat $TMP/SeTprefix6`"
- if [ "$PREFIX6" = "" ]; then
- dialog --title "PREFIX REQUIRED" --msgbox \
-"You have configured this host with a v6
-IP address - a prefix is required." 6 43
- continue
- elif (($PREFIX6 == 0)) 2>/dev/null || (($PREFIX6 > 128)) 2>/dev/null || \
- ! (($PREFIX6)) 2>/dev/null; then
- dialog --title "PREFIX INVALID" --msgbox \
-"The prefix you entered is not valid.
-Valid prefixes will be in the range 1-128." \
-6 46
- continue
- else
- echo $PREFIX6 >$TMP/SeTprefix6
- break
+ if [[ ! "$PREFIX" =~ ^[0-9]+$ ]] || (($PREFIX <= 0)) || (($PREFIX > 128)); then
+ dialog --title "INVALID PREFIX" --msgbox \
+"Invalid prefix specified for entry: ${IP6ADDRS[$I]}.
+Valid prefixes will be in the range 1-128." 6 70
+ if [ "$?" = "255" ]; then
+ rm -f $TMP/SeTIPSv6
+ exit
+ fi
+ echo "${IP6ADDRS[@]}" >$TMP/SeTIPSv6
+ continue 2
fi
done
+ rm -f $TMP/SeTIPSv6
+ break
+ done
+ if [ ! "${IP6ADDRS[*]}" = "" ]; then
while [ 0 ]; do
if [ -r $TMP/SeTgateway6 ]; then
- GATEWAY6=`cat $TMP/SeTgateway6`
+ GATEWAY6="`cat $TMP/SeTgateway6`"
fi
- dialog --title "ENTER IPv6 GATEWAY ADDRESS" --inputbox \
+ dialog --title "ENTER IPv6 GATEWAY ADDRESS" --cancel-label "Skip" --inputbox \
"Enter the address for the IPv6 gateway on your network, such as:
fe80:426c:ffff::1
-If you don't have an IPv6 gateway on your network just hit ENTER
-without entering a gateway IP address.
+If you don't have an IPv6 gateway on your network, leave it blank
+or select 'Skip'.
-Enter IPv6 gateway address:" 14 68 $GATEWAY6 2> $TMP/SeTgate6
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTgate6
+Enter IPv6 gateway address:" 14 69 "$GATEWAY6" 2> $TMP/SeTgateway6
+ ERRNO="$?"
+ if [ "$ERRNO" = "1" ]; then
+ GATEWAY6=""
+ rm -f $TMP/SeTgateway6
+ break
+ elif [ "$ERRNO" = "255" ]; then
+ rm -f $TMP/SeTgateway6
exit
fi
- GATEWAY6="`cat $TMP/SeTgate6`"
- rm -f $TMP/6SeTgate6
+ GATEWAY6="`cat $TMP/SeTgateway6`"
+ rm -f $TMP/SeTgateway6
if [ "$GATEWAY6" = "" ]; then
- echo > $TMP/SeTgateway6
- break 2
+ break
fi
- # We can only do a basic validation of the entered address
- # as regexes for IPv6 addresses are very complex.
- if echo "$GATEWAY6" | grep -E "^[0-9a-fA-F:]+$" >/dev/null; then
- echo $GATEWAY6 > $TMP/SeTgateway6
- break 2
- else
- dialog --title "INVALID IP ADDRESS" --msgbox \
-"The IP address you entered is not valid.
-Please enter a valid IPv6 address." 6 44
- continue
+ syntax_check_v6 "$GATEWAY6"
+ if [ $? = 0 ]; then
+ break
fi
- echo $GATEWAY6 > $TMP/SeTgateway6
done
+ rm -f $TMP/SeTgateway6
fi
+
+ if [ "${IPADDRS[*]}" = "" ] && [ "${IP6ADDRS[*]}" = "" ]; then
+ dialog --title "NO IP ADDRESSES" --colors --defaultno --yesno \
+"\Z1You have not configured any IP addresses for this host.
+Are you sure you want to proceed with no IPs?\Zn" 6 59
+ ERRNO="$?"
+ if [ "$ERRNO" = "255" ]; then
+ exit
+ elif [ "$ERRNO" = "1" ]; then
+ continue
+ fi
+ fi
+ break
done
fi
@@ -772,45 +831,74 @@ if [ "$LOOPBACK" = "no" ]; then
dialog --title "USE A NAMESERVER?" --yesno "Do you wish to configure \
a nameserver?" 5 42
if [ $? = 0 ]; then
- if [ ! "$IPADDR" = "" ]; then
+ if [ ! "${IPADDRS[*]}" = "" ]; then
if [ ! "$GATEWAY" = "" ]; then
DNSSAMPLE="$GATEWAY"
DNSDEFAULT="$GATEWAY"
else
- DNSSAMPLE="`echo $IPADDR | cut -f 1-3 -d .`.1"
+ DNSSAMPLE="`echo ${IPADDRS[0]} | cut -f 1-3 -d .`.1"
+ DNSDEFAULT="${DNSSAMPLE%.1}."
fi
fi
- if [ ! "$IPADDR6" = "" ]; then
+ if [ ! "${IP6ADDRS[*]}" = "" ]; then
if [ ! "$GATEWAY6" = "" ]; then
- DNSSAMPLE="$DNSSAMPLE or $GATEWAY6"
+ DNSSAMPLE="${DNSSAMPLE:+$DNSSAMPLE or }$GATEWAY6"
# Keep the v4 nameserver the default, for now.
- # DNSDEFAULT="$GATEWAY6"
+ DNSDEFAULT="${DNSDEFAULT:-$GATEWAY6}"
else
- DNSSAMPLE="or fe80:426c:ffff::1"
+ DNSSAMPLE="${DNSSAMPLE:+$DNSSAMPLE or }${IP6ADDRS[0]%:*}:1"
+ DNSDEFAULT="${DNSSAMPLE:-${IP6ADDRS[0]%:*}}:"
fi
fi
while [ "$NAMESERVER" = "" ]; do
- dialog --title "ENTER NAMESERVER IP ADDRESS" --inputbox \
+ dialog --title "ENTER NAMESERVER IP ADDRESS" --cancel-label "Skip" \
+ --inputbox \
"Please give the IP address of the name server to use, such as
- $DNSSAMPLE
+ ${DNSSAMPLE:-1:2:3:4::1}
You can add more Domain Name Servers later by editing
/$RESOLV.
-Primary name server to use:" 13 65 $DNSDEFAULT 2> $TMP/SeTns
- if [ $? = 1 -o $? = 255 ]; then
- rm -f $TMP/SeTns
- break
+Primary name server to use:" 13 65 "$DNSDEFAULT" 2> $TMP/SeTns
+ ERRNO="$?"
+ if [ $ERRNO = 255 ]; then
+ rm -f $TMP/SeTns
+ exit
+ elif [ $ERRNO = 1 ]; then
+ rm -f $TMP/SeTns
+ NAMESERVER=""
+ break
+ else
+ NAMESERVER="`cat $TMP/SeTns`"
+ rm -f $TMP/SeTns
+ if [[ "$NAMESERVER" =~ ^.*:.*$ ]]; then
+ syntax_check_v6 "$NAMESERVER"
+ if [ ! $? = 0 ]; then
+ DNSDEFAULT="$NAMESERVER"
+ NAMESERVER=""
+ continue
+ fi
+ else
+ syntax_check_v4 "$NAMESERVER" 4 WARN
+ if [ ! $? = 0 ]; then
+ DNSDEFAULT="$NAMESERVER"
+ NAMESERVER=""
+ continue
+ fi
+ fi
+ break
fi
- NAMESERVER="`cat $TMP/SeTns`"
- rm -f $TMP/SeTns
done
fi
+elif [ "$LOOPBACK" = "yes" ]; then
+ IPADDRS=(127.0.0.1/8)
+ IP6ADDRS=(::1/128)
+ VLAN=""
fi
# Check for existing network driver:
unset DONOTPROBE
if cat /proc/net/dev | grep eth0 1> /dev/null 2> /dev/null ; then
- DONOTPROBE=true
+ DONOTPROBE=true
fi
# Really, this rc.netdevice thing is mostly obsolete except for
@@ -883,40 +971,53 @@ if [ "$LOOPBACK" = "yes" -a ! "$NETWORKMANAGER" = "yes" ]; then
dialog --title "NETWORK SETUP COMPLETE" --yesno "Your networking \
system is now configured to use loopback:
-IP address: 127.0.0.1
-Netmask: 255.255.255.0
+IP addresses: 127.0.0.1/8 ::1/128
-Is this correct? Press 'Yes' to continue, or 'No' to reconfigure." 10 70
+Is this correct? Press 'Yes' to continue, or 'No' to abandon." 9 70
RETVAL=$?
+ if [ "$RETVAL" = "255" ]; then
+ exit
+ fi
elif [ "$LOOPBACK" = "yes" -a "$NETWORKMANAGER" = "yes" ]; then
dialog --title "NETWORK SETUP COMPLETE" --yesno "Your networking \
system is now configured to use NetworkManager for
wired and wireless network management. To set up wireless networks
and view status, add the Network Management control panel widget to
-your KDE desktop.
+your desktop.
-Is this correct? Press 'Yes' to confirm, or 'No' to reconfigure." 10 71
+Is this correct? Press 'Yes' to confirm, or 'No' to abandon." 10 71
RETVAL=$?
+ if [ "$RETVAL" = "255" ]; then
+ exit
+ fi
elif [ "$USE_SLAAC" = "yes" ]; then
dialog --title "NETWORK SETUP COMPLETE" --yesno \
-"Your system is now set up to autoconfigure an IPv6 IP address.
-If this is correct, hit 'Yes' to confirm, or 'No' to cancel." 6 66
-RETVAL=$?
+"Your system is now set up to autoconfigure an IPv6 IP address:
+ Hostname: $HOSTNM
+ Domain name: $DOMAIN
+ VLAN ID: ${VLAN:-(none)}
+ IP addresses: (use IPv6 SLAAC)
+ Nameserver: ${NAMESERVER:-(none)}
+
+If this is correct, hit 'Yes' to confirm, or 'No' to abandon." 12 66
+ RETVAL=$?
+ if [ "$RETVAL" = "255" ]; then
+ exit
+ fi
elif [ "$USE_DHCP" = "" -a "$USE_DHCP6" = "" ]; then
while [ 0 ]; do
dialog --title "CONFIRM NETWORK SETUP" \
---ok-label Accept --extra-label Edit --cancel-label Restart --inputmenu \
+--ok-label Accept --extra-label Edit --cancel-label Abandon --inputmenu \
"These are the settings you have entered. To accept them and complete \
the networking setup, press ENTER. If you need to make any changes, you \
can do that now using 'Edit' (or reconfigure later using 'netconfig')." \
24 75 15 \
"Hostname:" "$HOSTNM" \
"Domain Name:" "$DOMAIN" \
-"IPv4 Address:" "$IPADDR" \
-"IPv4 Netmask:" "$NETMASK" \
+"VLAN ID:" "$VLAN" \
+"IPv4 Addresses:" "${IPADDRS[*]}" \
"IPv4 Gateway:" "$GATEWAY" \
-"IPv6 Address:" "$IPADDR6" \
-"IPv6 Prefix:" "$PREFIX6" \
+"IPv6 Addresses:" "${IP6ADDRS[*]}" \
"IPv6 Gateway:" "$GATEWAY6" \
"Nameserver:" "$NAMESERVER" 2> $TMP/tempmsg
RETVAL=$?
@@ -927,38 +1028,44 @@ can do that now using 'Edit' (or reconfigure later using 'netconfig')." \
HOSTNM=$NEWVAL
elif [ "$FIELD" = "Domain Name" ]; then
DOMAIN=$NEWVAL
- elif [ "$FIELD" = "IPv4 Address" ]; then
- IPADDR=$NEWVAL
- elif [ "$FIELD" = "IPv4 Netmask" ]; then
- NETMASK=$NEWVAL
+ elif [ "$FIELD" = "VLAN ID" ]; then
+ VLAN=$NEWVAL
+ elif [ "$FIELD" = "IPv4 Addresses" ]; then
+ IPADDRS=( $NEWVAL )
elif [ "$FIELD" = "IPv4 Gateway" ]; then
GATEWAY=$NEWVAL
- elif [ "$FIELD" = "IPv6 Address" ]; then
- IPADDR6=$NEWVAL
- elif [ "$FIELD" = "IPv6 Prefix" ]; then
- PREFIX6=$NEWVAL
+ elif [ "$FIELD" = "IPv6 Addresses" ]; then
+ IP6ADDRS=( $NEWVAL )
elif [ "$FIELD" = "IPv6 Gateway" ]; then
GATEWAY6=$NEWVAL
elif [ "$FIELD" = "Nameserver" ]; then
NAMESERVER=$NEWVAL
fi
+ elif [ "$RETVAL" = "255" ]; then
+ exit
else
break
fi
done
+ if [ ! "${IPADDRS[0]}" = "" ]; then
+ NM="$(cidr2mask "${IPADDRS[0]#*/}")"
+ BROADCAST="$(ipmask "$NM" "${IPADDRS[0]%/*}" | cut -f 1 -d ' ')"
+ NETWORK="$(ipmask "$NM" "${IPADDRS[0]%/*}" | cut -f 2 -d ' ')"
+ fi
else # DHCP was used
dialog --title "CONFIRM NETWORK SETUP" \
--yesno "Your networking system is now configured to use DHCP:
Hostname: $HOSTNM
Domain name: $DOMAIN
- DHCP hostname: $DHCP_HOSTNAME
+ VLAN ID: ${VLAN:-(none)}
+ DHCP hostname: ${DHCP_HOSTNAME:-(none)}
IP addresses: (use DHCP server)
Netmask & Prefix: (use DHCP server)
Gateways: (use DHCP server)
Nameserver: (use DHCP server)
-Is this correct? Press 'Yes' to continue, or 'No' to reconfigure." 15 76
+Is this correct? Press 'Yes' to continue, or 'No' to reconfigure." 16 76
RETVAL=$?
fi
@@ -973,13 +1080,9 @@ if [ "$RETVAL" = "0" ]; then
if [ "$NETWORKMANAGER" = "yes" -a -r etc/rc.d/rc.networkmanager ]; then
chmod 755 etc/rc.d/rc.networkmanager
fi
- if [ "$1" = "" ]; then
- dialog --msgbox "Settings accepted. Basic network configuration is complete." 6 40
- fi
+ dialog --msgbox "Settings accepted. Basic network configuration is complete." 6 40
else
- if [ "$1" = "" ]; then
- dialog --msgbox "Settings discarded. Run the 'netconfig' command again if you need to reconfigure your network settings." 6 60
- fi
+ dialog --msgbox "Settings discarded. Run the 'netconfig' command again if you need to reconfigure your network settings." 6 60
fi
exit $RETVAL
diff --git a/source/n/network-scripts/scripts/rc.inet1 b/source/n/network-scripts/scripts/rc.inet1
index f63f93ed..755e7efe 100644
--- a/source/n/network-scripts/scripts/rc.inet1
+++ b/source/n/network-scripts/scripts/rc.inet1
@@ -47,7 +47,7 @@ i=0
while [ $i -lt $MAXNICS ];
do
IFNAME[$i]=${IFNAME[$i]:=eth${i}}
- i=$(($i+1))
+ i=$((i+1))
done
debug_log "List of interfaces: ${IFNAME[*]}"
@@ -130,7 +130,7 @@ virtif_create() {
done
}
-# Function to destory virtual interfaces
+# Function to destroy virtual interfaces
virtif_destroy() {
# argument is 'i' - the position of this interface in the VIRTIFNAME array.
for i in $(seq 0 $((${#VIRTIFNAME[@]} - 1))); do
@@ -159,7 +159,7 @@ br_open() {
debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bridge $IFOPT"
/sbin/ip link set dev ${IFNAME[$1]} type bridge $IFOPT
fi
- done <<<"${IFOPTS[$i]}|" # The | on the end is required.
+ done <<<"${IFOPTS[$i]/%|*([[:blank:]])}|" # The | on the end is required.
debug_log "/sbin/ip link set dev ${IFNAME[$1]} up"
/sbin/ip link set dev ${IFNAME[$1]} up
}
@@ -206,7 +206,7 @@ bond_create() {
debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bond $IFOPT"
/sbin/ip link set dev ${IFNAME[$1]} type bond $IFOPT
fi
- done <<<"${IFOPTS[$1]}|" # The | on the end is required.
+ done <<<"${IFOPTS[$1]/%|*([[:blank:]])}|" # The | on the end is required.
}
# Function to destroy a bond.
@@ -235,7 +235,7 @@ if_up() {
i=0
while [ $i -lt $MAXNICS ]; do
[ "${IFNAME[$i]}" = "${1}" ] && break
- i=$(($i+1))
+ i=$((i+1))
done
# If "i" is greater or equal to "MAXNICS" at this point, it means we didn't
# find an entry in IFNAME array corresponding to "${1}", which likely means
@@ -288,7 +288,7 @@ if_up() {
debug_log "/sbin/ip link set dev ${1} type vlan $IFOPT"
/sbin/ip link set dev ${1} type vlan $IFOPT
fi
- done <<<"${IFOPTS[$i]}|" # The | on the end is required.
+ done <<<"${IFOPTS[$i]/%|*([[:blank:]])}|" # The | on the end is required.
elif [ -z "${BONDNICS[$i]}" ] && [ -z "${BRNICS[$i]}" ]; then
# Only apply IFOPTS for a physical interface if it's not been handled
# by a higher level interface.
@@ -297,7 +297,7 @@ if_up() {
debug_log "/sbin/ip link set dev ${1} $IFOPT"
/sbin/ip link set dev ${1} $IFOPT
fi
- done <<<"${IFOPTS[$i]}|" # The | on the end is required.
+ done <<<"${IFOPTS[$i]/%|*([[:blank:]])}|" # The | on the end is required.
fi
# Set hardware address:
if [ -n "${HWADDR[$i]}" ]; then
@@ -350,7 +350,6 @@ if_up() {
# Note: ARM users should make use of the DHCP_NOIPV4LL[x]="yes" parameter in rc.inet1.conf - this is the correct
# way to get the behaviour they seek.
[ "${DHCP_NOIPV4LL[$i]}" = "yes" ] && DHCP_OPTIONS+=("-L")
- [ -n "${DHCP_IPADDR[$i]}" ] && DHCP_OPTIONS+=("-r" "${DHCP_IPADDR[$i]}")
echo "${1}: polling for DHCP server"
# 15 seconds should be a reasonable default DHCP timeout. 30 was too much.
debug_log "/sbin/dhcpcd -t ${DHCP_TIMEOUT[$i]:-15} ${DHCP_OPTIONS[*]} ${1}"
@@ -389,7 +388,7 @@ if_up() {
/sbin/ip -6 address show dynamic dev ${1} 2>/dev/null | grep -Ewq 'inet6' && { IF_UP=1; break; }
sleep 0.5
done
- if (($IF_UP != 1)); then
+ if ((IF_UP != 1)); then
echo "${1}: timed out"
info_log "${1}: failed to auto configure after ${SLAAC_TIMEOUT[$i]} seconds"
debug_log "/sbin/ip address flush dev ${1}"
@@ -398,27 +397,8 @@ if_up() {
/sbin/ip link set dev ${1} down
fi
fi
- if [ "${USE_DHCP[$i]}" != "yes" ] && [ -n "${IPADDR[$i]}" ]; then # add a fixed v4 IP to the interface
- info_log "${1}: setting fixed IPv4 address"
- if [ -z "${NETMASK[$i]}" ]; then
- info_log "${1}: no NETMASK set for primary IP ${IPADDR[$i]} - assuming 24 (aka, 255.255.255.0)"
- NETMASK[$i]="24"
- fi
- debug_log "/sbin/ip -4 address add ${IPADDR[$i]}/${NETMASK[$i]#/} broadcast + dev ${1}"
- if /sbin/ip -4 address add ${IPADDR[$i]}/${NETMASK[$i]#/} broadcast + dev ${1} && \
- /sbin/ip link set dev ${1} up; then
- IF_UP=1
- else
- info_log "${1}: failed to set IP ${IPADDR[$i]}"
- debug_log "/sbin/ip address flush dev ${1}"
- /sbin/ip address flush dev ${1}
- debug_log "/sbin/ip link set dev ${1} down"
- /sbin/ip link set dev ${1} down
- fi
- fi
- if [ -e /proc/sys/net/ipv6 ] && [ "${USE_DHCP6[$i]}" != "yes" ] && [ "${USE_SLAAC[$i]}" != "yes" ] && \
- [ -n "${IP6ADDRS[$i]}" ]; then # add fixed v6 IPs
- info_log "${1}: setting fixed IPv6 addresses"
+ if [ -e /proc/sys/net/ipv6 ] && [ -n "${IP6ADDRS[$i]}" ]; then # add v6 IPs
+ info_log "${1}: setting IPv6 addresses"
# IPv6's Duplicate Address Detection (DAD) causes a race condition when bringing up interfaces, as
# described here: https://www.agwa.name/blog/post/beware_the_ipv6_dad_race_condition
# Disable DAD while bringing up the interface - but note that this means the loss of detection of a
@@ -433,8 +413,7 @@ if_up() {
PREFIX="64"
fi
debug_log "/sbin/ip -6 address add $IP/$PREFIX dev ${1}"
- if /sbin/ip -6 address add $IP/$PREFIX dev ${1} && \
- /sbin/ip link set dev ${1} up; then
+ if /sbin/ip -6 address add $IP/$PREFIX dev ${1} && /sbin/ip link set dev ${1} up; then
# Enable accepting of RA packets if explicitly told to.
if [ "${USE_RA[$i]}" = "yes" ]; then
debug_log "${1}: unconditionally accepting IPv6 RA"
@@ -443,7 +422,7 @@ if_up() {
IF_UP=1
else
info_log "${1}: failed to set IP $IP"
- if (($IF_UP != 1)); then # a v4 address was configured, don't flush it
+ if ((IF_UP != 1)); then # a v4 address was configured, don't flush it
debug_log "/sbin/ip address flush dev ${1}"
/sbin/ip address flush dev ${1}
debug_log "/sbin/ip link set dev ${1} down"
@@ -455,27 +434,55 @@ if_up() {
debug_log "${1}: resetting IPv6 DAD to default"
cat /proc/sys/net/ipv6/conf/default/accept_dad >/proc/sys/net/ipv6/conf/${1}/accept_dad
fi
- if (($IF_UP == 1)); then # only do further config if the interface came up
- info_log "${1}: setting fixed IPv4 alias addresses"
- # Add extra IPv4 addresses to the interface:
- if [ -n "${IPALIASES[$i]}" ]; then
- NUM=0
- for IPALIAS in ${IPALIASES[$i]}; do
- IP="${IPALIAS%/*}"
- NM="${IPALIAS#*/}"
- if [ -z "$NM" ] || [ "$IP" == "$NM" ]; then
- info_log "${1}: no netmask set for alias IP $IP - assuming 24 (aka, 255.255.255.0)"
- NM="24"
- fi
- debug_log "/sbin/ip -4 address add $IP/$NM broadcast + dev ${1} label ${1}:$NUM"
- if /sbin/ip -4 address add $IP/$NM broadcast + dev ${1} label ${1}:$NUM; then
- NUM=$(($NUM + 1))
- else
- info_log "${1}: failed to add alias IP $IP"
- fi
- done
+ if [ -n "${IPADDRS[$i]}" ] || [ -n "${IPADDR[$i]}" ]; then # add v4 IPs
+ info_log "${1}: setting IPv4 addresses"
+ # Only use IPADDR if no dynamic configuration was done.
+ if [ "${USE_DHCP[$i]}" == "yes" ] || [ "${USE_DHCP6[$i]}" == "yes" ] || [ "${USE_SLAAC[$i]}" == "yes" ]; then
+ V4IPS="${IPADDRS[$i]}"
+ else
+ V4IPS="${IPADDRS[$i]} ${IPADDR[$i]}${NETMASK[$i]:+/${NETMASK[$i]}}"
fi
- # Force an MTU (possibly over-riding that set by DHCP or RA):
+ for V4IP in $V4IPS; do
+ IP="${V4IP%/*}"
+ NM="${V4IP#*/}"
+ if [ -z "$NM" ] || [ "$IP" == "$NM" ]; then
+ info_log "${1}: no netmask set for IP $IP - assuming 24 (aka, 255.255.255.0)"
+ NM="24"
+ fi
+ debug_log "/sbin/ip -4 address add $IP/$NM broadcast + dev ${1}"
+ if /sbin/ip -4 address add $IP/$NM broadcast + dev ${1} && /sbin/ip link set dev ${1} up; then
+ IF_UP=1
+ else
+ info_log "${1}: failed to set IP $IP"
+ if ((IF_UP != 1)); then # if at least one address was configured, don't flush the device
+ debug_log "/sbin/ip address flush dev ${1}"
+ /sbin/ip address flush dev ${1}
+ debug_log "/sbin/ip link set dev ${1} down"
+ /sbin/ip link set dev ${1} down
+ fi
+ fi
+ done
+ fi
+ if ((IF_UP == 1)) && [ -n "${IPALIASES[$i]}" ]; then # Only apply IPALIASES onto an up interface
+ info_log "${1}: setting extra IPv4 addresses"
+ NUM=0
+ for EXTRAIP in ${IPALIASES[$i]}; do
+ IP="${EXTRAIP%/*}"
+ NM="${EXTRAIP#*/}"
+ if [ -z "$NM" ] || [ "$IP" == "$NM" ]; then
+ info_log "${1}: no netmask set for alias IP $IP - assuming 24 (aka, 255.255.255.0)"
+ NM="24"
+ fi
+ debug_log "/sbin/ip -4 address add $IP/$NM broadcast + dev ${1} label ${1}:$NUM"
+ if /sbin/ip -4 address add $IP/$NM broadcast + dev ${1} label ${1}:$NUM; then
+ NUM=$((NUM + 1))
+ else
+ info_log "${1}: failed to add alias IP $IP"
+ fi
+ done
+ fi
+ if ((IF_UP == 1)); then
+ # Force an MTU (possibly overriding that set by DHCP or RA):
if [ -n "${MTU[$i]}" ]; then
info_log "${1}: setting custom MTU"
debug_log "/sbin/ip link set dev ${1} mtu ${MTU[$i]}"
@@ -506,7 +513,7 @@ if_down() {
i=0
while [ $i -lt $MAXNICS ]; do
[ "${IFNAME[$i]}" = "${1}" ] && break
- i=$(($i+1))
+ i=$((i+1))
done
if [ $i -ge $MAXNICS ]; then
info_log "${1}: skipping - you might need to increase MAXNICS"
@@ -518,12 +525,12 @@ if_down() {
info_log "${1}: stopping dhcpcd"
# When using -k, dhcpcd requires some command line options to match those used to invoke it:
if [ "${USE_DHCP[$i]}" = "yes" ] && [ "${USE_DHCP6[$i]}" != "yes" ]; then # only v4 dhcp
- DHCP_OPTIONS="-4"
+ DHCP_OPTIONS=( -4 )
elif [ "${USE_DHCP[$i]}" != "yes" ] && [ "${USE_DHCP6[$i]}" = "yes" ]; then # only v6 dhcp
- DHCP_OPTIONS="-6"
+ DHCP_OPTIONS=( -6 )
fi
- debug_log "/sbin/dhcpcd $DHCP_OPTIONS -k -d ${1}"
- /sbin/dhcpcd $DHCP_OPTIONS -k -d ${1} 2>/dev/null || info_log "${1}: failed to stop dhcpcd"
+ debug_log "/sbin/dhcpcd ${DHCP_OPTIONS[*]} -k -d ${1}"
+ /sbin/dhcpcd "${DHCP_OPTIONS[*]}" -k -d ${1} 2>/dev/null || info_log "${1}: failed to stop dhcpcd"
fi
# Disable v6 IP auto configuration and RA before trying to clear the IP from the interface:
if [ -e /proc/sys/net/ipv6 ]; then
@@ -618,7 +625,7 @@ start() {
stop() {
echo "Stopping the network interfaces..."
gateway_down
- for (( i = $MAXNICS - 1; i >= 0; i-- )); do
+ for (( i = MAXNICS - 1; i >= 0; i-- )); do
if_down ${IFNAME[$i]}
done
virtif_destroy
@@ -630,6 +637,9 @@ stop() {
### MAIN ###
############
+# extglob is required for some functionallity.
+shopt -s extglob
+
case "${1}" in
start|up) # "start" (or "up") brings up all configured interfaces:
start
diff --git a/source/n/network-scripts/scripts/rc.inet1.conf b/source/n/network-scripts/scripts/rc.inet1.conf
index 5081ee5b..0daee701 100644
--- a/source/n/network-scripts/scripts/rc.inet1.conf
+++ b/source/n/network-scripts/scripts/rc.inet1.conf
@@ -17,49 +17,45 @@
# =============================================================================
-# IPv4 config information for eth0:
-IPADDR[0]=""
-NETMASK[0]=""
-IPALIASES[0]=""
+# IPv4 config options for eth0:
+IPADDRS[0]=""
USE_DHCP[0]=""
-DHCP_HOSTNAME[0]=""
-# IPv6 config information for eth0:
+# IPv6 config options for eth0:
IP6ADDRS[0]=""
USE_SLAAC[0]=""
USE_DHCP6[0]=""
+# Generic options for eth0:
+DHCP_HOSTNAME[0]=""
-# IPv4 config information for eth1:
-IPADDR[1]=""
-NETMASK[1]=""
-IPALIASES[1]=""
+# IPv4 config options for eth1:
+IPADDRS[1]=""
USE_DHCP[1]=""
-DHCP_HOSTNAME[1]=""
-# IPv6 config information for eth1:
+# IPv6 config options for eth1:
IP6ADDRS[1]=""
USE_SLAAC[1]=""
USE_DHCP6[1]=""
+# Generic options for eth1:
+DHCP_HOSTNAME[1]=""
-# IPv4 config information for eth2:
-IPADDR[2]=""
-NETMASK[2]=""
-IPALIASES[2]=""
+# IPv4 config options for eth2:
+IPADDRS[2]=""
USE_DHCP[2]=""
-DHCP_HOSTNAME[2]=""
-# IPv6 config information for eth2:
+# IPv6 config options for eth2:
IP6ADDRS[2]=""
USE_SLAAC[2]=""
USE_DHCP6[2]=""
+# Generic options for eth2:
+DHCP_HOSTNAME[2]=""
-# IPv4 config information for eth3:
-IPADDR[3]=""
-NETMASK[3]=""
-IPALIASES[3]=""
+# IPv4 config options for eth3:
+IPADDRS[3]=""
USE_DHCP[3]=""
-DHCP_HOSTNAME[3]=""
-# IPv6 config information for eth3:
+# IPv6 config options for eth3:
IP6ADDRS[3]=""
USE_SLAAC[3]=""
USE_DHCP6[3]=""
+# Generic options for eth3:
+DHCP_HOSTNAME[3]=""
# IPv4 default gateway IP address:
GATEWAY=""
@@ -68,7 +64,7 @@ GATEWAY6=""
# =============================================================================
-# Example of how to configure a bond (link aggrigation) interface.
+# Example of how to configure a bond (link aggregation) interface.
# Note the addition of the BONDNICS and BONDMODE parameters.
# BONDNICS is a space delimited list of interfaces to add to this bond. The
# BONDNICS interfaces will be brought up and configured while bringing up the
@@ -107,9 +103,7 @@ GATEWAY6=""
# for a standard VLAN to be configured.
#IFNAME[0]="eth0.10"
#IFOPTS[0]=""
-#IPADDR[0]="192.168.10.1"
-#NETMASK[0]="24"
-#IPALIASES[0]=""
+#IPADDRS[0]="192.168.10.1/24"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
#IP6ADDRS[0]=""
@@ -128,9 +122,7 @@ GATEWAY6=""
#IFNAME[0]="br0"
#BRNICS[0]="eth0"
#IFOPTS[0]=""
-#IPADDR[0]="192.168.0.1"
-#NETMASK[0]="24"
-#IPALIASES[0]=""
+#IPADDRS[0]="192.168.0.1/24"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
@@ -160,8 +152,7 @@ GATEWAY6=""
# Uncomment the lines you need and fill in your data. You may not need all of
# these for your wireless network.
#IFNAME[4]="wlan0"
-#IPADDR[4]=""
-#NETMASK[4]=""
+#IPADDRS[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
@@ -188,15 +179,11 @@ GATEWAY6=""
# can be found in the ip-link(8) man page in
# the approprite section for the interface
# type being configured.
-#IPALIASES[4]="192.168.5.10/24" # A space delimited list of CIDR formatted IP
- # aliases to assign to the interface after it
- # has come up. If no /<prefix> is given after
- # the IP address, /24 will be used as default.
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#PROMISCUOUS[4]="yes" # Set promiscuous mode on the interface.
-#DHCP_TIMEOUT[4]=15 # The default timeout for the DHCP client to
+#DHCP_TIMEOUT[4]="15" # The default timeout for the DHCP client to
# wait for server resonse is 15 seconds, but
# you might want a shorter or longer wait.
#DHCP_KEEPRESOLV[4]="yes" # If you don't want /etc/resolv.conf overwritten
@@ -215,7 +202,7 @@ GATEWAY6=""
# Increase the timeout if required.
#USE_RA[4]="yes" # Accept router advertisements even when SLAAC
# is disabled on the interface.
-#WLAN_ESSID[4]=DARKSTAR # An example of how you can override _any_
+#WLAN_ESSID[4]="DARKSTAR" # An example of how you can override _any_
# parameter defined in rc.wireless.conf, by
# prepending 'WLAN_' to the parameter's name.
# Useful with multiple wireless interfaces.
@@ -229,7 +216,7 @@ GATEWAY6=""
#WLAN_WPADRIVER[4]="ndiswrapper"# Tell wpa_supplicant to specifically use the
# ndiswrapper driver (if you leave this empty
# the 'wext' driver is used by default)
-#WLAN_WPAWAIT[4]=30 # In case it takes long for the WPA association
+#WLAN_WPAWAIT[4]="30" # In case it takes long for the WPA association
# to finish, you can increase the wait time
# (defaults to 10 seconds)
diff --git a/source/n/wireless_tools/scripts/rc.wireless b/source/n/wireless_tools/scripts/rc.wireless
index e7a35b89..52559ff5 100644
--- a/source/n/wireless_tools/scripts/rc.wireless
+++ b/source/n/wireless_tools/scripts/rc.wireless
@@ -58,13 +58,21 @@
# test may depend on the kernel options and the
# wireless driver used.
# Convert the MAC address to uppercase in sed.
+# 11/Nov/2019 * Darren Austin * Log to syslog, failling back to stdout.
+# Output error to stderr if not called from
+# rc.inet1.
# ------------------------------------------------------------------------------
-LOGGER=${LOGGER:-cat}
+# If possible, log events in /var/log/messages:
+if [ -f /var/run/syslogd.pid ] && [ -x /usr/bin/logger ]; then
+ LOGGER=/usr/bin/logger
+else # output to stdout/stderr:
+ LOGGER=/bin/cat
+fi
-if [ -z $IFNAME ] ; then
- echo "WARNING: The script 'rc.wireless' must be executed by 'rc.inet1'!" | $LOGGER
- echo " You should run the command \"/etc/rc.d/rc.inet1 <your_interface>_start\" yourself." | $LOGGER
+if [ -z "$IFNAME" ] ; then
+ echo "ERROR: The script 'rc.wireless' must be executed by 'rc.inet1'!" >&2
+ echo " You should run the command \"/etc/rc.d/rc.inet1 <your_interface>_start\" yourself." >&2
return 1 2> /dev/null || exit 1
fi
@@ -89,11 +97,11 @@ IFCOMMAND="/sbin/ip link set dev ${INTERFACE}"
is_wireless_device ()
{
# Return 0 for a wireless interface, or 1 for a non-wireless interface.
- if LC_ALL=C $IWPATH/iwconfig $1 2>&1 | grep -q "IEEE 802.11" ; then
+ if [ -d /sys/class/net/${1}/wireless ]; then
return 0
- elif [ -d /sys/class/net/${1}/wireless ]; then
+ elif grep -Fxq 'DEVTYPE=wlan' /sys/class/net/${1}/uevent 2>/dev/null; then
return 0
- elif [ "$(cat /sys/class/net/${1}/uevent | grep DEVTYPE)" = "DEVTYPE=wlan" ]; then
+ elif LC_ALL=C $IWPATH/iwconfig $1 2>&1 | grep -q "IEEE 802.11" ; then
return 0
else # all tests failed, assume the device is not wireless (or add a better test :)
return 1
@@ -110,8 +118,7 @@ is_wireless_device ${INTERFACE} || return 0 2> /dev/null || exit 0
# If we stop a wireless interface using wpa_supplicant,
# we'll kill its wpa_supplicant daemon too and exit this script:
if [ "$2" = "stop" ]; then
- WPAPID=$(echo $(ps axww | grep wpa_supplicant | grep i${INTERFACE}) | cut -f1 -d' ')
- [ ${WPAPID} ] && kill ${WPAPID}
+ pkill --full "bin/wpa_supplicant.* -i${INTERFACE}"
return 0
fi
@@ -124,7 +131,7 @@ $IFCOMMAND up
sleep 3
# Get the MAC address for the interface
-HWADDR=$(/sbin/ip link show dev ${INTERFACE} | sed -ne 's/.*link\/ether \(..:..:..:..:..:..\).*/\U\1/p')
+HWADDR=$(cat "/sys/class/net/${INTERFACE}/address")
# Empty all wireless parameters- some of them could still be set for a previous interface:
# when rc.inet1 is sourced from rc.M all scripts are run in the same shell.
@@ -177,7 +184,7 @@ WPACONF=${WLAN_WPACONF[$i]:-${WPACONF:="/etc/wpa_supplicant.conf"}}
WPAWAIT=${WLAN_WPAWAIT[$i]:-${WPAWAIT:="60"}}
-[ -n "$VERBOSE" -a -n "$INFO" ] && echo "$0: $1 information: '$INFO'"
+[ -n "$VERBOSE" ] && [ -n "$INFO" ] && echo "$0: $1 information: '$INFO'"
###################
# WIRELESS CONFIG #
@@ -199,7 +206,7 @@ fi
if [ ! -n "$NICKNAME" ] ; then
NICKNAME=$(/bin/hostname)
fi
-if [ -n "$ESSID" -o -n "$MODE" ] ; then
+if [ -n "$ESSID" ] || [ -n "$MODE" ] ; then
echo "$0: $IWCOMMAND nick $NICKNAME" | $LOGGER
$IWCOMMAND nick $NICKNAME
fi
@@ -217,7 +224,7 @@ elif [ -n "$CHANNEL" ] ; then
fi
# WEP keys (non-WPA)
-if [ -n "$KEY" -a ! -n "$WPA" ] ; then
+if [ -n "$KEY" ] && [ ! -n "$WPA" ] ; then
if [ "$KEY" = "off" ]; then
echo "$0: $IWCOMMAND key open" | $LOGGER
$IWCOMMAND key open
@@ -272,7 +279,7 @@ if [ -n "$IWPRIV" ] ; then
echo "${IWPRIV}|" | \
while read -d '|' iwi; do
if [ -n "$iwi" ]; then
- echo "$0: '$IWPRIVCMD $iwi'" | $LOGGER
+ echo "$0: $IWPRIVCMD $iwi" | $LOGGER
$IWPRIVCMD $iwi
fi
done
@@ -290,12 +297,11 @@ if [ "$WPA" = "wpa_supplicant" ] || [ "$WPA" = "wpaxsupplicant" ] && [ -x ${SUPP
$IFCOMMAND down
#WPACONF=${WPACONF:-/etc/wpa_supplicant.conf}
WPA_OPTIONS=""
- [ ${WPADRIVER} ] && WPA_OPTIONS="-D${WPADRIVER}" # specify the driver
- [ ${WPA} = "wpaxsupplicant" ] && WPA_OPTIONS="${WPA_OPTIONS} -e" # Use external xsupplicant (disables the internal supplicant)
+ [ -n "$WPADRIVER" ] && WPA_OPTIONS="-D${WPADRIVER}" # specify the driver
+ [ "$WPA" = "wpaxsupplicant" ] && WPA_OPTIONS="${WPA_OPTIONS} -e" # Use external xsupplicant (disables the internal supplicant)
# We leave a running wpa_supplicant process in peace:
- WPAPID=$(echo $(ps axww | grep wpa_supplicant | grep i${INTERFACE}) | cut -f1 -d' ')
- if [ ${WPAPID} ]; then
+ if pgrep --full "bin/wpa_supplicant.* -i${INTERFACE}" >/dev/null ; then
echo "$0: wpa_supplicant found running already" | $LOGGER
else
echo "$0: wpa_supplicant -B -c${WPACONF} ${WPA_OPTIONS} -i$INTERFACE" | $LOGGER
@@ -317,7 +323,7 @@ if [ "$WPA" = "wpa_supplicant" ] || [ "$WPA" = "wpaxsupplicant" ] && [ -x ${SUPP
fi
done
if [ $wi -eq $WPAWAIT ]; then
- echo "WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 ${INTERFACE}_start' in a few seconds." | $LOGGER
+ echo "$0: WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 ${INTERFACE}_start' in a few seconds." | $LOGGER
fi
# Bring interface up to avoid 'not ready' errors when calling iwconfig
$IFCOMMAND up
diff --git a/source/n/wireless_tools/wireless_tools.SlackBuild b/source/n/wireless_tools/wireless_tools.SlackBuild
index 1daf209a..c7f721eb 100755
--- a/source/n/wireless_tools/wireless_tools.SlackBuild
+++ b/source/n/wireless_tools/wireless_tools.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=wireless_tools
VERSION=30.pre9
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/xfce/mousepad/mousepad.SlackBuild b/source/xfce/mousepad/mousepad.SlackBuild
index 21a9583c..393251b4 100755
--- a/source/xfce/mousepad/mousepad.SlackBuild
+++ b/source/xfce/mousepad/mousepad.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mousepad
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/xfce/mousepad/mousepad.url b/source/xfce/mousepad/mousepad.url
index 0b77a060..c3656651 100644
--- a/source/xfce/mousepad/mousepad.url
+++ b/source/xfce/mousepad/mousepad.url
@@ -1 +1 @@
-https://archive.xfce.org/src/apps/mousepad/0.5/mousepad-0.5.2.tar.bz2
+https://archive.xfce.org/src/apps/mousepad/0.5/mousepad-0.5.3.tar.bz2