ports/devel/opengrok/files/opengrok.in
Don Lewis 065c811cfc devel/opengrok: Upgrade to version 1.7.31
Upgrade opengrok to the latest upstream version to fix CVE-2021-2322,
which was actually fixed upstream in 1.6.7.

Convert the wrapper script from /bin/csh to /bin/sh.

Jave 11+ is required.

PR:		260534
MFH:		2022Q2
Security:	1135e939-62b4-11ec-b8e2-1c1b0d9ea7e6
2022-04-26 11:19:28 -07:00

6 lines
145 B
Bash

#!/bin/sh
JAVA= "%%LOCALBASE%%/bin/java"
export JAVA_VERSION="%%JAVA_VERSION%%"
exec "${JAVA}" -jar %%JARFILE%% -c %%LOCALBASE%%/bin/uctags $*