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