1 |
# $Id: e-smith-proftpd.spec,v 1.4 2016/08/03 05:08:58 unnilennium Exp $ |
2 |
|
3 |
Summary: e-smith specific proftpd configuration files and templates |
4 |
%define name e-smith-proftpd |
5 |
Name: %{name} |
6 |
%define version 2.6.0 |
7 |
%define release 5 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-proftpd-2.6.0-TLS.patch |
14 |
Patch1: e-smith-proftpd-2.6.0-bz11106_11150_systemd_update_event.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
BuildRequires: e-smith-devtools |
18 |
Requires: e-smith-base >= 4.15.0-05, proftpd |
19 |
Requires: e-smith-lib >= 1.15.1-33 |
20 |
Requires: iptables |
21 |
AutoReqProv: no |
22 |
|
23 |
%changelog |
24 |
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
25 |
- Move ftp service to systemd [SME: 11106] |
26 |
- Create e-smith-proftpd-update event [SME: 11150] |
27 |
|
28 |
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
29 |
- fix typos [SME: 6804] |
30 |
- set default as required |
31 |
- NB: client must be set as active connection, not passive |
32 |
|
33 |
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
34 |
- updated patch for certificate chain |
35 |
- Thanks to Daniel Berteaud |
36 |
|
37 |
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
38 |
- Adding TLS support to proftp configuration [SME: 6804] |
39 |
- default is enabled but not required, only TLSv1.1 and v1.2 |
40 |
|
41 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
42 |
- Initial release to sme10 |
43 |
|
44 |
* Fri Jun 7 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
45 |
- Also remove the empty template-begin file in pam.d/proftpd templates [SME: 7660] |
46 |
|
47 |
* Fri Jun 7 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme |
48 |
- Remove unused pam templates [SME: 7660] |
49 |
|
50 |
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
51 |
- Roll new stream for sme9 |
52 |
|
53 |
* Fri Feb 8 2013 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
54 |
- Ensure Deny from all is on its own line in 15LimitLOGIN [SME: 7327] |
55 |
|
56 |
* Wed Jan 23 2013 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme |
57 |
- Workaround a deficiency in the proftpd package where it doesn't |
58 |
handle long lines correctly in its configuration file. |
59 |
Fix submitted by Charlie Brady [SME: 6949] |
60 |
|
61 |
* Tue Jan 22 2013 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
62 |
- Remove previous change [SME: 7129] |
63 |
|
64 |
* Wed Dec 19 2012 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme |
65 |
- Add VRoot engine to avoid pam log error [SME: 7129] |
66 |
|
67 |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
68 |
- Add PersistentPasswd directive to force proftpd to use pam [SME: 6219] |
69 |
|
70 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
71 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
72 |
|
73 |
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-11 |
74 |
- ShowSymlinks off [SME: 993] |
75 |
|
76 |
* Wed Oct 31 2007 Gavin Weight <gweight@gmail.com> 1.12.0-10 |
77 |
- Rename DisplayFirstChdir to DisplayChdir. [SME: 3479] |
78 |
|
79 |
* Tue Jun 26 2007 Gavin Weight <gweight@gmail.com> 1.12.0-9 |
80 |
- Create pam.d directory and move ftp/proftpd templates into pam.d. |
81 |
[SME: 2762] |
82 |
|
83 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
84 |
- Clean up spec so package can be built by koji/plague |
85 |
|
86 |
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.12.0-8 |
87 |
- Change perms for ftpusers file. [SME: 2841] |
88 |
|
89 |
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.12.0-7 |
90 |
- Rename log directory from proftpd to ftp [SME: 2706] |
91 |
|
92 |
* Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.12.0-6 |
93 |
- Add global override for chroot path. [SME: 590] |
94 |
|
95 |
* Wed Jan 03 2007 Shad L. Lords <slords@mail.com> 1.12.0-5 |
96 |
- Add fixed chroot patch back in. [SME: 590] |
97 |
|
98 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
99 |
- Update to new release naming. No functional changes. |
100 |
- Make Packager generic |
101 |
|
102 |
* Thu Sep 21 2006 Gavin Weight <gweight@gmail.com> 1.12.0-03 |
103 |
- Expand /etc/ftpusers if user is locked/password reset. [SME: 1921] |
104 |
|
105 |
* Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-02 |
106 |
- Force permissions on /var/log/proftpd in log/run script [SME: 1267] |
107 |
|
108 |
* Thu Mar 16 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-01 |
109 |
- Roll stable stream version. [SME: 1016] |
110 |
|
111 |
* Tue Feb 28 2006 Charlie Brady <charlie_brady@mitel.com> 1.11.0-29 |
112 |
- Back out the chroot patch for now. [SME: 590] |
113 |
|
114 |
* Fri Jan 27 2006 Shad L. Lords <slords@mail.com> 1.11.0-28 |
115 |
- Disable anonymous ibays if globally disabled. |
116 |
|
117 |
* Fri Jan 27 2006 Shad L. Lords <slords@mail.com> 1.11.0-27 |
118 |
- Add chroot for users [SME: 590] |
119 |
- Add ability to disable anonymous access [SME: 591] |
120 |
|
121 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-26 |
122 |
- Bump release number only |
123 |
|
124 |
* Wed Oct 12 2005 Charlie Brady <charlieb@e-smith.com> |
125 |
- [1.11.0-25] |
126 |
- Filter out comments in peers files, to avoid log noise from |
127 |
tcpsvd. Fix name of peers/local templates.metadata file. |
128 |
[SF: 1324719] |
129 |
|
130 |
* Wed Jul 27 2005 Shad Lords <slords@mail.com> |
131 |
- [1.11.0-24] |
132 |
- Move masq fragement from template to db [SF: 1241416] |
133 |
|
134 |
* Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com> |
135 |
- [1.11.0-23] |
136 |
- Re-expand peers/{0,local} in remoteaccess-update, as permissions |
137 |
may have changed. [SF: 1220510] |
138 |
|
139 |
* Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com> |
140 |
- [1.11.0-22] |
141 |
- Create empty template-begin template fragments for tcpsvd |
142 |
ACL files. |
143 |
|
144 |
* Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com> |
145 |
- [1.11.0-21] |
146 |
- Don't use sigusr1 in bootstrap-console-save, as the service is not |
147 |
up, and sigusr1 will be ignored. Instead, call ./control/1 from run |
148 |
script. |
149 |
|
150 |
* Wed Mar 23 2005 Charlie Brady <charlieb@e-smith.com> |
151 |
- [1.11.0-20] |
152 |
- Use sigusr1 in remoteaccess-update. This will generate the network ACL |
153 |
symlinks. 'adjust-services' implicitly starts any service which |
154 |
should be running. |
155 |
|
156 |
* Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com> |
157 |
- [1.11.0-19] |
158 |
- Use tcpsvd in place of tcpserver. Manage network access lists |
159 |
using new esmith::tcpsvd library. Update e-smith-lib depenency. |
160 |
- Add symlink /var/service/ftp -> proftpd. |
161 |
- Add zero length template-begin files to peers/{0,local}, to avoid |
162 |
log noise from comment lines. |
163 |
|
164 |
* Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com> |
165 |
- [1.11.0-18] |
166 |
- Add missing templates for peers/{0,local}. |
167 |
|
168 |
* Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com> |
169 |
- [1.11.0-17] |
170 |
- Optimise template expansions versus events - only expand files |
171 |
which may have changed. |
172 |
|
173 |
* Tue Mar 15 2005 Charlie Brady <charlieb@e-smith.com> |
174 |
- [1.11.0-16] |
175 |
- Fix service name in adjust-services symlink. [MN00065576] |
176 |
|
177 |
* Sun Mar 13 2005 Charlie Brady <charlieb@e-smith.com> |
178 |
- [1.11.0-15] |
179 |
- Replace proftp-startstop action with call to 'adjust-services'. |
180 |
Update e-smith-lib version dependency. [MN00065576] |
181 |
- Use generic_template_expand action in place of proftpd-conf. |
182 |
[MN00064130] |
183 |
- Re-add missing restart patch to config. |
184 |
|
185 |
* Thu Mar 10 2005 Charlie Brady <charlieb@e-smith.com> |
186 |
- [1.11.0-14] |
187 |
- Allow restarts of retreive and store. Patch from Shad. [MN00073802] |
188 |
- Avoid duplicate Primary section in config. Patch from Shad. [MN00073804] |
189 |
|
190 |
* Wed Feb 9 2005 Charlie Brady <charlieb@e-smith.com> |
191 |
- [1.11.0-13] |
192 |
- Remove migrate fragment for very old FTPServerMode property. [MN00065931] |
193 |
- Clean BuildRequires. [charlieb MN00043055] |
194 |
|
195 |
* Fri Sep 3 2004 Michael Soulier <msoulier@e-smith.com> |
196 |
- [1.11.0-12] |
197 |
- Backout of user-create/delete addition. Wrong way to go. |
198 |
[msoulier MN00035806] |
199 |
|
200 |
* Fri Sep 3 2004 Michael Soulier <msoulier@e-smith.com> |
201 |
- [1.11.0-11] |
202 |
- Added proftpd-conf and startstop to user-create/delete. |
203 |
[msoulier MN00035806] |
204 |
|
205 |
* Wed Aug 4 2004 Michael Soulier <msoulier@e-smith.com> |
206 |
- [1.11.0-10] |
207 |
- Updated startstop to use esmith::util::serviceControl. [msoulier MN00031530] |
208 |
|
209 |
* Mon Sep 22 2003 Michael Soulier <msoulier@e-smith.com> |
210 |
- [1.11.0-09] |
211 |
- Fixed network spec format. CIDR format expected. [msoulier 10069] |
212 |
|
213 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
214 |
- [1.11.0-08] |
215 |
- Fix c&p error in tcprules template fragment. [charlieb 9547] |
216 |
|
217 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
218 |
- [1.11.0-07] |
219 |
- Add requires for correct version of e-smith-base. [charlieb 9547] |
220 |
|
221 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
222 |
- [1.11.0-06] |
223 |
- Remove hosts.allow and xinetd.conf template fragments. |
224 |
[charlieb 9547] |
225 |
|
226 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
227 |
- [1.11.0-05] |
228 |
- Fix a couple of run time errors. [charlieb 9547] |
229 |
|
230 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
231 |
- [1.11.0-04] |
232 |
- Service directory and rc7.d symlinks must be called ftp, since that is |
233 |
the service record name. Use /etc/rc.d/init.d/supervise directory, to |
234 |
avoid potential clash with stock init script. [charlieb 9547,9930] |
235 |
|
236 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
237 |
- [1.11.0-03] |
238 |
- Use new createlinks library to reduce code. [charlieb 9809] |
239 |
|
240 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
241 |
- [1.11.0-02] |
242 |
- Run proftpd under supervise and tcpserver. [charlieb 9547] |
243 |
|
244 |
* Fri Sep 5 2003 Charlie Brady <charlieb@e-smith.com> |
245 |
- [1.11.0-01] |
246 |
- Changing version to development stream number - 1.11.0 |
247 |
|
248 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
249 |
- [1.10.0-01] |
250 |
- Changing version to stable stream number - 1.10.0 |
251 |
|
252 |
* Tue Apr 29 2003 Gordon Rowell <gordonr@e-smith.com> |
253 |
- [1.9.0-14] |
254 |
- Modify xinetd.conf/30ftp to properly handle enabled/disabled/missing cases [gordonr 8609] |
255 |
|
256 |
* Mon Apr 21 2003 Mark Knox <markk@e-smith.com> |
257 |
- [1.9.0-13] |
258 |
- Force 0640 on proftpd.conf [markk 8408] |
259 |
|
260 |
* Tue Apr 8 2003 Charlie Brady <charlieb@e-smith.com> |
261 |
- [1.9.0-12] |
262 |
- Fix typo in path for anonymous login. [charlieb 5652] |
263 |
- Remove selective binding to interfaces for now - it requires |
264 |
a full xinetd restart, which we don't do in remoteaccess-update. |
265 |
[charlieb 951] |
266 |
- Change ScoreboardPath to ScoreboardFile - the former is deprecated |
267 |
(with extreme prejudice) in current proftpd. [charlieb 5411] |
268 |
|
269 |
* Tue Apr 8 2003 Charlie Brady <charlieb@e-smith.com> |
270 |
- [1.9.0-11] |
271 |
- Add ScoreboardPath directive to config file templates [charlieb 5411] |
272 |
|
273 |
* Tue Mar 18 2003 Charlie Brady <charlieb@e-smith.com> |
274 |
- [1.9.0-10] |
275 |
- Add config migration fragment to migrate old ftp access properties |
276 |
to new. [charlieb 7683] |
277 |
- Change Copyright header to License. [charlieb] |
278 |
|
279 |
* Thu Mar 13 2003 Charlie Brady <charlieb@e-smith.com> |
280 |
- [1.9.0-09] |
281 |
- Use LoginAccess property to control ftp login access - this replaces the |
282 |
"acccess" semantics of 5.5 and earlier. [charlieb 7466] |
283 |
- Add back the special case for Primary i-bay, as it's needed for anonymous |
284 |
ftp. [charlieb 5652] |
285 |
|
286 |
* Fri Mar 7 2003 Charlie Brady <charlieb@e-smith.com> |
287 |
- [1.9.0-08] |
288 |
- esmith::utils::processTemplate => esmith::templates::processTemplate. |
289 |
[charlieb 7466] |
290 |
|
291 |
* Thu Mar 6 2003 Charlie Brady <charlieb@e-smith.com> |
292 |
- [1.9.0-07] |
293 |
- Escape braces in logrotate.d template fragment [charlieb 6438] |
294 |
|
295 |
* Thu Mar 6 2003 Charlie Brady <charlieb@e-smith.com> |
296 |
- [1.9.0-06] |
297 |
- Fix missed accessLimits => access change in ftp masq fragment [charlieb 7466] |
298 |
|
299 |
* Thu Mar 6 2003 Charlie Brady <charlieb@e-smith.com> |
300 |
- [1.9.0-05] |
301 |
- Fix migrate fragment problem. [charlieb 1507] |
302 |
- Remove legacy code from proftpd config templates, and simplify. [charlieb 7466] |
303 |
|
304 |
* Mon Mar 3 2003 Charlie Brady <charlieb@e-smith.com> |
305 |
- [1.9.0-04] |
306 |
- Template /etc/logrotate.d/proftpd and remove postrotate sigHUP. [charlieb 6438] |
307 |
- Add default config db fragments to set type/access/status [charlieb 1507] |
308 |
- Replace migrate script in post-upgrade event with template fragment in |
309 |
db/configuration/migrate directory. [charlieb 1507] |
310 |
- Use "access" rather than "accessLimits" to control access to ftp from |
311 |
outside LAN. [charlieb 7466] |
312 |
- Bind to local interface only if access is private. [charlieb 951] |
313 |
|
314 |
* Fri Feb 28 2003 Charlie Brady <charlieb@e-smith.com> |
315 |
- [1.9.0-03] |
316 |
- Re-do hosts.allow template to use esmith::ConfigDB::hosts_allow_spec. |
317 |
Add dependency on up-to-date e-smith-lib. |
318 |
TODO: fix accessLimits v access issue. [charlieb 5650] |
319 |
|
320 |
* Wed Jan 29 2003 Charlie Brady <charlieb@e-smith.com> |
321 |
- [1.9.0-02] |
322 |
- Remove special cases for primary in proftpd.conf - primary |
323 |
is now a pre-defined i-bay. [charlieb 5652] |
324 |
|
325 |
* Wed Jan 29 2003 Charlie Brady <charlieb@e-smith.com> |
326 |
- [1.9.0-01] |
327 |
- Rolling development stream to 1.9.0 |
328 |
|
329 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
330 |
- [1.8.0-01] |
331 |
- Roll to maintained version number to 1.8.0 |
332 |
|
333 |
* Wed Oct 2 2002 Mark Knox <markk@e-smith.com> |
334 |
- [1.7.3-05] |
335 |
- Removed stray braces in get_all_by_prop [markk 3786] |
336 |
|
337 |
* Mon Sep 23 2002 Mark Knox <markk@e-smith.com> |
338 |
- [1.7.3-04] |
339 |
- Fix proftpd.conf template breakage [markk 3786] |
340 |
|
341 |
* Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com> |
342 |
- [1.7.3-03] |
343 |
- Fix hosts.allow template breakage [charlieb 3786] |
344 |
|
345 |
* Thu Sep 19 2002 Charlie Brady <charlieb@e-smith.com> |
346 |
- [1.7.3-02] |
347 |
- Fix i-bay section of proftpd.conf [charlieb 4950] |
348 |
|
349 |
* Thu Sep 12 2002 Charlie Brady <charlieb@e-smith.com> |
350 |
- [1.7.3-01] |
351 |
- Preparing for rebuild as-source, to get rid of some patch detritus - see |
352 |
bug 4825. [charlieb 4793] |
353 |
|
354 |
* Thu Sep 12 2002 Charlie Brady <charlieb@e-smith.com> |
355 |
- [1.7.2-05] |
356 |
- Add missing 10LimitSiteChmod template fragment [charlieb 4793] |
357 |
|
358 |
* Thu Sep 12 2002 Charlie Brady <charlieb@e-smith.com> |
359 |
- [1.7.2-04] |
360 |
- Replace deprecate AllowChmod with <Limit SITE_CHMOD>, which requires some |
361 |
fragment shuffling. Remove unnecessary template-{begin,end}, move |
362 |
10localAccess to 00localAccess. [charlieb 4793] |
363 |
|
364 |
* Wed Sep 11 2002 Charlie Brady <charlieb@e-smith.com> |
365 |
- [1.7.2-03] |
366 |
- Fix esmith::Networks => esmith::NetworksDB snafu in /etc/proftpd.conf |
367 |
template. [charlieb 3786] |
368 |
|
369 |
* Tue Sep 10 2002 Mark Knox <markk@e-smith.com> |
370 |
- [1.7.2-02] |
371 |
- Change use of allow_tcp_in() function to allow dynamic reconfig. |
372 |
[charlieb 4501] |
373 |
- Remove deprecated split on pipe [markk 3786] |
374 |
|
375 |
* Thu Aug 8 2002 Charlie Brady <charlieb@e-smith.com> |
376 |
- [1.7.2-01] |
377 |
- Remove 46AllowFTPActive masq template fragment, allow port 21 inbound |
378 |
access and allow netfilter connection tracking to do the rest of the |
379 |
job of FTP access control. [charlieb 4499] |
380 |
|
381 |
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
382 |
- [1.7.1-01] |
383 |
- Change masq script fragment to use iptables. [charlieb 1268] |
384 |
|
385 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
386 |
- [1.7.0-01] |
387 |
- Changing version to development stream number - 1.7.0 |
388 |
|
389 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
390 |
- [1.6.0-01] |
391 |
- Changing version to maintained stream number to 1.6.0 |
392 |
|
393 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
394 |
- [1.5.5-01] |
395 |
- RPM rebuild forced by cvsroot2rpm |
396 |
|
397 |
* Fri May 3 2002 Charlie Brady <charlieb@e-smith.com> |
398 |
- [1.5.4-01] |
399 |
- Disable reverse DNS and ident lookups [charlieb 339] |
400 |
|
401 |
* Fri May 3 2002 Charlie Brady <charlieb@e-smith.com> |
402 |
- [1.5.3-01] |
403 |
- Once more with feeling! (I missed one). |
404 |
|
405 |
* Fri May 3 2002 Charlie Brady <charlieb@e-smith.com> |
406 |
- [1.5.2-01] |
407 |
- Fix createlinks problems with missing directories and $event scope. |
408 |
|
409 |
* Fri May 3 2002 Charlie Brady <charlieb@e-smith.com> |
410 |
- [1.5.1-01] |
411 |
- Test build to verify CVS conversion. |
412 |
|
413 |
* Fri May 3 2002 Charlie Brady <charlieb@e-smith.com> |
414 |
- [1.5.0-01] |
415 |
- rollRPM: Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-08. |
416 |
|
417 |
* Wed Dec 05 2001 Jason Miller <jmiller@e-smith.com> |
418 |
- [1.4.0-08] |
419 |
- Fix 45AllowFTP masq template to handle case where status=disabled |
420 |
|
421 |
* Fri Nov 16 2001 Charlie Brady <charlieb@e-smith.com> |
422 |
- [1.4.0-07] |
423 |
- Be sure to regenerate /etc/ftpusers during password-modify event, to allow |
424 |
access to password protected i-bays. |
425 |
- Remove proftpd-conf actions from post-install and post-upgrade events - |
426 |
bootstrap-console-save is sufficient. |
427 |
|
428 |
* Thu Nov 08 2001 Charlie Brady <charlieb@e-smith.com> |
429 |
- [1.4.0-06] |
430 |
- Fix xinetd.conf template fragment so that status=disabled is honoured. |
431 |
|
432 |
* Mon Oct 22 2001 Charlie Brady <charlieb@e-smith.com> |
433 |
- [1.4.0-05] |
434 |
- Add missing bootstrap-console-save symlink. |
435 |
|
436 |
* Tue Aug 21 2001 Gordon Rowell <gordonr@e-smith.com> |
437 |
- [1.4.0-04] |
438 |
- Fixed e-smith-base dependency |
439 |
|
440 |
* Tue Aug 21 2001 Gordon Rowell <gordonr@e-smith.com> |
441 |
- [1.4.0-03] |
442 |
- Removed "public" from /etc/ftpusers |
443 |
- Removed post-restore event |
444 |
- Added Vendor tag |
445 |
|
446 |
* Fri Aug 17 2001 gordonr |
447 |
- [1.4.0-02] |
448 |
- Autorebuild by rebuildRPM |
449 |
|
450 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
451 |
- [1.4.0-01] |
452 |
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-03. |
453 |
|
454 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
455 |
- [1.3.0-03] |
456 |
- Changed license to GPL |
457 |
|
458 |
* Fri Jun 29 2001 Gordon Rowell <gordonr@e-smith.com> |
459 |
- [1.3.0-02] |
460 |
- Make use of /etc/e-smith/pam/accounts.deny as template for /etc/ftpusers |
461 |
|
462 |
* Fri Jun 29 2001 Gordon Rowell <gordonr@e-smith.com> |
463 |
- [1.3.0-01] |
464 |
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-07. |
465 |
|
466 |
* Tue Mar 27 2001 Charlie Brady <charlieb@e-smith.com> |
467 |
- [1.2.0-07] |
468 |
- Avoid proftp DoS attack with wildcards |
469 |
- Allow FTP ports, with optional "ForcePassive|yes" property, defaulting to no |
470 |
|
471 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
472 |
- [1.2.0-06] |
473 |
- Rolling release number for GPG signing. |
474 |
|
475 |
* Tue Jan 30 2001 Jason Miller <jmiller@e-smith.com> |
476 |
- [1.2.0-05] |
477 |
- Changed 'use smith::db' to 'use esmith::db'. |
478 |
|
479 |
* Tue Jan 30 2001 Charlie Brady <charlieb@e-smith.com> |
480 |
- [1.2.0-04] |
481 |
- And "use esmith::db" is reuqired. |
482 |
|
483 |
* Mon Jan 29 2001 Charlie Brady <charlieb@e-smith.com> |
484 |
- [1.2.0-03] |
485 |
- Fixed syntax error in previous fix :-) |
486 |
|
487 |
* Fri Jan 26 2001 Charlie Brady <charlieb@e-smith.com> |
488 |
- [1.2.0-02] |
489 |
- Fix reference to legacy config variable in proftpd.conf fragment |
490 |
|
491 |
* Fri Jan 26 2001 Peter Samuel <peters@e-smith.com> |
492 |
- [1.2.0-01] |
493 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-13. |
494 |
|
495 |
* Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com> |
496 |
- [1.1.0-13] |
497 |
- Added default for accessLimits in proftpd-conf |
498 |
|
499 |
* Wed Jan 24 2001 Charlie Brady <charlieb@e-smith.com> |
500 |
- [1.1.0-12] |
501 |
- Added AllowFTP fragment for /etc/rc.d/init.d/masq. |
502 |
- Remove %post action |
503 |
|
504 |
* Thu Jan 18 2001 Adrian Chung <adrianc@e-smith.com> |
505 |
- [1.1.0-11] |
506 |
- FTP now uses a new setting FTP access limits in remote access |
507 |
which completely governs access control to the service. |
508 |
- The old FTP setting governs only user logins. |
509 |
- updated xinetd.conf/ftp fragment to use new value |
510 |
|
511 |
* Wed Jan 17 2001 Jason Miller <jmiller@e-smith.com> |
512 |
- removed %postun deletion of ftp line in configuration |
513 |
to comply with the sillyness of rpm upgrade |
514 |
|
515 |
* Fri Jan 12 2001 Gordon Rowell <gordonr@e-smith.com> |
516 |
- ftpd != ftp :-( |
517 |
|
518 |
* Fri Jan 12 2001 Gordon Rowell <gordonr@e-smith.com> |
519 |
- Migrate FTPServerMode variable |
520 |
|
521 |
* Sat Jan 6 2001 Charlie Brady <charlieb@e-smith.com> |
522 |
- [1.1.0-7] |
523 |
- Only run %post and %postun scripts if in runlevel 7 |
524 |
|
525 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
526 |
- [1.1.0-6] |
527 |
- add selective bind back in. |
528 |
|
529 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
530 |
- [1.1.0-5] |
531 |
- backed out bind local interface code, needs to be rethought |
532 |
to allow access to localhost |
533 |
|
534 |
* Thu Jan 4 2001 Adrian Chung <adrianc@e-smith.com> |
535 |
- [1.1.0-4] |
536 |
- changed 30ftp to only expand if ftp service is enabled. |
537 |
- if ftp access is set to private, only bind to LocalIP in |
538 |
xinetd.conf |
539 |
|
540 |
* Sun Dec 17 2000 Charlie Brady <charlieb@e-smith.com> |
541 |
- [1.1.0-3] |
542 |
- Delete /etc/rc.d/init.d/masq template fragment. |
543 |
|
544 |
* Mon Dec 4 2000 Adrian Chung <adrianc@e-smith.com> |
545 |
- Added link for post-install. |
546 |
|
547 |
* Fri Dec 1 2000 Adrian Chung <adrianc@e-smith.com> |
548 |
- initial release |
549 |
|
550 |
%description |
551 |
Configuration files and templates for the ProFTPd ftp server. |
552 |
|
553 |
%prep |
554 |
%setup |
555 |
%patch0 -p1 |
556 |
%patch1 -p1 |
557 |
|
558 |
# Remove the empty template-begin and the directory |
559 |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |
560 |
|
561 |
%build |
562 |
perl createlinks |
563 |
|
564 |
%install |
565 |
rm -rf $RPM_BUILD_ROOT |
566 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
567 |
rm -f %{name}-%{version}-%{release}-filelist |
568 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
569 |
--dir /var/service/proftpd 'attr(01755,root,root)' \ |
570 |
--file /var/service/proftpd/down 'attr(0644,root,root)' \ |
571 |
--file /var/service/proftpd/run 'attr(0755,root,root)' \ |
572 |
--file /var/service/proftpd/control/1 'attr(0755,root,root)' \ |
573 |
--dir /var/service/proftpd/log 'attr(0755,root,root)' \ |
574 |
--dir /var/service/proftpd/log/supervise 'attr(0700,root,root)' \ |
575 |
--dir /var/service/proftpd/supervise 'attr(0700,root,root)' \ |
576 |
--file /var/service/proftpd/log/run 'attr(0755,root,root)' \ |
577 |
--dir /var/log/ftp 'attr(2750,smelog,smelog)' \ |
578 |
> %{name}-%{version}-%{release}-filelist |
579 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
580 |
|
581 |
%clean |
582 |
rm -rf $RPM_BUILD_ROOT |
583 |
|
584 |
%pre |
585 |
/sbin/e-smith/create-system-user smelog 1002 \ |
586 |
'sme log user' /var/log/smelog /bin/false |
587 |
|
588 |
%files -f %{name}-%{version}-%{release}-filelist |
589 |
%defattr(-,root,root) |