Fixed host_key issue on 64bit platforms
This commit is contained in:
parent
1d299d5b12
commit
f394b665c2
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
Name: ssh-chat
|
Name: ssh-chat
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 0.4
|
Release: 0.5
|
||||||
Group: Productivity/Networking/SSH
|
Group: Productivity/Networking/SSH
|
||||||
Summary: SSH server providing a chatroom
|
Summary: SSH server providing a chatroom
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -91,7 +91,11 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcssh-chat
|
|||||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch x86_64
|
||||||
|
install -D -m 700 %{_builddir}/%{name}-%{version}/rpm/ssh-chat64.sh %{buildroot}%{_sysconfdir}/%{name}/ssh-chat.sh
|
||||||
|
%else
|
||||||
install -D -m 700 %{_builddir}/%{name}-%{version}/rpm/ssh-chat.sh %{buildroot}%{_sysconfdir}/%{name}/ssh-chat.sh
|
install -D -m 700 %{_builddir}/%{name}-%{version}/rpm/ssh-chat.sh %{buildroot}%{_sysconfdir}/%{name}/ssh-chat.sh
|
||||||
|
%endif
|
||||||
install -d -m 700 %{buildroot}%{_libdir}/%{name}
|
install -d -m 700 %{buildroot}%{_libdir}/%{name}
|
||||||
ssh-keygen -f %{buildroot}%{_libdir}/%{name}/host_key -P ''
|
ssh-keygen -f %{buildroot}%{_libdir}/%{name}/host_key -P ''
|
||||||
chmod 400 %{buildroot}%{_libdir}/%{name}/host_key
|
chmod 400 %{buildroot}%{_libdir}/%{name}/host_key
|
||||||
@ -147,7 +151,9 @@ echo "No Go testing possible!"
|
|||||||
%service_del_postun ssh-chat.service
|
%service_del_postun ssh-chat.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Mar 10 2021 Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> - 1.10-0.4
|
* Fri Jun 04 2021 Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> - 1.10-0.5
|
||||||
|
- Added symlink to 32bit libdir on 64bit platforms to prevent issue with the hostkey
|
||||||
|
* Wed Mar 10 2021 Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> - 1.10-0.4
|
||||||
- Fixed a typo. Added Group. Experimenting with CentOS support.
|
- Fixed a typo. Added Group. Experimenting with CentOS support.
|
||||||
* Tue Mar 09 2021 Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> - 1.10-0.3
|
* Tue Mar 09 2021 Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net> - 1.10-0.3
|
||||||
- Added support for additional architectures: openSUSE Tumbleweed i586 and openSUSE ARM armv7l
|
- Added support for additional architectures: openSUSE Tumbleweed i586 and openSUSE ARM armv7l
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user