/[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.9 - (hide annotations) (download)
Thu Dec 20 07:11:56 2012 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-proftpd-2_2_0-3_el5_sme
Changes since 1.8: +7 -2 lines
Add VRoot engine to avoid pam log error [SME: 7129]

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

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