Sisyphus repository
Last update: 16 october 2019 | SRPMs: 17499 | Visits: 15272376
en ru br
ALT Linux repos

Group :: Networking/Remote access
RPM: nxssh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_with kerberos5

Name: nxssh
Version: 7.5
Release: alt11

Summary: Openssh portable (Etersoft edition) for using with NX in RX at Etersoft

License: GPL, MIT/X11 for X11 bits
Group: Networking/Remote access

Packager: Pavel Vainerman <pv at>

# Source-git:

Source: %name-%version.tar

Patch1: 0001-fix-openssl-1.1.patch-eterbug-12901.patch

Requires: nx-libs >=

BuildRequires: libpam-devel libssl-devel nx-libs-devel openssh-clients

%if_with kerberos5
BuildRequires: libkrb5-devel

Openssh portable (Etersoft edition) for using with NX in RX at Etersoft.


# fix build with openssl 1.1

if [ -s %_libdir/ ] || [ -s /%_lib/ ] ; then
%patch1 -p1

# detect config placement
[ -r "/etc/openssh/ssh_config" ] && confdir="/openssh"
[ -r "/etc/ssh/ssh_config" ] && confdir="/ssh"
[ -r "/etc/ssh_config" ] && confdir="/"
%__subst "s|-DSSHDIR=\\\\\"\$(sysconfdir)\\\\\"|-DSSHDIR=\\\\\"\$(sysconfdir)${confdir}\\\\\"|g"

%configure --without-zlib-version-check %{subst_with kerberos5}
%make_build || %make

echo "checking ssh config path"
grep -a "/etc${confdir}/ssh_config" nxssh

mkdir -p %buildroot%_bindir/
install -m755 nxssh %buildroot%_bindir/



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin