]> git.pld-linux.org Git - packages/pure-ftpd.git/blobdiff - pure-ftpd.spec
- added detection for available parsers
[packages/pure-ftpd.git] / pure-ftpd.spec
index e9ceddfdab03c3809d54f5be4972a862839dc9c1..1f322ba48301aa0a8e2f10782f2d5da56856bc8b 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_with    longusername    # with username length = 128 (default 32)
 %bcond_with    extra           # with additional, maybe useful, but unmaintained features
-%bcond_without  ldap           # disable LDAP auth
-%bcond_without  mysql          # disable MySQL auth but disables PAM auth
-%bcond_without  pgsql          # disable PostgreSQL support
+%bcond_without ldap            # disable LDAP auth
+%bcond_without longusername    # with username length = 128 (default 32)
+%bcond_without mysql           # disable MySQL auth but disables PAM auth
+%bcond_without pgsql           # disable PostgreSQL support
 %bcond_without puredb          # disable pure-db support
-%bcond_without  tls            # support SSL/TLS
+%bcond_without tls             # disable SSL/TLS support
 #
 Summary:       Small, fast and secure FTP server
 Summary(pl):   Ma³y, szybki i bezpieczny serwer FTP
 Name:          pure-ftpd
 Version:       1.0.20
-Release:       2
+Release:       3
 Epoch:         0
 License:       BSD-like
 Group:         Daemons
@@ -26,7 +26,7 @@ Patch0:               %{name}-config.patch
 # This patch is broken and changes default pureftpd behaviour
 Patch1:                %{name}-path_to_ssl_cert_in_config.patch
 Patch2:                %{name}-pure-pw_passwd.patch
-%{?with_longusername:Patch3:   %{name}-userlength.patch}
+Patch3:                %{name}-userlength.patch
 URL:           http://www.pureftpd.org/
 BuildRequires: libcap-devel
 %{?with_ldap:BuildRequires:    openldap-devel}
@@ -34,7 +34,7 @@ BuildRequires:        libcap-devel
 %{?with_pgsql:BuildRequires:   postgresql-devel}
 %{?with_tls:BuildRequires:     openssl-devel}
 BuildRequires: pam-devel
-Prereq:                rc-scripts
+PreReq:                rc-scripts
 Requires(post,preun):/sbin/chkconfig
 Requires:      pam >= 0.77.3
 Requires:      perl-base
@@ -74,7 +74,7 @@ Pure-FTPD to szybki, wysokiej jako
 FTP bazuj±cy na Troll-FTPd. W przeciwieñstwie do innych serwerów FTP
 nie ma znanych luk w bezpieczeñstwie. Ponadto jest trywialny w
 konfiguracji i specjalnie zaprojektowany dla nowych kerneli Linuksa
-(setfsuid, sendfile, capabilibies). Mo¿liwo¶ci to wsparcie dla PAMa,
+(setfsuid, sendfile, capabilibies). Mo¿liwo¶ci to wsparcie dla PAM-a,
 IPv6, chroot()owanych katalogów domowych, virtualne domeny, wbudowany
 LS, system anty-warezowy, ograniczanie portów dla pasywnych
 po³±czeñ...
@@ -139,9 +139,9 @@ rm -rf $RPM_BUILD_ROOT
 %post
 /sbin/chkconfig --add %{name}
 if [ -f %{_var}/lock/subsys/%{name} ]; then
-        /etc/rc.d/init.d/%{name} restart 1>&2
+       /etc/rc.d/init.d/%{name} restart 1>&2
 else
-        echo "Run \"/etc/rc.d/init.d/%{name} start\" to start PureFTPD daemon."
+       echo "Run \"/etc/rc.d/init.d/%{name} start\" to start PureFTPD daemon."
 fi
 
 %preun
This page took 0.035378 seconds and 4 git commands to generate.