Also install the hosts file to the chroot area. From Brad.
This commit is contained in:
parent
6a2a5681ae
commit
caeda0e5c2
@ -1,6 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.213 2011/03/24 09:58:10 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.214 2011/04/28 00:22:23 sthen Exp $
|
||||
|
||||
VERSION= 2.9-20110323
|
||||
REVISION= 0
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_POSTFIX:=experimental/}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: postfix-install,v 1.4 2009/03/15 19:38:05 jakob Exp $
|
||||
# $OpenBSD: postfix-install,v 1.5 2011/04/28 00:22:23 sthen Exp $
|
||||
#
|
||||
# Post-installation setup of postfix
|
||||
|
||||
@ -17,7 +17,7 @@ do_spooldir()
|
||||
[ -d $SPOOL_DIR ] || install -d -o root -g wheel -m 755 $SPOOL_DIR
|
||||
[ -d $SPOOL_DIR/etc ] || install -d -o root -g wheel -m 755 $SPOOL_DIR/etc
|
||||
[ -d $SPOOL_DIR/dev ] || install -d -o root -g wheel -m 755 $SPOOL_DIR/dev
|
||||
for file in localtime services resolv.conf ; do
|
||||
for file in hosts localtime resolv.conf services ; do
|
||||
install -o root -g wheel -m 644 /etc/$file $SPOOL_DIR/etc
|
||||
done
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.135 2011/03/22 09:40:39 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.136 2011/04/28 00:22:23 sthen Exp $
|
||||
|
||||
VERSION= 2.8.2
|
||||
REVISION= 0
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_POSTFIX:=official/}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: postfix-install,v 1.4 2009/05/12 20:03:08 jakob Exp $
|
||||
# $OpenBSD: postfix-install,v 1.5 2011/04/28 00:22:23 sthen Exp $
|
||||
#
|
||||
# Post-installation setup of postfix
|
||||
|
||||
@ -17,7 +17,7 @@ do_spooldir()
|
||||
[ -d $SPOOL_DIR ] || install -d -o root -g wheel -m 755 $SPOOL_DIR
|
||||
[ -d $SPOOL_DIR/etc ] || install -d -o root -g wheel -m 755 $SPOOL_DIR/etc
|
||||
[ -d $SPOOL_DIR/dev ] || install -d -o root -g wheel -m 755 $SPOOL_DIR/dev
|
||||
for file in localtime services resolv.conf ; do
|
||||
for file in hosts localtime resolv.conf services ; do
|
||||
install -o root -g wheel -m 644 /etc/$file $SPOOL_DIR/etc
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user