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

Contents 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.10 - (show annotations) (download)
Wed Jan 23 03:52:50 2013 UTC (11 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-proftpd-2_2_0-4_el5_sme
Changes since 1.9: +5 -4 lines
Remove previous change [SME: 7129]

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

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