/[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.7 by vip-ire, Wed Sep 22 18:09:53 2010 UTC
# Line 1  Line 1 
1    # $Id: e-smith-proftpd.spec,v 1.6 2008/10/07 19:13:44 slords 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 2
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
 Patch1: e-smith-proftpd-1.12.0-ftpusersfix.patch  
 Patch2: e-smith-proftpd-1.12.0-chroot.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  
14  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 23  Requires: iptables Line 20  Requires: iptables
20  AutoReqProv: no  AutoReqProv: no
21    
22  %changelog  %changelog
23    * Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme
24    - Add PersistentPasswd directive to force proftpd to use pam
25    
26    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
27    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
28    
29    * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-11
30    - ShowSymlinks off [SME: 993]
31    
32    * Wed Oct 31 2007 Gavin Weight <gweight@gmail.com> 1.12.0-10
33    - Rename DisplayFirstChdir to DisplayChdir.  [SME: 3479]
34    
35    * 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  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
40  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
41    
# Line 495  Configuration files and templates for th Line 508  Configuration files and templates for th
508    
509  %prep  %prep
510  %setup  %setup
 %patch0 -p1  
511  %patch1 -p1  %patch1 -p1
 %patch2 -p1  
 %patch3 -p1  
 %patch4 -p1  
 %patch5 -p1  
512    
513  %build  %build
514  perl createlinks  perl createlinks
# Line 520  mkdir -p root/var/service/proftpd/peers Line 528  mkdir -p root/var/service/proftpd/peers
528  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}
529  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
530    
531    for file in ftp proftpd
532    do
533        mkdir -p root/etc/e-smith/templates/etc/pam.d/$file
534        ln -s /etc/e-smith/templates-default/template-begin-pam \
535          root/etc/e-smith/templates/etc/pam.d/$file/template-begin
536    done
537    
538  %install  %install
539  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
540  (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