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