diff --git a/srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix b/srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix new file mode 100644 index 00000000000..02597cbe29c --- /dev/null +++ b/srcpkgs/dhcpcd/patches/dhcpcd-run-hooks_runit_fix @@ -0,0 +1,18 @@ +--- dhcpcd-run-hooks.in.orig 2016-10-09 01:07:17.000000000 -0700 ++++ dhcpcd-run-hooks.in 2016-12-27 15:48:58.515566036 -0800 +@@ -285,11 +285,11 @@ + _service_exists="/usr/sbin/service \$1 $status >/dev/null 2>&1" + _service_cmd="/usr/sbin/service \$1 \$2" + elif [ -x /bin/sv ]; then +- _service_exists="/bin/sv status \1 >/dev/null 2>&1" +- _service_cmd="/bin/sv \$1 \$2" ++ _service_exists="/bin/sv status \$1 >/dev/null 2>&1" ++ _service_cmd="/bin/sv \$2 \$1" + elif [ -x /usr/bin/sv ]; then +- _service_exists="/usr/bin/sv status \1 >/dev/null 2>&1" +- _service_cmd="/usr/bin/sv \$1 \$2" ++ _service_exists="/usr/bin/sv status \$1 >/dev/null 2>&1" ++ _service_cmd="/usr/bin/sv \$2 \$1" + elif [ -e /etc/slackware-version -a -d /etc/rc.d ]; then + _service_exists="[ -x /etc/rc.d/rc.\$1 ]" + _service_cmd="/etc/rc.d/rc.\$1 \$2" diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template index cd1c5955a3f..f5c562d759d 100644 --- a/srcpkgs/dhcpcd/template +++ b/srcpkgs/dhcpcd/template @@ -1,7 +1,7 @@ # Template file for 'dhcpcd' pkgname=dhcpcd version=6.11.5 -revision=1 +revision=2 lib32disabled=yes build_style=configure configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run"