/[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.3 by bytegw, Wed Oct 31 21:44:07 2007 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 10
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20  BuildArchitectures: noarch  BuildArchitectures: noarch
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 23  Requires: iptables Line 25  Requires: iptables
25  AutoReqProv: no  AutoReqProv: no
26    
27  %changelog  %changelog
28    * Wed Oct 31 2007 Gavin Weight <gweight@gmail.com> 1.12.0-10
29    - Rename DisplayFirstChdir to DisplayChdir.  [SME: 3479]
30    
31    * Tue Jun 26 2007 Gavin Weight <gweight@gmail.com> 1.12.0-9
32    - Create pam.d directory and move ftp/proftpd templates into pam.d.
33    [SME: 2762]
34    
35  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
36  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
37    
# Line 501  Configuration files and templates for th Line 510  Configuration files and templates for th
510  %patch3 -p1  %patch3 -p1
511  %patch4 -p1  %patch4 -p1
512  %patch5 -p1  %patch5 -p1
513    %patch6 -p1
514    %patch7 -p1
515    
516  %build  %build
517  perl createlinks  perl createlinks
# Line 520  mkdir -p root/var/service/proftpd/peers Line 531  mkdir -p root/var/service/proftpd/peers
531  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}
532  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
533    
534    for file in ftp proftpd
535    do
536        mkdir -p root/etc/e-smith/templates/etc/pam.d/$file
537        ln -s /etc/e-smith/templates-default/template-begin-pam \
538          root/etc/e-smith/templates/etc/pam.d/$file/template-begin
539    done
540    
541  %install  %install
542  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
543  (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