Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Konstantin Artyushkin
nxssh
Commits
93a463a8
Commit
93a463a8
authored
Jun 23, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7.5-alt7
- cleanup spec, pack only nxssh
parent
ae0b6fa0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
nxssh.spec
.gear/nxssh.spec
+19
-19
No files found.
.gear/nxssh.spec
View file @
93a463a8
%def_
enable
kerberos5
%def_
with
kerberos5
Name: nxssh
Name: nxssh
Version: 7.5
Version: 7.5
Release: alt6
Release: alt7
Summary: Openssh portable (etersoft edition)
Packager: Pavel Vainerman <pv@altlinux.ru>
Summary: Openssh portable (Etersoft edition) for using with NX
Group: Networking/Remote access
License: GPL, MIT/X11 for X11 bits
License: GPL, MIT/X11 for X11 bits
Group: Networking/Remote access
Url: https://github.com/openssh/openssh-portable
Url: https://github.com/openssh/openssh-portable
Packager: Pavel Vainerman <pv@altlinux.ru>
# Source-git: https://github.com/openssh/openssh-portable.git
Source: %name-%version.tar
Source: %name-%version.tar
Patch1: 0001-fix-openssl-1.1.patch-eterbug-12901.patch
Patch1: 0001-fix-openssl-1.1.patch-eterbug-12901.patch
...
@@ -21,12 +23,12 @@ Requires: nx-libs >= 3.5.0.31
...
@@ -21,12 +23,12 @@ Requires: nx-libs >= 3.5.0.31
# optimized out: gnu-config libcom_err-devel libkrb5-devel nx perl python-base python-modules python3 python3-base zlib-devel
# optimized out: gnu-config libcom_err-devel libkrb5-devel nx perl python-base python-modules python3 python3-base zlib-devel
BuildRequires: libjpeg-devel libpam-devel libpng-devel libssl-devel libstdc++-devel nx-libs-devel openssh-clients
BuildRequires: libjpeg-devel libpam-devel libpng-devel libssl-devel libstdc++-devel nx-libs-devel openssh-clients
%if_
enabled
kerberos5
%if_
with
kerberos5
BuildRequires: libkrb5-devel
BuildRequires: libkrb5-devel
%endif
%endif
%description
%description
Openssh portable (
etersoft edition)
Openssh portable (
Etersoft edition) for using with NX.
%prep
%prep
%setup
%setup
...
@@ -37,33 +39,31 @@ if [ -s %_libdir/libssl.so.1.1 ] ; then
...
@@ -37,33 +39,31 @@ if [ -s %_libdir/libssl.so.1.1 ] ; then
fi
fi
%build
%build
# detect config placement
confdir=""
[ -r "/etc/openssh/ssh_config" ] && confdir="/openssh"
[ -r "/etc/openssh/ssh_config" ] && confdir="/openssh"
[ -r "/etc/ssh/ssh_config" ] && confdir="/ssh"
[ -r "/etc/ssh/ssh_config" ] && confdir="/ssh"
[ -r "/etc/ssh_config" ] && confdir="/"
[ -r "/etc/ssh_config" ] && confdir="/"
%__subst "s|-DSSHDIR=\\\\\"\$(sysconfdir)\\\\\"|-DSSHDIR=\\\\\"\$(sysconfdir)${confdir}\\\\\"|g" Makefile.in
%__subst "s|-DSSHDIR=\\\\\"\$(sysconfdir)\\\\\"|-DSSHDIR=\\\\\"\$(sysconfdir)${confdir}\\\\\"|g" Makefile.in
with_kerberos=
%if_enabled kerberos5
with_kerberos="--with-kerberos5"
%endif
%autoreconf
%autoreconf
%configure --without-zlib-version-check
${with_
kerberos}
%configure --without-zlib-version-check
%{subst_with
kerberos}
%make_build || %make
%make_build || %make
# check ssh config path
echo "checking ssh config path"
grep "/etc${confdir}/ssh_config" nxssh
grep "/etc${confdir}/ssh_config" nxssh
%install
%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%_bindir
/
install -m755 nxssh
nxsshd nxssh-keygen
%buildroot%_bindir/
install -m755 nxssh %buildroot%_bindir/
%files
%files
%_bindir/*
%_bindir/nxssh
%changelog
%changelog
* Sat Jun 23 2018 Vitaly Lipatov <lav@altlinux.ru> 7.5-alt7
- cleanup spec, pack only nxssh
* Wed Jun 06 2018 Etersoft Builder <builder@etersoft.ru> 7.5-alt6
* Wed Jun 06 2018 Etersoft Builder <builder@etersoft.ru> 7.5-alt6
- added path validation for ssh config (eterbug #12807)
- added path validation for ssh config (eterbug #12807)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment