Ahhh, so this morning I thought it was time to upgrade postfix,
snaged the files, hacked up the spec file, removed and updated patches,
etc... However, there's a fatal within trying to start postfix, which I
didn't have time to figure out.
 The spec file is, well, complete. However, there's a few quirks... I
decided in my spec file to go with the new (actually old) version scheme
that postfix is now using, yyyymmddblabla is just errrrrrrr. The only
problem you'll run into here is that when upgrading rpm spits out the
lovely message postfix-20010228-20mdk which is newer than 1.1.6-1mdk is
already installed, *sigh*. So, if someone can figure out a way around
this (other than the suggestions in the mdk-rpm-howto), great.
 Furthermore, the fatal. I think this might have to do with the perl
patch which I did not remove. Reason being is that postfix start,
executes postfix-script, which in return attempts to execute
/etc/postfix/post-install, and this is where it errors out. 
 I don't have the exact error message off hand, and don't particularly
feel like fscking up my MTA again, but it's something along the lines of
/etc/postfix/post-install: fatal: can not open
/etc/postfix/post-install::

 The :: at the end really made me go "huh?", but like I said, I don't
get paid to do this, and had/have other things to attend to : p

 So, that's pretty much it AFAIK, other than that, I think a switch to
1.1.6 is ready.
Attached is the 1.1.6-1mdk spec file, a diff between the 1.1.6-1mdk spec
file and 20010228-20mdk, and finally an updated main.cf patch.

Bed time now : ) 
Tashi Delek


-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

Trying, the volition devoid of action, this is idleness. 
Doing, the volition replete in motion, a process.
Being that all things are impermanent, this process is constant.
If one realizes such, the process is in all actuality, one step.
A motion that can not be reversed, but may be halted.
Both ways does this sway.

%define name    postfix
%define version 1.1.6
%define release 1mdk

%define pfixtls_ver 0.8.6
# Note this is onl for pfixtls so you can probably get away with it by
# rebuilding against a new openssl.
%define openssl_ver 0.9.6c

Name:           %{name}
Summary:        Postfix Mail Transport Agent
Version:        %{version}
Release:        %{release}
URL:            http://www.postfix.org/
#Source0:       ftp://postfix.cloud9.net/official/release-%{version}.tar.bz2
Source0:        ftp://postfix.cloud9.net/official/postfix-%{version}.tar.bz2
Source1:        postfix.aliases
Source2:        postfix.cron
Source3:        postfix.init
Source4:        http://www.stahl.bau.tu-bs.de/~hildeb/postfix/postfix.tar.bz2
Source5:        
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-%{pfixtls_ver}-%{version}-%{openssl_ver}.tar.bz2
Source6:        postfix.pam
Source7:        Postfix.conf
Patch:          postfix-main.cf.patch.bz2
Patch2:         postfix-perlpath.patch.bz2
License:        IBM Public License
Group:          System/Servers
Provides:       smtpdaemon
Provides:   MailTransportAgent
Conflicts:      sendmail qmail
Requires:       procmail
Prereq:         /sbin/chkconfig, /usr/bin/wc
BuildRequires:  libopenssl0-devel
BuildRequires:  libldap2-devel
BuildRequires:  libsasl-devel
BuildRequires:  db3-devel
BuildConflicts: BerkeleyDB-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-root

%description
Postfix aims to be an alternative to the widely-used sendmail
program.  Sendmail is responsible for 70 percent of all e-mail delivered
on the Internet.  With an estimated 100 million users, that's an
estimated 10 billion (10^10) messages daily. A stunning number.

Although IBM supported the Postfix development, it abstains from
control over its evolution. The goal is to have Postfix installed
on as many systems as possible. To this end, the software is given
away with no strings attached to it, so that it can evolve with
input from and under control by its users.

%prep
%setup -q -n postfix-%{version}
tar -jxvf %{SOURCE4}
tar -jxvf %{SOURCE5}
%patch -p1
%patch2 -p1

%build

%serverbuild

