freebsd-ports/news/nntpswitch/files/patch-nntpswitch.conf.in
2005-10-30 12:50:25 +00:00

29 lines
924 B
Text

--- nntpswitch.conf.in.orig Fri Apr 23 13:30:04 2004
+++ nntpswitch.conf.in Sun Oct 30 14:32:31 2005
@@ -10,7 +10,7 @@
string PidFile /var/run/nntpswitchd.pid
# Every file or dirname not starting with a / has BasePath prepended
-string BasePath /etc/nntpswitch
+string BasePath %%PREFIX%%/etc/nntpswitch
# Paths and Files
# kill -1 will reload these
@@ -18,8 +18,8 @@
string ServerFile servers.conf
string OverviewFmtFile overview.fmt
-string ActiveFile /etc/nntpswitch/active
-string NewsgroupsFile /etc/nntpswitch/newsgroups
+string ActiveFile %%PREFIX%%/etc/nntpswitch/active
+string NewsgroupsFile %%PREFIX%%/etc/nntpswitch/newsgroups
string ModulePath /usr/local/lib
@@ -92,5 +92,5 @@
int DropUnknown 10
# touch this file to temporarily disable the server
-string DisableFile /etc/nntpswitch/closed
+string DisableFile %%PREFIX%%/etc/nntpswitch/closed
string DisableText 500 Sorry, we're closed.