--- rpms/e-smith-proftpd/sme8/e-smith-proftpd.spec 2007/06/12 19:24:12 1.1 +++ rpms/e-smith-proftpd/sme8/e-smith-proftpd.spec 2013/01/23 03:52:50 1.10 @@ -1,19 +1,16 @@ +# $Id: e-smith-proftpd.spec,v 1.9 2012/12/20 07:11:56 wellsi Exp $ + Summary: e-smith specific proftpd configuration files and templates %define name e-smith-proftpd Name: %{name} -%define version 1.12.0 -%define release 8 +%define version 2.2.0 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons 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 +Patch1: e-smith-proftpd-2.2.0-persistent_passwd.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools @@ -23,6 +20,28 @@ Requires: iptables AutoReqProv: no %changelog +* Tue Jan 22 2013 Ian Wells 2.2.0-4.sme +- Remove previous change [SME: 7129] + +* Wed Dec 19 2012 Ian Wells 2.2.0-3.sme +- Add VRoot engine to avoid pam log error [SME: 7129] + +* Wed Sep 22 2010 Daniel Berteaud 2.2.0-2.sme +- Add PersistentPasswd directive to force proftpd to use pam [SME: 6219] + +* Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Wed Jan 09 2008 Stephen Noble 1.12.0-11 +- ShowSymlinks off [SME: 993] + +* Wed Oct 31 2007 Gavin Weight 1.12.0-10 +- Rename DisplayFirstChdir to DisplayChdir. [SME: 3479] + +* Tue Jun 26 2007 Gavin Weight 1.12.0-9 +- Create pam.d directory and move ftp/proftpd templates into pam.d. +[SME: 2762] + * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague @@ -495,12 +514,7 @@ Configuration files and templates for th %prep %setup -%patch0 -p1 %patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 %build perl createlinks @@ -520,6 +534,13 @@ mkdir -p root/var/service/proftpd/peers mkdir -p root/etc/e-smith/templates/var/service/proftpd/peers/{0,local} touch root/etc/e-smith/templates/var/service/proftpd/peers/{0,local}/template-begin +for file in ftp proftpd +do + mkdir -p root/etc/e-smith/templates/etc/pam.d/$file + ln -s /etc/e-smith/templates-default/template-begin-pam \ + root/etc/e-smith/templates/etc/pam.d/$file/template-begin +done + %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)