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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Oct 31 21:44:06 2007 UTC (17 years ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-proftpd-1_12_0-10_el4_sme
Changes since 1.2: +6 -1 lines
Updates

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

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