[root@test SPECS]# rpmbuild -ba postfix.spec error: line 151: Bad arg to %patch -p: %package pflogsumm
What tutorial (URL) are you referring to? Which distribution are you using, and what did you do before you ran rpmbuild?
I complete follow this URL:http://www.howtoforge.com/perfect-server-centos-5.2-ispconfig-3-p4. I used CentOS 5.3.
1 %define LDAP 2 2 %define MYSQL 1 3 %define PCRE 1 4 %define SASL 2 5 %define TLS 1 6 %define IPV6 1 7 %define POSTDROP_GID 90 8 %define PFLOGSUMM 1 9 10 # On Redhat 8.0.1 and earlier, LDAP is compiled with SASL V1 and won't w ork 11 # if postfix is compiled with SASL V2. So we drop to SASL V1 if LDAP is 12 # requested but use the preferred SASL V2 if LDAP is not requested. 13 # Sometime soon LDAP will build agains SASL V2 and this won't be needed. 14 15 %if %{LDAP} <= 1 && %{SASL} >= 2 16 %undefine SASL 17 %define SASL 1 18 %endif 19 20 %if %{PFLOGSUMM} 21 %define pflogsumm_ver 1.1.0 22 %endif 23 24 # Postfix requires one exlusive uid/gid and a 2nd exclusive gid for its own 25 # use. Let me know if the second gid collides with another package. 26 # Be careful: Redhat's 'mail' user & group isn't unique! 27 %define postfix_uid 89 28 %define postfix_user postfix 29 %define postfix_gid 89 30 %define postfix_group postfix 31 %define postdrop_group postdrop 32 %define maildrop_group %{postdrop_group} 33 %define maildrop_gid %{POSTDROP_GID} 34 35 %define postfix_config_dir %{_sysconfdir}/postfix 36 %define postfix_daemon_dir %{_libexecdir}/postfix 37 %define postfix_command_dir %{_sbindir} 38 %define postfix_queue_dir %{_var}/spool/postfix 39 %define postfix_doc_dir %{_docdir}/%{name}-%{version} 40 %define postfix_sample_dir %{postfix_doc_dir}/samples 41 %define postfix_readme_dir %{postfix_doc_dir}/README_FILES 42 43 Name: postfix 44 Summary: Postfix Mail Transport Agent 45 Version: 2.3.3 46 Release: 2.1%{?dist} 47 Epoch: 2 48 Group: System Environment/Daemons 49 URL: http://www.postfix.org 50 License: IBM Public License 51 PreReq: /sbin/chkconfig, /sbin/service, sh-utils 52 PreReq: fileutils, textutils, 53 PreReq: /usr/sbin/alternatives 54 55 PreReq: %{_sbindir}/groupadd, %{_sbindir}/useradd 56 57 Provides: MTA smtpd smtpdaemon /usr/bin/newaliases 58 59 Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name }-%{version}.tar.gz 60 Source1: postfix-etc-init.d-postfix 61 Source3: README-Postfix-SASL-RedHat.txt 62 63 # Sources 50-99 are upstream [patch] contributions 64 65 %if %{PFLOGSUMM} 66 # Postfix Log Entry Summarizer: http://jimsun.linxnet.com/postfix_contri b.html 67 Source53: http://jimsun.linxnet.com/downloads/pflogsumm-%{pflogsumm_ver} .tar.gz 68 %endif 69 70 # Sources >= 100 are config files 71 72 Source100: postfix-sasl.conf 73 Source101: postfix-pam.conf 74 75 # Patches 76 77 Patch0: postfix-2.3.3-vda.patch 78 Patch1: postfix-2.1.1-config.patch 79 Patch3: postfix-alternatives.patch 80 Patch6: postfix-2.1.1-obsolete.patch 81 Patch7: postfix-2.1.5-aliases.patch 82 Patch8: postfix-large-fs.patch 83 Patch9: postfix-2.2.5-cyrus.patch 84 Patch10: postfix-CVE-2008-2936.patch 85 86 # Optional patches - set the appropriate environment variables to includ e 87 # them when building the package/spec file 88 89 BuildRoot: %{_tmppath}/%{name}-buildroot 90 91 # Determine the different packages required for building postfix 92 BuildRequires: gawk, perl, sed, ed, db4-devel, pkgconfig, zlib-devel 93 94 Requires: setup >= 2.5.36-1 95 BuildRequires: setup >= 2.5.36-1 96 97 %if %{LDAP} 98 BuildRequires: openldap >= 2.0.27, openldap-devel >= 2.0.27 99 Requires: openldap >= 2.0.27 100 %endif 101 102 %if %{SASL} 103 BuildRequires: cyrus-sasl >= 2.1.10, cyrus-sasl-devel >= 2.1.10 104 Requires: cyrus-sasl >= 2.1.10 105 %endif 106 107 %if %{PCRE} 108 Requires: pcre 109 BuildRequires: pcre, pcre-devel 110 %endif 111 112 %if %{MYSQL} 113 Requires: mysql 114 BuildRequires: mysql, mysql-devel 115 %endif 116 117 %if %{TLS} 118 Requires: openssl 119 BuildRequires: openssl-devel >= 0.9.6 120 %endif 121 122 Provides: /usr/sbin/sendmail /usr/bin/mailq /usr/bin/rmail 123 124 %description 125 Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SAS L), 126 TLS 127 128 %prep 129 umask 022 130 131 %setup -q 132 # Apply obligatory patches 133 %patch0 -pl -b .vda 134 %patch1 -p1 -b .config 135 %patch3 -p1 -b .alternatives 136 %patch6 -p1 -b .obsolete 137 %patch7 -p1 -b .aliases 138 %patch8 -p1 -b .large-fs 139 %patch9 -p1 -b .cyrus 140 %patch10 -p1 -b .CVE-2008-2936 141 142 %if %{PFLOGSUMM} 143 gzip -dc %{SOURCE53} | tar xf - 144 pushd pflogsumm-%{pflogsumm_ver} 145 patch -p0 < ../pflogsumm-conn-delays-dsn-patch 146 popd 147 %endif 148 149 # pflogsumm subpackage 150 %if %{PFLOGSUMM} 151 %package pflogsumm 152 Group: System Environment/Daemons 153 Summary: A Log Summarizer/Analyzer for the Postfix MTA 154 Requires: perl-Date-Calc 155 %description pflogsumm 156 Pflogsumm is a log analyzer/summarizer for the Postfix MTA. It is 157 designed to provide an over-view of Postfix activity. Pflogsumm 158 generates summaries and, in some cases, detailed reports of mail 159 server traffic volumes, rejected and bounced email, and server 160 warnings, errors and panics. 161 162 %endif 163 164 %build 165 umask 022 166 167 CCARGS=-fPIC 168 AUXLIBS= 169 170 %ifarch s390 s390x ppc 171 CCARGS="${CCARGS} -fsigned-char" 172 %endif 173 174 %if %{LDAP} 175 CCARGS="${CCARGS} -DHAS_LDAP -DLDAP_DEPRECATED=1" 176 AUXLIBS="${AUXLIBS} -L%{_libdir} -lldap -llber" 177 %endif 178 %if %{PCRE} 179 # -I option required for pcre 3.4 (and later?) 180 CCARGS="${CCARGS} -DHAS_PCRE -I/usr/include/pcre" 181 AUXLIBS="${AUXLIBS} -lpcre" 182 %endif 183 %if %{MYSQL} 184 CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" 185 AUXLIBS="${AUXLIBS} -L%{_libdir}/mysql -lmysqlclient -lm" 186 %endif 187 %if %{SASL} 188 %define sasl_v1_lib_dir %{_libdir}/sasl 189 %define sasl_v2_lib_dir %{_libdir}/sasl2 190 CCARGS="${CCARGS} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL" 191 %if %{SASL} <= 1 192 %define sasl_lib_dir %{sasl_v1_lib_dir} 193 AUXLIBS="${AUXLIBS} -L%{sasl_lib_dir} -lsasl" 194 %else 195 %define sasl_lib_dir %{sasl_v2_lib_dir} 196 CCARGS="${CCARGS} -I/usr/include/sasl" 197 AUXLIBS="${AUXLIBS} -L%{sasl_lib_dir} -lsasl2" 198 %endif 199 %endif 200 %if %{TLS} 201 if pkg-config openssl ; then 202 CCARGS="${CCARGS} -DUSE_TLS `pkg-config --cflags openssl`" 203 AUXLIBS="${AUXLIBS} `pkg-config --libs openssl`" 204 else 205 CCARGS="${CCARGS} -DUSE_TLS -I/usr/include/openssl" 206 AUXLIBS="${AUXLIBS} -lssl -lcrypto" 207 fi 208 %endif 209 %if %{IPV6} != 1 210 CCARGS="${CCARGS} -DNO_IPV6" 211 %endif 212 213 AUXLIBS="${AUXLIBS} -pie -Wl,-z,relro" 214 215 export CCARGS AUXLIBS 216 make -f Makefile.init makefiles 217 218 unset CCARGS AUXLIBS 219 make DEBUG="" OPT="$RPM_OPT_FLAGS" 220 221 %install 222 umask 022 223 /bin/rm -rf $RPM_BUILD_ROOT 224 /bin/mkdir -p $RPM_BUILD_ROOT 225 226 # install postfix into $RPM_BUILD_ROOT 227 228 # Move stuff around so we don't conflict with sendmail 229 mv man/man1/mailq.1 man/man1/mailq.postfix.1 230 mv man/man1/newaliases.1 man/man1/newaliases.postfix.1 231 mv man/man1/sendmail.1 man/man1/sendmail.postfix.1 232 mv man/man5/aliases.5 man/man5/aliases.postfix.5 233 234 sh postfix-install -non-interactive \ 235 install_root=$RPM_BUILD_ROOT \ 236 config_directory=%{postfix_config_dir} \ 237 daemon_directory=%{postfix_daemon_dir} \ 238 command_directory=%{postfix_command_dir} \ 239 queue_directory=%{postfix_queue_dir} \ 240 sendmail_path=%{postfix_command_dir}/sendmail.postfix \ 241 newaliases_path=%{_bindir}/newaliases.postfix \ 242 mailq_path=%{_bindir}/mailq.postfix \ 243 mail_owner=%{postfix_user} \ 244 setgid_group=%{maildrop_group} \ 245 manpage_directory=%{_mandir} \ 246 sample_directory=%{postfix_sample_dir} \ 247 readme_directory=%{postfix_readme_dir} || exit 1 248 249 # This installs into the /etc/rc.d/init.d directory 250 /bin/mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d 251 install -c %{_sourcedir}/postfix-etc-init.d-postfix \ 252 $RPM_BUILD_ROOT/etc/rc.d/init.d/postfix 253 254 install -c auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail.postfix 255 256 for i in active bounce corrupt defer deferred flush incoming private sav ed maildrop public pid saved trace; do 257 mkdir -p $RPM_BUILD_ROOT%{postfix_queue_dir}/$i 258 done 259 260 # install performance benchmark tools by hand 261 for i in smtp-sink smtp-source ; do 262 install -c -m 755 bin/$i $RPM_BUILD_ROOT%{postfix_command_dir}/ 263 install -c -m 755 man/man1/$i.1 $RPM_BUILD_ROOT%{_mandir}/man1/ 264 done 265 266 # RPM compresses man pages automatically. 267 # - Edit postfix-files to reflect this, so post-install won't get confus ed 268 # when called during package installation. 269 ed $RPM_BUILD_ROOT%{postfix_config_dir}/postfix-files <<EOF || exit 1 270 %s/\(\/man[158]\/.*\.[158]\):/\1.gz:/ 271 %s/\$config_directory\/aliases:f/\#/ 272 w 273 q 274 EOF 275 276 perl -i -pe 's:/cyrus/bin/deliver:/usr/lib/cyrus-imapd/deliver:' $RPM_BU ILD_ROOT%{postfix_config_dir}/master.cf 277 278 cat $RPM_BUILD_ROOT%{postfix_config_dir}/postfix-files 279 %if %{SASL} 280 # Install the smtpd.conf file for SASL support. 281 # See README-Postfix-SASL-RedHat.txt for why we need to set saslauthd_ve rsion 282 # in the v1 version of smtpd.conf 283 mkdir -p $RPM_BUILD_ROOT%{sasl_v1_lib_dir} 284 install -m 644 %{SOURCE100} $RPM_BUILD_ROOT%{sasl_v1_lib_dir}/smtpd.conf 285 echo "saslauthd_version: 2" >> $RPM_BUILD_ROOT%{sasl_v1_lib_dir}/smtpd.c onf 286 287 mkdir -p $RPM_BUILD_ROOT%{sasl_v2_lib_dir} 288 install -m 644 %{SOURCE100} $RPM_BUILD_ROOT%{sasl_v2_lib_dir}/smtpd.conf 289 %endif 290 291 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d 292 install -m 644 %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/smtp.postfix 293 294 # Install Postfix Red Hat HOWTO. 295 mkdir -p $RPM_BUILD_ROOT%{postfix_doc_dir} 296 install -c %{SOURCE3} $RPM_BUILD_ROOT%{postfix_doc_dir} 297 298 %if %{PFLOGSUMM} 299 install -c -m 644 pflogsumm-%{pflogsumm_ver}/pflogsumm-faq.txt $RPM_BUIL D_ROOT%{postfix_doc_dir}/pflogsumm-faq.txt 300 install -c -m 644 pflogsumm-%{pflogsumm_ver}/pflogsumm.1 $RPM_BUILD_ROOT %{_mandir}/man1/pflogsumm.1 301 install -c pflogsumm-%{pflogsumm_ver}/pflogsumm.pl $RPM_BUILD_ROOT%{post fix_command_dir}/pflogsumm 302 %endif 303 304 # install qshape 305 mantools/srctoman - auxiliary/qshape/qshape.pl > qshape.1 306 install -c qshape.1 $RPM_BUILD_ROOT%{_mandir}/man1/qshape.1 307 install -c auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{postfix_command_d ir}/qshape 308 309 rm -f $RPM_BUILD_ROOT/etc/postfix/aliases 310 311 mkdir -p $RPM_BUILD_ROOT/usr/lib 312 pushd $RPM_BUILD_ROOT/usr/lib 313 ln -sf ../sbin/sendmail.postfix . 314 popd 315 316 %post 317 umask 022 318 319 /sbin/chkconfig --add postfix 320 321 # upgrade configuration files if necessary 322 %{_sbindir}/postfix set-permissions upgrade-configuration \ 323 config_directory=%{postfix_config_dir} \ 324 daemon_directory=%{postfix_daemon_dir} \ 325 command_directory=%{postfix_command_dir} \ 326 mail_owner=%{postfix_user} \ 327 setgid_group=%{maildrop_group} \ 328 manpage_directory=%{_mandir} \ 329 sample_directory=%{postfix_sample_dir} \ 330 readme_directory=%{postfix_readme_dir} 331 332 %{_sbindir}/alternatives --install %{postfix_command_dir}/sendmail mta % {postfix_command_dir}/sendmail.postfix 30 \ 333 --slave %{_bindir}/mailq mta-mailq %{_bindir}/mailq.postfix \ 334 --slave %{_bindir}/newaliases mta-newaliases %{_bindir}/newalias es.postfix \ 335 --slave %{_sysconfdir}/pam.d/smtp mta-pam %{_sysconfdir}/pam.d/s mtp.postfix \ 336 --slave %{_bindir}/rmail mta-rmail %{_bindir}/rmail.postfix \ 337 --slave /usr/lib/sendmail mta-sendmail /usr/lib/sendmail.postfix \ 338 --slave %{_mandir}/man1/mailq.1.gz mta-mailqman %{_mandir}/man1/ mailq.postfix.1.gz \ 339 --slave %{_mandir}/man1/newaliases.1.gz mta-newaliasesman %{_man dir}/man1/newaliases.postfix.1.gz \ 340 --slave %{_mandir}/man8/sendmail.8.gz mta-sendmailman %{_mandir} /man1/sendmail.postfix.1.gz \ 341 --slave %{_mandir}/man5/aliases.5.gz mta-aliasesman %{_mandir}/m an5/aliases.postfix.5.gz \ 342 --initscript postfix 343 344 %pre 345 # Add user and groups if necessary 346 %{_sbindir}/groupadd -g %{maildrop_gid} -r %{maildrop_group} 2>/dev/null 347 %{_sbindir}/groupadd -g %{postfix_gid} -r %{postfix_group} 2>/dev/null 348 %{_sbindir}/groupadd -g 12 -r mail 2>/dev/null 349 %{_sbindir}/useradd -d %{postfix_queue_dir} -s /sbin/nologin -g %{postfi x_group} -G mail -M -r -u %{postfix_uid} %{postfix_user} 2>/dev/null 350 exit 0 351 352 %preun 353 umask 022 354 355 if [ "$1" = 0 ]; then 356 # stop postfix silently, but only if it's running 357 /sbin/service postfix stop &>/dev/null 358 /sbin/chkconfig --del postfix 359 /usr/sbin/alternatives --remove mta %{postfix_command_dir}/sendmail. postfix 360 fi 361 362 exit 0 363 364 %postun 365 if [ "$1" != 0 ]; then 366 /sbin/service postfix condrestart 2>&1 > /dev/null 367 fi 368 exit 0 369 370 %clean 371 /bin/rm -rf $RPM_BUILD_ROOT 372 373 374 %files 375 376 # For correct directory permissions check postfix-install script. 377 # It reads the file postfix-files which defines the ownership 378 # and permissions for all files postfix installs, we avoid explicitly 379 # setting anything in the %files sections that is handled by 380 # the upstream install script so we don't have an issue with keeping
381 # the spec file and upstream in sync. 382 383 %defattr(-, root, root) 384 385 # Config files not part of upstream 386 387 %if %{SASL} 388 %config(noreplace) %{sasl_v1_lib_dir}/smtpd.conf 389 %config(noreplace) %{sasl_v2_lib_dir}/smtpd.conf 390 %endif 391 %config(noreplace) %{_sysconfdir}/pam.d/smtp.postfix 392 %attr(0755, root, root) %config /etc/rc.d/init.d/postfix 393 394 # Misc files 395 396 %attr(0755, root, root) %{_bindir}/rmail.postfix 397 398 %attr(0755, root, root) %{postfix_command_dir}/smtp-sink 399 %attr(0755, root, root) %{postfix_command_dir}/smtp-source 400 %attr(0755, root, root) %{postfix_command_dir}/qshape 401 %attr(0755, root, root) /usr/lib/sendmail.postfix 402 403 %dir %attr(0755, root, root) %{postfix_doc_dir} 404 %doc %attr(0644, root, root) %{postfix_doc_dir}/README-* 405 %dir %attr(0755, root, root) %{postfix_readme_dir} 406 %doc %attr(0644, root, root) %{postfix_readme_dir}/* 407 #%dir %attr(0755, root, root) %{postfix_sample_dir} 408 #%doc %attr(0644, root, root) %{postfix_sample_dir}/* 409 410 %dir %attr(0755, root, root) %{postfix_config_dir} 411 %dir %attr(0755, root, root) %{postfix_daemon_dir} 412 %dir %attr(0755, root, root) %{postfix_queue_dir} 413 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/active 414 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/bounce 415 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/corrupt 416 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/defer 417 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/deferred 418 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/flush 419 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/hold 420 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/incoming 421 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/saved 422 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/trace 423 %dir %attr(0730, %{postfix_user}, %{maildrop_group}) %{postfix_queue_dir }/maildrop 424 %dir %attr(0755, root, root) %{postfix_queue_dir}/pid 425 %dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/private 426 %dir %attr(0710, %{postfix_user}, %{maildrop_group}) %{postfix_queue_dir }/public 427 428 %attr(0644, root, root) %{_mandir}/man1/[a-n]* 429 %attr(0644, root, root) %{_mandir}/man1/post* 430 %attr(0644, root, root) %{_mandir}/man1/[q-z]* 431 %attr(0644, root, root) %{_mandir}/man5/* 432 %attr(0644, root, root) %{_mandir}/man8/* 433 434 %attr(0755, root, root) %{postfix_command_dir}/postalias 435 %attr(0755, root, root) %{postfix_command_dir}/postcat 436 %attr(0755, root, root) %{postfix_command_dir}/postconf 437 %attr(2755, root, %{maildrop_group}) %{postfix_command_dir}/postdrop 438 %attr(0755, root, root) %{postfix_command_dir}/postfix 439 %attr(0755, root, root) %{postfix_command_dir}/postkick 440 %attr(0755, root, root) %{postfix_command_dir}/postlock 441 %attr(0755, root, root) %{postfix_command_dir}/postlog 442 %attr(0755, root, root) %{postfix_command_dir}/postmap 443 %attr(2755, root, %{maildrop_group}) %{postfix_command_dir}/postqueue 444 %attr(0755, root, root) %{postfix_command_dir}/postsuper 445 %attr(0644, root, root) %{postfix_config_dir}/LICENSE 446 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/access 447 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/bounce. cf.default 448 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/canonic al 449 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/generic 450 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/header_ checks 451 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/main.cf 452 %attr(0644, root, root) %{postfix_config_dir}/main.cf.default 453 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/makedef s.out 454 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/master. cf 455 %attr(0755, root, root) %{postfix_config_dir}/post-install 456 %attr(0644, root, root) %{postfix_config_dir}/postfix-files 457 %attr(0755, root, root) %{postfix_config_dir}/postfix-script 458 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/relocat ed 459 %attr(0644, root, root) %{postfix_config_dir}/TLS_LICENSE 460 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/transpo rt 461 %attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/virtual 462 %attr(0755, root, root) %{postfix_daemon_dir}/* 463 %attr(0755, root, root) %{_bindir}/mailq.postfix 464 %attr(0755, root, root) %{_bindir}/newaliases.postfix 465 %attr(0755, root, root) %{_sbindir}/sendmail.postfix 466 467 %if %{PFLOGSUMM} 468 %files pflogsumm 469 %defattr(-, root, root) 470 %doc %{postfix_doc_dir}/pflogsumm-faq.txt 471 %{_mandir}/man1/pflogsumm.1.gz 472 %attr(0755, root , root) %{postfix_command_dir}/pflogsumm 473 %endif 474 475 476 %changelog 477 * Mon Aug 11 2008 Thomas Woerner <[email protected]> 2:2.3.3-2.1 478 - fixed postfix privilege problem with symlinks in the mail spool direct ory 479 (CVE-2008-2936) 480 Resolves: rhbz#456717 481 482 * Fri Sep 1 2006 Thomas Woerner <[email protected]> 2:2.3.3-2 483 - fixed upgrade procedure (#202357) 484 485 * Fri Sep 1 2006 Thomas Woerner <[email protected]> 2:2.3.3-1 486 - new version 2.3.3 487 - fixed permissions of TLS_LICENSE file 488 489 * Fri Aug 18 2006 Jesse Keating <[email protected]> - 2:2.3.2-2 490 - rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc* 491 (#203001) 492 493 * Mon Jul 31 2006 Thomas Woerner <[email protected]> 2:2.3.2-1 494 - new version 2.3.2 with major upstream fixes: 495 - corrupted queue file after a request to modify a short message heade r 496 - panic after spurious Milter request when a client was rejected 497 - maked the Milter more tolerant for redundant "data cleanup" requests 498 - applying pflogsumm-conn-delays-dsn-patch from postfix tree to pflogsum m 499 500 * Fri Jul 28 2006 Thomas Woerner <[email protected]> 2:2.3.1-1 501 - new version 2.3.1 502 - fixes problems with TLS and Milter support 503 504 * Tue Jul 25 2006 Thomas Woerner <[email protected]> 2:2.3.0-2 505 - fixed SASL build (#200079) 506 thanks to Kaj J. Niemi for the patch 507 508 * Mon Jul 24 2006 Thomas Woerner <[email protected]> 2:2.3.0-1 509 - new version 2.3.0 510 - dropped hostname-fqdn patch 511 512 * Wed Jul 12 2006 Jesse Keating <[email protected]> - 2:2.2.10-2.1 513 - rebuild 514 515 * Wed May 10 2006 Thomas Woerner <[email protected]> 2:2.2.10-2 516 - added RELRO security protection 517 518 * Tue Apr 11 2006 Thomas Woerner <[email protected]> 2:2.2.10-1 519 - new version 2.2.10 520 - added option LDAP_DEPRECATED to support deprecated ldap functions for now 521 - fixed build without pflogsumm support (#188470) 522 523 * Fri Feb 10 2006 Jesse Keating <[email protected]> - 2:2.2.8-1.2 524 - bump again for double-long bug on ppc(64) 525 526 * Tue Feb 07 2006 Jesse Keating <[email protected]> - 2:2.2.8-1.1 527 - rebuilt for new gcc4.1 snapshot and glibc changes 528 529 * Tue Jan 24 2006 Florian Festi <[email protected]> 2:2.2.8-1 530 - new version 2.2.8 531 532 * Tue Dec 13 2005 Thomas Woerner <[email protected]> 2:2.2.7-1 533 - new version 2.2.7 534 535 * Fri Dec 09 2005 Jesse Keating <[email protected]> 536 - rebuilt 537 538 * Fri Nov 11 2005 Thomas Woerner <[email protected]> 2:2.2.5-2.1 539 - replaced postconf and postalias call in initscript with newaliases (#1 56358) 540 - fixed initscripts messages (#155774) 541 - fixed build problems when sasl is disabled (#164773) 542 - fixed pre-definition of mailbox_transport lmtp socket path (#122910) 543 544 * Thu Nov 10 2005 Tomas Mraz <[email protected]> 2:2.2.5-2 545 - rebuilt against new openssl 546 547 * Fri Oct 7 2005 Tomas Mraz <[email protected]> 548 - use include instead of pam_stack in pam config 549 550 * Thu Sep 8 2005 Thomas Woerner <[email protected]> 2:2.2.5-1 551 - new version 2.2.5 552 553 * Thu May 12 2005 Thomas Woerner <[email protected]> 2:2.2.3-1 554 - new version 2.2.3 555 - compiling all binaries PIE, dropped old pie patch 556 557 * Wed Apr 20 2005 Tomas Mraz <[email protected]> 2:2.2.2-2 558 - fix fsspace on large filesystems (>2G blocks) 559 560 * Tue Apr 12 2005 Thomas Woerner <[email protected]> 2:2.2.2-1 561 - new version 2.2.2 562 563 * Fri Mar 18 2005 Thomas Woerner <[email protected]> 2:2.2.1-1 564 - new version 2.2.1 565 - allow to start postfix without alias_database (#149657) 566 567 * Fri Mar 11 2005 Thomas Woerner <[email protected]> 2:2.2.0-1 568 - new version 2.2.0 569 - cleanup of spec file: removed external TLS and IPV6 patches, removed 570 smtp_sasl_proto patch 571 - dropped samples directory till there are good examples again (was TLS and 572 IPV6) 573 - v2.2.0 fixes code problems: #132798 and #137858 574 575 * Fri Feb 11 2005 Thomas Woerner <[email protected]> 2:2.1.5-5.1 576 - fixed open relay bug in postfix ipv6 patch: new version 1.26 (#146731) 577 - fixed permissions on doc directory (#147280) 578 - integrated fixed fqdn patch from Joseph Dunn (#139983) 579 580 * Tue Nov 23 2004 Thomas Woerner <[email protected]> 2:2.1.5-4.1 581 - removed double quotes from postalias call, second fix for #138354 582 583 * Thu Nov 11 2004 Jeff Johnson <[email protected]> 2:2.1.5-4 584 - rebuild against db-4.3.21. 585 - remove Requires: db4, the soname linkage dependency is sufficient. 586 587 * Thu Nov 11 2004 Thomas Woerner <[email protected]> 2:2.1.5-3.1 588 - fixed problem with multiple alias maps (#138354) 589 590 * Tue Oct 26 2004 Thomas Woerner <[email protected]> 2:2.1.5-3 591 - fixed wrong path for cyrus-imapd (#137074) 592 593 * Mon Oct 18 2004 Thomas Woerner <[email protected]> 2:2.1.5-2.2 594 - automated postalias call in init script 595 - removed postconf call from spec file: moved changes into patch 596 597 * Fri Oct 15 2004 Thomas Woerner <[email protected]> 2:2.1.5-2.1 598 - removed aliases from postfix-files (#135840) 599 - fixed postalias call in init script 600 601 * Thu Oct 14 2004 Thomas Woerner <[email protected]> 2:2.1.5-2 602 - switched over to system aliases file and database in /etc/ (#117661) 603 - new reuires and buildrequires for setup >= 2.5.36-1 604 605 * Mon Oct 4 2004 Thomas Woerner <[email protected]> 2:2.1.5-1 606 - new version 2.1.5 607 - new ipv6 and tls+ipv6 patches: 1.25-pf-2.1.5 608 609 * Thu Aug 5 2004 Thomas Woerner <[email protected]> 2:2.1.4-1 610 - new version 2.1.4 611 - new ipv6 and tls+ipv6 patches: 1.25-pf-2.1.4 612 - new pfixtls-0.8.18-2.1.3-0.9.7d patch 613 614 * Mon Jun 21 2004 Thomas Woerner <[email protected]> 2:2.1.1-3.1 615 - fixed directory permissions in %%doc (#125406) 616 - fixed missing spool dirs (#125460) 617 - fixed verify problem for aliases.db (#125461) 618 - fixed bogus upgrade warning (#125628) 619 - more spec file cleanup 620 621 * Tue Jun 15 2004 Elliot Lee <[email protected]> 622 - rebuilt 623 624 * Sun Jun 06 2004 Florian La Roche <[email protected]> 625 - make sure pflog files have same permissions even if in multiple 626 sub-rpms 627 628 * Fri Jun 4 2004 Thomas Woerner <[email protected]> 2:2.1.1-1 629 - new version 2.1.1 630 - compiling postfix PIE 631 - new alternatives slave for /usr/lib/sendmail 632 633 * Wed Mar 31 2004 John Dennis <[email protected]> 2:2.0.18-4 634 - remove version from pflogsumm subpackage, it was resetting the 635 version used in the doc directory, fixes bug 119213 636 637 * Tue Mar 30 2004 Bill Nottingham <[email protected]> 2:2.0.18-3 638 - add %%defattr for pflogsumm package 639 640 * Tue Mar 16 2004 John Dennis <[email protected]> 2:2.0.18 -2 641 - fix sendmail man page (again), make pflogsumm a subpackage 642 643 * Mon Mar 15 2004 John Dennis <[email protected]> 2:2.0.18 -1 644 - bring source up to upstream release 2.0.18 645 - include pflogsumm, fixes bug #68799 646 - include smtp-sink, smtp-source man pages, fixes bug #118163 647 648 * Tue Mar 02 2004 Elliot Lee <[email protected]> 649 - rebuilt 650 651 * Tue Feb 24 2004 John Dennis <[email protected]> 2:2.0.16 -14 652 - fix bug 74553, make alternatives track sendmail man page 653 654 * Tue Feb 24 2004 John Dennis <[email protected]> 2:2.0.16 -13 655 - remove /etc/sysconfig/saslauthd from rpm, fixes bug 113975 656 657 * Wed Feb 18 2004 John Dennis <[email protected]> 658 - set sasl back to v2 for mainline, this is good for fedora and beyond, 659 for RHEL3, we'll branch and set set sasl to v1 and turn off ipv6 660 661 * Tue Feb 17 2004 John Dennis <[email protected]> 662 - revert back to v1 of sasl because LDAP still links against v1 and we c an't 663 - bump revision for build 664 have two different versions of the sasl library loaded in one load ima ge at 665 the same time. How is that possible? Because the sasl libraries have d ifferent 666 names (libsasl.so & libsasl2.so) but export the same symbols :-( 667 Fixes bugs 115249 and 111767 668 669 * Fri Feb 13 2004 Elliot Lee <[email protected]> 670 - rebuilt 671 672 * Wed Jan 21 2004 John Dennis <[email protected]> 2:2.0.16 -7 673 - fix bug 77216, support snapshot builds 674 675 * Tue Jan 20 2004 John Dennis <[email protected]> 2:2.0.16 -6 676 - add support for IPv6 via Dean Strik's patches, fixes bug 112491 677 678 * Tue Jan 13 2004 John Dennis <[email protected]> 2:2.0.16 -4 679 - remove mysqlclient prereq, fixes bug 101779 680 - remove md5 verification override, this fixes bug 113370. Write parse-p ostfix-files 681 script to generate explicit list of all upstream files with ownership, modes, etc. 682 carefully add back in all other not upstream files, files list is hope fully 683 rock solid now. 684 685 * Mon Jan 12 2004 John Dennis <[email protected]> 2:2.0.16 -3 686 - add zlib-devel build prereq, fixes bug 112822 687 - remove copy of resolve.conf into chroot jail, fixes bug 111923 688 689 * Tue Dec 16 2003 John Dennis <[email protected]> 690 - bump release to build 3.0E errata update 692 * Sat Dec 13 2003 Jeff Johnson <[email protected]> 2:2.0.16-2 693 - rebuild against db-4.2.52. 694 695 * Mon Nov 17 2003 John Dennis <[email protected]> 2:2.0.16 -1 696 - sync up with current upstream release, 2.0.16, fixes bug #108960 697 698 * Thu Sep 25 2003 Jeff Johnson <[email protected]> 2.0.11-6 699 - rebuild against db-4.2.42. 700 701 * Tue Jul 22 2003 Nalin Dahyabhai <[email protected]> 2.0.11-5 702 - rebuild 703 704 * Thu Jun 26 2003 John Dennis <[email protected]> 705 - bug 98095, change rmail.postfix to rmail for uucp invocation in master .cf 706 707 * Wed Jun 25 2003 John Dennis <[email protected]> 708 - add missing dependency for db3/db4 709 710 * Thu Jun 19 2003 John Dennis <[email protected]> 711 - upgrade to new 2.0.11 upstream release 712 - fix authentication problems 713 - rewrite SASL documentation 714 - upgrade to use SASL version 2 715 - Fix bugs 75439, 81913 90412, 91225, 78020, 90891, 88131 716 717 * Wed Jun 04 2003 Elliot Lee <[email protected]> 718 - rebuilt 719 720 * Fri Mar 7 2003 John Dennis <[email protected]> 721 - upgrade to release 2.0.6 722 - remove chroot as this is now the preferred installation according to W ietse Venema, the postfix author 723 724 * Mon Feb 24 2003 Elliot Lee <[email protected]> 725 - rebuilt 726 727 * Tue Feb 18 2003 Bill Nottingham <[email protected]> 2:1.1.11-10 728 - don't copy winbind/wins nss modules, fixes #84553 729 730 * Sat Feb 01 2003 Florian La Roche <[email protected]> 731 - sanitize rpm scripts a bit 732 733 * Wed Jan 22 2003 Tim Powers <[email protected]> 734 - rebuilt 735 736 * Sat Jan 11 2003 Karsten Hopp <[email protected]> 2:1.1.11-8 737 - rebuild to fix krb5.h issue 738 739 * Tue Jan 7 2003 Nalin Dahyabhai <[email protected]> 2:1.1.11-7 740 - rebuild 741 742 * Fri Jan 3 2003 Nalin Dahyabhai <[email protected]> 743 - if pkgconfig knows about openssl, use its cflags and linker flags 744 745 * Thu Dec 12 2002 Tim Powers <[email protected]> 2:1.1.11-6 746 - lib64'ize 747 - build on all arches 748 749 * Wed Jul 24 2002 Karsten Hopp <[email protected]> 750 - make aliases.db config(noreplace) (#69612) 751 752 * Tue Jul 23 2002 Karsten Hopp <[email protected]> 753 - postfix has its own filelist, remove LICENSE entry from it (#69069) 754 755 * Tue Jul 16 2002 Karsten Hopp <[email protected]> 756 - fix shell in /etc/passwd (#68373) 757 - fix documentation in /etc/postfix (#65858) 758 - Provides: /usr/bin/newaliases (#66746) 759 - fix autorequires by changing /usr/local/bin/perl to /usr/bin/perl in a 760 script in %%doc (#68852), although I don't think this is necessary any more 761 762 * Mon Jul 15 2002 Phil Knirsch <[email protected]> 763 - Fixed missing smtpd.conf file for SASL support and included SASL Postf ix 764 Red Hat HOWTO (#62505). 765 - Included SASL2 support patch (#68800). 766 767 * Mon Jun 24 2002 Karsten Hopp <[email protected]> 768 - 1.1.11, TLS 0.8.11a 769 - fix #66219 and #66233 (perl required for %%post) 770 771 * Fri Jun 21 2002 Tim Powers <[email protected]> 772 - automated rebuild 773 774 * Sun May 26 2002 Tim Powers <[email protected]> 775 - automated rebuild 776 777 * Thu May 23 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.10-1 778 - 1.1.10, TLS 0.8.10 779 - Build with db4 780 - Enable SASL 781 782 * Mon Apr 15 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.7-2 783 - Fix bugs #62358 and #62783 784 - Make sure libdb-3.3.so is in the chroot jail (#62906) 785 786 * Mon Apr 8 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.7-1 787 - 1.1.7, fixes 2 critical bugs 788 - Make sure there's a resolv.conf in the chroot jail 789 790 * Wed Mar 27 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.5-3 791 - Add Provides: lines for alternatives stuff (#60879) 792 793 * Tue Mar 26 2002 Nalin Dahyabhai <[email protected]> 1.1.5-2 794 - rebuild 795 796 * Tue Mar 26 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.5-1 797 - 1.1.5 (bugfix release) 798 - Rebuild with current db 799 800 * Thu Mar 14 2002 Bill Nottingham <[email protected]> 1.1.4-3 801 - remove db trigger, it's both dangerous and pointless 802 - clean up other triggers a little 803 804 * Wed Mar 13 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.4-2 805 - Some trigger tweaks to make absolutely sure /etc/services is in the 806 chroot jail 807 808 * Mon Mar 11 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.4-1 809 - 1.1.4 810 - TLS 0.8.4 811 - Move postalias run from %%post to init script to work around 812 anaconda being broken. 813 814 * Fri Mar 8 2002 Bill Nottingham <[email protected]> 1.1.3-5 815 - use alternatives --initscript support 816 817 * Thu Feb 28 2002 Bill Nottingham <[email protected]> 1.1.3-4 818 - run alternatives --remove in %%preun 819 - add various prereqs 820 821 * Thu Feb 28 2002 Nalin Dahyabhai <[email protected]> 1.1.3-3 822 - adjust the default postfix-files config file to match the alternatives setup 823 by altering the arguments passed to post-install in the %%install phas e 824 (otherwise, it might point to sendmail's binaries, breaking it rather rudely) 825 - adjust the post-install script so that it silently uses paths which ha ve been 826 modified for use with alternatives, for upgrade cases where the postfi x-files 827 configuration file isn't overwritten 828 - don't forcefully strip files -- that's a build root policy 829 - remove hard requirement on openldap, library dependencies take care of it 830 - redirect %%postun to /dev/null 831 - don't remove the postfix user and group when the package is removed 832 833 * Wed Feb 20 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.3-2 834 - listen on 127.0.0.1 only by default (#60071) 835 - Put config samples in %{_docdir}/%{name}-%{version} rather than 836 /etc/postfix (#60072) 837 - Some spec file cleanups 838 839 * Tue Feb 19 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.3-1 840 - 1.1.3, TLS 0.8.3 841 - Fix updating 842 - Don't run the statistics cron job 843 - remove requirement on perl Date::Calc 844 845 * Thu Jan 31 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.2-3 846 - Fix up alternatives stuff 847 848 * Wed Jan 30 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.2-2 849 - Use alternatives 850 851 * Sun Jan 27 2002 Bernhard Rosenkraenzer <[email protected]> 1.1.2-1 852 - Initial Red Hat Linux packaging, based on spec file from 853 Simon J Mudd <[email protected]> 854 - Changes from that: 855 - Set up chroot environment in triggers to make sure we catch glibc er rata 856 - Remove some hacks to support building on all sorts of distributions at 857 the cost of specfile readability 858 - Remove postdrop group on deletion 859
It must be Code: %patch0 -p[COLOR="Red"][B]1[/B][/COLOR] -b .vda not Code: %patch0 -p[B][COLOR="Red"]l[/COLOR][/B] -b .vda