Prerequisites

Prerequisites#

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 <https://hg.mozilla.org/projects/nspr>`__
$ hg clone ``\ ```https://hg.mozilla.org/projects/nss <https://hg.mozilla.org/projects/nss>`__
$ git clone git@github.com:dogtagpki/jss.git

Building#

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

Packaging#

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

To build JSS package:

$ apt source jss
$ cd jss-
$ debuild -i -us -uc -b

References#