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