make tidy
make makefiles CCARGS="-I/usr/include/openssl -I/usr/include/db3 -DUSE_SASL_AUTH 
-DHAS_LDAP -DHAS_DB -DHAS_SSL" AUXLIBS="-lsasl -lldap -llber  -ldb -L/usr/lib/ssl 
-lssl -lcrypto"
#CCARGS="-I/usr/include/mysql -DHAS_MYSQL" AUXLIBS="-L/usr/lib/mysql -lmysqlclient -lm"
make DEBUG="" OPT="$RPM_OPT_FLAGS"

mv pfixtls-%{pfixtls_ver}-%{version}-%{openssl_ver}/ pfixtls

%install
rm -rf $RPM_BUILD_ROOT
rm -f html/Makefile.in

install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
install -d $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -d $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
install -d $RPM_BUILD_ROOT%{_initrddir}
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_libdir}/postfix
install -d $RPM_BUILD_ROOT%{_libdir}/sasl
install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
install -d $RPM_BUILD_ROOT%{_sbindir}
install -d $RPM_BUILD_ROOT/var/spool/postfix

install -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/smtpd.conf
install -m755 auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}
install -m755 bin/sendmail bin/post* $RPM_BUILD_ROOT%{_sbindir}
# install -m755 `ls bin/*|egrep -v 'post|fsstone|smtp-|sendmail'` 
$RPM_BUILD_ROOT%{_libdir}/postfix
install -m755 bin/*post* bin/*smtp-* bin/*sendmail* $RPM_BUILD_ROOT%{_libdir}/postfix
install -m755 libexec/* $RPM_BUILD_ROOT%{_libdir}/postfix
install -m644 conf/access $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m644 conf/canonical $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m644 conf/main.cf $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m644 conf/master.cf $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m755 conf/postfix-script $RPM_BUILD_ROOT%{_sysconfdir}/postfix/postfix-script
install -m755 conf/post-install $RPM_BUILD_ROOT%{_sysconfdir}/postfix/post-install
install -m644 conf/relocated $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m644 conf/transport $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m644 conf/virtual $RPM_BUILD_ROOT%{_sysconfdir}/postfix
install -m644 man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
install -m644 man/man5/* $RPM_BUILD_ROOT%{_mandir}/man5
install -m644 man/man8/* $RPM_BUILD_ROOT%{_mandir}/man8

install -d sample; install -m644 conf/sample* sample

install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/postfix/aliases
install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/postfix
install -m755 %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/postfix

ln -sf postfix/aliases $RPM_BUILD_ROOT%{_sysconfdir}/aliases

( cd $RPM_BUILD_ROOT/usr/bin
  ln -sf ../sbin/sendmail mailq
  ln -sf ../sbin/sendmail newaliases
)
( cd $RPM_BUILD_ROOT/usr/lib
  ln -sf ../sbin/sendmail sendmail
)

for I in etc/postfix/{aliases,access,canonical,relocated,transport,virtual}
do
   touch $RPM_BUILD_ROOT/$I{,.db}
done


%post

%{_sbindir}/groupadd -r postdrop &> /dev/null

%{_sbindir}/postalias %{_sysconfdir}/postfix/aliases
ln -sf %{_sysconfdir}/postfix/aliases.db %{_sysconfdir}/aliases.db

%_post_service postfix

if [ ! -e %{_libdir}/sendmail ]; then
        ln -sf %{_sbindir}/sendmail %{_libdir}/sendmail
fi
chkconfig --del sendmail &> /dev/null||:
%{_sbindir}/postfix check >/dev/null 2>&1 ||:

%preun
%_preun_service postfix

%postun
if [ $1 = 0 ]; then
   if ! [ -f /var/lock/subsys/postfix ]; then
        rm -rf /var/lock/subsys/postfix
   fi
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc html sample *README* COMPATIBILITY HISTORY LICENSE RELEASE_NOTES TODO
%doc postfix pfixtls

%dir %{_sysconfdir}/postfix
%config(noreplace) %{_sysconfdir}/cron.daily/postfix
%config(noreplace) %{_sysconfdir}/postfix/aliases
%config(noreplace) %{_sysconfdir}/postfix/access
%config(noreplace) %{_sysconfdir}/postfix/canonical
%config(noreplace) %{_sysconfdir}/postfix/main.cf
%config(noreplace) %{_sysconfdir}/postfix/master.cf
%config(noreplace) %{_sysconfdir}/postfix/relocated
%config(noreplace) %{_sysconfdir}/postfix/transport
%config(noreplace) %{_sysconfdir}/postfix/virtual
%config %{_sysconfdir}/postfix/postfix-script
%config %{_sysconfdir}/postfix/post-install
%config(noreplace) %{_initrddir}/postfix
%config(noreplace) %{_libdir}/sasl/smtpd.conf
%config(noreplace) %{_sysconfdir}/pam.d/smtp

%{_bindir}/*
%{_sbindir}/*
%{_sysconfdir}/aliases
/var/spool/postfix
%{_libdir}/postfix
%{_libdir}/sendmail

%attr(-,root,man) %{_mandir}/*/*

