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