atlassian-jira: 8.7.1 -> 8.8.0 (#83218)
fix not starting service when jdk is jdk11
This commit is contained in:
parent
ddd9f00ac5
commit
758f81df44
1 changed files with 8 additions and 3 deletions
|
@ -1,15 +1,18 @@
|
|||
{ stdenv, lib, fetchurl
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, gawk
|
||||
, enableSSO ? false
|
||||
, crowdProperties ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atlassian-jira";
|
||||
version = "8.7.1";
|
||||
version = "8.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-${version}.tar.gz";
|
||||
sha256 = "0f46j94xjb5a5f74fsykjif64s9w2yd9ccy9098yrzaa8lbwdgpz";
|
||||
sha256 = "1gn0iknli8pi3c3kxb8hdn19wzn2fx0193ppf0niw3cqf1h2c5cz";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -18,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||
rm -r logs; ln -sf /run/atlassian-jira/logs/ .
|
||||
rm -r work; ln -sf /run/atlassian-jira/work/ .
|
||||
rm -r temp; ln -sf /run/atlassian-jira/temp/ .
|
||||
substituteInPlace bin/check-java.sh \
|
||||
--replace "awk" "${gawk}/bin/gawk"
|
||||
'' + lib.optionalString enableSSO ''
|
||||
substituteInPlace atlassian-jira/WEB-INF/classes/seraph-config.xml \
|
||||
--replace com.atlassian.jira.security.login.JiraSeraphAuthenticator \
|
||||
|
|
Loading…
Reference in a new issue