/[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.4 by bytegw, Wed Jan 9 22:23:27 2008 UTC
# Line 2  Summary: e-smith specific proftpd config Line 2  Summary: e-smith specific proftpd config
2  %define name e-smith-proftpd  %define name e-smith-proftpd
3  Name: %{name}  Name: %{name}
4  %define version 1.12.0  %define version 1.12.0
5  %define release 8  %define release 11
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 14  Patch2: e-smith-proftpd-1.12.0-chroot.pa Line 14  Patch2: e-smith-proftpd-1.12.0-chroot.pa
14  Patch3: e-smith-proftpd-1.12.0-globalroot.patch  Patch3: e-smith-proftpd-1.12.0-globalroot.patch
15  Patch4: e-smith-proftpd-1.12.0-logdir.patch  Patch4: e-smith-proftpd-1.12.0-logdir.patch
16  Patch5: e-smith-proftpd-1.12.0-ftpuser_perm.patch  Patch5: e-smith-proftpd-1.12.0-ftpuser_perm.patch
17    Patch6: e-smith-proftpd-1-12-0-MovePam_d_ftpTemplates.patch
18    Patch7: e-smith-proftpd-1.12.0-RenameDisplayFirstChdirToDisplayChdir.patch
19    Patch8: e-smith-proftpd-1.12.0-ShowSymlinks.patch
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 23  Requires: iptables Line 26  Requires: iptables
26  AutoReqProv: no  AutoReqProv: no
27    
28  %changelog  %changelog
29    * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.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 501  Configuration files and templates for th Line 514  Configuration files and templates for th
514  %patch3 -p1  %patch3 -p1
515  %patch4 -p1  %patch4 -p1
516  %patch5 -p1  %patch5 -p1
517    %patch6 -p1
518    %patch7 -p1
519    %patch8 -p1
520    
521  %build  %build
522  perl createlinks  perl createlinks
# Line 520  mkdir -p root/var/service/proftpd/peers Line 536  mkdir -p root/var/service/proftpd/peers
536  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}
537  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
538    
539    for file in ftp proftpd
540    do
541        mkdir -p root/etc/e-smith/templates/etc/pam.d/$file
542        ln -s /etc/e-smith/templates-default/template-begin-pam \
543          root/etc/e-smith/templates/etc/pam.d/$file/template-begin
544    done
545    
546  %install  %install
547  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
548  (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