Skip to content

Commit

Permalink
Add Sha256 header in elasticsearch RPMs (#75569)
Browse files Browse the repository at this point in the history
This adds support for Sha256 header signature in our RPMs by
updating the dependency to the readline library to a version
we have patched until the provided PR (craigwblake/redline#157)
got merged and released by the redline folks.

This work is related to #58257
  • Loading branch information
breskeby authored Jul 22, 2021
1 parent 9104061 commit 2c5e406
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,23 @@ buildscript {
mavenCentral()
maven { url 'https://jitpack.io' }
}

// We rely on a patched version of the redline library used to build rpm packages
// to support sha256header in our elasticsearch RPMs
// TODO: Update / remove this dependency once https://github.com/craigwblake/redline/pull/157 got merged
// Be aware that it seems the redline project hasnt been active for a while
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module('org.redline-rpm:redline') using module('com.github.breskeby:redline:caa0ede')
}
}
}

dependencies {
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
}

}

apply plugin: "nebula.ospackage-base"
Expand Down

0 comments on commit 2c5e406

Please sign in to comment.