%changelog
* Thu Mar 28 2002 Bryan Paxton <[EMAIL PROTECTED]> 1.1.6-1mdk
- New release
- Update pfixtsl to go with new release
- Get rid of the old version scheme, go with the new one 
- Remove all instances of %ver (see above)
- Updated main.cf patch
- offset on main.cf patch to 0 instead of 1 
- s/b/c/ on openssl_ver
- on install s/postfix-script-nosgid/postfix-script/ ; sources have changed
- add group postdrop (gid 239) on %post (changes in source code)
- add install for script post-install (new script from source)

* Tue Jan 29 2002 Geoffrey Lee <[EMAIL PROTECTED]> 20010228-20mdk
- A much needed upgrade to pl08.
- pfixtls 0.7.13 for pl08.
- Remove the postfix useradd and groupadd.
- Requires latest setup package.

* Mon Nov 26 2001 Vincent Danen <[EMAIL PROTECTED]> 20010228-19mdk
- apply security fix from Venema that fixes potential DoS

* Wed Nov 14 2001 Philippe Libat <[EMAIL PROTECTED]> 20010228-18mdk
- add pam.d/smtp, sasl/smtpd.conf for sasl configuration

* Wed Nov 14 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-17mdk
- remove empty include statement that was preventing USE_SASL_AUTH to be
  defined. Thanks to James Farrell <[EMAIL PROTECTED]> for reporting and
  fixing this problem.

* Tue Oct 23 2001 Florin <[EMAIL PROTECTED]> 20010228-16mdk
- rebuild for db3

* Tue Sep  4 2001 Guillaume Cottenceau <[EMAIL PROTECTED]> 20010228-15mdk
- subst `Linux-Mandrake' with `Mandrake Linux' in SMTP Greeting Banner

* Mon Sep 03 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-14mdk
- Hand modified the config file patch, to fix bug #4048

* Mon Sep 03 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-13mdk
- Provides: MailTransportAgent

* Sat Jul 07 2001 Stefan van der Eijk <[EMAIL PROTECTED]> 20010228-12mdk
- BuildRequires:        libsasl-devel

* Fri Jul 06 2001 Philippe Libat <[EMAIL PROTECTED]> 20010228-11mdk
- new db3

* Mon Jun 25 2001 Jeff Garzik <[EMAIL PROTECTED]> 20010228-10mdk
- Patch dnsverify.pl, to have /usr/bin/perl not /users2/local/bin/perl
  on first line, as the interpreter to be run.

* Thu Jun 19 2001 Philippe Libat <[EMAIL PROTECTED]> 20010228-9mdk
- version pl3
- TLS, LDAP

* Wed Jun 13 2001 Philippe Libat <[EMAIL PROTECTED]> 20010228-8mdk
- SASL Support

* Tue Jun 12 2001 Philippe Libat <[EMAIL PROTECTED]> 20010228-7mdk
- Added config samples

* Tue Apr 17 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-6mdk
- Do not stop postfix before installing, it will prevent us from restarting it.

