Compare commits
5 Commits
2.6.0-8
...
11_0_0-3_e
Author | SHA1 | Date | |
---|---|---|---|
670c8fe1cc | |||
eee1cc4d06 | |||
1c496cd543 | |||
e62342d930 | |||
![]() |
08b815e560 |
4
Makefile
4
Makefile
@@ -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 $
|
# $Id: Makefile,v 1.1 2016/02/05 22:15:50 stephdl Exp $
|
||||||
NAME := e-smith-openssh
|
NAME := smeserver-openssh
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
define find-makefile-common
|
define find-makefile-common
|
||||||
|
@@ -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
|
## Wiki
|
||||||
<br />https://wiki.koozali.org/
|
<br />https://wiki.koozali.org/
|
||||||
|
|
||||||
## Bugzilla
|
## 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
|
## Description
|
||||||
|
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
HostKey /etc/ssh/ssh_host_key
|
|
@@ -1,2 +1 @@
|
|||||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||||
|
|
||||||
|
@@ -1 +1,2 @@
|
|||||||
HostKey /etc/ssh/ssh_host_rsa_key
|
HostKey /etc/ssh/ssh_host_rsa_key
|
||||||
|
|
||||||
|
@@ -4,28 +4,11 @@
|
|||||||
# initscript.
|
# initscript.
|
||||||
KEYGEN=/usr/bin/ssh-keygen
|
KEYGEN=/usr/bin/ssh-keygen
|
||||||
SSHD=/usr/sbin/sshd
|
SSHD=/usr/sbin/sshd
|
||||||
RSA1_KEY=/etc/ssh/ssh_host_key
|
|
||||||
RSA_KEY=/etc/ssh/ssh_host_rsa_key
|
RSA_KEY=/etc/ssh/ssh_host_rsa_key
|
||||||
DSA_KEY=/etc/ssh/ssh_host_dsa_key
|
DSA_KEY=/etc/ssh/ssh_host_dsa_key
|
||||||
ECDSA_KEY=/etc/ssh/ssh_host_ecdsa_key
|
ECDSA_KEY=/etc/ssh/ssh_host_ecdsa_key
|
||||||
ED25519_KEY=/etc/ssh/ssh_host_ed25519_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() {
|
do_rsa_keygen() {
|
||||||
if [ ! -s $RSA_KEY ]; then
|
if [ ! -s $RSA_KEY ]; then
|
||||||
echo -n $"Generating SSH2 RSA host key: "
|
echo -n $"Generating SSH2 RSA host key: "
|
||||||
@@ -89,7 +72,6 @@ do_ed25519_keygen() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_rsa1_keygen
|
|
||||||
do_rsa_keygen
|
do_rsa_keygen
|
||||||
do_dsa_keygen
|
do_dsa_keygen
|
||||||
do_ecdsa_keygen
|
do_ecdsa_keygen
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
# $Id: e-smith-openssh.spec,v 1.12 2023/07/13 02:38:42 trevorb Exp $
|
# $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
|
Summary: smeserver module to configure and enable ssh
|
||||||
%define name e-smith-openssh
|
%define name smeserver-openssh
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 2.6.0
|
%define version 11.0.0
|
||||||
%define release 8
|
%define release 3
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@@ -12,17 +12,32 @@ Group: Networking/Daemons
|
|||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRequires: e-smith-devtools
|
BuildRequires: smeserver-devtools
|
||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
Requires: e-smith, openssl,
|
Requires: smeserver, openssl,
|
||||||
Requires: openssh >= 3.5
|
Requires: openssh >= 3.5
|
||||||
Requires: openssh-clients
|
Requires: openssh-clients
|
||||||
Requires: openssh-server
|
Requires: openssh-server
|
||||||
Requires: e-smith-lib >= 1.15.1-19
|
Requires: smeserver-lib >= 1.15.1-19
|
||||||
Requires: runit
|
Requires: runit
|
||||||
|
Provides: e-smith-openssh
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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]
|
- Roll up patches and move to git repo [SME: 12338]
|
||||||
|
|
||||||
@@ -639,7 +654,7 @@ AutoReqProv: no
|
|||||||
- Change rc?.d directory from 3 to 7.
|
- Change rc?.d directory from 3 to 7.
|
||||||
|
|
||||||
%description
|
%description
|
||||||
e-smith server enhancement to configure and enable openssh
|
smeserver server enhancement to configure and enable openssh
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
Reference in New Issue
Block a user