/[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.10 by wellsi, Wed Jan 23 03:52:50 2013 UTC
# Line 1  Line 1 
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  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 4
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    * 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>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
46  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
47    
# Line 495  Configuration files and templates for th Line 514  Configuration files and templates for th
514    
515  %prep  %prep
516  %setup  %setup
 %patch0 -p1  
517  %patch1 -p1  %patch1 -p1
 %patch2 -p1  
 %patch3 -p1  
 %patch4 -p1  
 %patch5 -p1  
518    
519  %build  %build
520  perl createlinks  perl createlinks
# Line 520  mkdir -p root/var/service/proftpd/peers Line 534  mkdir -p root/var/service/proftpd/peers
534  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}
535  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
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  %install
545  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
546  (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