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