]> git.pld-linux.org Git - packages/pure-ftpd.git/blobdiff - pure-ftpd.spec
- fix pure-config url
[packages/pure-ftpd.git] / pure-ftpd.spec
index 1326cc302f02b20705d8d89c8d3a95e57852679c..d089d7edf92ac1f6721754ad92998b5c694fa3b2 100644 (file)
@@ -12,7 +12,7 @@ Summary:      Small, fast and secure FTP server
 Summary(pl):   Ma³y, szybki i bezpieczny serwer FTP
 Name:          pure-ftpd
 Version:       1.0.20
-Release:       3%{?with_extra:extra}
+Release:       6%{?with_extra:extra}
 Epoch:         0
 License:       BSD-like%{?with_extra:, GLPv2 for pure-config due to libcfg+ license}
 Group:         Daemons
@@ -22,13 +22,14 @@ Source1:    %{name}.pamd
 Source2:       %{name}.init
 Source3:       ftpusers.tar.bz2
 # Source3-md5: 76c80b6ec9f4d079a1e27316edddbe16
-Source4:       ftp://distfiles.pld-linux.org/src/pure-config-20041106.tar.gz
-# Source4-md5: a9e40fa1eabde41f8599133da2d92b18        
+Source4:       http://twittner.host.sk/files/pure-config/pure-config-20041201.tar.gz
+# Source4-md5: 3f2ff6b00b5c38ee11ce588ee5af6cf6
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-path_to_ssl_cert_in_config.patch
 Patch2:                %{name}-pure-pw_passwd.patch
 Patch3:                %{name}-userlength.patch
 Patch4:                %{name}-mysql_config.patch
+Patch5:                %{name}-nosymlinks-hideuidmismatch.patch
 URL:           http://www.pureftpd.org/
 %{?with_extra:BuildRequires:   autoconf}
 %{?with_extra:BuildRequires:   automake}
@@ -40,8 +41,8 @@ BuildRequires:        libcap-devel
 %{?with_tls:BuildRequires:     openssl-devel}
 BuildRequires: pam-devel
 PreReq:                rc-scripts
-Requires(post,preun):/sbin/chkconfig
-Requires:      pam >= 0.77.3
+Requires(post,preun):  /sbin/chkconfig
+Requires:      pam >= 0.79.0
 %{!?with_extra:Requires:       perl-base}
 Provides:      ftpserver
 Obsoletes:     ftpserver
@@ -85,15 +86,14 @@ LS, system anty-warezowy, ograniczanie port
 po³±czeñ...
 
 %prep
-%setup -q
 %setup -q -a 4
 %patch0 -p0
-%patch4 -p0
+%patch4 -p1
+%patch5 -p1
 %{?with_longusername:%patch3 -p1}
 %{?with_extra:%patch1 -p1}
 %{?with_extra:%patch2 -p1}
 
-
 %build
 %configure \
        --with-boring \
@@ -117,7 +117,7 @@ po
        %{?with_tls:--with-tls --with-certfile=%{_sharedstatedir}/openssl/certs/ftpd.pem} \
        --with-uploadscript \
        --with-virtualchroot \
-       --with-virtualhosts 
+       --with-virtualhosts
 
 %if %{with extra}
 cd pure-config
@@ -128,7 +128,7 @@ cd pure-config
 %configure
 %{__make}
 %endif
-        
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{pam.d,sysconfig,security,rc.d/init.d} \
This page took 0.032624 seconds and 4 git commands to generate.