summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/network-scripts
diff options
context:
space:
mode:
authorAdrien Nader <adrien@notk.org>2012-08-10 05:04:07 +0200
committerAdrien Nader <adrien@notk.org>2012-08-10 05:04:07 +0200
commitb238ae9f7d63f006d4bf6db98596f7fc6112ade5 (patch)
tree60f67b93cf3a73cc2d1085d3814b4dab6c84fe11 /slackware64-current/source/n/network-scripts
parentdae794e2991da4c72806567f35030589ea4b336d (diff)
Fri Aug 10 01:32:48 UTC 2012
n/wireless-tools-29-x86_64-8.txz: Rebuilt. Fix comparison where a network interface is not wireless. Thu Aug 9 22:34:59 UTC 2012 Good hello, and happy Thursday! Mercury went direct early yesterday morning, and it was like the bugs started to fix themselves. It's almost enough to get me believing in that hocus-pocus nonsense! So, here's a bunch of updates that fix all of the reported issues in the beta, and we'll call this the 14.0 release candidate 1. Still some updates needed for the top-level documentation files, but we're clearly in the home stretch now (finally). Test away, and report any remaining bugs! a/aaa_base-14.0-x86_64-3.txz: Rebuilt. Updated initial emails. a/cups-1.5.4-x86_64-2.txz: Rebuilt. Patched to prevent a reset that causes partial printing with certain printers. Thanks to 4Strings on LQ. a/dcron-4.5-x86_64-2.txz: Rebuilt. Fixed error handling in /usr/bin/run-parts. Thanks to NoStressHQ. a/gptfdisk-0.8.5-x86_64-2.txz: Rebuilt. Remove the dependency on icu4c in the Makefile, otherwise 20MB of shared libraries would have to be added to the installer. a/kernel-generic-3.2.26-x86_64-1.txz: Upgraded. a/kernel-huge-3.2.26-x86_64-1.txz: Upgraded. a/kernel-modules-3.2.26-x86_64-1.txz: Upgraded. a/kmod-9-x86_64-3.txz: Rebuilt. Fixed paths in man pages. Thanks to Robby Workman. a/openssl-solibs-1.0.1c-x86_64-3.txz: Rebuilt. a/pkgtools-14.0-noarch-1.tgz: Upgraded. Updated version number in pkgtool. d/kernel-headers-3.2.26-x86-1.txz: Upgraded. f/linux-howtos-20120707-noarch-1.txz: Upgraded. k/kernel-source-3.2.26-noarch-1.txz: Upgraded. kde/analitza-4.8.5-x86_64-1.txz: Upgraded. kde/ark-4.8.5-x86_64-1.txz: Upgraded. kde/blinken-4.8.5-x86_64-1.txz: Upgraded. kde/calligra-2.4.3-x86_64-4.txz: Rebuilt. Patched an overflow in Calligra Words. For more information, see: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3456 (* Security fix *) kde/cantor-4.8.5-x86_64-1.txz: Upgraded. kde/filelight-4.8.5-x86_64-1.txz: Upgraded. kde/gwenview-4.8.5-x86_64-1.txz: Upgraded. kde/kaccessible-4.8.5-x86_64-1.txz: Upgraded. kde/kactivities-4.8.5-x86_64-1.txz: Upgraded. kde/kalgebra-4.8.5-x86_64-1.txz: Upgraded. kde/kalzium-4.8.5-x86_64-1.txz: Upgraded. kde/kamera-4.8.5-x86_64-1.txz: Upgraded. kde/kanagram-4.8.5-x86_64-1.txz: Upgraded. kde/kate-4.8.5-x86_64-1.txz: Upgraded. kde/kbruch-4.8.5-x86_64-1.txz: Upgraded. kde/kcalc-4.8.5-x86_64-1.txz: Upgraded. kde/kcharselect-4.8.5-x86_64-1.txz: Upgraded. kde/kcolorchooser-4.8.5-x86_64-1.txz: Upgraded. kde/kde-baseapps-4.8.5-x86_64-1.txz: Upgraded. kde/kde-runtime-4.8.5-x86_64-1.txz: Upgraded. kde/kde-wallpapers-4.8.5-noarch-1.txz: Upgraded. kde/kde-workspace-4.8.5-x86_64-1.txz: Upgraded. kde/kdeadmin-4.8.5-x86_64-1.txz: Upgraded. kde/kdeartwork-4.8.5-x86_64-1.txz: Upgraded. kde/kdegames-4.8.5-x86_64-1.txz: Upgraded. kde/kdegraphics-mobipocket-4.8.5-x86_64-1.txz: Upgraded. kde/kdegraphics-strigi-analyzer-4.8.5-x86_64-1.txz: Upgraded. kde/kdegraphics-thumbnailers-4.8.5-x86_64-1.txz: Upgraded. kde/kdelibs-4.8.5-x86_64-1.txz: Upgraded. kde/kdemultimedia-4.8.5-x86_64-1.txz: Upgraded. kde/kdenetwork-4.8.5-x86_64-1.txz: Upgraded. kde/kdepim-4.8.5-x86_64-1.txz: Upgraded. kde/kdepim-runtime-4.8.5-x86_64-1.txz: Upgraded. kde/kdepimlibs-4.8.5-x86_64-1.txz: Upgraded. kde/kdeplasma-addons-4.8.5-x86_64-1.txz: Upgraded. kde/kdesdk-4.8.5-x86_64-1.txz: Upgraded. kde/kdetoys-4.8.5-x86_64-1.txz: Upgraded. kde/kdewebdev-4.8.5-x86_64-1.txz: Upgraded. kde/kdf-4.8.5-x86_64-1.txz: Upgraded. kde/kfloppy-4.8.5-x86_64-1.txz: Upgraded. kde/kgamma-4.8.5-x86_64-1.txz: Upgraded. kde/kgeography-4.8.5-x86_64-1.txz: Upgraded. kde/kgpg-4.8.5-x86_64-1.txz: Upgraded. kde/khangman-4.8.5-x86_64-1.txz: Upgraded. kde/kig-4.8.5-x86_64-1.txz: Upgraded. kde/kiten-4.8.5-x86_64-1.txz: Upgraded. kde/klettres-4.8.5-x86_64-1.txz: Upgraded. kde/kmag-4.8.5-x86_64-1.txz: Upgraded. kde/kmousetool-4.8.5-x86_64-1.txz: Upgraded. kde/kmouth-4.8.5-x86_64-1.txz: Upgraded. kde/kmplot-4.8.5-x86_64-1.txz: Upgraded. kde/kolourpaint-4.8.5-x86_64-1.txz: Upgraded. kde/konsole-4.8.5-x86_64-1.txz: Upgraded. kde/korundum-4.8.5-x86_64-1.txz: Upgraded. kde/kremotecontrol-4.8.5-x86_64-1.txz: Upgraded. kde/kruler-4.8.5-x86_64-1.txz: Upgraded. kde/ksaneplugin-4.8.5-x86_64-1.txz: Upgraded. kde/ksecrets-4.8.5-x86_64-1.txz: Upgraded. kde/ksnapshot-4.8.5-x86_64-1.txz: Upgraded. kde/kstars-4.8.5-x86_64-1.txz: Upgraded. kde/ktimer-4.8.5-x86_64-1.txz: Upgraded. kde/ktouch-4.8.5-x86_64-1.txz: Upgraded. kde/kturtle-4.8.5-x86_64-1.txz: Upgraded. kde/kwallet-4.8.5-x86_64-1.txz: Upgraded. kde/kwordquiz-4.8.5-x86_64-1.txz: Upgraded. kde/libkdcraw-4.8.5-x86_64-1.txz: Upgraded. kde/libkdeedu-4.8.5-x86_64-1.txz: Upgraded. kde/libkexiv2-4.8.5-x86_64-1.txz: Upgraded. kde/libkipi-4.8.5-x86_64-1.txz: Upgraded. kde/libksane-4.8.5-x86_64-1.txz: Upgraded. kde/marble-4.8.5-x86_64-1.txz: Upgraded. kde/okular-4.8.5-x86_64-1.txz: Upgraded. kde/oxygen-gtk2-1.3.0-x86_64-1.txz: Upgraded. kde/oxygen-icons-4.8.5-x86_64-1.txz: Upgraded. kde/parley-4.8.5-x86_64-1.txz: Upgraded. kde/perlkde-4.8.5-x86_64-1.txz: Upgraded. kde/perlqt-4.8.5-x86_64-1.txz: Upgraded. kde/printer-applet-4.8.5-x86_64-1.txz: Upgraded. kde/pykde4-4.8.5-x86_64-1.txz: Upgraded. kde/qtruby-4.8.5-x86_64-1.txz: Upgraded. kde/rocs-4.8.5-x86_64-1.txz: Upgraded. kde/smokegen-4.8.5-x86_64-1.txz: Upgraded. kde/smokekde-4.8.5-x86_64-1.txz: Upgraded. kde/smokeqt-4.8.5-x86_64-1.txz: Upgraded. kde/step-4.8.5-x86_64-1.txz: Upgraded. kde/superkaramba-4.8.5-x86_64-1.txz: Upgraded. kde/svgpart-4.8.5-x86_64-1.txz: Upgraded. kde/sweeper-4.8.5-x86_64-1.txz: Upgraded. kdei/kde-l10n-ar-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-bg-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-bs-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ca-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ca@valencia-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-cs-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-da-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-de-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-el-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-en_GB-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-es-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-et-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-eu-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-fa-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-fi-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-fr-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ga-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-gl-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-he-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-hr-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-hu-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ia-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-id-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-is-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-it-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ja-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-kk-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-km-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ko-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-lt-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-lv-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-nb-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-nds-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-nl-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-nn-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-pa-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-pl-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-pt-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-pt_BR-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ro-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ru-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-si-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-sk-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-sl-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-sr-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-sv-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-tg-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-th-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-tr-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-ug-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-uk-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-vi-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-wa-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-zh_CN-4.8.5-noarch-1.txz: Upgraded. kdei/kde-l10n-zh_TW-4.8.5-noarch-1.txz: Upgraded. l/boost-1.49.0-x86_64-3.txz: Rebuilt. Linked against icu4c. The built script was also upgraded to account for changes in the way boost is configured, and to only build the parts needed. Thanks to Heinz Wiesinger. l/glib2-2.32.4-x86_64-1.txz: Upgraded. l/gnome-keyring-3.4.1-x86_64-2.txz: Rebuilt. Fixed improper password/passphrase caching. For more information, see: https://bugzilla.gnome.org/show_bug.cgi?id=681081 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3466 (* Security fix *) l/gtk+3-3.4.4-x86_64-1.txz: Upgraded. l/polkit-0.105-x86_64-2.txz: Rebuilt. Added default policy files for udisks2 and NetworkManager events. These along with GazL's xinitrc/startup script improvements seem to prevent ConsoleKit, PolicyKit, and D-Bus from being stupid most of the time. GazL's fix _should_ have been enough, but you know what they say about the difference between theory and practice. :-) The NetworkManager .pkla file seems to be needed anyway to allow users in the netdev group to modify network settings without being bothered to enter the root password. Thanks much to Chess Griffin. l/qt-4.8.2-x86_64-2.txz: Rebuilt. Patched libQtWebKit.la and QtWebKit.pc to remove a false dependency on libwebcore.a, which is used internally at build time. Thanks to Fridrich von Stauffenberg and Eric Hameleers. l/raptor2-2.0.8-x86_64-1.txz: Upgraded. Thanks to Heinz Wiesinger. l/vte-0.28.2-x86_64-2.txz: Rebuilt. Patched to fix high CPU usage that can be triggered by escape sequences. Thanks to Mancha. n/ModemManager-0.5.2.0-x86_64-1.txz: Upgraded. n/network-scripts-14.00-noarch-2.txz: Rebuilt. Patched rc.inet1 to handle slightly changed ifconfig output. Thanks to Darrell Anderson. n/openssl-1.0.1c-x86_64-3.txz: Rebuilt. Patched the certwatch script to quit warning about expired certificates in /etc/ssl/certs/ca-certificates.crt. The script was intended to warn when your personal certificates are about to expire, but it trips over this one that bundles the CA certs. Thanks to ponce. n/php-5.4.5-x86_64-2.txz: Rebuilt. Added support for intl module. Thanks to Heinz Wiesinger. n/wireless-tools-29-x86_64-7.txz: Rebuilt. Don't use the directory /sys/class/netdev_name/wireless/ directory to detect wireless cards in rc.wireless as it depends on CONFIG_WIRELESS_EXT_SYSFS=y in the kernel, which is deprecated and will be removed in future kernels. Perhaps this was the cause of some of the reports of non-functional wireless interfaces? Thanks to Konrad Rzepecki. x/x11-skel-7.7-x86_64-1.txz: Upgraded. In xwmconfig, write a $HOME/.xsession in addition to $HOME/.xinitrc, allowing users to choose a default window manager when using XDM. Thanks to GazL. x/xterm-281-x86_64-1.txz: Upgraded. Thanks to Robby Workman. xap/blackbox-0.70.1-x86_64-7.txz: Rebuilt. Created a new startup script "startblackbox" called from xinitrc.blackbox to allow running dbus-launch within ck-session-launch. This fixes Thunar device mounting without breaking XDM. Thanks much to GazL! xap/fluxbox-1.3.2-x86_64-4.txz: Rebuilt. Start dbus-launch in startfluxbox. Thanks to GazL. xap/fvwm-2.6.5-x86_64-4.txz: Rebuilt. Created a new startup script "startfvwm2" called from xinitrc.fvwm2 to allow running dbus-launch within ck-session-launch. Thanks to GazL. xfce/xfce4-weather-plugin-0.8.1-x86_64-1.txz: Upgraded. extra/wicd/wicd-1.7.2.4-x86_64-4.txz: Rebuilt. Fixed some slightly incorrect permissions. isolinux/initrd.img: Rebuilt. Upgraded to Linux kernel 3.2.26. Replaced gptfdisk utilities with the rebuilt versions. Added MMC support to /sbin/probe. Thanks to David Spencer. usb-and-pxe-installers/usbboot.img: Rebuilt. Upgraded to Linux kernel 3.2.26. Replaced gptfdisk utilities with the rebuilt versions. Added MMC support to /sbin/probe. Thanks to David Spencer.
Diffstat (limited to 'slackware64-current/source/n/network-scripts')
-rwxr-xr-xslackware64-current/source/n/network-scripts/network-scripts.SlackBuild2
-rw-r--r--slackware64-current/source/n/network-scripts/scripts/rc.inet12
-rw-r--r--slackware64-current/source/n/network-scripts/scripts/rc.inet1.diff50
3 files changed, 2 insertions, 52 deletions
diff --git a/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild b/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild
index b3a5eefbb..8afef0f9d 100755
--- a/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild
+++ b/slackware64-current/source/n/network-scripts/network-scripts.SlackBuild
@@ -24,7 +24,7 @@
PKGNAM=network-scripts
VERSION=${VERSION:-14.00}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
CWD=$(pwd)
TMP=${TMP:-/tmp}
diff --git a/slackware64-current/source/n/network-scripts/scripts/rc.inet1 b/slackware64-current/source/n/network-scripts/scripts/rc.inet1
index 7962d738e..dc325f477 100644
--- a/slackware64-current/source/n/network-scripts/scripts/rc.inet1
+++ b/slackware64-current/source/n/network-scripts/scripts/rc.inet1
@@ -117,7 +117,7 @@ if_up() {
fi
if grep `echo ${1}: | cut -f 1 -d :`: /proc/net/dev 1> /dev/null ; then # interface exists
if ! /sbin/ifconfig | grep -w "${1}" 1>/dev/null || \
- ! /sbin/ifconfig ${1} | grep "inet addr" 1> /dev/null ; then # interface not up or not configured
+ ! /sbin/ifconfig ${1} | grep -w inet 1> /dev/null ; then # interface not up or not configured
if [ ! "${HWADDR[$i]}" = "" ]; then # Set hardware address _before_ the interface goes up:
echo "/etc/rc.d/rc.inet1: /sbin/ifconfig ${1} hw ether ${HWADDR[$i]}" | $LOGGER
/sbin/ifconfig ${1} hw ether ${HWADDR[$i]}
diff --git a/slackware64-current/source/n/network-scripts/scripts/rc.inet1.diff b/slackware64-current/source/n/network-scripts/scripts/rc.inet1.diff
deleted file mode 100644
index 19b23047d..000000000
--- a/slackware64-current/source/n/network-scripts/scripts/rc.inet1.diff
+++ /dev/null
@@ -1,50 +0,0 @@
---- rc.inet1.orig 2009-08-26 16:25:44.000000000 +0200
-+++ rc.inet1 2010-09-01 21:38:52.161516124 +0200
-@@ -72,6 +72,29 @@
- # INTERFACE FUNCTIONS #
- #######################
-
-+# Function to assemble a bridge interface.
-+br_open() {
-+ # argument is 'i' - the position of this interface in the IFNAME array.
-+ /sbin/brctl addbr ${IFNAME[$1]}
-+ for BRIF in $(echo ${BRNICS[$1]}); do
-+ /sbin/ifconfig $BRIF down
-+ /sbin/ifconfig $BRIF 0.0.0.0 promisc up
-+ /sbin/brctl addif ${IFNAME[$1]} $BRIF
-+ done
-+}
-+
-+# Function to disassemble a bridge interface.
-+br_close() {
-+ # argument is 'i' - the position of this interface in the IFNAME array.
-+ #for BRIF in $(echo ${BRNICS[$1]}); do
-+ for BRIF in $(ls --indicator-style=none /sys/class/net/${IFNAME[$1]}/brif/)
-+ do
-+ /sbin/brctl delif ${IFNAME[$1]} $BRIF
-+ done
-+ /sbin/ifconfig ${IFNAME[$1]} down
-+ /sbin/brctl delbr ${IFNAME[$1]}
-+}
-+
- # Function to bring up a network interface. If the interface is
- # already up or does not yet exist (perhaps because the kernel driver
- # is not loaded yet), do nothing.
-@@ -82,6 +105,8 @@
- [ "${IFNAME[$i]}" = "${1}" ] && break
- i=$(($i+1))
- done
-+ # If the interface is a bridge, then create it first:
-+ [ -n "${BRNICS[$i]}" ] && br_open $i
- # If the interface isn't in the kernel yet (but there's an alias for it in
- # modules.conf), then it should be loaded first:
- if ! grep `echo ${1}: | cut -f 1 -d :`: /proc/net/dev 1> /dev/null ; then # no interface yet
-@@ -179,6 +204,8 @@
- if [ -x /etc/rc.d/rc.wireless ]; then
- . /etc/rc.d/rc.wireless ${1} stop # Kill wireless daemons if any.
- fi
-+ # If the interface is a bridge, then destroy it now:
-+ [ -n "${BRNICS[$i]}" ] && br_close $i
- fi
- }
-