PKI Common Components via SRPMS

From Dogtag
Revision as of 17:01, 24 February 2008 by Mharmsen (talk | contribs) (OS Util (osutil))

Jump to: navigation, search

Building PKI Common Components

OS Util (osutil)

Obtain the latest osutil SRPM from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from this SRPM, become root, and execute the following commands:

   rpm -Uvh osutil-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/osutil.spec

The RPMs will be created in RPMS/{arch}. Become root, and execute the following commands:

   cd RPMS/{arch}
   rpm -Uvh *.rpm

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio osutil-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf osutil-{version}.tar.gz
   cd osutil-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in osutil-{version}/dist/rpmpkg/RPMS/{arch}. Become root, and execute the following commands:

   cd osutil-{version}/dist/rpmpkg/RPMS/{arch}
   rpm -Uvh *.rpm

Sym Key (symkey)

Obtain the latest symkey SRPM from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from this SRPM, become root, and execute the following commands:

   rpm -Uvh symkey-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/symkey.spec

The RPMs will be created in RPMS/{arch}. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio symkey-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf symkey-{version}.tar.gz
   cd symkey-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in symkey-{version}/dist/rpmpkg/RPMS/{arch}. Become root, and execute the following commands:

PKI Util (pki-util)

Obtain the latest pki-util SRPM from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from this SRPM, become root, and execute the following commands:

   rpm -Uvh pki-util-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/pki-util.spec

The RPMs will be created in RPMS/noarch. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio pki-util-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-util-{version}.tar.gz
   cd pki-util-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in pki-util-{version}/dist/rpmpkg/RPMS/noarch. Become root, and execute the following commands:

Native Tools (pki-native-tools)

Obtain the latest pki-native-tools SRPM from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from this SRPM, become root, and execute the following commands:

   rpm -Uvh pki-native-tools-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/pki-native-tools.spec

The RPMs will be created in RPMS/{arch}. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio pki-native-tools-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-native-tools-{version}.tar.gz
   cd pki-native-tools-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in pki-native-tools-{version}/dist/rpmpkg/RPMS/{arch}. Become root, and execute the following commands:

PKI Setup (pki-setup)

Obtain the latest pki-setup SRPM from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from this SRPM, become root, and execute the following commands:

   rpm -Uvh pki-setup-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/pki-setup.spec

The RPMs will be created in RPMS/noarch. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio pki-setup-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-setup-{version}.tar.gz
   cd pki-setup-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in pki-setup-{version}/dist/rpmpkg/RPMS/noarch. Become root, and execute the following commands:

Java Tools (pki-java-tools)

Obtain the latest pki-java-tools SRPM from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from this SRPM, become root, and execute the following commands:

   rpm -Uvh pki-java-tools-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/pki-java-tools.spec

The RPMs will be created in RPMS/noarch. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio pki-java-tools-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-java-tools-{version}.tar.gz
   cd pki-java-tools-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in pki-java-tools-{version}/dist/rpmpkg/RPMS/noarch. Become root, and execute the following commands:

PKI Common (pki-common)

Obtain the latest pki-common-ui and pki-common SRPMs from http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/.

To create binary RPMs from these SRPMs, become root, and execute the following commands:

   rpm -Uvh pki-common-ui-{version}-{release}.src.rpm
   rpm -Uvh pki-common-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/pki-common-ui.spec
   rpmbuild -bb SPECS/pki-common.spec

The RPMs will be created in RPMS/noarch. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio pki-common-ui-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-common-ui-{version}.tar.gz
   cd pki-common-ui-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in pki-console-ui-{version}/dist/rpmpkg/RPMS/noarch. Become root, and execute the following commands:

If a developer needs to make changes or apply patches to RPMs, do the following:

   rpm2cpio pki-common-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-common-{version}.tar.gz
   cd pki-common-{version}
   make changes, or add a patch
   ./release

The RPMs will be created in pki-common-{version}/dist/rpmpkg/RPMS/noarch. Become root, and execute the following commands: