SPECS: postfix.spec - merged from DEVEL - up to 2.3.0
shadzik
shadzik at pld-linux.org
Mon Jul 17 03:41:00 CEST 2006
Author: shadzik Date: Mon Jul 17 01:41:00 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- merged from DEVEL
- up to 2.3.0
---- Files affected:
SPECS:
postfix.spec (1.254 -> 1.255)
---- Diffs:
================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.254 SPECS/postfix.spec:1.255
--- SPECS/postfix.spec:1.254 Tue May 9 00:19:29 2006
+++ SPECS/postfix.spec Mon Jul 17 03:40:55 2006
@@ -22,13 +22,13 @@
Summary(pt_BR): Postfix - Um MTA (Mail Transport Agent) de alto desempenho
Summary(sk): Agent prenosu pošty Postfix
Name: postfix
-Version: 2.2.10
-Release: 1
+Version: 2.3.0
+Release: 0.1
Epoch: 2
License: distributable
Group: Networking/Daemons
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
-# Source0-md5: 440a4702182a79ac2f51e8974fb742c9
+# Source0-md5: 72a714e0cc8a5fdbe770359ae965e09b
Source1: %{name}.aliases
Source2: %{name}.cron
Source3: %{name}.init
@@ -36,18 +36,17 @@
Source5: %{name}.sasl
Source6: %{name}.pamd
Source7: http://web.onda.com.br/nadal/postfix/VDA/%{name}-%{version}-vda.patch.gz
-# Source7-md5: 8237cd654eb116d35785b11de6e5ca9c
+# Source7-md5: e29d9db6641b22f788d496912e045992
Patch0: %{name}-config.patch
Patch1: %{name}-conf_msg.patch
Patch2: %{name}-dynamicmaps.patch
Patch3: %{name}-master.cf_cyrus.patch
-# from http://akson.sgh.waw.pl/~chopin/unix/postfix-2.1.5-header_if_reject.diff
+# from http: //akson.sgh.waw.pl/~chopin/unix/postfix-2.1.5-header_if_reject.diff
Patch4: %{name}-header_if_reject.patch
#Patch5: %{name}-pl.patch
-Patch6: %{name}-setsid.patch
-Patch7: %{name}-size-check-before-proxy.patch
-Patch8: %{name}-log-proxy-rejects.patch
-Patch9: %{name}-ident.patch
+#Patch6: %{name}-size-check-before-proxy.patch
+#Patch7: %{name}-log-proxy-rejects.patch
+Patch8: %{name}-ident.patch
URL: http://www.postfix.org/
BuildRequires: awk
%{?with_sasl:BuildRequires: cyrus-sasl-devel}
@@ -61,7 +60,9 @@
BuildRequires: pcre-devel
%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed >= 4.0
%{?with_cdb:BuildRequires: tinycdb-devel}
+%{?with_mysql:BuildRequires: zlib-devel}
Requires(post): /bin/hostname
Requires(post,postun): /sbin/ldconfig
Requires(post,preun): /sbin/chkconfig
@@ -211,17 +212,17 @@
%prep
%setup -q
-%{?with_vda:zcat %{SOURCE7} | patch -p1 -s}
+#%{?with_vda:zcat %{SOURCE7} | patch -p1 -s}
%patch0 -p1
-%patch1 -p1
+%patch1 -p0
%patch2 -p1
%patch3 -p1
%{?with_hir:%patch4 -p0}
#%{?with_polish:%patch5 -p1}
-%patch6 -p1
-%patch7 -p1
+#%patch6 -p1
+#%patch7 -p1 --obsolete ?
%patch8 -p1
-%patch9 -p1
+sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt.c
%build
%{__make} -f Makefile.init makefiles
@@ -233,13 +234,13 @@
%{!?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:-DUSE_TLS -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}"
+ AUXLIBS="-ldb -lresolv %{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto} %{?with_cdb:-lcdb} -lpcre %{?with_ldap:-lldap -llber} %{?with_pgsql:-lpq} %{?with_mysql:-lmysqlclient -lz}"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d} \
$RPM_BUILD_ROOT%{_sysconfdir}/{mail,sasl} \
- $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix,/usr/lib}\
+ $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix,%{_prefix}/lib}\
$RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}/man{1,5,8}} \
$RPM_BUILD_ROOT%{_var}/spool/postfix/{active,corrupt,deferred,maildrop,private,saved,bounce,defer,incoming,pid,public}
@@ -268,16 +269,16 @@
install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
install auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
-ln -sf /usr/sbin/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
-ln -sf /usr/sbin/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
-ln -sf /usr/sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
+ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/mailq
+ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/newaliases
+ln -sf %{_sbindir}/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/\
{aliases,access,canonical,relocated,transport,virtual}{,.db}
> $RPM_BUILD_ROOT/var/spool/postfix/.nofinger
-rm -rf $RPM_BUILD_ROOT/etc/mail/makedefs.out $RPM_BUILD_ROOT/usr/share/man/cat*
+rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/mail/makedefs.out $RPM_BUILD_ROOT%{_mandir}/cat*
%clean
rm -rf $RPM_BUILD_ROOT
@@ -289,13 +290,13 @@
%post
/sbin/ldconfig
-if ! grep -q "^postmaster:" /etc/mail/aliases; then
- echo "Adding Entry for postmaster in /etc/mail/aliases" >&2
- echo "postmaster: root" >>/etc/mail/aliases
+if ! grep -q "^postmaster:" %{_sysconfdir}/mail/aliases; then
+echo "Adding Entry for postmaster in %{_sysconfdir}/mail/aliases" >&2
+echo "postmaster: root" >>%{_sysconfdir}/mail/aliases
fi
if [ "$1" = "1" ]; then
# only on installation, not upgrade
- if ! grep -q "^myhostname" /etc/mail/main.cf; then
+if ! grep -q "^myhostname" %{_sysconfdir}/mail/main.cf; then
postconf -e myhostname=`/bin/hostname -f`
fi
else
@@ -414,6 +415,30 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.255 2006/07/17 01:40:55 shadzik
+- merged from DEVEL
+- up to 2.3.0
+
+Revision 1.254.4.5 2006/07/13 18:40:45 shadzik
+- adapterized
+
+Revision 1.254.4.4 2006/07/13 14:58:18 shadzik
+- we still need patch3
+- builds (thanks to sparky)
+
+Revision 1.254.4.3 2006/07/13 14:15:48 sparky
+- first variable in scache_clnt_create() function declaration [in
+ src/global/scache_clnt.c] has incorrect name, fast fix
+
+Revision 1.254.4.2 2006/07/11 18:45:09 shadzik
+- conf_msg, dynamicmaps and ident patch fixes
+- still NFY; it stopped build due to unresolved symbol var_scache_service;
+ dunno what to do with this
+
+Revision 1.254.4.1 2006/07/11 15:05:54 shadzik
+- up to 2.3-RC9
+- NFY - need to update some patches; wtf happend to all those dict* files ?
+
Revision 1.254 2006/05/08 22:19:29 baggins
- updated patch8, we still need it
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/postfix.spec?r1=1.254&r2=1.255&f=u
More information about the pld-cvs-commit
mailing list