PKI 10 Development
This page describes the process to build Dogtag 10. Some of the commands may require root or sudo access.
Make sure you have the correct Fedora version for the Dogtag version you want to build:
- Dogtag 10.0 will only work on Fedora 18 and 19. It does not work on Fedora 20 or later.
- Dogtag 10.1 or later will only work on Fedora 20 or later.
$ yum install git rpm-build make gcc gcc-c++ $ git clone git://git.fedorahosted.org/git/pki.git $ cd pki
Checkout the right branch for the operating system:
- Dogtag 10.2: master
- Dogtag 10.1: DOGTAG_10_1_BRANCH
- Dogtag 10.0: DOGTAG_10_0_BRANCH
$ git branch -r $ git checkout <branch>
We use the yum-builddep command for this, which is provided by the yum-utils package.
$ yum-builddep ./specs/pki-core.spec
$ cd scripts/ $ ./compose_pki_core_packages rpms
RPMS will be built and placed under ../../packages/RPMS. You can install them by doing :
$ yum localinstall ../../packages/RPMS/noarch/* ../../packages/RPMS/x86_64/*