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