5 Commits

Author SHA1 Message Date
670c8fe1cc * Tue Mar 26 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-3.sme
- remove RSA1 support which prevents service start [SME: 12553]
2024-03-26 11:52:28 -04:00
eee1cc4d06 Alter requires for e-smith to smeserver 2024-03-23 16:25:53 +00:00
1c496cd543 Move provides in spec file to not after changelog 2024-03-23 13:55:22 +00:00
e62342d930 Update 2024-03-23 12:11:54 +00:00
Trevor Batley
08b815e560 rename-e-smith-pkg script (#12359) 2024-03-11 10:07:39 +11:00
7 changed files with 30 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
# Makefile for source rpm: e-smith-openssh
# Makefile for source rpm: smeserver-openssh
# $Id: Makefile,v 1.1 2016/02/05 22:15:50 stephdl Exp $
NAME := e-smith-openssh
NAME := smeserver-openssh
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common

View File

@@ -1,12 +1,13 @@
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> e-smith-openssh
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-openssh
SMEServer Koozali developed git repo for e-smith-openssh smeserver
SMEServer Koozali developed git repo for smeserver-openssh smeserver
## Wiki
<br />https://wiki.koozali.org/
## Bugzilla
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-openssh&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-openssh&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)\
And a list of outstanding Legacy bugs: (e-smith-openssh) [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-openssh&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
## Description

View File

@@ -1 +0,0 @@
HostKey /etc/ssh/ssh_host_key

View File

@@ -1,2 +1 @@
HostKey /etc/ssh/ssh_host_ed25519_key

View File

@@ -1 +1,2 @@
HostKey /etc/ssh/ssh_host_rsa_key

View File

@@ -4,28 +4,11 @@
# initscript.
KEYGEN=/usr/bin/ssh-keygen
SSHD=/usr/sbin/sshd
RSA1_KEY=/etc/ssh/ssh_host_key
RSA_KEY=/etc/ssh/ssh_host_rsa_key
DSA_KEY=/etc/ssh/ssh_host_dsa_key
ECDSA_KEY=/etc/ssh/ssh_host_ecdsa_key
ED25519_KEY=/etc/ssh/ssh_host_ed25519_key
do_rsa1_keygen() {
if [ ! -s $RSA1_KEY ]; then
echo -n $"Generating SSH1 RSA host key: "
if $KEYGEN -q -t rsa1 -f $RSA1_KEY -C '' -N '' >&/dev/null; then
chmod 600 $RSA1_KEY
chmod 644 $RSA1_KEY.pub
echo "Success: RSA1 key generation"
echo
else
echo "Failure: RSA1 key generation"
echo
exit 1
fi
fi
}
do_rsa_keygen() {
if [ ! -s $RSA_KEY ]; then
echo -n $"Generating SSH2 RSA host key: "
@@ -89,7 +72,6 @@ do_ed25519_keygen() {
fi
}
do_rsa1_keygen
do_rsa_keygen
do_dsa_keygen
do_ecdsa_keygen

View File

@@ -1,10 +1,10 @@
# $Id: e-smith-openssh.spec,v 1.12 2023/07/13 02:38:42 trevorb Exp $
Summary: e-smith module to configure and enable ssh
%define name e-smith-openssh
Summary: smeserver module to configure and enable ssh
%define name smeserver-openssh
Name: %{name}
%define version 2.6.0
%define release 8
%define version 11.0.0
%define release 3
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -12,17 +12,32 @@ Group: Networking/Daemons
Source: %{name}-%{version}.tar.xz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
BuildRequires: e-smith-devtools
BuildRequires: smeserver-devtools
BuildArchitectures: noarch
Requires: e-smith, openssl,
Requires: smeserver, openssl,
Requires: openssh >= 3.5
Requires: openssh-clients
Requires: openssh-server
Requires: e-smith-lib >= 1.15.1-19
Requires: smeserver-lib >= 1.15.1-19
Requires: runit
Provides: e-smith-openssh
AutoReqProv: no
%changelog
* Tue Mar 26 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-3.sme
- remove RSA1 support which prevents service start [SME: 12553]
* Sat Mar 23 2024 Brian Read <brianr@koozali.org>11.0.0-2.sme
- Change Requires: e-smith- to Requires:smeserver-
* Sat Mar 23 2024 Brian Read <brianr@koozali.org>11.0.0-1.sme
- Update Release and Version to base version and 1st release for SME11 [SME: 12518]
- Move Provides: from after Changelog
* Mon Mar 11 2024 rename-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 2.6.0-9.sme
- Rename to smeserver-openssh [SME: 12359]
* Thu Jul 13 2023 cvs2git.sh aka Brian Read <brianr@koozali.org> 2.6.0-8.sme
- Roll up patches and move to git repo [SME: 12338]
@@ -639,7 +654,7 @@ AutoReqProv: no
- Change rc?.d directory from 3 to 7.
%description
e-smith server enhancement to configure and enable openssh
smeserver server enhancement to configure and enable openssh
%prep
%setup