* Tue Apr 17 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-5mdk
- Revert latest change, cause the DB are already re-generated in postfix.init
  at each startup.

* Thu Apr 05 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-4mdk
- When upgrading, always regenerate all .db file (except aliases)
  This fix bug #2260 (upgrade postfix need to recreate /etc/postfix/*.db
  files). This avoid problem when the DB file version change.
  
  thanks to Steffen Ullrich <[EMAIL PROTECTED]> for reporting and helping
  fixing this bug.

* Wed Apr 04 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 20010228-3mdk
- Fix bug #1810 (postfix invokes procmail with options that cause a `>From '
  line in the headers) by adding the -o options to the procmail call.

* Thu Mar 29 2001 Guillaume Cottenceau <[EMAIL PROTECTED]> 20010228-2mdk
- use post/preun service macros
- user serverbuild for safer flags

* Tue Mar  6 2001 Vincent Danen <[EMAIL PROTECTED]> 20010228-1mdk
- 20010228 release
- macros
- added conflicts: qmail
- added buildrequires: db3-devel
- added buildconflicts: BerkeleyDB-devel

* Wed Jan 17 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231_pl13-2mdk
- install rmail script.

* Wed Jan 17 2001 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231_pl13-1mdk
- Upgrade to patch level 13.
- add delay_warning_time option to main.cf (fix bug #1390).

* Thu Nov 16 2000 Chmouel Boudjnah <[EMAIL PROTECTED]> 19991231_pl08-6mdk
- Explicit compile with db1.

* Tue Aug 29 2000 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231_pl08-5mdk
- change license to IBM Public License

* Tue Aug 29 2000 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231_pl08-4mdk
- use noreplace
- use %{_initrddir}

* Tue Aug 29 2000 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231_pl08-3mdk
- correct 2 shell syntax error in %postun

* Wed Aug  2 2000 Guillaume Cottenceau <[EMAIL PROTECTED]> 19991231_pl08-2mdk
- %config(noreplace)

* Fri Jul 21 2000 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231_pl08-1mdk
- updated to postfix release 19991231-pl8.
- small specfile cleanup.

* Mon Jul 10 2000 Thierry Vignaud <[EMAIL PROTECTED]> 19991231-8mdk
- let spechelper compress man-pages and strip binaries (hey guyes, we do this
  for a _long_ time)
- use new macros

* Sat Jul 08 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 19991231-7mdk
- modified find statement to only find files (not directories)
- moved BuildRoot to /var/tmp

* Fri May 05 2000 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231-6mdk
- Fix an aliases.db problem...

* Tue Mar 21 2000 Yoann Vandoorselaere <[EMAIL PROTECTED]> 19991231-5mdk
- Fix group.

* Wed Mar  8 2000 Pixel <[EMAIL PROTECTED]> 19991231-4mdk
- add prereq wc

* Mon Jan  3 2000 Jean-Michel Dault <[EMAIL PROTECTED]>
- updated to 19991231
- added postfix group
- corrected aliases.db bug

* Mon Dec 27 1999 Jerome Dumonteil <[EMAIL PROTECTED]>
- Add postfix check in post to create sub dirs in spool

* Mon Dec 20 1999 Chmouel Boudjnah <[EMAIL PROTECTED]>
- Add -a $DOMAIN -d $LOGNAME to procmail (philippe).
- New banner.

* Wed Nov 10 1999 Chmouel Boudjnah <[EMAIL PROTECTED]>
- fix if conflicts with sendmail.

* Sat Jun  5 1999 Axalon Bloodstone <[EMAIL PROTECTED]>
- install bins from libexec/

* Sat Jun  5 1999 Bernhard Rosenkr�nzer <[EMAIL PROTECTED]>
- 19990601
- .spec cleanup for easier updates

* Wed May 26 1999 Axalon Bloodstone <[EMAIL PROTECTED]>
- created link from /usr/sbin/sendmail to %{_libdir}/sendmail
  so it doesn't bug out when i rpm -e sendmail
- Now removes /var/lock/subsys/postfix like a good little prog
  upon rpm -e

* Fri Apr 23 1999 Chmouel Boudjnah <[EMAIL PROTECTED]>

- Mandrake adptations.

* Tue Apr 13 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19990317-pl04-1]

