pkgsrc/audio/mt-daapd/patches/patch-aa

50 lines
1,009 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.1.1.1 2006/10/20 20:28:28 adrianp Exp $
--- contrib/mt-daapd.conf.orig 2004-12-29 06:20:26.000000000 +0000
+++ contrib/mt-daapd.conf
@@ -23,7 +23,7 @@
# path is probably /usr/local/share/mt-daapd/admin-root.
#
-web_root /usr/share/mt-daapd/admin-root
+web_root @PREFIX@/share/mt-daapd/admin-root
#
# port (required)
@@ -51,7 +51,7 @@ admin_pw mt-daapd
# exists. If not, then YOU MUST CREATE THIS DIRECTORY!
#
-db_dir /var/cache/mt-daapd
+db_dir @VARBASE@/cache/mt-daapd
#
# mp3_dir (required)
@@ -83,7 +83,7 @@ servername mt-daapd
# as root or not.
#
-runas nobody
+runas @MTDAAPD_USER@
#
# playlist (optional)
@@ -98,7 +98,7 @@ runas nobody
# below.
#
-playlist /etc/mt-daapd.playlist
+playlist @PKG_SYSCONFDIR@/mt-daapd.playlist
#
# password (optional)
@@ -136,7 +136,7 @@ extensions .mp3,.m4a,.m4p
# will vary the amount of logging you get.
#
-#logfile /var/log/mt-daapd.log
+#logfile @VARBASE@/log/mt-daapd.log
#
# art_filename (optional)