Difference between revisions of "PKI Common Components via SRPMS"

From Dogtag
Jump to: navigation, search
(PKI Setup (pki-setup))
(Building PKI Common Components)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Building PKI Common Components ==
+
== Building PKI Common Components (Dogtag 1.3 and Earlier ONLY) ==
  
 
=== OS Util (osutil) ===
 
=== OS Util (osutil) ===
  
Obtain the latest osutil SRPM from [http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest osutil SRPM:
 +
 
 +
    yumdownloader --source osutil
  
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
Line 29: Line 31:
 
     rpm -Uvh *.rpm
 
     rpm -Uvh *.rpm
  
=== Sym Key (symkey) ===
+
=== Sym Key (pki-symkey) ===
  
Obtain the latest symkey SRPM from [http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest pki-symkey SRPM:
 +
 
 +
    yumdownloader --source pki-symkey
  
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
  
     rpm -Uvh symkey-{version}-{release}.src.rpm
+
     rpm -Uvh pki-symkey-{version}-{release}.src.rpm
 
     cd /usr/src/redhat
 
     cd /usr/src/redhat
     rpmbuild -bb SPECS/symkey.spec
+
     rpmbuild -bb SPECS/pki-symkey.spec
  
 
The RPMs will be created in RPMS/{arch}.  Become '''root''', and execute the following commands:
 
The RPMs will be created in RPMS/{arch}.  Become '''root''', and execute the following commands:
Line 46: Line 50:
 
If a developer needs to make changes or apply patches to RPMs, do the following:
 
If a developer needs to make changes or apply patches to RPMs, do the following:
  
     rpm2cpio symkey-{version}-{release}.src.rpm} | cpio -idumv
+
     rpm2cpio pki-symkey-{version}-{release}.src.rpm} | cpio -idumv
     gtar -zxvf symkey-{version}.tar.gz
+
     gtar -zxvf pki-symkey-{version}.tar.gz
     cd symkey-{version}
+
     cd pki-symkey-{version}
 
     make changes, or add a patch
 
     make changes, or add a patch
 
     ./release
 
     ./release
  
The RPMs will be created in symkey-{version}/dist/rpmpkg/RPMS/{arch}.  Become '''root''', and execute the following commands:
+
The RPMs will be created in pki-symkey-{version}/dist/rpmpkg/RPMS/{arch}.  Become '''root''', and execute the following commands:
  
     cd symkey-{version}/dist/rpmpkg/RPMS/{arch}
+
     cd pki-symkey-{version}/dist/rpmpkg/RPMS/{arch}
 
     rpm -Uvh *.rpm
 
     rpm -Uvh *.rpm
  
 
=== PKI Util (pki-util) ===
 
=== PKI Util (pki-util) ===
  
