- Fix startup script

- Fix whitespace

PR:		188011
Submitted by:	takefu
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-03-27 13:30:12 +00:00
parent e64fdb9d4e
commit 9e86044525
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349338
4 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= bind
PORTVERSION= 9.8.7
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION}

View File

@ -80,7 +80,7 @@ create_file()
if [ -e "$1" ]; then
unlink $1
fi
install -u root -g wheel -m 0644 /dev/null $1
install -o root -g wheel -m 0644 /dev/null $1
}
named_prestart()
@ -93,7 +93,7 @@ named_prestart()
echo ${pidfile%/pid}
if [ ! -d ${pidfile%/pid} ]; then
install -d -u ${named_uid} -g ${named_uid} ${pidfile%/pid}
install -d -o ${named_uid} -g ${named_uid} ${pidfile%/pid}
fi
command_args="-u ${named_uid:=root} -c $named_conf $command_args"

View File

@ -2,7 +2,7 @@
PORTNAME= bind
PORTVERSION= 9.9.5
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
@ -70,7 +70,7 @@ SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE}
SSL_USE= openssl=yes
SSL_CONFIGURE_OFF= --disable-openssl-version-check --without-openssl
NEWSTATS_CONFIGURE_ENABLE= newstats
NEWSTATS_CONFIGURE_ENABLE= newstats
IDN_USES= iconv
IDN_CONFIGURE_ON= --with-idn=${LOCALBASE} ${ICONV_CONFIGURE_BASE}

View File

@ -80,7 +80,7 @@ create_file()
if [ -e "$1" ]; then
unlink $1
fi
install -u root -g wheel -m 0644 /dev/null $1
install -o root -g wheel -m 0644 /dev/null $1
}
named_prestart()
@ -93,7 +93,7 @@ named_prestart()
echo ${pidfile%/pid}
if [ ! -d ${pidfile%/pid} ]; then
install -d -u ${named_uid} -g ${named_uid} ${pidfile%/pid}
install -d -o ${named_uid} -g ${named_uid} ${pidfile%/pid}
fi
command_args="-u ${named_uid:=root} -c $named_conf $command_args"