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