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 |
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 |
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 |
|
|
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 |
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) |