Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (f9b109033a534b10713ef445b127de42972f409c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (f9b109033a534b10713ef445b127de42972f409c)
  • Date: Sat, 1 Oct 2016 13:40:03 +0000

GIT changes to stable-0.62 grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/ifupdown/0001-do-not-use-dpkg-architecture.patch | 35 ++
net/ifupdown/0002-sbin-ip.patch | 282
+++++++++++++++++++
net/ifupdown/BUILD | 5
net/ifupdown/DEPENDS | 1
net/ifupdown/DETAILS | 15 -
net/ifupdown/HISTORY | 35 ++
net/ifupdown/INSTALL | 8
net/ifupdown/PRE_BUILD | 6
8 files changed, 374 insertions(+), 13 deletions(-)

New commits:
commit f9b109033a534b10713ef445b127de42972f409c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: => 0.8.16

(cherry picked from commit d14b40c27bb48b5fb74cc79a4d0ff29bc4effe8e)

commit 7bffa48dc9fed9b57053ad9b1f006f2ca992aba5
Author: David C. Haley <khoralin AT gmail.com>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: => 0.8.13

(cherry picked from commit b74f1bb2b0984f90590c97a41f7fcac9aa701b6e)

Conflicts:
net/ifupdown/DETAILS
net/ifupdown/HISTORY

commit 3574316184d210e1dbcd354549e1aa538c951ca5
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: Fix permissions on installed docs, PATCHLEVEL++

(cherry picked from commit b00c867f90efba92487e059ecff4fb817262dbfc)

Conflicts:
net/ifupdown/HISTORY

commit cc93391fa25ec78007b7632708386400d96a9b64
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: Formatting cleanup

(cherry picked from commit 4ddc5a2f2e346206da5142dc7de449594dbcb59f)

commit 380545a104cabe14d4eb7bc5baafa00e7b033b99
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: WEB_SITE refreshed

(cherry picked from commit a80c54379ac3ea8487e55edcb5a9344442eaa649)

commit 433fa7e15242797dfeedb0f6f35c3acb32498429
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: Updated to 0.8.12

0002-sbin-ip.patch updated for 0.8.12.

(cherry picked from commit 1b43f2026dc73d30b00a25d463964868dd93c775)

Conflicts:
net/ifupdown/DETAILS
net/ifupdown/HISTORY

commit 8a3ebf209159fb14fed6fb9c9e826c3cc17830a9
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: Fix location of /sbin/ip (was hardcoded to /bin/ip)

PATCHEVEL++ to fix existing installations.
0001-do-not-use-dpkg-architecture.patch updated to remove
dpkg-architecture from Makefiles.
0002-sbin-ip.patch to fix /bin/ip is actually /sbin/ips.
Restarting network won't function until this is applied.
Apply 0002-sbin-ip.patch.

(cherry picked from commit f216f8d096710f3579b1c8dbea620af811b2f9c4)

Conflicts:
net/ifupdown/HISTORY

commit 263d3569b693feca924d213f6554af0506e80462
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ifupdown: update to 0.8.10

(cherry picked from commit d4a7b1ae9e38f6cc3d8c5d22d93ecaed4b6b9228)

Conflicts:
net/ifupdown/DETAILS
net/ifupdown/HISTORY

commit a6309be6f20683271bfd7ee57643af797efa0cc3
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

net/ifupdown: version 0.7.54

(cherry picked from commit ac64f390005f5cfa6b128dbc29795a6521c3d67c)

Conflicts:
net/ifupdown/DETAILS
net/ifupdown/HISTORY

diff --git a/net/ifupdown/0001-do-not-use-dpkg-architecture.patch
b/net/ifupdown/0001-do-not-use-dpkg-architecture.patch
new file mode 100644
index 0000000..a8e8cd0
--- /dev/null
+++ b/net/ifupdown/0001-do-not-use-dpkg-architecture.patch
@@ -0,0 +1,35 @@
+--- ifupdown/Makefile.orig 2016-09-26 20:25:32.050091106 -0400
++++ ifupdown/Makefile 2016-09-26 20:27:58.532721317 -0400
+@@ -46,7 +46,7 @@
+ ifquery: ifup
+ ln -sf ifup ifquery
+
+-ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
++ARCH := 'linux'
+ check: ifup ifdown
+ @echo running ./tests/testbuild-$(ARCH)
+ @if ! exec ./tests/testbuild-$(ARCH); then \
+diff -Naur ifupdown.orig/defn2c.pl ifupdown/defn2c.pl
+--- ifupdown.orig/defn2c.pl 2015-09-26 09:58:35.000000000 -0700
++++ ifupdown/defn2c.pl 2016-03-08 13:45:40.085021187 -0800
+@@ -2,7 +2,7 @@
+
+ use strict;
+
+-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
++my $DEB_HOST_ARCH_OS = 'linux';
+
+ $DEB_HOST_ARCH_OS =~ s/\n//;
+
+diff -Naur ifupdown.orig/defn2man.pl ifupdown/defn2man.pl
+--- ifupdown.orig/defn2man.pl 2015-06-02 00:32:27.000000000 -0700
++++ ifupdown/defn2man.pl 2016-03-08 13:45:40.087021162 -0800
+@@ -2,7 +2,7 @@
+
+ use strict;
+
+-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
++my $DEB_HOST_ARCH_OS = 'linux';
+
+ $DEB_HOST_ARCH_OS =~ s/\n//;
+
diff --git a/net/ifupdown/0002-sbin-ip.patch b/net/ifupdown/0002-sbin-ip.patch
new file mode 100644
index 0000000..019ddba
--- /dev/null
+++ b/net/ifupdown/0002-sbin-ip.patch
@@ -0,0 +1,282 @@
+--- ifupdown/inet.defn.orig 2016-04-20 08:57:37.000000000 -0400
++++ ifupdown/inet.defn 2016-09-26 20:35:06.011280480 -0400
+@@ -6,10 +6,10 @@
+ This method may be used to define the IPv4 loopback interface.
+
+ up
+- /bin/ip link set dev %iface% up if (!iface_is_lo())
++ /sbin/ip link set dev %iface% up if (!iface_is_lo())
+
+ down
+- /bin/ip link set dev %iface% down if (!iface_is_lo())
++ /sbin/ip link set dev %iface% down if (!iface_is_lo())
+
+ method static
+ description
+@@ -36,17 +36,17 @@
+ broadcast compute_v4_broadcast
+
+ up
+- /bin/ip addr add %address%[[/%netmask%]] [[broadcast %broadcast%]] \
++ /sbin/ip addr add %address%[[/%netmask%]] [[broadcast %broadcast%]] \
+ [[peer %pointopoint%]] [[scope %scope%]] dev %iface% label %iface%
+- /bin/ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up
++ /sbin/ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up
+
+- [[ /bin/ip route add default via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
++ [[ /sbin/ip route add default via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
+
+ down
+- [[ /bin/ip route del default via %gateway% [[metric %metric%]] dev
%iface% 2>&1 1>/dev/null || true ]]
+- /bin/ip addr del %address%[[/%netmask%]] [[broadcast %broadcast%]] \
++ [[ /sbin/ip route del default via %gateway% [[metric %metric%]] dev
%iface% 2>&1 1>/dev/null || true ]]
++ /sbin/ip addr del %address%[[/%netmask%]] [[broadcast %broadcast%]] \
+ [[peer %pointopoint%]] [[scope %scope%]] dev %iface% label %iface%
+- /bin/ip link set dev %iface% down \
++ /sbin/ip link set dev %iface% down \
+ if (iface_is_link())
+
+ method manual
+@@ -63,12 +63,12 @@
+ hwaddress cleanup_hwaddress
+
+ up
+- [[/bin/ip link set dev %iface% mtu %mtu%]]
+- [[/bin/ip link set dev %iface% address %hwaddress%]]
+- /bin/ip link set dev %iface% up 2>/dev/null || true
++ [[/sbin/ip link set dev %iface% mtu %mtu%]]
++ [[/sbin/ip link set dev %iface% address %hwaddress%]]
++ /sbin/ip link set dev %iface% up 2>/dev/null || true
+
+ down
+- /bin/ip link set dev %iface% down 2>/dev/null || true \
++ /sbin/ip link set dev %iface% down 2>/dev/null || true \
+ if (iface_is_link() && !do_all)
+
+ method dhcp
+@@ -93,7 +93,7 @@
+ hwaddress cleanup_hwaddress
+
+ up
+- [[/bin/ip link set dev %iface% address %hwaddress%]]
++ [[/sbin/ip link set dev %iface% address %hwaddress%]]
+ /sbin/dhclient -v -pf /run/dhclient.%iface%.pid -lf
/var/lib/dhcp/dhclient.%iface%.leases -I -df
/var/lib/dhcp/dhclient6.%iface%.leases %iface% \
+ [[-e IF_METRIC=%metric%]] \
+ if (execable("/sbin/dhclient"))
+@@ -119,7 +119,7 @@
+ echo 'No DHCP client software found!' >/dev/stderr; false \
+ elsif (1)
+
+- /bin/ip link set dev %iface% down \
++ /sbin/ip link set dev %iface% down \
+ if (iface_is_link())
+
+ method bootp
+@@ -138,7 +138,7 @@
+ [[--hwaddr %hwaddr%]] --returniffail --serverbcast
+
+ down
+- /bin/ip link set dev %iface% down \
++ /sbin/ip link set dev %iface% down \
+ if (iface_is_link())
+
+ method tunnel
+@@ -158,13 +158,13 @@
+ ttl time -- TTL setting
+ mtu size -- MTU size
+ up
+- /bin/ip tunnel add %iface% mode %mode% remote %endpoint% [[local
%local%]] \
++ /sbin/ip tunnel add %iface% mode %mode% remote %endpoint% [[local
%local%]] \
+ [[ttl %ttl%]]
+- /bin/ip link set %iface% up [[mtu %mtu%]]
+- /bin/ip addr add %address%/%netmask% dev %iface% [[peer %dstaddr%]]
+- [[ /bin/ip route add default via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
++ /sbin/ip link set %iface% up [[mtu %mtu%]]
++ /sbin/ip addr add %address%/%netmask% dev %iface% [[peer %dstaddr%]]
++ [[ /sbin/ip route add default via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
+ down
+- /bin/ip tunnel del %iface%
++ /sbin/ip tunnel del %iface%
+
+ method ppp
+ description
+--- ifupdown/inet6.defn.orig 2016-09-17 05:19:54.000000000 -0400
++++ ifupdown/inet6.defn 2016-09-26 20:35:06.016280533 -0400
+@@ -25,9 +25,9 @@
+ -[[/sbin/sysctl -q -e -w
net.ipv6.conf.%iface/.//%.use_tempaddr=%privext%]]
+ -/sbin/sysctl -q -e -w net.ipv6.conf.%iface/.//%.accept_ra=%accept_ra%
+ -/sbin/sysctl -q -e -w net.ipv6.conf.%iface/.//%.autoconf=1
+- /bin/ip addr flush dev %iface% mngtmpaddr \
++ /sbin/ip addr flush dev %iface% mngtmpaddr \
+ if (var_set("accept_ra", ifd) && !var_true("accept_ra", ifd))
+- /bin/ip link set dev %iface% up
++ /sbin/ip link set dev %iface% up
+ /lib/ifupdown/wait-for-ll6.sh if (var_true("dhcp", ifd) &&
execable("/lib/ifupdown/wait-for-ll6.sh"))
+ /sbin/dhclient -6 -P -pf /run/dhclient6.%iface%.pid -lf
/var/lib/dhcp/dhclient6.%iface%.leases -I -df
/var/lib/dhcp/dhclient.%iface%.leases %iface% \
+ if (var_true("dhcp", ifd) && execable("/sbin/dhclient") &&
var_true("request_prefix", ifd))
+@@ -37,19 +37,19 @@
+ elsif (var_true("dhcp", ifd))
+
+ down
+- /bin/ip -6 addr flush dev %iface% scope global
+- /bin/ip link set dev %iface% down \
++ /sbin/ip -6 addr flush dev %iface% scope global
++ /sbin/ip link set dev %iface% down \
+ if (iface_is_link())
+
+ method loopback
+ description
+ This method may be used to define the IPv6 loopback interface.
+ up
+- -/bin/ip link set dev %iface% up 2>/dev/null if (!iface_is_lo())
+- -/bin/ip addr add dev %iface% ::1 2>/dev/null if (!iface_is_lo())
++ -/sbin/ip link set dev %iface% up 2>/dev/null if (!iface_is_lo())
++ -/sbin/ip addr add dev %iface% ::1 2>/dev/null if (!iface_is_lo())
+ down
+- -/bin/ip addr del dev %iface% ::1 2>/dev/null if (!iface_is_lo())
+- -/bin/ip link set dev %iface% down 2>/dev/null if (!iface_is_lo())
++ -/sbin/ip addr del dev %iface% ::1 2>/dev/null if (!iface_is_lo())
++ -/sbin/ip link set dev %iface% down 2>/dev/null if (!iface_is_lo())
+
+ method static
+ description
+@@ -87,20 +87,20 @@
+ -[[/sbin/sysctl -q -e -w
net.ipv6.conf.%iface/.//%.accept_ra=%accept_ra%]]
+ -[[/sbin/sysctl -q -e -w net.ipv6.conf.%iface/.//%.autoconf=%autoconf%]]
+ -[[/sbin/sysctl -q -e -w net.ipv6.conf.%iface/.//%.mtu=%mtu%]]
+- /bin/ip addr flush dev %iface% mngtmpaddr \
++ /sbin/ip addr flush dev %iface% mngtmpaddr \
+ if (var_set("accept_ra", ifd) && !var_true("accept_ra", ifd))
+- /bin/ip link set dev %iface% [[address %hwaddress%]] up
+- /bin/ip -6 addr add %address%[[/%netmask%]] [[scope %scope%]] dev
%iface% [[preferred_lft %preferred-lifetime%]] \
++ /sbin/ip link set dev %iface% [[address %hwaddress%]] up
++ /sbin/ip -6 addr add %address%[[/%netmask%]] [[scope %scope%]] dev
%iface% [[preferred_lft %preferred-lifetime%]] \
+ if (!var_set("dad-attempts", ifd) ||
var_true("dad-attempts", ifd))
+- /bin/ip -6 addr add %address%[[/%netmask%]] [[scope %scope%]] dev
%iface% [[preferred_lft %preferred-lifetime%]] nodad \
++ /sbin/ip -6 addr add %address%[[/%netmask%]] [[scope %scope%]] dev
%iface% [[preferred_lft %preferred-lifetime%]] nodad \
+ if (var_set("dad-attempts", ifd) &&
!var_true("dad-attempts", ifd))
+- [[ /bin/ip -6 route add default via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
++ [[ /sbin/ip -6 route add default via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
+ /lib/ifupdown/settle-dad.sh if (!no_act &&
execable("/lib/ifupdown/settle-dad.sh") && (var_true("dad-attempts", ifd)))
+
+ down
+- [[ /bin/ip -6 route del default via %gateway% [[metric %metric%]] dev
%iface% ]]
+- /bin/ip -6 addr del %address%[[/%netmask%]] [[scope %scope%]] dev
%iface%
+- /bin/ip link set dev %iface% down \
++ [[ /sbin/ip -6 route del default via %gateway% [[metric %metric%]] dev
%iface% ]]
++ /sbin/ip -6 addr del %address%[[/%netmask%]] [[scope %scope%]] dev
%iface%
++ /sbin/ip link set dev %iface% down \
+ if (iface_is_link())
+
+ method manual
+@@ -118,11 +118,11 @@
+
+ up
+ -[[/sbin/sysctl -q -e -w net.ipv6.conf.%iface/.//%.mtu=%mtu%]]
+- [[/bin/ip link set dev %iface% address %hwaddress%]]
+- /bin/ip link set dev %iface% up 2>/dev/null || true
++ [[/sbin/ip link set dev %iface% address %hwaddress%]]
++ /sbin/ip link set dev %iface% up 2>/dev/null || true
+
+ down
+- /bin/ip link set dev %iface% down 2>/dev/null || true \
++ /sbin/ip link set dev %iface% down 2>/dev/null || true \
+ if (iface_is_link() || !do_all)
+
+ method dhcp
+@@ -146,9 +146,9 @@
+ /sbin/modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.
+ -[[/sbin/sysctl -q -e -w
net.ipv6.conf.%iface/.//%.accept_ra=%accept_ra%]]
+ -[[/sbin/sysctl -q -e -w net.ipv6.conf.%iface/.//%.autoconf=%autoconf%]]
+- /bin/ip addr flush dev %iface% mngtmpaddr \
++ /sbin/ip addr flush dev %iface% mngtmpaddr \
+ if (var_set("accept_ra", ifd) && !var_true("accept_ra", ifd))
+- /bin/ip link set dev %iface% [[address %hwaddress%]] up
++ /sbin/ip link set dev %iface% [[address %hwaddress%]] up
+ /lib/ifupdown/wait-for-ll6.sh if
(execable("/lib/ifupdown/wait-for-ll6.sh"))
+ /sbin/dhclient -6 -pf /run/dhclient6.%iface%.pid -lf
/var/lib/dhcp/dhclient6.%iface%.leases -I -P -N -df
/var/lib/dhcp/dhclient.%iface%.leases %iface% \
+ if (execable("/sbin/dhclient") && var_true("request_prefix", ifd))
+@@ -163,7 +163,7 @@
+ echo 'No DHCPv6 client software found!' >/dev/stderr; false \
+ elsif (1)
+
+- /bin/ip link set dev %iface% down \
++ /sbin/ip link set dev %iface% down \
+ if (iface_is_link())
+
+ method v4tunnel
+@@ -189,15 +189,15 @@
+
+ up
+ /sbin/modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.
+- /bin/ip tunnel add %iface% mode sit remote %endpoint% [[local %local%]]
\
++ /sbin/ip tunnel add %iface% mode sit remote %endpoint% [[local
%local%]] \
+ [[ttl %ttl%]]
+- /bin/ip link set %iface% up [[mtu %mtu%]]
+- [[ /bin/ip addr add %address%[[/%netmask%]] dev %iface% [[preferred_lft
%preferred-lifetime%]] ]]
+- [[ /bin/ip route add %gateway% dev %iface% ]]
+- [[ /bin/ip route add ::/0 via %gateway% [[metric %metric%]] dev %iface%
onlink ]]
++ /sbin/ip link set %iface% up [[mtu %mtu%]]
++ [[ /sbin/ip addr add %address%[[/%netmask%]] dev %iface%
[[preferred_lft %preferred-lifetime%]] ]]
++ [[ /sbin/ip route add %gateway% dev %iface% ]]
++ [[ /sbin/ip route add ::/0 via %gateway% [[metric %metric%]] dev
%iface% onlink ]]
+
+ down
+- /bin/ip tunnel del %iface%
++ /sbin/ip tunnel del %iface%
+
+ method 6to4
+ description
+@@ -218,16 +218,16 @@
+
+ up
+ /sbin/modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.
+- /bin/ip tunnel add %iface% mode sit remote any local %local% \
++ /sbin/ip tunnel add %iface% mode sit remote any local %local% \
+ [[ttl %ttl%]]
+- /bin/ip link set %iface% up [[mtu %mtu%]]
+- /bin/ip addr add 2002:%hexaddress%::1/16 dev %iface% [[preferred_lft
%preferred-lifetime%]]
+- /bin/ip route add 2000::/3 via ::192.88.99.1 [[metric %metric%]] dev
%iface%
++ /sbin/ip link set %iface% up [[mtu %mtu%]]
++ /sbin/ip addr add 2002:%hexaddress%::1/16 dev %iface% [[preferred_lft
%preferred-lifetime%]]
++ /sbin/ip route add 2000::/3 via ::192.88.99.1 [[metric %metric%]] dev
%iface%
+
+ down
+- /bin/ip -6 route flush dev %iface%
+- /bin/ip link set dev %iface% down
+- /bin/ip tunnel del %iface%
++ /sbin/ip -6 route flush dev %iface%
++ /sbin/ip link set dev %iface% down
++ /sbin/ip tunnel del %iface%
+
+
+ architecture kfreebsd
+--- ifupdown/link.defn.orig 2016-09-22 05:19:23.000000000 -0400
++++ ifupdown/link.defn 2016-09-26 20:35:06.017280543 -0400
+@@ -19,20 +19,20 @@
+ if test -d /sys/class/net/%link%/device/infiniband; then \
+ echo 0x%vlan_id1% > /sys/class/net/%link%/create_child; \
+ else \
+- /bin/ip link set up dev %link%; \
+- /bin/ip link add link %link% name %iface0% type vlan id
%vlan_id%; \
++ /sbin/ip link set up dev %link%; \
++ /sbin/ip link add link %link% name %iface0% type vlan id
%vlan_id%; \
+ fi; \
+ fi if (iface_has(".") && (!var_set_anywhere("bridge_ports", ifd)))
+- -/bin/ip link set up dev %iface% 2>/dev/null \
++ -/sbin/ip link set up dev %iface% 2>/dev/null \
+ if (iface_is_lo())
+- [[/bin/ip link set %iface0% alias "%description%"]]
++ [[/sbin/ip link set %iface0% alias "%description%"]]
+ down
+ if test -d /sys/class/net/%link%/device/infiniband; then \
+ echo 0x%vlan_id1% > /sys/class/net/%link%/delete_child; \
+ else \
+- /bin/ip link del %iface%; \
++ /sbin/ip link del %iface%; \
+ fi if (iface_has(".") && (!iface_has(":")) &&
(!var_set_anywhere("bridge_ports", ifd)))
+- -/bin/ip link set down dev %iface% 2>/dev/null \
++ -/sbin/ip link set down dev %iface% 2>/dev/null \
+ if (iface_is_lo())
+ [[-test -n "%description%" && /bin/echo >
/sys/class/net/%iface0%/ifalias]]
+
diff --git a/net/ifupdown/BUILD b/net/ifupdown/BUILD
index d3e3006..31277af 100755
--- a/net/ifupdown/BUILD
+++ b/net/ifupdown/BUILD
@@ -1 +1,4 @@
-make executables ifup.8.gz ifdown.8.gz interfaces.5.gz
+default_build_make &&
+gzip -9 ifup.8 interfaces.5 &&
+ln -sfn ifup.8.gz ifdown.8.gz &&
+ln -sfn ifup.8.gz ifquery.8.gz
diff --git a/net/ifupdown/DEPENDS b/net/ifupdown/DEPENDS
index 6c777ee..cc5296c 100755
--- a/net/ifupdown/DEPENDS
+++ b/net/ifupdown/DEPENDS
@@ -1,5 +1,6 @@
depends run-parts &&
depends net-tools &&
+depends perl &&

optional_depends "dhcpcd" "" "" "For DHCP support" &&
optional_depends "wireless_tools" "" "" "For wireless configuration" &&
diff --git a/net/ifupdown/DETAILS b/net/ifupdown/DETAILS
index 44d69c1..ff67ed2 100755
--- a/net/ifupdown/DETAILS
+++ b/net/ifupdown/DETAILS
@@ -1,17 +1,16 @@
SPELL=ifupdown
- VERSION=0.6.10
- PATCHLEVEL=1
-
SOURCE_HASH=sha512:eb3ea18775f3f8d1bbdff6c7bc0d3de2926cb6538dae6e03b7be0ccc782557fa821313d4bf9594f6a664f73b8fe845eb1039ec3ba195247dafbed183298f6f2d
- SOURCE=${SPELL}_$VERSION.tar.gz
-SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
- SOURCE_URL[0]=http://ftp.de.debian.org/debian/pool/main/i/ifupdown/$SOURCE
+ VERSION=0.8.16
+ SOURCE=${SPELL}_$VERSION.tar.xz
+ SOURCE_URL[0]=http://http.debian.net/debian/pool/main/i/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:817d5f98325aed78cfa2f688d090ce8dc658dd0157594b9eb8e8f5de3152af8c87308df4b95e45234bef86a1c02f1cf937dc7ca1de5f164eebe0b39674456fad
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
LICENSE[0]=GPL
- WEB_SITE=http://packages.debian.org/etch/ifupdown
+ WEB_SITE=https://packages.debian.org/source/sid/ifupdown
ENTERED=20080123
KEYWORDS="tools net"
SHORT="Interface control tools"
cat << EOF
This package provides the tools ifup and ifdown which may be used to
configure
-(or, respectively, deconfigure) network interfaces based on interface
+(or, respectively, deconfigure) network interfaces based on interface
definitions in the file /etc/network/interfaces.
EOF
diff --git a/net/ifupdown/HISTORY b/net/ifupdown/HISTORY
index d6395b6..176661c 100644
--- a/net/ifupdown/HISTORY
+++ b/net/ifupdown/HISTORY
@@ -1,8 +1,43 @@
+2016-09-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.8.16
+ * 0001-do-not-use-dpkg-architecture.patch: updated
+ * 0002-sbin-ip.patch: regenerated
+
2016-09-24 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: PATCHLEVEL=1
* INSTALL: install dummy files as another protection measure against
other spells handling hook dirs

+2016-09-02 David C. Haley <khoralin AT gmail.com>
+ * DETAILS: Updated to 0.8.13
+ Updated SOURCE_URL
+
+2016-08-17 Ismael Luceno <ismael AT sourcemage.org>
+ * INSTALL: Fixed permissions on installed documentation files
+ * DETAILS: PATCHLEVEL++
+
+2016-06-01 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: Updated to 0.8.12
+ WEB_SITE refreshed
+ * 0002-sbin-ip.patch: Updated for 0.8.12
+
+2016-03-08 Eric Sandall <sandalle AT sourcemage.org>
+ * DETAILS: PATCHEVEL++ to fix installation
+ * 0001-do-not-use-dpkg-architecture.patch: Update to remove
dpkg-architecture
+ from Makefile
+ * 0002-sbin-ip.patch: Fix /bin/ip is actually /sbin/ip
+ Restarting network won't function until this is applied.
+ * PRE_BUILD: Apply 0002-sbin-ip.patch
+
+2016-01-24 Thomas Orgis <sobukus AT sourcemage.org>
+ * DETAILS: panic bump to 0.8.10 since 0.7.54 is unobtainable, even
+ on mirrors
+
+2015-08-05 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS, BUILD, DEPENDS, INSTALL: version 0.7.54
+ * PRE_BUILD, 0001-do-not-use-dpkg-architecture.patch: remove
dependency on
+ dpkg
+
2010-08-27 Eric Sandall <sandalle AT sourcemage.org>
* init.d/network: Add RECOMMENDED=yes

diff --git a/net/ifupdown/INSTALL b/net/ifupdown/INSTALL
index ce8e455..00247a2 100755
--- a/net/ifupdown/INSTALL
+++ b/net/ifupdown/INSTALL
@@ -6,12 +6,12 @@ fi &&
BASEDIR=$INSTALL_ROOT default_install &&

# install the man pages to smart places
-cp *.8.gz $INSTALL_ROOT/usr/share/man/man8/. &&
-cp *.5.gz $INSTALL_ROOT/usr/share/man/man5/. &&
+install -v -m644 -D -t "$INSTALL_ROOT"/usr/share/man/man8/ *.8.gz &&
+install -v -m644 -D -t "$INSTALL_ROOT"/usr/share/man/man5/ *.5.gz &&

# install the documentation type things
-mkdir -p $INSTALL_ROOT/usr/share/doc/$SPELL &&
-cp -va examples $INSTALL_ROOT/usr/share/doc/$SPELL/. &&
+install -v -m644 -D -t "$INSTALL_ROOT/usr/share/doc/$SPELL/examples" \
+ examples/* &&

# make the default directories
mkdir -p $INSTALL_ROOT/etc/network &&
diff --git a/net/ifupdown/PRE_BUILD b/net/ifupdown/PRE_BUILD
new file mode 100755
index 0000000..7a73510
--- /dev/null
+++ b/net/ifupdown/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+message "${MESSAGE_COLOR}Patching out dpkg-architecture...${DEFAULT_COLOR}"
&&
+patch -p1 < ${SPELL_DIRECTORY}/0001-do-not-use-dpkg-architecture.patch &&
+message "${MESSAGE_COLOR}Patching /bin/ip to /sbin/ip...${DEFAULT_COLOR}" &&
+patch -p1 < ${SPELL_DIRECTORY}/0002-sbin-ip.patch



  • [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (f9b109033a534b10713ef445b127de42972f409c), Vlad Glagolev, 10/01/2016

Archive powered by MHonArc 2.6.24.

Top of Page