SPECS: postfix.spec - enable epoll on HEAD

glen glen at pld-linux.org
Tue Apr 1 00:18:13 CEST 2008


Author: glen                         Date: Mon Mar 31 22:18:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- enable epoll on HEAD

---- Files affected:
SPECS:
   postfix.spec (1.311 -> 1.312) 

---- Diffs:

================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.311 SPECS/postfix.spec:1.312
--- SPECS/postfix.spec:1.311	Fri Mar 28 17:21:14 2008
+++ SPECS/postfix.spec	Tue Apr  1 00:18:07 2008
@@ -10,6 +10,7 @@
 %bcond_without	vda	# without VDA patch
 %bcond_with	hir	# with Beeth's header_if_reject patch
 %bcond_with	tcp	# with unofficial tcp: lookup table
+%bcond_without	epoll	# disable epoll for 2.4 kernels
 #
 %define		vda_ver 2.5.1
 Summary:	Postfix Mail Transport Agent
@@ -269,7 +270,7 @@
 	%{!?with_ldap:LDAPSO=""} \
 	%{!?with_mysql:MYSQLSO=""} \
 	%{!?with_pgsql:PGSQLSO=""} \
-	CCARGS="-DNO_EPOLL %{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL} %{?with_ssl:-DUSE_TLS} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} -DHAVE_GETIFADDRS" \
+	CCARGS="%{?with_epoll:-DNO_EPOLL} %{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL} %{?with_ssl:-DUSE_TLS} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} -DHAVE_GETIFADDRS" \
 	AUXLIBS="-ldb -lresolv %{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto} %{?with_cdb:-lcdb} -lpcre"
 
 %install
@@ -497,6 +498,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.312  2008-03-31 22:18:07  glen
+- enable epoll on HEAD
+
 Revision 1.311  2008-03-28 16:21:14  glen
 - updates by Eero Hanninen <eero.hanninen at delfi.ee>; rel 5.1 (give it a test!)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfix.spec?r1=1.311&r2=1.312&f=u



More information about the pld-cvs-commit mailing list