[ssh_x509] About building binary rpm on centos 7

ssh_x509 at roumenpetrov.info ssh_x509 at roumenpetrov.info
Thu Jan 19 00:06:44 EET 2017


ssh_x509 at roumenpetrov.info wrote:
> Hi,
> I'm trying to build binary rpm packages of pkixssh-9.3 because I need to
> install this on a machine that has no dev tools or internet access. Each
> time I try to build it is looking for OpenSSH source tar.gz file and builds
> rpm packages against it if I provide the file.
> Steps I have taken:
> 1. wget the pkixssh-9.3.tar.gz
> 2. tar zxvf pkixssh
> 3. modify contrib/redhat/openssh.spec file:
hmm, actuality spec files are not updated.

Regression tests are performed on centos with following configuration:
./configure  \
   --with-pam \
   --enable-ldap --with-ldap-libexecdir=/usr/sbin \

> 3.1. sed -i -e "s/%define no_gnome_askpass 0/%define no_gnome_askpass 1/g"
> openssh.spec
> 3.2. sed -i -e "s/%define no_x11_askpass 0/%define no_x11_askpass 1/g"
> openssh.spec
> 3.3. sed -i -e "s/BuildPreReq/BuildRequires/g" openssh.spec
> 4. execute rpmbuild -ba contrib/redhat/openssh.spec
> Created rpm packages still lack the x.509 support I need.
It should work.
Only ldap and fips has to be activated explicitly.

> Regards,
> Indrek Paas

More information about the ssh_x509 mailing list