FreeBSD Bugzilla – Attachment 122579 Details for
Bug 165798
New port: dns/knot high-performance auth-only DNS server by NIC-CZ
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
finalize.patch
finalize.patch (text/x-diff; charset=us-ascii), 1.89 KB, created by
Leo Vandewoestijne
on 2012-03-17 04:12:37 UTC
(
hide
)
Description:
finalize.patch
Filename:
MIME Type:
Creator:
Leo Vandewoestijne
Created:
2012-03-17 04:12:37 UTC
Size:
1.89 KB
patch
obsolete
>diff -rupN knot.old/Makefile knot/Makefile >--- knot.old/Makefile 2012-03-17 03:59:56.000000000 +0000 >+++ knot/Makefile 2012-03-17 03:55:00.000000000 +0000 >@@ -38,6 +38,7 @@ PORTDOCS= AUTHORS ChangeLog CodingStyle > post-install: > @${MKDIR} ${ETCDIR} > @${INSTALL_DATA} ${WRKSRC}/samples/knot.min.conf ${ETCDIR} >+ @${INSTALL_DATA} ${WRKSRC}/samples/knot.full.conf ${ETCDIR} > @if [ ! -f ${ETCDIR}/knot.conf ]; then \ > ${INSTALL_DATA} ${ETCDIR}/knot.min.conf ${ETCDIR}/knot.conf; \ > fi >@@ -45,5 +46,6 @@ post-install: > @${MKDIR} ${DOCSDIR} > @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ > .endif >+ @${CAT} ${WRKDIR}/pkg-message > > .include <bsd.port.mk> >diff -rupN knot.old/files/pkg-message.in knot/files/pkg-message.in >--- knot.old/files/pkg-message.in 2012-03-17 03:59:56.000000000 +0000 >+++ knot/files/pkg-message.in 2012-03-17 03:55:00.000000000 +0000 >@@ -8,11 +8,7 @@ > $EDITOR %%PREFIX%%/etc/knot/knot.conf > # > # For all option have a look at the contents of >-# %%PREFIX%%/etc/knot/knot.sample.conf >-# >-# For example, under "system" you might like to add >-# user "bind.bind"; >-# to not have knotd run as root/wheel >+# %%PREFIX%%/etc/knot/knot.full.conf > # > # ----- prepare ---------------------------------------------------- > # >@@ -23,7 +19,7 @@ > # > # ----- startup ---------------------------------------------------- > # >- %%PREFIX%%/etc/rc.d/knot start >+ %%PREFIX%%/etc/rc.d/knotd start > # > #################################################################### > >diff -rupN knot.old/pkg-plist knot/pkg-plist >--- knot.old/pkg-plist 2012-03-17 03:59:56.000000000 +0000 >+++ knot/pkg-plist 2012-03-17 03:55:00.000000000 +0000 >@@ -2,6 +2,7 @@ > @stopdaemon knotd > %%ETCDIR%%/example.com.zone > @unexec if cmp -s %B/knot.min.conf %B/knot.conf; then rm -f %B/knot.conf; fi >+%%ETCDIR%%/knot.full.conf > %%ETCDIR%%/knot.min.conf > @exec [ -f %B/knot.conf ] || cp %B/%f %B/knot.conf > %%ETCDIR%%/knot.sample.conf
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 165798
:
122576
|
122577
|
122578
| 122579