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