ports/core (3.1): iproute2: update to 3.18.0
commit 294130caae7296eaaceb9cb6bf0fd4f8ccb7d6a5 Author: Juergen Daubert <jue@jue.li> Date: Fri Dec 26 09:49:28 2014 +0100 iproute2: update to 3.18.0 diff --git a/iproute2/.footprint b/iproute2/.footprint index b6d74ef..00e8e11 100644 --- a/iproute2/.footprint +++ b/iproute2/.footprint @@ -2,6 +2,7 @@ drwxr-xr-x root/root etc/ drwxr-xr-x root/root etc/iproute2/ -rw-r--r-- root/root etc/iproute2/ematch_map -rw-r--r-- root/root etc/iproute2/group +-rw-r--r-- root/root etc/iproute2/nl_protos -rw-r--r-- root/root etc/iproute2/rt_dsfield -rw-r--r-- root/root etc/iproute2/rt_protos -rw-r--r-- root/root etc/iproute2/rt_realms diff --git a/iproute2/.md5sum b/iproute2/.md5sum index 402a64f..b8852a1 100644 --- a/iproute2/.md5sum +++ b/iproute2/.md5sum @@ -1,3 +1,3 @@ -b741a02c6dda5818d18011d572874493 iproute2-3.17.0.tar.xz -d6eb5a51b9bb5c1cbdf86a246dccf3c5 lo.iproute2 -b701a16fa5bec9c605b726f860bf83b5 net.iproute2 +6f6ad51a00007880460e103367b16057 iproute2-3.18.0.tar.xz +7b469125cfe2d9916ba03f7c65b9dcd5 lo.iproute2 +826848debe693f2e2a3e235ce9abe601 net.iproute2 diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile index 185801a..c808911 100644 --- a/iproute2/Pkgfile +++ b/iproute2/Pkgfile @@ -4,7 +4,7 @@ # Depends on: db iptables name=iproute2 -version=3.17.0 +version=3.18.0 release=1 source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz \ lo.iproute2 net.iproute2) diff --git a/iproute2/lo.iproute2 b/iproute2/lo.iproute2 index 0f61672..1eefd52 100644 --- a/iproute2/lo.iproute2 +++ b/iproute2/lo.iproute2 @@ -5,7 +5,6 @@ case $1 in start) - # loopback /sbin/ip addr add 127.0.0.1/8 dev lo broadcast + scope host /sbin/ip link set lo up ;; diff --git a/iproute2/net.iproute2 b/iproute2/net.iproute2 index 5c77c7a..c5091fd 100644 --- a/iproute2/net.iproute2 +++ b/iproute2/net.iproute2 @@ -18,7 +18,7 @@ DHCPOPTS="-h `/bin/hostname` -t 10" case $1 in start) - if [ "${TYPE}" == "DHCP" ]; then + if [ "${TYPE}" = "DHCP" ]; then /sbin/dhcpcd ${DHCPOPTS} else /sbin/ip addr add ${ADDR}/${MASK} dev ${DEV} broadcast + @@ -27,7 +27,7 @@ case $1 in fi ;; stop) - if [ "${TYPE}" == "DHCP" ]; then + if [ "${TYPE}" = "DHCP" ]; then /sbin/dhcpcd -x else /sbin/ip route del default
participants (1)
-
crux@crux.nu