ports/188011: [PATCH] dns/bind99: Fix startup script

Takefu takefu at airport.fm
Thu Mar 27 08:40:01 UTC 2014


>Number:         188011
>Category:       ports
>Synopsis:       [PATCH] dns/bind99: Fix startup script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 08:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0: Wed Jan 15 09:30:02 JST 2014
>Description:
bind99:
 Fix startup script
 Fix Whitespace to tab

bind98:
 Fix startup script

Port maintainer (mat at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- bind99-9.9.5.patch begins here ---
diff -ruN /usr/ports/dns/bind99/Makefile ./Makefile
--- /usr/ports/dns/bind99/Makefile	2014-03-26 02:25:17.000000000 +0900
+++ ./Makefile	2014-03-27 17:25:26.000000000 +0900
@@ -70,7 +70,7 @@
 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}
diff -ruN /usr/ports/dns/bind99/files/named.in ./files/named.in
--- /usr/ports/dns/bind99/files/named.in	2014-03-26 02:25:17.000000000 +0900
+++ ./files/named.in	2014-03-27 17:14:31.000000000 +0900
@@ -80,7 +80,7 @@
 	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 @@

 	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"
--- bind99-9.9.5.patch ends here ---

--- bind98-9.8.7.patch begins here ---
diff -ruN /usr/ports//dns/bind98/files/named.in ./files/named.in
--- /usr/ports//dns/bind98/files/named.in	2014-03-26 02:25:17.000000000 +0900
+++ ./files/named.in	2014-03-27 17:22:49.000000000 +0900
@@ -80,7 +80,7 @@
 	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 @@

 	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"
--- bind98-9.8.7.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list