JSS Debian Development

From Dogtag
Revision as of 03:17, 28 July 2018 by Edewata (talk | contribs) (Packaging)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Install the required packages:

$ apt install make gcc git dpkg-dev devscripts build-essential lintian
$ apt build-dep jss

Checkout the source code:

$ hg clone https://hg.mozilla.org/projects/nspr
$ hg clone https://hg.mozilla.org/projects/nss
$ git clone git@github.com:dogtagpki/jss.git


Set environment variables:

$ export JAVA_HOME=/usr/lib/jvm/java-10-openjdk-amd64
$ export USE_64=1

To build JSS:

$ cd jss
$ make clean all


JSS source package for Debian is stored in https://salsa.debian.org/freeipa-team/jss:

To build JSS package:

$ apt source jss
$ cd jss-<version>
$ debuild -i -us -uc -b