package debian
- Alphabetic
- Public
- All
Type Members
-
case class
DebianControlScriptReplacements(author: String, descr: String, name: String, version: String) extends Product with Serializable
This replacements are use for the debian maintainer scripts: preinst, postinst, prerm, postrm
-
trait
DebianKeys extends AnyRef
DEB packaging specifc build targets.
-
trait
DebianNativePackaging extends DebianPluginLike
This provides a dpkg based implementation for debian packaging.
Native Packaging
This provides a dpkg based implementation for debian packaging.
Requirements
You need the debian dpkg toolchain installed. This includes
- fakeroot
- dpkg-deb
- dpkg-genchanges
Enable the plugin in the
build.sbtenablePlugins(DebianNativePackaging)
Example: -
trait
DebianPluginLike extends AnyRef
This trait provides a set of helper methods for debian packaging implementations.
Debian Helper Methods
This trait provides a set of helper methods for debian packaging implementations.
Most of the methods are for java 6 file permission handling and debian script adjustements.
-
class
JDebConsole extends Console
This provides the task for building a debian packaging with the java-based implementation jdeb
- case class PackageInfo(name: String, version: String, maintainer: String, summary: String, description: String) extends Product with Serializable
-
case class
PackageMetaData(info: PackageInfo, priority: String = "optional", architecture: String = "all", section: String = "java", conflicts: Seq[String] = Seq.empty, depends: Seq[String] = Seq.empty, provides: Seq[String] = Seq.empty, recommends: Seq[String] = Seq.empty) extends Product with Serializable
Represents package meta used by debian when constructing packages.
Value Members
- object DebianDeployPlugin extends AutoPlugin
- object DebianNativePackaging
-
object
DebianPlugin extends AutoPlugin with DebianNativePackaging
This plugin provides the ability to build .deb packages.
Debian Plugin
This plugin provides the ability to build .deb packages.
Configuration
In order to configure this plugin take a look at the available com.typesafe.sbt.packager.debian.DebianKeys
Enable the plugin in the
build.sbt. By default this will use the native debian packaging implementation com.typesafe.sbt.packager.debian.DebianNativePackaging.enablePlugins(DebianPlugin)
Example: -
object
JDebPackaging extends AutoPlugin with DebianPluginLike
This provides a java based debian packaging implementation based on the jdeb maven-plugin.
JDeb Plugin
This provides a java based debian packaging implementation based on the jdeb maven-plugin. To use this, put this into your build.sbt
Enable the plugin in the
build.sbtenablePlugins(JDebPackaging)
- See also
https://github.com/tcurdt/jdeb/blob/master/src/main/java/org/vafer/jdeb/maven/DebMojo.java#L503
Example: