FreeBSD Bugzilla – Attachment 231312 Details for
Bug 261467
dns/bind916: Missing get_pidfile_from_conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bind916-9.16.24_1.patch
bind916-9.16.24_1.patch (text/plain), 1.61 KB, created by
takefu
on 2022-01-25 12:50:14 UTC
(
hide
)
Description:
bind916-9.16.24_1.patch
Filename:
MIME Type:
Creator:
takefu
Created:
2022-01-25 12:50:14 UTC
Size:
1.61 KB
patch
obsolete
>diff -udprN /usr/ports/dns/bind916/files/named.in ./files/named.in >--- /usr/ports/dns/bind916/files/named.in 2022-01-11 20:39:45.008043000 +0000 >+++ ./files/named.in 2022-01-25 21:17:55.334932000 +0000 >@@ -185,20 +185,26 @@ named_reload() > > find_pidfile() > { >- if get_pidfile_from_conf pid-file ${named_conf}; then >+ TMPFILE=`mktemp /tmp/named.XXXXX` || exit 1 >+ ${_named_program_root}/sbin/named-checkconf -p ${named_conf} > $TMPFILE >+ if get_pidfile_from_conf pid-file ${TMPFILE}; then > pidfile="${_pidfile_from_conf}" > else > pidfile="/var/run/named/pid" > fi >+ unlink ${TMPFILE} > } > > find_sessionkeyfile() > { >- if get_pidfile_from_conf session-keyfile ${named_conf}; then >+ TMPFILE=`mktemp /tmp/named.XXXXX` || exit 1 >+ ${_named_program_root}/sbin/named-checkconf -p ${named_conf} > $TMPFILE >+ if get_pidfile_from_conf session-keyfile ${TMPFILE}; then > sessionkeyfile="${_pidfile_from_conf}" > else > sessionkeyfile="/var/run/named/session.key" > fi >+ unlink ${TMPFILE} > } > > named_stop() >diff -udprN /usr/ports/dns/bind916/files/patch-bin_plugins_Makefile.in ./files/patch-bin_plugins_Makefile.in >--- /usr/ports/dns/bind916/files/patch-bin_plugins_Makefile.in 1970-01-01 00:00:00.000000000 +0000 >+++ ./files/patch-bin_plugins_Makefile.in 2022-01-25 13:02:07.676925000 +0000 >@@ -0,0 +1,11 @@ >+--- bin/plugins/Makefile.in.orig 2022-01-12 13:50:10 UTC >++++ bin/plugins/Makefile.in >+@@ -58,7 +58,7 @@ install:: @SO_TARGETS@ installdirs >+ do \ >+ if test -f $$i ; \ >+ then \ >+- ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} $$i \ >++ ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} -s $$i \ >+ ${DESTDIR}${plugindir}; \ >+ fi \ >+ done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261467
: 231312