SPECS: pure-ftpd.spec - capabilities bcond (for vservers usage).

arekm arekm at pld-linux.org
Tue Feb 21 09:53:18 CET 2006


Author: arekm                        Date: Tue Feb 21 08:53:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- capabilities bcond (for vservers usage).

---- Files affected:
SPECS:
   pure-ftpd.spec (1.143 -> 1.144) 

---- Diffs:

================================================================
Index: SPECS/pure-ftpd.spec
diff -u SPECS/pure-ftpd.spec:1.143 SPECS/pure-ftpd.spec:1.144
--- SPECS/pure-ftpd.spec:1.143	Tue Jan 17 16:39:27 2006
+++ SPECS/pure-ftpd.spec	Tue Feb 21 09:53:13 2006
@@ -8,6 +8,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
@@ -35,7 +36,7 @@
 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}
@@ -107,6 +108,7 @@
 	--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 \
@@ -207,6 +209,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.144  2006/02/21 08:53:13  arekm
+- capabilities bcond (for vservers usage).
+
 Revision 1.143  2006/01/17 15:39:27  baggins
 - release 11
 - BR openldap 2.3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pure-ftpd.spec?r1=1.143&r2=1.144&f=u



More information about the pld-cvs-commit mailing list