[ssh_x509] About building binary rpm on centos 7

ssh_x509 at roumenpetrov.info ssh_x509 at roumenpetrov.info
Wed Jan 18 16:13:08 EET 2017


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:
3.1. sed -i -e "s/%define no_gnome_askpass 0/%define no_gnome_askpass 1/g"
3.2. sed -i -e "s/%define no_x11_askpass 0/%define no_x11_askpass 1/g"
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.

Indrek Paas

More information about the ssh_x509 mailing list