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