fix postfix upgraade by ensuring the binaries have the proper

permissions; from brad
This commit is contained in:
jakob 2009-03-15 19:38:05 +00:00
parent d9ce578e26
commit 9debc5067c
6 changed files with 20 additions and 12 deletions

View File

@ -1,6 +1,7 @@
# $OpenBSD: Makefile,v 1.188 2009/02/01 19:06:53 jakob Exp $
# $OpenBSD: Makefile,v 1.189 2009/03/15 19:38:05 jakob Exp $
VERSION= 2.6-20090125
PATCHLEVEL= 0
MASTER_SITES= ${MASTER_SITE_POSTFIX:=experimental/}

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: postfix-install,v 1.3 2008/03/03 10:03:18 sthen Exp $
# $OpenBSD: postfix-install,v 1.4 2009/03/15 19:38:05 jakob Exp $
#
# Post-installation setup of postfix
@ -71,6 +71,8 @@ do_configs()
$POSTFIX check
}
do_mailwrapper
do_spooldir
if [ "$1" = "install" ]; then
do_mailwrapper
do_spooldir
fi
do_configs

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.49 2009/02/01 19:06:53 jakob Exp $
@comment $OpenBSD: PLIST,v 1.50 2009/03/15 19:38:05 jakob Exp $
@conflict postfix-*
@newgroup _postfix:507
@newgroup _postdrop:508
@ -296,4 +296,5 @@ share/examples/postfix/master.cf
share/examples/postfix/relocated
share/examples/postfix/transport
share/examples/postfix/virtual
@exec-add PREFIX=%D SYSCONFDIR=${SYSCONFDIR} ${PREFIX}/sbin/postfix-install
@exec-add PREFIX=%D SYSCONFDIR=${SYSCONFDIR} ${PREFIX}/sbin/postfix-install install
@exec-update PREFIX=%D SYSCONFDIR=${SYSCONFDIR} ${PREFIX}/sbin/postfix-install upgrade

View File

@ -1,6 +1,7 @@
# $OpenBSD: Makefile,v 1.117 2009/01/06 12:47:44 jakob Exp $
# $OpenBSD: Makefile,v 1.118 2009/03/15 19:38:05 jakob Exp $
VERSION= 2.5.6
PATCHLEVEL= 0
MASTER_SITES= ${MASTER_SITE_POSTFIX:=official/}

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: postfix-install,v 1.2 2008/02/01 16:37:53 jakob Exp $
# $OpenBSD: postfix-install,v 1.3 2009/03/15 19:38:05 jakob Exp $
#
# Post-installation setup of postfix
@ -88,6 +88,8 @@ do_configs()
$POSTFIX check
}
do_mailwrapper
do_spooldir
if [ "$1" = "install" ]; then
do_mailwrapper
do_spooldir
fi
do_configs

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.22 2008/08/21 21:52:08 brad Exp $
@comment $OpenBSD: PLIST,v 1.23 2009/03/15 19:38:05 jakob Exp $
@conflict postfix-*
@newgroup _postfix:507
@newgroup _postdrop:508
@ -293,4 +293,5 @@ share/examples/postfix/postfix-script
share/examples/postfix/relocated
share/examples/postfix/transport
share/examples/postfix/virtual
@exec-add PREFIX=%D SYSCONFDIR=${SYSCONFDIR} ${PREFIX}/sbin/postfix-install
@exec-add PREFIX=%D SYSCONFDIR=${SYSCONFDIR} ${PREFIX}/sbin/postfix-install install
@exec-update PREFIX=%D SYSCONFDIR=${SYSCONFDIR} ${PREFIX}/sbin/postfix-install upgrade