* Tue Mar 30 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19990317-pl03-2]
- Castro, Castro, pay attention my friend. You're making it very hard
  maintaining the package if you don't follow the flow of the releases

* Thu Mar 25 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19990317-pl02-1]

* Tue Mar 23 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19990317-3]
- added bugfix patch01

* Sat Mar 20 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19990317-2]
- removed the mynetworks line in main.cf, let postfix figure it out
- striping of the files in /usr/sbin
- alias database moved to /etc/postfix and made a symlink to it in /etc
- enabled procmail support in main.cf and added it to Requires:
- check status on master instead of postfix in the init script
- obsoletes postfix-beta
- had to move some of my latest changelog entries up here since Edgard Castro
  didn't follow my releases

* Thu Mar 18 1999 Edgard Castro <[EMAIL PROTECTED]>
  [19990317]

* Tue Mar 16 1999 Edgard Castro <[EMAIL PROTECTED]>
  [alpha-19990315]

* Tue Mar  9 1999 Edgard Castro <[EMAIL PROTECTED]>
  [19990122-pl01-2]
- shell and gecho information changed to complie with Red Hat stardand
- changed the name of the rpm package to postfix, instead of postfix-beta

* Tue Feb 16 1999 Edgard Castro <[EMAIL PROTECTED]>
  [19990122-pl01-1]

* Sun Jan 24 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19990122-1]
- shell for postfix user changed to /bin/true to avoid logins to the account
- files in /usr/libexec/postfix moved to %{_libdir}/postfix since this complies
  more with the Red Hat standard

* Wed Jan 06 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19981230-2]
- added URL for the source
- added a cron job for daily check of errors
- sample config files moved from /etc/postfix/sample to the docdir 
- dropped making of symlinks in /usr/sbin and instead installing the real
  files there
- because of the previous they're not needed anymore in /usr/libexec/postfix,
  so they are removed from that place

* Fri Jan 01 1999 Arne Coucheron <[EMAIL PROTECTED]>
  [19981230-1]

* Tue Dec 29 1998 Arne Coucheron <[EMAIL PROTECTED]>
  [19981222-1]
- first build of rpm version
--- postfix.spec	Mon Jan 28 11:02:27 2002
+++ postfix.sqa.spec	Thu Mar 28 11:38:58 2002
@@ -1,12 +1,11 @@
 %define name	postfix
-%define version	20010228
-%define release 20mdk
-%define ver	pl08
+%define version	1.1.6
+%define release 1mdk
 
-%define pfixtls_ver 0.7.13
+%define pfixtls_ver 0.8.6
 # Note this is onl for pfixtls so you can probably get away with it by
 # rebuilding against a new openssl.
-%define openssl_ver 0.9.6b
+%define openssl_ver 0.9.6c
 
 Name:		%{name}
 Summary:	Postfix Mail Transport Agent
@@ -14,17 +13,16 @@
 Release:	%{release}
 URL:		http://www.postfix.org/
 #Source0:	ftp://postfix.cloud9.net/official/release-%{version}.tar.bz2
-Source0:	ftp://postfix.cloud9.net/official/postfix-%{version}-%{ver}.tar.bz2
+Source0:	ftp://postfix.cloud9.net/official/postfix-%{version}.tar.bz2
 Source1:	postfix.aliases
 Source2:	postfix.cron
 Source3:	postfix.init
 Source4:	http://www.stahl.bau.tu-bs.de/~hildeb/postfix/postfix.tar.bz2
-Source5:	ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-%{pfixtls_ver}-%{version}-%{ver}-%{openssl_ver}.tar.bz2
+Source5:	ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-%{pfixtls_ver}-%{version}-%{openssl_ver}.tar.bz2
 Source6:	postfix.pam
 Source7:	Postfix.conf
 Patch:		postfix-main.cf.patch.bz2
 Patch2:		postfix-perlpath.patch.bz2
