From a8f382f90bb13b682530a7e0992840740d1eeb9c Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Sun, 17 Dec 2017 09:10:33 -0500 Subject: [PATCH 1/2] shorewall-lite: set the PATH variable So that it matches LEDE's default PATH value. Signed-off-by: Brian J. Murrell --- net/shorewall-lite/Makefile | 2 +- net/shorewall-lite/patches/020-set-PATH.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/shorewall-lite/patches/020-set-PATH.patch diff --git a/net/shorewall-lite/Makefile b/net/shorewall-lite/Makefile index c142b9503..abd726e91 100644 --- a/net/shorewall-lite/Makefile +++ b/net/shorewall-lite/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/shorewall-lite/patches/020-set-PATH.patch b/net/shorewall-lite/patches/020-set-PATH.patch new file mode 100644 index 000000000..d800f2f67 --- /dev/null +++ b/net/shorewall-lite/patches/020-set-PATH.patch @@ -0,0 +1,11 @@ +--- shorewall-lite-5.1.9/shorewall-lite.conf.orig 2017-12-17 09:06:52.301331288 -0500 ++++ shorewall-lite-5.1.9/shorewall-lite.conf 2017-12-17 09:05:55.769714392 -0500 +@@ -36,7 +36,7 @@ + + IPTABLES= + +-PATH= ++PATH=/usr/sbin:/usr/bin:/sbin:/bin + + SHOREWALL_SHELL= + From 701a3ec2589db19721270f3bd4b4eed24d436907 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Sun, 17 Dec 2017 09:11:39 -0500 Subject: [PATCH 2/2] shorewall6-lite: set the PATH variable So that it matches LEDE's default PATH value. Signed-off-by: Brian J. Murrell --- net/shorewall6-lite/Makefile | 2 +- net/shorewall6-lite/patches/020-set-PATH.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/shorewall6-lite/patches/020-set-PATH.patch diff --git a/net/shorewall6-lite/Makefile b/net/shorewall6-lite/Makefile index a3667a8d8..ff7d03182 100644 --- a/net/shorewall6-lite/Makefile +++ b/net/shorewall6-lite/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-lite/patches/020-set-PATH.patch b/net/shorewall6-lite/patches/020-set-PATH.patch new file mode 100644 index 000000000..3d332c10d --- /dev/null +++ b/net/shorewall6-lite/patches/020-set-PATH.patch @@ -0,0 +1,11 @@ +--- shorewall6-lite-5.1.9/shorewall6-lite.conf.orig 2017-12-17 09:06:52.301331288 -0500 ++++ shorewall6-lite-5.1.9/shorewall6-lite.conf 2017-12-17 09:05:55.769714392 -0500 +@@ -36,7 +36,7 @@ + + IPTABLES= + +-PATH= ++PATH=/usr/sbin:/usr/bin:/sbin:/bin + + SHOREWALL_SHELL= +