Skip to content

Commit

Permalink
#193 Fix RPM package dependencies, add etc/default file
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 5, 2017
1 parent 35ea16f commit fb534e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ linuxEtcDefaultTemplate in Debian := (baseDirectory.value / "install" / "etc_def
linuxMakeStartScript in Debian := None

// RPM //
rpmRelease := "4"
rpmRelease := "6"
rpmVendor in Rpm := "TheHive Project"
rpmUrl := Some("http://thehive-project.org/")
rpmLicense := Some("AGPL")
rpmRequirements += "java-headless >= 1.8.0"
rpmRequirements += "java-1.8.0-openjdk-headless"
maintainerScripts in Rpm := maintainerScriptsFromDirectory(
baseDirectory.value / "install" / "rpm",
Seq(RpmConstants.Pre, RpmConstants.Preun, RpmConstants.Postun)
)
rpmPrefix := Some(defaultLinuxInstallLocation.value)
linuxEtcDefaultTemplate in Rpm := (baseDirectory.value / "install" / "etc_default_thehive").asURL

// DOCKER //
import com.typesafe.sbt.packager.docker.{Cmd, ExecCmd}
Expand Down

0 comments on commit fb534e5

Please sign in to comment.