Author: qboosh                       Date: Wed Mar  2 13:22:43 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added getifaddrs patch and -DHAVE_GETIFADDRS: use getifaddrs() from glibc 
2.3.4,
  don't use libinet6
- release 6

---- Files affected:
SPECS:
   postfix.spec (1.224 -> 1.225) 

---- Diffs:

================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.224 SPECS/postfix.spec:1.225
--- SPECS/postfix.spec:1.224    Tue Feb 22 23:49:16 2005
+++ SPECS/postfix.spec  Wed Mar  2 14:22:35 2005
@@ -24,7 +24,7 @@
 Summary(sk):   Agent prenosu pošty Postfix
 Name:          postfix
 Version:       2.1.5
-Release:       5
+Release:       6
 Epoch:         2
 Group:         Networking/Daemons
 License:       distributable
@@ -50,15 +50,16 @@
 Patch6:                %{name}-cdb_man.patch
 Patch8:                %{name}-kill_warnings.patch
 Patch9:                %{name}-ipv6-kill_warnings.patch
+Patch10:       %{name}-getifaddrs.patch
 # from http://akson.sgh.waw.pl/~chopin/unix/postfix-2.1.5-header_if_reject.diff
-Patch10:       %{name}-header_if_reject.patch
+Patch11:       %{name}-header_if_reject.patch
 URL:           http://www.postfix.org/
 BuildRequires: awk
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 BuildRequires: db-devel
+# getifaddrs() with IPv6 support
+BuildRequires: glibc-devel >= 6:2.3.4
 BuildRequires: grep
-# kill for now, is it really necessary ?
-#BuildRequires:        libinet6 >= 0.20030228-1
 %{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.2.0}
 %{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7d}
@@ -66,7 +67,6 @@
 %{?with_pgsql:BuildRequires:   postgresql-devel}
 BuildRequires: rpmbuild(macros) >= 1.159
 %{?with_cdb:BuildRequires:     tinycdb-devel}
-BuildConflicts:        libinet6
 PreReq:                rc-scripts
 PreReq:                sed
 Requires(post):        /bin/hostname
@@ -229,17 +229,20 @@
 %{?with_cdb:%patch6 -p1}
 %patch8 -p1
 %patch9 -p1
-%{?with_hir:%patch10 -p0}
+%patch10 -p1
+%{?with_hir:%patch11 -p0}
 %{?with_cdb:sh dict_cdb.sh}
 
 %build
 %{__make} -f Makefile.init makefiles
 %{__make} tidy
-%{__make} DEBUG="" OPT="%{rpmcflags}" \
+%{__make} \
+       DEBUG="" \
+       OPT="%{rpmcflags}" \
        %{!?with_ldap:LDAPSO=""} \
        %{!?with_mysql:MYSQLSO=""} \
        %{!?with_pgsql:PGSQLSO=""} \
-       CCARGS="%{?with_ldap:-DHAS_LDAP} -DHAS_PCRE 
%{?with_sasl:-DUSE_SASL_AUTH -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL 
-I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL -I/usr/include/postgresql} 
%{?with_ssl:-DHAS_SSL -I/usr/include/openssl} -DMAX_DYNAMIC_MAPS 
%{?with_cdb:-DHAS_CDB}" \
+       CCARGS="%{?with_ldap:-DHAS_LDAP} -DHAS_PCRE 
%{?with_sasl:-DUSE_SASL_AUTH -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL 
-I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL -I/usr/include/postgresql} 
%{?with_ssl:-DHAS_SSL -I/usr/include/openssl} -DMAX_DYNAMIC_MAPS 
%{?with_cdb:-DHAS_CDB} -DHAVE_GETIFADDRS" \
        AUXLIBS="-ldb -lresolv %{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto} 
%{?with_cdb:-lcdb}"
 
 %install
@@ -457,6 +460,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.225  2005/03/02 13:22:35  qboosh
+- added getifaddrs patch and -DHAVE_GETIFADDRS: use getifaddrs() from glibc 
2.3.4,
+  don't use libinet6
+- release 6
+
 Revision 1.224  2005/02/22 22:49:16  eothane
 - new (bconded '--with hir') patch (adds "header_if_reject" keyword)
   more info: http://42.pl/news/[EMAIL PROTECTED]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/postfix.spec?r1=1.224&r2=1.225&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to