]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
- capabilities bcond (for vservers usage).
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 21 Feb 2006 08:53:13 +0000 (08:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pure-ftpd.spec -> 1.144

pure-ftpd.spec

index 10f93b7235c35ec2f259062f073e806c65e20240..b9712dd0a1abae22c906a9f5fb1c9edd207750fe 100644 (file)
@@ -7,6 +7,7 @@
 %bcond_without pgsql           # disable PostgreSQL support
 %bcond_without puredb          # disable pure-db support
 %bcond_without tls             # disable SSL/TLS support
+%bcond_without cap             # disable capabilities
 #
 Summary:       Small, fast and secure FTP server
 Summary(pl):   Ma³y, szybki i bezpieczny serwer FTP
@@ -34,7 +35,7 @@ Patch6:               %{name}-auth-can-delete-pure.patch
 URL:           http://www.pureftpd.org/
 %{?with_extra:BuildRequires:   autoconf}
 %{?with_extra:BuildRequires:   automake}
-BuildRequires: libcap-devel
+%{?with_cap:BuildRequires:     libcap-devel}
 %{?with_extra:BuildRequires:   libcfg+-devel >= 0.6.2}
 %{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.3.0}
@@ -106,6 +107,7 @@ po
        --with-ftpwho \
        --with-language=english \
        --with-largefile \
+       %{!?with_cap:--without-capabilities} \
        %{?with_ldap:--with-ldap} \
        %{?with_mysql:CPPFLAGS="-I%{_includedir}/mysql" --with-mysql} \
        --with-pam \
This page took 0.051946 seconds and 4 git commands to generate.