/[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.5 - (hide annotations) (download)
Tue Feb 5 16:32:04 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.4: +1 -1 lines
Fix specs

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

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