summaryrefslogtreecommitdiff
path: root/security/bastillion/files/patch-jetty_bin_jetty.sh
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2019-08-14 20:36:31 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2019-08-14 20:36:31 +0000
commitdea7f5ce60368c8564ebf2fbdf7728cf5c1838b8 (patch)
treed0b5b13e8b1c074227504d00306433dbd6660b06 /security/bastillion/files/patch-jetty_bin_jetty.sh
parentnet-mgmt/blackbox_exporter: Switch to USES=go:modules, fix build with go1.13 (diff)
Add new port "Bastillion".
Bastillion is an open-source web-based SSH console that centrally manages administrative access to systems. A bastion host for administrators with features that promote infrastructure security, including key management and auditing.
Notes
Notes: svn path=/head/; revision=508967
Diffstat (limited to 'security/bastillion/files/patch-jetty_bin_jetty.sh')
-rw-r--r--security/bastillion/files/patch-jetty_bin_jetty.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/bastillion/files/patch-jetty_bin_jetty.sh b/security/bastillion/files/patch-jetty_bin_jetty.sh
new file mode 100644
index 000000000000..fbd3a9f20ca1
--- /dev/null
+++ b/security/bastillion/files/patch-jetty_bin_jetty.sh
@@ -0,0 +1,21 @@
+--- jetty_bastillion/bin/jetty.sh.orig 2019-08-13 19:07:08 UTC
++++ jetty_bastillion/bin/jetty.sh
+@@ -17,7 +17,8 @@
+ # Set the name which is used by other variables.
+ # Defaults to the file name without extension.
+ ##################################################
+-NAME=$(echo $(basename $0) | sed -e 's/^[SK][0-9]*//' -e 's/\.sh$//')
++#NAME=$(echo $(basename $0) | sed -e 's/^[SK][0-9]*//' -e 's/\.sh$//')
++NAME=bastillion
+
+ # To get the service to restart correctly on reboot, uncomment below (3 lines):
+ # ========================
+@@ -199,7 +200,7 @@ then
+ ETC=$HOME/etc
+ fi
+
+-for CONFIG in {/etc,~/etc}/default/${NAME}{,9} $HOME/.${NAME}rc; do
++for CONFIG in {/etc,~/etc}/default/${NAME}{,9} $HOME/.${NAME}rc /usr/local/etc/${NAME}/${NAME}{,9}; do
+ if [ -f "$CONFIG" ] ; then
+ readConfig "$CONFIG"
+ fi