Skip to content

Packaging OXD Server

Adrian Gluu.org edited this page Mar 7, 2018 · 1 revision

Packaging OXD Server

steps for deb package:

1- fetch the git branch:

git clone -b 3.1.2 https://github.com/GluuFederation/oxd.git oxd-server-3.1.2

2- tar the source code for debuild system:

tar cvfz oxd-server_3.1.2.orig.tar.gz oxd-server-3.1.2

3- inside of the oxd-server-3.1.2 folder run the build command:

cd oxd-server-3.1.2

debuild -us -uc

That will generate the new deb package.

Packaging RPM:

1- fetch the git branch:

git clone -b 3.1.2 https://github.com/GluuFederation/oxd.git oxd-server-3.1.2

2- tar the source code for rpmbuild system:

tar cvfz oxd-server03.1.2.tar.gz oxd-server-3.1.2

3- copy the tar file inside of the rpmbuild folder:

4- inside of rpmbuild/SPEC run this command: rpmbuild -ba oxd.spec