1 |
|
# $Id$ |
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 1 |
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 |
|
Patch0: e-smith-proftpd-1.12.0-LogDirPerms.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 |
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
AutoReqProv: no |
AutoReqProv: no |
20 |
|
|
21 |
%changelog |
%changelog |
22 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
23 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
24 |
|
|
25 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-11 |
26 |
|
- ShowSymlinks off [SME: 993] |
27 |
|
|
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 |
|
|
504 |
|
|
505 |
%prep |
%prep |
506 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
507 |
|
|
508 |
%build |
%build |
509 |
perl createlinks |
perl createlinks |
523 |
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} |
524 |
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 |
525 |
|
|
526 |
|
for file in ftp proftpd |
527 |
|
do |
528 |
|
mkdir -p root/etc/e-smith/templates/etc/pam.d/$file |
529 |
|
ln -s /etc/e-smith/templates-default/template-begin-pam \ |
530 |
|
root/etc/e-smith/templates/etc/pam.d/$file/template-begin |
531 |
|
done |
532 |
|
|
533 |
%install |
%install |
534 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
535 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |