/[smeserver]/rpms/e-smith-proftpd/sme8/e-smith-proftpd.spec
ViewVC logotype

Annotation of /rpms/e-smith-proftpd/sme8/e-smith-proftpd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.11 - (hide annotations) (download)
Thu Jan 24 01:27:42 2013 UTC (11 years, 9 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-proftpd-2_2_0-5_el5_sme
Changes since 1.10: +9 -2 lines
handle long lines correctly in the configuration file

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed