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

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

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

Revision 1.1 by slords, Tue Jun 12 19:24:12 2007 UTC Revision 1.12 by wellsi, Fri Feb 8 17:19:50 2013 UTC
# Line 1  Line 1 
1    # $Id: e-smith-proftpd.spec,v 1.11 2013/01/24 01:27:42 wellsi Exp $
2    
3  Summary: e-smith specific proftpd configuration files and templates  Summary: e-smith specific proftpd configuration files and templates
4  %define name e-smith-proftpd  %define name e-smith-proftpd
5  Name: %{name}  Name: %{name}
6  %define version 1.12.0  %define version 2.2.0
7  %define release 8  %define release 6
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13  Patch0: e-smith-proftpd-1.12.0-LogDirPerms.patch  Patch1: e-smith-proftpd-2.2.0-persistent_passwd.patch
14  Patch1: e-smith-proftpd-1.12.0-ftpusersfix.patch  Patch2: e-smith-proftpd-2.2.0-LongLine.patch
15  Patch2: e-smith-proftpd-1.12.0-chroot.patch  Patch3: e-smith-proftpd-2.2.0-LimitLoginLine.patch
 Patch3: e-smith-proftpd-1.12.0-globalroot.patch  
 Patch4: e-smith-proftpd-1.12.0-logdir.patch  
 Patch5: e-smith-proftpd-1.12.0-ftpuser_perm.patch  
16  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  BuildArchitectures: noarch  BuildArchitectures: noarch
18  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 23  Requires: iptables Line 22  Requires: iptables
22  AutoReqProv: no  AutoReqProv: no
23    
24  %changelog  %changelog
25    * Fri Feb 8 2013 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme
26    - Ensure Deny from all is on its own line in 15LimitLOGIN [SME: 7327]
27    
28    * Wed Jan 23 2013 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme
29    - Workaround a deficiency in the proftpd package where it doesn't
30      handle long lines correctly in its configuration file.
31      Fix submitted by Charlie Brady [SME: 6949]
32    
33    * Tue Jan 22 2013 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme
34    - Remove previous change [SME: 7129]
35    
36    * Wed Dec 19 2012 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme
37    - Add VRoot engine to avoid pam log error [SME: 7129]
38    
39    * Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme
40    - Add PersistentPasswd directive to force proftpd to use pam [SME: 6219]
41    
42    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
43    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
44    
45    * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-11
46    - ShowSymlinks off [SME: 993]
47    
48    * Wed Oct 31 2007 Gavin Weight <gweight@gmail.com> 1.12.0-10
49    - Rename DisplayFirstChdir to DisplayChdir.  [SME: 3479]
50    
51    * Tue Jun 26 2007 Gavin Weight <gweight@gmail.com> 1.12.0-9
52    - Create pam.d directory and move ftp/proftpd templates into pam.d.
53    [SME: 2762]
54    
55  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
56  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
57    
# Line 495  Configuration files and templates for th Line 524  Configuration files and templates for th
524    
525  %prep  %prep
526  %setup  %setup
 %patch0 -p1  
527  %patch1 -p1  %patch1 -p1
528  %patch2 -p1  %patch2 -p1
529  %patch3 -p1  %patch3 -p1
 %patch4 -p1  
 %patch5 -p1  
530    
531  %build  %build
532  perl createlinks  perl createlinks
# Line 520  mkdir -p root/var/service/proftpd/peers Line 546  mkdir -p root/var/service/proftpd/peers
546  mkdir -p root/etc/e-smith/templates/var/service/proftpd/peers/{0,local}  mkdir -p root/etc/e-smith/templates/var/service/proftpd/peers/{0,local}
547  touch root/etc/e-smith/templates/var/service/proftpd/peers/{0,local}/template-begin  touch root/etc/e-smith/templates/var/service/proftpd/peers/{0,local}/template-begin
548    
549    for file in ftp proftpd
550    do
551        mkdir -p root/etc/e-smith/templates/etc/pam.d/$file
552        ln -s /etc/e-smith/templates-default/template-begin-pam \
553          root/etc/e-smith/templates/etc/pam.d/$file/template-begin
554    done
555    
556  %install  %install
557  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
558  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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