From 35cb4dd18a0f86359b7b6324b6108720e5f4be1e Mon Sep 17 00:00:00 2001 From: "W. van den Akker" Date: Mon, 18 Dec 2017 14:27:23 +0100 Subject: [PATCH] Shorewall6: Change path to prevent busybox/ip detection before ip-tiny/full. Signed-off-by: W. van den Akker --- net/shorewall6/Makefile | 2 +- net/shorewall6/patches/130-set-path.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 net/shorewall6/patches/130-set-path.patch diff --git a/net/shorewall6/Makefile b/net/shorewall6/Makefile index 387f64013..952268d19 100644 --- a/net/shorewall6/Makefile +++ b/net/shorewall6/Makefile @@ -14,7 +14,7 @@ PKG_BUGFIX_MAJOR_VERSION:=9 PKG_BUGFIX_MINOR_VERSION:= PKG_VERSION:=$(PKG_MAJOR_MINOR_VERSION).$(PKG_BUGFIX_MAJOR_VERSION)$(PKG_BUGFIX_MINOR_VERSION) PKG_DIRECTORY:=$(PKG_MAJOR_MINOR_VERSION).$(PKG_BUGFIX_MAJOR_VERSION) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=http://www.shorewall.net/pub/shorewall/$(PKG_MAJOR_MINOR_VERSION)/shorewall-$(PKG_DIRECTORY)/ \ http://www1.shorewall.net/pub/shorewall/$(PKG_MAJOR_MINOR_VERSION)/shorewall-$(PKG_DIRECTORY)/ \ diff --git a/net/shorewall6/patches/130-set-path.patch b/net/shorewall6/patches/130-set-path.patch new file mode 100644 index 000000000..24c1a9c3a --- /dev/null +++ b/net/shorewall6/patches/130-set-path.patch @@ -0,0 +1,13 @@ +Index: shorewall6-5.1.9/configfiles/shorewall6.conf +=================================================================== +--- shorewall6-5.1.9.orig/configfiles/shorewall6.conf 2017-12-18 08:13:01.999494346 +0100 ++++ shorewall6-5.1.9/configfiles/shorewall6.conf 2017-12-18 08:13:37.253618974 +0100 +@@ -92,7 +92,7 @@ + + PERL=/usr/bin/perl + +-PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin" ++PATH="/usr/sbin:/usr/bin:/sbin:/usr/bin" + + RESTOREFILE=restore +