FreeBSD Bugzilla – Attachment 82564 Details for
Bug 118089
[patch] add rc script to port dns/dnsproxy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.32 KB, created by
Olli Hauer
on 2007-11-16 21:00:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Olli Hauer
Created:
2007-11-16 21:00:03 UTC
Size:
1.32 KB
patch
obsolete
>diff -Nru --exclude=RCS dnsproxy/files/dnsproxy.in dnsproxy.1/files/dnsproxy.in >+++ dnsproxy/files/dnsproxy.in >@@ -0,0 +1,32 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: dnsproxy >+# REQUIRE: NETWORKING SERVERS >+# BEFORE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Define these spamd_* variables in one of these files: >+# /etc/rc.conf >+# /etc/rc.conf.local >+# >+# dnsproxy_enable="YES" # Run the dnsproxy(1) daemon (YES/NO). >+# dnsproxy_flags="" # Extra flags for dnsproxy(1) (if enabled). >+# >+# DO NOT CHANGE THESE DEFAULT VALUES HERE >+# >+dnsproxy_enable=${dnsproxy_enable:-"NO"} >+command_args=${dnsproxy_flags:-"-c %%PREFIX%%/etc/dnsproxy.conf -d"} >+ >+. %%RC_SUBR%% >+ >+name="dnsproxy" >+rcvar=`set_rcvar` >+ >+command="%%PREFIX%%/sbin/dnsproxy" >+ >+load_rc_config $name >+run_rc_command "$1" >diff -Nru --exclude=RCS dnsproxy/files/pkg-message.in dnsproxy.1/files/pkg-message.in >+++ dnsproxy/files/pkg-message.in >@@ -0,0 +1,12 @@ >+********************************************************************** >+To enable dnsproxy you need: >+ >+1) Enable dnsproxy in /etc/rc.conf with the following line: >+ dnsproxy_enable="YES" >+ >+2) Configuration template is available in %%PREFIX%%/etc/dnsproxy as >+ dnsproxy.conf.sample file. >+ >+For more information see man dnsproxy(1) >+ >+**********************************************************************
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 118089
:
82563
| 82564