-Patch3:		postfix-security.patch.bz2
 License:	IBM Public License
 Group:		System/Servers
 Provides:	smtpdaemon
@@ -52,13 +50,11 @@
 input from and under control by its users.
 
 %prep
-%setup -q -n postfix-%{version}-%{ver}
+%setup -q -n postfix-%{version}
 tar -jxvf %{SOURCE4}
 tar -jxvf %{SOURCE5}
-patch -p1 < pfixtls-%{pfixtls_ver}-%{version}-%{ver}-%{openssl_ver}/pfixtls.diff 
 %patch -p1
 %patch2 -p1
-%patch3 -p0 -b .security
 
 %build
 
@@ -69,7 +65,7 @@
 #CCARGS="-I/usr/include/mysql -DHAS_MYSQL" AUXLIBS="-L/usr/lib/mysql -lmysqlclient -lm"
 make DEBUG="" OPT="$RPM_OPT_FLAGS"
 
-mv pfixtls-%{pfixtls_ver}-%{version}-%{ver}-%{openssl_ver}/ pfixtls
+mv pfixtls-%{pfixtls_ver}-%{version}-%{openssl_ver}/ pfixtls
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -97,7 +93,8 @@
 install -m644 conf/canonical $RPM_BUILD_ROOT%{_sysconfdir}/postfix
 install -m644 conf/main.cf $RPM_BUILD_ROOT%{_sysconfdir}/postfix
 install -m644 conf/master.cf $RPM_BUILD_ROOT%{_sysconfdir}/postfix
-install -m755 conf/postfix-script-nosgid $RPM_BUILD_ROOT%{_sysconfdir}/postfix/postfix-script
+install -m755 conf/postfix-script $RPM_BUILD_ROOT%{_sysconfdir}/postfix/postfix-script
+install -m755 conf/post-install	$RPM_BUILD_ROOT%{_sysconfdir}/postfix/post-install
 install -m644 conf/relocated $RPM_BUILD_ROOT%{_sysconfdir}/postfix
 install -m644 conf/transport $RPM_BUILD_ROOT%{_sysconfdir}/postfix
 install -m644 conf/virtual $RPM_BUILD_ROOT%{_sysconfdir}/postfix
@@ -129,6 +126,8 @@
 
 %post
 
+%{_sbindir}/groupadd -r postdrop &> /dev/null
+
 %{_sbindir}/postalias %{_sysconfdir}/postfix/aliases
 ln -sf %{_sysconfdir}/postfix/aliases.db %{_sysconfdir}/aliases.db
 
@@ -169,6 +168,7 @@
 %config(noreplace) %{_sysconfdir}/postfix/transport
 %config(noreplace) %{_sysconfdir}/postfix/virtual
 %config %{_sysconfdir}/postfix/postfix-script
+%config %{_sysconfdir}/postfix/post-install
 %config(noreplace) %{_initrddir}/postfix
 %config(noreplace) %{_libdir}/sasl/smtpd.conf
 %config(noreplace) %{_sysconfdir}/pam.d/smtp
@@ -183,6 +183,18 @@
 %attr(-,root,man) %{_mandir}/*/*
 
 %changelog
+* Thu Mar 28 2002 Bryan Paxton <[EMAIL PROTECTED]> 1.1.6-1mdk
+- New release
+- Update pfixtsl to go with new release
+- Get rid of the old version scheme, go with the new one 
+- Remove all instances of %ver (see above)
+- Updated main.cf patch
+- offset on main.cf patch to 0 instead of 1 
+- s/b/c/ on openssl_ver
+- on install s/postfix-script-nosgid/postfix-script/ ; sources have changed
+- add group postdrop (gid 239) on %post (changes in source code)
+- add install for script post-install (new script from source)
+
 * Tue Jan 29 2002 Geoffrey Lee <[EMAIL PROTECTED]> 20010228-20mdk
 - A much needed upgrade to pl08.
 - pfixtls 0.7.13 for pl08.

Attachment: postfix-main.cf.patch.bz2
Description: application/bzip

Reply via email to