|
|
@@ -38,7 +38,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: FTP
|
|
|
License: GPL
|
|
|
Version: 1.1.0
|
|
|
-Release: 20020819
|
|
|
+Release: 20020916
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://belnet.dl.sourceforge.net/sourceforge/pureftpd/pure-ftpd-%{version}.tar.gz
|
|
|
@@ -67,7 +67,8 @@ AutoReqProv: no
|
|
|
protocol, bandwidth throttling, ratios, LDAP, XML and HTML reports,
|
|
|
support for external programs to post-process uploads and more.
|
|
|
|
|
|
- Options: with_pam=%{with_pam}
|
|
|
+ Options:
|
|
|
+ --define 'with_pam %{with_pam}'
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n pure-ftpd-%{version}
|
|
|
@@ -113,7 +114,7 @@ AutoReqProv: no
|
|
|
%if "%{with_pam}" == "yes"
|
|
|
# add PAM configuration entry
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
- $RPM_INSTALL_PREFIX/sbin/pamtool -a -s -n "pureftpd"
|
|
|
+ $RPM_INSTALL_PREFIX/sbin/pamtool --add --smart --name=pureftpd
|
|
|
fi
|
|
|
%endif
|
|
|
|
|
|
@@ -121,7 +122,7 @@ AutoReqProv: no
|
|
|
%if "%{with_pam}" == "yes"
|
|
|
# remove PAM configuration entry
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
- $RPM_INSTALL_PREFIX/sbin/pamtool -r -s -n "pureftpd"
|
|
|
+ $RPM_INSTALL_PREFIX/sbin/pamtool --remove --smart --name=pureftpd
|
|
|
fi
|
|
|
%endif
|
|
|
|