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