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