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

Diff of /rpms/e-smith-proftpd/sme7/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 16:02:26 2007 UTC Revision 1.2 by slords, Tue Jun 26 21:09:25 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 9
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  BuildArchitectures: noarch  BuildArchitectures: noarch
20  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 23  Requires: iptables Line 24  Requires: iptables
24  AutoReqProv: no  AutoReqProv: no
25    
26  %changelog  %changelog
27    * Tue Jun 26 2007 Gavin Weight <gweight@gmail.com> 1.12.0-9
28    - Create pam.d directory and move ftp/proftpd templates into pam.d.
29    [SME: 2762]
30    
31  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
32  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
33    
# Line 501  Configuration files and templates for th Line 506  Configuration files and templates for th
506  %patch3 -p1  %patch3 -p1
507  %patch4 -p1  %patch4 -p1
508  %patch5 -p1  %patch5 -p1
509    %patch6 -p1
510    
511  %build  %build
512  perl createlinks  perl createlinks
# Line 520  mkdir -p root/var/service/proftpd/peers Line 526  mkdir -p root/var/service/proftpd/peers
526  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}
527  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
528    
529    for file in ftp proftpd
530    do
531        mkdir -p root/etc/e-smith/templates/etc/pam.d/$file
532        ln -s /etc/e-smith/templates-default/template-begin-pam \
533          root/etc/e-smith/templates/etc/pam.d/$file/template-begin
534    done
535    
536  %install  %install
537  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
538  (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