Obtain the latest pki-util SRPM from [http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest pki-util SRPM:
 +
 
 +
    yumdownloader --source pki-util
  
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
Line 87: Line 93:
 
=== Native Tools (pki-native-tools) ===
 
=== 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/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest pki-native-tools SRPM:
 +
 
 +
    yumdownloader --source pki-native-tools
  
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
Line 115: Line 123:
 
=== PKI Setup (pki-setup) ===
 
=== PKI Setup (pki-setup) ===
  
Obtain the latest pki-setup SRPM from [http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest pki-setup SRPM:
 +
 
 +
    yumdownloader --source pki-setup
  
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
Line 143: Line 153:
 
=== Java Tools (pki-java-tools) ===
 
=== 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/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest pki-java-tools SRPM:
 +
 
 +
    yumdownloader --source pki-java-tools
  
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
Line 152: Line 164:
  
 
The RPMs will be created in RPMS/noarch.  Become '''root''', and execute the following commands:
 
The RPMs will be created in RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 +
    cd RPMS/noarch
 +
    rpm -Uvh *.rpm
  
 
If a developer needs to make changes or apply patches to RPMs, do the following:
 
If a developer needs to make changes or apply patches to RPMs, do the following:
Line 162: Line 177:
  
 
The RPMs will be created in pki-java-tools-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
 
The RPMs will be created in pki-java-tools-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 +
    cd pki-java-tools-{version}/dist/rpmpkg/RPMS/noarch
 +
    rpm -Uvh *.rpm
 +
 +
=== PKI Selinux (pki-selinux) ===
 +
 +
Obtain the latest pki-selinux SRPM:
 +
 +
    yumdownloader --source pki-selinux
 +
 +
To create binary RPMs from this SRPM, become '''root''', and execute the following commands:
 +
 +
    rpm -Uvh pki-selinux-{version}-{release}.src.rpm
 +
    cd /usr/src/redhat
 +
    rpmbuild -bb SPECS/pki-selinux.spec
 +
 +
The RPMs will be created in RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 +
    cd RPMS/noarch
 +
    rpm -Uvh *.rpm
 +
 +
If a developer needs to make changes or apply patches to RPMs, do the following:
 +
 +
    rpm2cpio pki-selinux-{version}-{release}.src.rpm} | cpio -idumv
 +
    gtar -zxvf pki-selinux-{version}.tar.gz
 +
    cd pki-selinux-{version}
 +
    make changes, or add a patch
 +
    ./release
 +
 +
The RPMs will be created in pki-selinux-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 +
    cd pki-selinux-{version}/dist/rpmpkg/RPMS/noarch
 +
    rpm -Uvh *.rpm
  
 
=== PKI Common (pki-common) ===
 
=== 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/ http://pki-svn.fedora.redhat.com/download/pki/1.0.0/fc6/SRPMS/].
+
Obtain the latest pki-common-ui and pki-common SRPMs:
 +
 
 +
    yumdownloader --source pki-common-ui pki-common
  
 
To create binary RPMs from these SRPMs, become '''root''', and execute the following commands:
 
To create binary RPMs from these SRPMs, become '''root''', and execute the following commands:
Line 176: Line 226:
  
 
The RPMs will be created in RPMS/noarch.  Become '''root''', and execute the following commands:
 
The RPMs will be created in RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 +
    cd RPMS/noarch
 +
    rpm -Uvh *.rpm
  
 
If a developer needs to make changes or apply patches to RPMs, do the following:
 
If a developer needs to make changes or apply patches to RPMs, do the following:
Line 185: Line 238:
 
     ./release
 
     ./release
  
The RPMs will be created in pki-console-ui-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
+
The RPMs will be created in pki-common-ui-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 
 +
    cd pki-common-ui-{version}/dist/rpmpkg/RPMS/noarch
 +
    rpm -Uvh
  
 
If a developer needs to make changes or apply patches to RPMs, do the following:
 
If a developer needs to make changes or apply patches to RPMs, do the following:
Line 196: Line 252:
  
 
The RPMs will be created in pki-common-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
 
The RPMs will be created in pki-common-{version}/dist/rpmpkg/RPMS/noarch.  Become '''root''', and execute the following commands:
 +
 +
    cd pki-common-{version}/dist/rpmpkg/RPMS/noarch
 +
    rpm -Uvh *.rpm

Latest revision as of 07:57, 22 July 2011

Building PKI Common Components (Dogtag 1.3 and Earlier ONLY)

OS Util (osutil)

Obtain the latest osutil SRPM:

   yumdownloader --source osutil

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 (pki-symkey)

Obtain the latest pki-symkey SRPM:

   yumdownloader --source pki-symkey

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

   rpm -Uvh pki-symkey-{version}-{release}.src.rpm
   cd /usr/src/redhat
   rpmbuild -bb SPECS/pki-symkey.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 pki-symkey-{version}-{release}.src.rpm} | cpio -idumv
   gtar -zxvf pki-symkey-{version}.tar.gz
   cd pki-symkey-{version}
   make changes, or add a patch
   ./release

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

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

PKI Util (pki-util)

Obtain the latest pki-util SRPM:

   yumdownloader --source pki-util

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:

   cd RPMS/noarch
   rpm -Uvh *.rpm

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:

   cd pki-util-{version}/dist/rpmpkg/RPMS/noarch
   rpm -Uvh *.rpm

Native Tools (pki-native-tools)

Obtain the latest pki-native-tools SRPM:

   yumdownloader --source pki-native-tools

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:

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

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:

   cd pki-native-tools-{version}/dist/rpmpkg/RPMS/{arch}
   rpm -Uvh *.rpm

PKI Setup (pki-setup)

Obtain the latest pki-setup SRPM:

   yumdownloader --source pki-setup

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:

   cd RPMS/noarch
   rpm -Uvh *.rpm

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:

   cd pki-setup-{version}/dist/rpmpkg/RPMS/noarch
   rpm -Uvh *.rpm

Java Tools (pki-java-tools)

Obtain the latest pki-java-tools SRPM:

   yumdownloader --source pki-java-tools

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:

   cd RPMS/noarch
   rpm -Uvh *.rpm

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:

   cd pki-java-tools-{version}/dist/rpmpkg/RPMS/noarch
   rpm -Uvh *.rpm

PKI Selinux (pki-selinux)

Obtain the latest pki-selinux SRPM:

   yumdownloader --source pki-selinux

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

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

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

   cd RPMS/noarch
   rpm -Uvh *.rpm

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

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

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

   cd pki-selinux-{version}/dist/rpmpkg/RPMS/noarch
   rpm -Uvh *.rpm

PKI Common (pki-common)

Obtain the latest pki-common-ui and pki-common SRPMs:

   yumdownloader --source pki-common-ui pki-common

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:

   cd RPMS/noarch
   rpm -Uvh *.rpm

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-common-ui-{version}/dist/rpmpkg/RPMS/noarch. Become root, and execute the following commands:

   cd pki-common-ui-{version}/dist/rpmpkg/RPMS/noarch
   rpm -Uvh

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:

   cd pki-common-{version}/dist/rpmpkg/RPMS/noarch
   rpm -Uvh *.rpm