FreeBSD Bugzilla – Attachment 161588 Details for
Bug 203466
dns/pdnsd: fix stage-qa, switch to @sample
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
pdnsd.patch (text/plain), 2.00 KB, created by
Dmitry Marakasov
on 2015-10-01 09:39:18 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-10-01 09:39:18 UTC
Size:
2.00 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 397249) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= pdnsd > PORTVERSION= 1.2.9a >+PORTREVISION= 1 > CATEGORIES= dns ipv6 > MASTER_SITES= http://members.home.nl/p.a.rombouts/pdnsd/releases/ \ > http://distfiles.pirateparty.in/ashish/ >@@ -33,6 +34,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,6 @@ >+#!/bin/sh >+PDNSDB=/var/db/pdnsd >+ >+if [ "$2" = "DEINSTALL" ] ; then >+ rm -f ${PDNSDB}/pdnsd.cache >+fi >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 203466
: 161588