FreeBSD Bugzilla – Attachment 161172 Details for
Bug 203197
dns/pdnsd: modernize vardir handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
pdnsd.patch (text/plain), 2.09 KB, created by
Dmitry Marakasov
on 2015-09-18 17:38:25 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-09-18 17:38:25 UTC
Size:
2.09 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 397249) >+++ Makefile (working copy) >@@ -33,6 +33,9 @@ > > IPV6_CONFIGURE_ENABLE= ipv6 > >+post-install: >+ @${RM} ${STAGEDIR}${PDNSDB}/pdnsd.cache >+ > post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > @${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${STAGEDIR}${DOCSDIR} >Index: pkg-deinstall >=================================================================== >--- pkg-deinstall (revision 0) >+++ pkg-deinstall (working copy) >@@ -0,0 +1,4 @@ >+#!/bin/sh >+PDNSDB=/var/db/pdnsd >+ >+rm -f ${PDNSDB}/pdnsd.cache > >Property changes on: pkg-deinstall >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-install >=================================================================== >--- pkg-install (revision 397249) >+++ pkg-install (working copy) >@@ -1,9 +1,8 @@ > #!/bin/sh > PDNSDB=/var/db/pdnsd > >-mkdir -p ${PDNSDB} >-chown nobody ${PDNSDB} >-chmod 755 ${PDNSDB} >-touch ${PDNSDB}/pdnsd.cache >-chown nobody ${PDNSDB}/pdnsd.cache >-chmod 640 ${PDNSDB}/pdnsd.cache >+if [ "${2}" = "POST-INSTALL" ] ; then >+ touch ${PDNSDB}/pdnsd.cache >+ chown nobody ${PDNSDB}/pdnsd.cache >+ chmod 640 ${PDNSDB}/pdnsd.cache >+fi >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 397249) >+++ pkg-plist (working copy) >@@ -1,6 +1,4 @@ >-@unexec if cmp -s %D/etc/pdnsd.conf %D/etc/pdnsd.conf.sample; then rm %D/etc/pdnsd.conf; fi >-etc/pdnsd.conf.sample >-@exec [ -f %D/etc/pdnsd.conf ] || install -m 644 %D/etc/pdnsd.conf.sample %D/etc/pdnsd.conf >+@sample etc/pdnsd.conf.sample > man/man5/pdnsd.conf.5.gz > man/man8/pdnsd-ctl.8.gz > man/man8/pdnsd.8.gz >@@ -13,4 +11,4 @@ > %%PORTDOCS%%%%DOCSDIR%%/faq.txt > %%PORTDOCS%%%%DOCSDIR%%/intro.txt > %%PORTDOCS%%%%DOCSDIR%%/manual.txt >-@unexec rm -rf /var/db/pdnsd 2>&1 >/dev/null || true >+@dir(nobody,,755) /var/db/pdnsd
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 203197
: 161172