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