1 |
jpp |
1.6 |
# $Id: e-smith-openssh.spec,v 1.5 2020/12/11 20:41:42 jpp Exp $ |
2 |
stephdl |
1.1 |
|
3 |
|
|
Summary: e-smith module to configure and enable ssh |
4 |
|
|
%define name e-smith-openssh |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 2.6.0 |
7 |
jpp |
1.4 |
%define release 4 |
8 |
stephdl |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
jpp |
1.2 |
Patch0: e-smith-openssh-2.6.0-bz10621-bz10937.patch |
14 |
jpp |
1.3 |
Patch1: e-smith-openssh-2.6.0-bz9893-autoblock-whitelist.patch |
15 |
jpp |
1.4 |
Patch2: e-smith-openssh-2.6.0-bz10939-denyhosts.patch |
16 |
jpp |
1.5 |
Patch3: e-smith-openssh-2.6.0-bz11147-bz11109-systemd-update.patch |
17 |
jpp |
1.3 |
|
18 |
stephdl |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
BuildRequires: e-smith-devtools |
20 |
|
|
BuildArchitectures: noarch |
21 |
|
|
Requires: e-smith, openssl, |
22 |
|
|
Requires: openssh >= 3.5 |
23 |
|
|
Requires: openssh-clients |
24 |
|
|
Requires: openssh-server |
25 |
|
|
Requires: e-smith-lib >= 1.15.1-19 |
26 |
|
|
Requires: runit |
27 |
|
|
AutoReqProv: no |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
jpp |
1.4 |
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
31 |
|
|
- add support for denyhost [SME: 10939] |
32 |
jpp |
1.5 |
- move sshd to systemd [SME: 11109] |
33 |
|
|
- create -update event [SME: 11147] |
34 |
|
|
- add ed25519 and ecdsa hostkeys [SME: 10940] |
35 |
jpp |
1.4 |
|
36 |
jpp |
1.3 |
* Sun May 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
37 |
|
|
- add Whitelist to AutoBlock using property sshd ValidFrom [SME: 9893] |
38 |
|
|
|
39 |
jpp |
1.2 |
* Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
40 |
|
|
- update client ciphers to use [SME: 10621] |
41 |
|
|
- add ciphers, macs and KexAlgorithms for server [SME: 10937] |
42 |
|
|
|
43 |
stephdl |
1.1 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
44 |
|
|
- Initial release to sme10 |
45 |
|
|
|
46 |
|
|
* Thu Jun 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-6.sme |
47 |
|
|
- enabled the motd message [SME: 8939] |
48 |
|
|
- Code done by John Crisp <jcrisp@safeandsoundit.co.uk> and |
49 |
|
|
- Stefano Zamboni <zamboni@mind-at-work.it> |
50 |
|
|
|
51 |
|
|
* Sun Apr 6 2014 Charlie Brady <charlie_brady@mitel.com> 2.4.0-5.sme |
52 |
|
|
- Fix use of uninitialized variables in last change. [SME: 8313] |
53 |
|
|
- Fix error with flush of xt_recent SSH connections. [SME: 8314] |
54 |
|
|
|
55 |
|
|
* Sat Apr 5 2014 Chris Burnat <devlist@burnat.com> 2.4.0-4.sme |
56 |
|
|
- Add ssh-autoblock for external interface - patch by Chris Maltby [SME: 8258] |
57 |
|
|
|
58 |
|
|
* Fri Nov 1 2013 Chris Burnat <devlist@burnat.com> 2.4.0-3.sme |
59 |
|
|
- Remove SSH v1 legacy support - patch by Daniel Berteaud [SME: 6381] |
60 |
|
|
|
61 |
|
|
* Sat Mar 16 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme |
62 |
|
|
- Make rsyslog listen to our socket [SME: 7221] |
63 |
|
|
|
64 |
|
|
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
65 |
|
|
- Roll new stream for sme9 |
66 |
|
|
|
67 |
|
|
* Tue Mar 1 2011 Jonathan Martens <smesevrer-contribs@snetram.nl> 2.2.0-5.sme |
68 |
|
|
- Obsolete KeepAlive and replace ClientAliveInterval and ClientAliveCountMax [SME: 6380] |
69 |
|
|
|
70 |
|
|
* Fri Nov 26 2010 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
71 |
|
|
- Change permissions of ssh_config file to 644 [SME: 43] |
72 |
|
|
|
73 |
|
|
* Thu Nov 25 2010 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme |
74 |
|
|
- Template ssh_config with improved defaults [SME: 43] |
75 |
|
|
|
76 |
|
|
* Sun Dec 28 2008 Jonathan Martens <smesevrer-contribs@snetram.nl> 2.2.0-2.sme |
77 |
|
|
- Template sshd login grace time, kept default at 600s [SME: 4903] |
78 |
|
|
|
79 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
80 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
81 |
|
|
|
82 |
|
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-13 |
83 |
|
|
- Remove template fragments for /root/.ssh/config [SME: 513] |
84 |
|
|
|
85 |
|
|
* Tue Dec 18 2007 Shad L. Lords <slords@mail.com> 1.12.0-12 |
86 |
|
|
- Actually apply previous patch [SME: 3678] |
87 |
|
|
|
88 |
|
|
* Mon Dec 17 2007 Shad L. Lords <slords@mail.com> 1.12.0-11 |
89 |
|
|
- Allow root to be key based login only [SME: 3678] |
90 |
|
|
|
91 |
|
|
* Tue Oct 23 2007 Charlie Brady <charlie_brady@mitel.com> 1.12.0-10 |
92 |
|
|
- Prevent rkhunter false positive if ssh is disabled but |
93 |
|
|
PermitRootLogin is enabled in config. [SME: 166] |
94 |
|
|
|
95 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
96 |
|
|
- Clean up spec so package can be built by koji/plague |
97 |
|
|
|
98 |
|
|
* Sun Apr 08 2007 Shad L. Lords <slords@mail.com> 1.12.0-9 |
99 |
|
|
- Adjust permissions on empty/sshd directory again [SME: 2711] |
100 |
|
|
|
101 |
|
|
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.12.0-8 |
102 |
|
|
- Adjust permissions on empty/sshd directory [SME: 2711] |
103 |
|
|
|
104 |
|
|
* Tue Mar 06 2007 Shad L. Lords <slords@mail.com> 1.12.0-7 |
105 |
|
|
- Adjust sftp-server path in sshd_config to match openssh-servers [SME: 2470] |
106 |
|
|
|
107 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
108 |
|
|
- Update to new release naming. No functional changes. |
109 |
|
|
- Make Packager generic |
110 |
|
|
|
111 |
|
|
* Tue Jul 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-05 |
112 |
|
|
- Use sshd{TCPPort} for listen Port - thanks MasterSleepy [SME: 1774] |
113 |
|
|
|
114 |
|
|
* Tue Jul 18 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-04 |
115 |
|
|
- Allow "UsePAM" setting to be controlled from db. [SME: 1744] |
116 |
|
|
|
117 |
|
|
* Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-03 |
118 |
|
|
- Add newline after user entries in rssh.conf [SME: 877] |
119 |
|
|
|
120 |
|
|
* Wed Mar 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-02 |
121 |
|
|
- Don't display /etc/motd contents from ssh [SME: 718] |
122 |
|
|
|
123 |
|
|
* Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-01 |
124 |
|
|
- Roll stable stream version. [SME: 1016] |
125 |
|
|
|
126 |
|
|
* Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-29 |
127 |
|
|
- Expand /etc/rssh.conf in user-{create,delete,lock,modify} [SME: 877] |
128 |
|
|
|
129 |
|
|
* Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-28 |
130 |
|
|
- A user is allowed access to rssh protocols if: |
131 |
|
|
- They have PasswordSet==yes |
132 |
|
|
- They have AllowRSSH==yes or |
133 |
|
|
VPNClientAccess==yes but not AllowRSSH==no [SME: 877] |
134 |
|
|
|
135 |
|
|
* Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-27 |
136 |
|
|
- Remove defaults for sshd{Allow*} and the templates for rssh.conf [SME: 877] |
137 |
|
|
- Allow a user all of the rssh protocols if AllowSSH is yes [SME: 877] |
138 |
|
|
|
139 |
|
|
* Thu Mar 02 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-26 |
140 |
|
|
- Adjust sftp-server path in sshd_config to match rssh [SME: 924] |
141 |
|
|
|
142 |
|
|
* Wed Mar 01 2006 Charlie Brady <charlie_brady@mitel.com> 1.11.0-25 |
143 |
|
|
- Add syslog socket inside privsep chroot jail [SME: 916] |
144 |
|
|
|
145 |
|
|
* Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-24 |
146 |
|
|
- Default sshd{AllowRSYNC} == yes [SME: 42] |
147 |
|
|
|
148 |
|
|
* Mon Jan 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-23 |
149 |
|
|
- Add template for /etc/rssh.conf [SME: 42] |
150 |
|
|
- Default sshd{AllowSCP, AllowSFTP} == yes [SME: 532] |
151 |
|
|
- Default sshd{AllowRDIST,AllowRSYNC,AllowCVS} == no |
152 |
|
|
|
153 |
|
|
* Fri Jan 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-22 |
154 |
|
|
- Default sshd{PasswordAuthentication} to "no" [SME: 377] |
155 |
|
|
|
156 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-21 |
157 |
|
|
- Bump release number only |
158 |
|
|
|
159 |
|
|
* Wed Aug 10 2005 Charlie Brady <charlieb@e-smith.com> |
160 |
|
|
- [1.11.0-20] |
161 |
|
|
- Delete test related requires (not really required) and add runit. |
162 |
|
|
|
163 |
|
|
* Wed Jul 20 2005 Charlie Brady <charlieb@e-smith.com> |
164 |
|
|
- [1.11.0-19] |
165 |
|
|
- Set $sshd{TCPPort} and remove obsolete masq template fragment. [SF: 1241409] |
166 |
|
|
|
167 |
|
|
* Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com> |
168 |
|
|
- [1.11.0-18] |
169 |
|
|
- Update to current db access APIs. [SF: 1216546] |
170 |
|
|
|
171 |
|
|
* Tue Jul 5 2005 Charlie Brady <charlieb@e-smith.com> |
172 |
|
|
- [1.11.0-17] |
173 |
|
|
- Configure MaxAuthTries (our default is 2). [SF: 1232544] |
174 |
|
|
|
175 |
|
|
* Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com> |
176 |
|
|
- [1.11.0-16] |
177 |
|
|
- Ensure that 'status' property is recognised at startup. [MN00061795] |
178 |
|
|
|
179 |
|
|
* Tue May 17 2005 Charlie Brady <charlieb@e-smith.com> |
180 |
|
|
- [1.11.0-15] |
181 |
|
|
- Default to protocol 2 only on new installs, and '2,1' for |
182 |
|
|
upgrades where $sshd{Protocol} is not defined. |
183 |
|
|
|
184 |
|
|
* Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com> |
185 |
|
|
- [1.11.0-14] |
186 |
|
|
- Use generic_template_expand action for all template expansions from |
187 |
|
|
sshd-conf. Update e-smith-lib dependency. [MN00064130] |
188 |
|
|
- Replace sshd-reload with call to 'adjust-services'. [MN00065576] |
189 |
|
|
|
190 |
|
|
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
191 |
|
|
- [1.11.0-13] |
192 |
|
|
- Updated requires with new perl dependencies. [charlieb MN00040240] |
193 |
|
|
- Clean BuildRequires. [charlieb MN00043055] |
194 |
|
|
|
195 |
|
|
* Mon Dec 22 2003 Michael Soulier <msoulier@e-smith.com> |
196 |
|
|
- [1.11.0-12] |
197 |
|
|
- Added host key generation code to run script. [msoulier 9549] |
198 |
|
|
|
199 |
|
|
* Wed Dec 10 2003 Michael Soulier <msoulier@e-smith.com> |
200 |
|
|
- [1.11.0-11] |
201 |
|
|
- Fixed a bug in the genfilelist options. [msoulier 9549] |
202 |
|
|
|
203 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
204 |
|
|
- [1.11.0-10] |
205 |
|
|
- Put full path to sshd in run script to work around assumption of full path |
206 |
|
|
in sshd sighup handler. [msoulier 9549] |
207 |
|
|
|
208 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
209 |
|
|
- [1.11.0-09] |
210 |
|
|
- Updated sshd-reload to use daemontools wrapper. [msoulier 9549] |
211 |
|
|
|
212 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
213 |
|
|
- [1.11.0-08] |
214 |
|
|
- Moved the shebang line to a place where it actually matters. Tell me it's |
215 |
|
|
friday. [msoulier 9549] |
216 |
|
|
|
217 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
218 |
|
|
- [1.11.0-07] |
219 |
|
|
- Fixed a couple of typos preventing multilog from starting. [msoulier 9549] |
220 |
|
|
|
221 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
222 |
|
|
- [1.11.0-06] |
223 |
|
|
- Moved initscript to /etc/init.d/supervise/sshd. [msoulier 9549] |
224 |
|
|
|
225 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
226 |
|
|
- [1.11.0-05] |
227 |
|
|
- Fixed a couple of specfile typos. [msoulier 9549] |
228 |
|
|
|
229 |
|
|
* Fri Dec 5 2003 Michael Soulier <msoulier@e-smith.com> |
230 |
|
|
- [1.11.0-04] |
231 |
|
|
- Adding supervision of sshd. [msoulier 9549] |
232 |
|
|
- Updated createlinks to latest api. |
233 |
|
|
|
234 |
|
|
* Tue Sep 16 2003 Charlie Brady <charlieb@e-smith.com> |
235 |
|
|
- [1.11.0-03] |
236 |
|
|
- Remove deprecated RhostsAuthentication from sshd_config. [charlieb 10014] |
237 |
|
|
|
238 |
|
|
* Thu Aug 21 2003 Charlie Brady <charlieb@e-smith.com> |
239 |
|
|
- [1.11.0-02] |
240 |
|
|
- Replace sshd-conf-startup action with default db fragments. |
241 |
|
|
[charlieb 9553] |
242 |
|
|
|
243 |
|
|
* Thu Aug 21 2003 Charlie Brady <charlieb@e-smith.com> |
244 |
|
|
- [1.11.0-01] |
245 |
|
|
- Changing version to development stream number - 1.11.0 |
246 |
|
|
|
247 |
|
|
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
248 |
|
|
- [1.10.0-01] |
249 |
|
|
- Changing version to stable stream number - 1.10.0 |
250 |
|
|
|
251 |
|
|
* Mon Apr 21 2003 Mark Knox <markk@e-smith.com> |
252 |
|
|
- [1.9.0-10] |
253 |
|
|
- Enforce 0600 on sshd_config [markk 8407] |
254 |
|
|
|
255 |
|
|
* Tue Apr 15 2003 Gordon Rowell <gordonr@e-smith.com> |
256 |
|
|
- [1.9.0-09] |
257 |
|
|
- Add Compression and UsePrivilegeSeparation options [gordonr 8173] |
258 |
|
|
|
259 |
|
|
* Tue Apr 8 2003 Michael Soulier <msoulier@e-smith.com> |
260 |
|
|
- [1.9.0-08] |
261 |
|
|
- Backed-out 1.9.0-07. [msoulier 5782] |
262 |
|
|
|
263 |
|
|
* Tue Apr 8 2003 Michael Soulier <msoulier@e-smith.com> |
264 |
|
|
- [1.9.0-07] |
265 |
|
|
- Shut off tcp forwarding in the daemon. [msoulier 5782] |
266 |
|
|
|
267 |
|
|
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
268 |
|
|
- [1.9.0-06] |
269 |
|
|
- Actually reload ssh rather than restarting in sshd-reload [gordonr 7785] |
270 |
|
|
|
271 |
|
|
* Tue Mar 18 2003 Lijie Deng <lijied@e-smith.com> |
272 |
|
|
- [1.9.0-05] |
273 |
|
|
- Deleted ./root/.ssh/config/template-begin [lijied 3295] |
274 |
|
|
|
275 |
|
|
* Mon Mar 17 2003 Lijie Deng <lijied@e-smith.com> |
276 |
|
|
- [1.9.0-04] |
277 |
|
|
- Deleted template-begin/end file [lijied 3295] |
278 |
|
|
|
279 |
|
|
* Tue Mar 4 2003 Charlie Brady <charlieb@e-smith.com> |
280 |
|
|
- [1.9.0-03] |
281 |
|
|
- s/HostsAllowSpec/hosts_allow_spec/ [charlieb 5650] |
282 |
|
|
|
283 |
|
|
* Fri Feb 28 2003 Charlie Brady <charlieb@e-smith.com> |
284 |
|
|
- [1.9.0-02] |
285 |
|
|
- Re-do hosts.allow template to use esmith::ConfigDB::HostsAllowSpec. |
286 |
|
|
Add dependency on up-to-date e-smith-lib. [charlieb 5650] |
287 |
|
|
|
288 |
|
|
* Fri Feb 28 2003 Charlie Brady <charlieb@e-smith.com> |
289 |
|
|
- [1.9.0-01] |
290 |
|
|
- Roll development stream to 1.9.0 |
291 |
|
|
|
292 |
|
|
* Mon Feb 24 2003 Charlie Brady <charlieb@e-smith.com> |
293 |
|
|
- [1.8.0-02] |
294 |
|
|
- Allow MaxStartups to be tunable from the config DB [charlieb 7362] |
295 |
|
|
|
296 |
|
|
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
297 |
|
|
- [1.8.0-01] |
298 |
|
|
- Rolling stable version number to 1.8.0 |
299 |
|
|
|
300 |
|
|
* Wed Oct 2 2002 Mark Knox <markk@e-smith.com> |
301 |
|
|
- [1.7.3-04] |
302 |
|
|
- Remove stray braces in hosts.allow template [markk 3786] |
303 |
|
|
|
304 |
|
|
* Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com> |
305 |
|
|
- [1.7.3-03] |
306 |
|
|
- Fix hosts.allow template problem introduced by last change [charlieb 3786] |
307 |
|
|
|
308 |
|
|
* Tue Sep 10 2002 Mark Knox <markk@e-smith.com> |
309 |
|
|
- [1.7.3-02] |
310 |
|
|
- Remove deprecated split on pipe [markk 3786] |
311 |
|
|
|
312 |
|
|
* Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com> |
313 |
|
|
- [1.7.3-01] |
314 |
|
|
- Add rc7.d symlink and don't set deprecated InitscriptsOrder property |
315 |
|
|
[charlieb 4458] |
316 |
|
|
- Change use of allow_tcp_in() function to allow dynamic reconfig. |
317 |
|
|
[charlieb 4501] |
318 |
|
|
|
319 |
|
|
* Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com> |
320 |
|
|
- [1.7.2-01] |
321 |
|
|
- Change masq script fragment to use allow_tcp_in() function. [charlieb 4499] |
322 |
|
|
|
323 |
|
|
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
324 |
|
|
- [1.7.1-01] |
325 |
|
|
- Change masq script fragment to use iptables. [charlieb 1268] |
326 |
|
|
|
327 |
|
|
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
328 |
|
|
- [1.7.0-01] |
329 |
|
|
- Changing version to maintained stream number to 1.7.0 |
330 |
|
|
|
331 |
|
|
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
332 |
|
|
- [1.6.0-01] |
333 |
|
|
- Changing version to maintained stream number to 1.6.0 |
334 |
|
|
|
335 |
|
|
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
336 |
|
|
- [1.5.6-01] |
337 |
|
|
- RPM rebuild forced by cvsroot2rpm |
338 |
|
|
|
339 |
|
|
* Mon May 13 2002 Kirrily Robert <skud@e-smith.com> |
340 |
|
|
- [1.5.5-01] |
341 |
|
|
- Added buildtests [skud 2932] |
342 |
|
|
|
343 |
|
|
* Fri Apr 26 2002 Tony Clayton <apc@e-smith.com> |
344 |
|
|
- [1.5.4-01] |
345 |
|
|
- add -t option to ssh-keygen call in sshd-conf [tonyc] |
346 |
|
|
|
347 |
|
|
* Fri Mar 6 2002 Michael G Schwern <schwern@e-smith.com> |
348 |
|
|
- [1.5.3-01] |
349 |
|
|
- Tested & documented sshd-reload action [schwern 2932] |
350 |
|
|
- Tested & documented sshd-conf and sshd-conf-startup actions [schwern 2932] |
351 |
|
|
- Changed all actions to use esmith::ConfigDB [schwern 2932] |
352 |
|
|
- Fixed dependencies. [schwern] |
353 |
|
|
|
354 |
|
|
* Thu Feb 14 2002 Kirrily Robert <skud@e-smith.com> |
355 |
|
|
- [1.5.2-01] |
356 |
|
|
- CVS testing |
357 |
|
|
|
358 |
|
|
* Thu Feb 14 2002 Kirrily Robert <skud@e-smith.com> |
359 |
|
|
- [1.5.0-01] |
360 |
|
|
- rollRPM: Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-06. |
361 |
|
|
|
362 |
|
|
* Mon Nov 05 2001 Charlie Brady <charlieb@e-smith.com> |
363 |
|
|
- [1.4.0-06] |
364 |
|
|
- Remove obsoleted "CheckMail no" fragment from sshd_config template. |
365 |
|
|
|
366 |
|
|
* Tue Aug 28 2001 Gordon Rowell <gordonr@e-smith.com> |
367 |
|
|
- [1.4.0-05] |
368 |
|
|
- Removed links from deprecated post-restore event |
369 |
|
|
|
370 |
|
|
* Fri Aug 17 2001 gordonr |
371 |
|
|
- [1.4.0-04] |
372 |
|
|
- Autorebuild by rebuildRPM |
373 |
|
|
|
374 |
|
|
* Tue Aug 14 2001 Charlie Brady <charlieb@e-smith.com> |
375 |
|
|
- [1.4.0-03] |
376 |
|
|
- Change back to Protocol 1 until known_hosts2 and authorized_keys2 files are |
377 |
|
|
implemented on both sides. |
378 |
|
|
|
379 |
|
|
* Tue Aug 14 2001 Charlie Brady <charlieb@e-smith.com> |
380 |
|
|
- [1.4.0-02] |
381 |
|
|
- Add template fragements to generate /root/.ssh/config host |
382 |
|
|
config sections for any hostnames added to %e_smith_hosts by |
383 |
|
|
other fragements numbered between 00 and 19. |
384 |
|
|
- Delete useless template-end for /root/.ssh/config. |
385 |
|
|
|
386 |
|
|
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
387 |
|
|
- [1.4.0-01] |
388 |
|
|
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-10. |
389 |
|
|
|
390 |
|
|
* Wed Aug 8 2001 Gordon Rowell <gordonr@e-smith.com> |
391 |
|
|
- [1.3.0-10] |
392 |
|
|
- Use restart instead of reload as some initscripts don't have the latter |
393 |
|
|
|
394 |
|
|
* Sun Jul 8 2001 Gordon Rowell <gordonr@e-smith.com> |
395 |
|
|
- [1.3.0-09] |
396 |
|
|
- Check "access" property of sshd service |
397 |
|
|
|
398 |
|
|
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
399 |
|
|
- [1.3.0-08] |
400 |
|
|
- Changed license to GPL |
401 |
|
|
|
402 |
|
|
* Thu Jul 05 2001 Gordon Rowell <gordonr@e-smith.com> |
403 |
|
|
- [1.3.0-07] |
404 |
|
|
- Explicitly disable ChallengeResponseAuthentication and |
405 |
|
|
KbdInteractiveAuthentication |
406 |
|
|
|
407 |
|
|
* Wed May 30 2001 Gordon Rowell <gordonr@e-smith.com> |
408 |
|
|
- [1.3.0-06] |
409 |
|
|
- Added HostKey line for /etc/ssh/ssh_host_rsa_key for SSH version 2 |
410 |
|
|
|
411 |
|
|
* Tue May 29 2001 Tony Clayton <tonyc@e-smith.com> |
412 |
|
|
- [1.3.0-05] |
413 |
|
|
- fixed actions that had tied %conf when calling serviceControl (2 actions) |
414 |
|
|
|
415 |
|
|
* Mon May 21 2001 Gordon Rowell <gordonr@e-smith.com> |
416 |
|
|
- [1.3.0-04] |
417 |
|
|
- Added links to /usr/libexec and /usr/local/libexec to enable |
418 |
|
|
sftp for more client systems under protocol V1 |
419 |
|
|
|
420 |
|
|
* Mon May 21 2001 Gordon Rowell <gordonr@e-smith.com> |
421 |
|
|
- [1.3.0-03] |
422 |
|
|
- Revised after comments from Charlie |
423 |
|
|
- Added documentation for MaxStartups and cleaner perl idiom for |
424 |
|
|
SubsystemSftp test |
425 |
|
|
|
426 |
|
|
* Mon May 21 2001 Gordon Rowell <gordonr@e-smith.com> |
427 |
|
|
- [1.3.0-02] |
428 |
|
|
- Enabled sftp subsystem by default with correct path to sftp-server |
429 |
|
|
- Added MaxStartups configuration |
430 |
|
|
|
431 |
|
|
* Mon May 21 2001 Gordon Rowell <gordonr@e-smith.com> |
432 |
|
|
- [1.3.0-01] |
433 |
|
|
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-06. |
434 |
|
|
|
435 |
|
|
* Wed May 09 2001 Tony Clayton <tonyc@e-smith.com> |
436 |
|
|
- [1.2.0-06] |
437 |
|
|
- Forgot to add last patch to %setup. Adding it now. |
438 |
|
|
|
439 |
|
|
* Wed May 09 2001 Tony Clayton <tonyc@e-smith.com> |
440 |
|
|
- [1.2.0-05] |
441 |
|
|
- Add /root/.ssh/config template-{begin,end} fragments |
442 |
|
|
- Expand config template from sshd-conf |
443 |
|
|
|
444 |
|
|
* Thu Apr 27 2001 Gordon Rowell <gordonr@e-smith.com> |
445 |
|
|
- [1.2.0-04] |
446 |
|
|
- Rolled version for GPG signing - no change |
447 |
|
|
|
448 |
|
|
* Mon Apr 9 2001 Gordon Rowell <gordonr@e-smith.com> |
449 |
|
|
- [1.2.0-03] |
450 |
|
|
- Extra HostKey line for openssh-2.5 |
451 |
|
|
|
452 |
|
|
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
453 |
|
|
- [1.2.0-02] |
454 |
|
|
- Rolling release number for GPG signing. |
455 |
|
|
|
456 |
|
|
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
457 |
|
|
- [1.2.0-01] |
458 |
|
|
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-23. |
459 |
|
|
|
460 |
|
|
* Thu Jan 11 2001 Gordon Rowell <gordonr@e-smith.com> |
461 |
|
|
- [1.1.0-23] |
462 |
|
|
- use serviceControl() |
463 |
|
|
|
464 |
|
|
* Thu Jan 11 2001 Gordon Rowell <gordonr@e-smith.com> |
465 |
|
|
- [1.1.0-22] |
466 |
|
|
- reload sshd (and possibly kill it off) in post-restore |
467 |
|
|
|
468 |
|
|
* Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com> |
469 |
|
|
- [1.1.0-21] |
470 |
|
|
- fully qualify path to killall in sshd-reload |
471 |
|
|
|
472 |
|
|
* Wed Jan 10 2001 Gordon Rowell <gordonr@e-smith.com> |
473 |
|
|
- [1.1.0-20] |
474 |
|
|
- Kill existing ssh sessions if we have just stopped the service |
475 |
|
|
|
476 |
|
|
* Wed Jan 10 2001 Gordon Rowell <gordonr@e-smith.com> |
477 |
|
|
- [1.1.0-19] |
478 |
|
|
- Use sshd reload instead of killall -HUP - that closes current connections |
479 |
|
|
|
480 |
|
|
* Tue Jan 9 2001 Charlie Brady <charlieb@e-smith.com> |
481 |
|
|
- [1.1.0-18] |
482 |
|
|
- Make new bootstrap-console-save event - the Lite version |
483 |
|
|
- Make sshd-reload shut down sshd if it has been disabled |
484 |
|
|
- Don't redo conf-sshd-startup with every console-save |
485 |
|
|
|
486 |
|
|
* Fri Jan 5 2001 Peter Samuel <peters@e-smith.com> |
487 |
|
|
- [1.1.0-17] |
488 |
|
|
- Added missing use esmith::util to sshd-reload |
489 |
|
|
|
490 |
|
|
* Thu Jan 04 2001 Gordon Rowell <gordonr@e-smith.com> |
491 |
|
|
- [1.1.0-16] |
492 |
|
|
- Added missing use esmith::db |
493 |
|
|
|
494 |
|
|
* Wed Jan 03 2001 Gordon Rowell <gordonr@e-smith.com> |
495 |
|
|
- [1.1.0-15] |
496 |
|
|
- sshd-reload now starts sshd if not running and service enabled |
497 |
|
|
|
498 |
|
|
* Thu Dec 28 2000 Gordon Rowell <gordonr@e-smith.com> |
499 |
|
|
- [1.1.0-14] |
500 |
|
|
- Process sshd_config template in remoteaccess-update |
501 |
|
|
|
502 |
|
|
* Thu Dec 28 2000 Gordon Rowell <gordonr@e-smith.com> |
503 |
|
|
- [1.1.0-13] |
504 |
|
|
- Provide defaults for PermitRootLogin and PasswordAuthentication properties |
505 |
|
|
|
506 |
|
|
* Thu Dec 21 2000 Charlie Brady <charlieb@e-smith.com> |
507 |
|
|
- [1.1.0-12] |
508 |
|
|
- Don't restart sshd after config change, just reload config. |
509 |
|
|
|
510 |
|
|
* Sat Dec 16 2000 Charlie Brady <charlieb@e-smith.com> |
511 |
|
|
- [1.1.0-11] |
512 |
|
|
- Fix typo |
513 |
|
|
|
514 |
|
|
* Fri Dec 15 2000 Charlie Brady <charlieb@e-smith.com> |
515 |
|
|
- [1.1.0-10] |
516 |
|
|
- Move AllowSSH packet filter template fragment here. |
517 |
|
|
|
518 |
|
|
* Wed Dec 13 2000 Gordon Rowell <gordonr@e-smith.com> |
519 |
|
|
- [1.1.0-9] |
520 |
|
|
- Disable ssh by default |
521 |
|
|
|
522 |
|
|
* Wed Dec 13 2000 Gordon Rowell <gordonr@e-smith.com> |
523 |
|
|
- [1.1.0-8] |
524 |
|
|
- Fixed typo in hosts.allow fragment for private access |
525 |
|
|
|
526 |
|
|
* Wed Dec 13 2000 Gordon Rowell <gordonr@e-smith.com> |
527 |
|
|
- [1.1.0-7] |
528 |
|
|
- Added sshd-restart to remoteaccess-update event (and others) |
529 |
|
|
- Renamed scripts to sshd-{conf,conf-startup,restart} |
530 |
|
|
- Enable private ssh access by default |
531 |
|
|
|
532 |
|
|
* Tue Dec 12 2000 Adrian Chung <adrianc@e-smith.com> |
533 |
|
|
- [1.1.0-6] |
534 |
|
|
- fixed location of ssh_host_key in 20HostKey fragment |
535 |
|
|
|
536 |
|
|
* Wed Dec 06 2000 Peter Samuel <peters@e-smith.com |
537 |
|
|
- [1.1.0-5] |
538 |
|
|
- Fixed sshd_config templates for PermitRootLogin and |
539 |
|
|
PasswordAuthentication |
540 |
|
|
|
541 |
|
|
* Wed Dec 06 2000 Gordon Rowell <gordonr@e-smith.com> |
542 |
|
|
- [1.1.0-4] |
543 |
|
|
- conf-ssh-startup: PasswordAuthentication=yes and RootLogin=no |
544 |
|
|
- Fixed ordering of Port/Listen fragments |
545 |
|
|
|
546 |
|
|
* Tue Dec 05 2000 Gordon Rowell <gordonr@e-smith.com> |
547 |
|
|
- [1.1.0-3] |
548 |
|
|
- Changed sshd_config into a directory template |
549 |
|
|
- Used services notation to enable/disable |
550 |
|
|
- sshd_config: PasswordAuthentication and RootLogin - both disabled by default |
551 |
|
|
|
552 |
|
|
* Tue Dec 05 2000 Gordon Rowell <gordonr@e-smith.com> |
553 |
|
|
- [1.1.0-1] |
554 |
|
|
- Rolled version to 1.1.0. Includes patches up to 0.6-3 |
555 |
|
|
|
556 |
|
|
* Tue Oct 31 2000 Charlie Brady <charlieb@e-smith.com> |
557 |
|
|
- Ensure that conf-ssh-startup is run during post-upgrade event. |
558 |
|
|
- Fix missing " in hosts.allow template. |
559 |
|
|
|
560 |
|
|
* Tue Oct 31 2000 Charlie Brady <charlieb@e-smith.com> |
561 |
|
|
- Merge services database back into configuration database. |
562 |
|
|
|
563 |
|
|
* Thu Oct 26 2000 Peter Samuel <peters@e-smith.com> |
564 |
|
|
- Rolled version to 0.6. Includes patches up to 0.5-17 |
565 |
|
|
|
566 |
|
|
* Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com> |
567 |
|
|
- Fixed a typo in conf-ssh-startup. |
568 |
|
|
|
569 |
|
|
* Fri Oct 06 2000 Adrian Chung <adrian.chung@e-smith.com> |
570 |
|
|
- Move %post code to conf-ssh-startup instead |
571 |
|
|
- Default to enabled for sshd in services database if not |
572 |
|
|
already set. |
573 |
|
|
|
574 |
|
|
* Thu Oct 05 2000 Adrian Chung <adrian.chung@e-smith.com> |
575 |
|
|
- Change %post to setdefault ... enabled. |
576 |
|
|
|
577 |
|
|
* Wed Oct 4 2000 Charlie Brady <charlieb@e-smith.com> |
578 |
|
|
- Use db_get_type to get service status - to be safe against |
579 |
|
|
defined service properties |
580 |
|
|
- Do not init services database during post-install event - |
581 |
|
|
it is done during %post action. |
582 |
|
|
|
583 |
|
|
* Wed Oct 4 2000 Charlie Brady <charlieb@e-smith.com> |
584 |
|
|
- Only initialise services database during post-install action. |
585 |
|
|
- Only expand hosts.allow/sshd if sshd service is enabled. |
586 |
|
|
|
587 |
|
|
* Wed Oct 4 2000 Charlie Brady <charlieb@e-smith.com> |
588 |
|
|
- Fix typo |
589 |
|
|
|
590 |
|
|
* Tue Oct 3 2000 Charlie Brady <charlieb@e-smith.com> |
591 |
|
|
- Update services database when enabling startup |
592 |
|
|
|
593 |
|
|
* Mon Oct 2 2000 Gordon Rowell <gordonr@e-smith.com> |
594 |
|
|
- rewrote spec file to use e-smith-devtools |
595 |
|
|
|
596 |
|
|
* Mon Sep 25 2000 Paul Nebsit <pkn@e-smith.com> |
597 |
|
|
- updated contact and URL info |
598 |
|
|
|
599 |
|
|
* Thu Sep 14 2000 Gordon Rowell <gordonr@e-smith.com> |
600 |
|
|
- Removed obsolete rc7.d symlink from createlinks |
601 |
|
|
|
602 |
|
|
* Thu Sep 14 2000 Gordon Rowell <gordonr@e-smith.com> |
603 |
|
|
- Rebuilt using latest e-smith-devtools - hosts.allow template fragment missing |
604 |
|
|
|
605 |
|
|
* Tue Aug 30 2000 Paul Nesbit <pkn@e-smith.com> |
606 |
|
|
- added 'use e-smith::util' line to conf-ssh-startup |
607 |
|
|
|
608 |
|
|
* Thu Aug 24 2000 Gordon Rowell <gordonr@e-smith.com> |
609 |
|
|
- Rewrote conf-ssh-startup to use serviceControl() |
610 |
|
|
|
611 |
|
|
* Sun Jul 2 2000 Charlie Brady <charlieb@e-smith.net> |
612 |
|
|
- Make S85sshd symlink absolute so that RPM verifies |
613 |
|
|
|
614 |
|
|
* Sat Jun 17 2000 Charlie Brady <charlieb@e-smith.net> |
615 |
|
|
- Rewrite createlinks in perl |
616 |
|
|
- Add sshd template for /etc/hosts.allow |
617 |
|
|
- Fix ssh-keygen options code |
618 |
|
|
|
619 |
|
|
* Mon Jun 12 2000 Charlie Brady <charlieb@e-smith.net> |
620 |
|
|
- Remove /etc/rc.d/rc7.d symlink before (re-)creating it. Avoids logfile mess. |
621 |
|
|
- Change backgroundCommand call to use array instead of string - avoid shell |
622 |
|
|
parsing. |
623 |
|
|
|
624 |
|
|
* Thu May 11 2000 Charlie Brady <charlieb@e-smith.net> |
625 |
|
|
- Change rc?.d directory from 3 to 7. |
626 |
|
|
|
627 |
|
|
%description |
628 |
|
|
e-smith server enhancement to configure and enable openssh |
629 |
|
|
|
630 |
|
|
%prep |
631 |
|
|
%setup |
632 |
jpp |
1.2 |
%patch0 -p1 |
633 |
jpp |
1.3 |
%patch1 -p1 |
634 |
jpp |
1.4 |
%patch2 -p1 |
635 |
jpp |
1.5 |
%patch3 -p1 |
636 |
|
|
rm -rf root/var/service root/service |
637 |
stephdl |
1.1 |
|
638 |
|
|
%build |
639 |
|
|
perl createlinks |
640 |
|
|
# build the test suite from embedded tests |
641 |
|
|
/sbin/e-smith/buildtests e-smith-openssh |
642 |
|
|
|
643 |
|
|
%install |
644 |
|
|
rm -rf $RPM_BUILD_ROOT |
645 |
|
|
( cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT ) |
646 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
647 |
|
|
|
648 |
|
|
/sbin/e-smith/genfilelist \ |
649 |
jpp |
1.5 |
--file '/sbin/e-smith/systemd/sshd-prepare' 'attr(0554,root,root)' \ |
650 |
stephdl |
1.1 |
--dir '/var/log/sshd' 'attr(2750,root,nofiles)' \ |
651 |
|
|
--dir '/var/empty/sshd' 'attr(0711,root,root)' \ |
652 |
|
|
$RPM_BUILD_ROOT \ |
653 |
|
|
> %{name}-%{version}-%{release}-filelist |
654 |
|
|
|
655 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
656 |
|
|
|
657 |
|
|
%clean |
658 |
|
|
rm -rf $RPM_BUILD_ROOT |
659 |
|
|
|
660 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
661 |
|
|
%defattr(-,root,root) |
662 |
jpp |
1.6 |
|
663 |
|
|
%pre |
664 |
|
|
if [ $1 -gt 1 ] ; then |
665 |
|
|
if [ -e /var/service/sshd/run ] ; then |
666 |
|
|
/usr/bin/sv d sshd |
667 |
|
|
/usr/bin/sv d sshd/log |
668 |
|
|
fi |
669 |
|
|
fi |