From 781bd75e9f37154584ffc414bad405fe14a9c122 Mon Sep 17 00:00:00 2001 From: darkeye Date: Sun, 2 Sep 2001 14:44:14 +0000 Subject: [PATCH] added system level configuration file --- darkice/trunk/Makefile.am | 2 ++ darkice/trunk/darkice.cfg | 21 ++------------------- darkice/trunk/rpm/darkice.spec | 5 +++++ 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/darkice/trunk/Makefile.am b/darkice/trunk/Makefile.am index bf4ab00..2e5def4 100644 --- a/darkice/trunk/Makefile.am +++ b/darkice/trunk/Makefile.am @@ -2,6 +2,8 @@ KDOC_DIR=kdoc SUBDIRS = src man +sysconf_DATA = darkice.cfg + EXTRA_DIST = stl $(KDOC_DIR) darkice.cfg $(KDOC_DIR): kdocs diff --git a/darkice/trunk/darkice.cfg b/darkice/trunk/darkice.cfg index b64f051..42afdf1 100644 --- a/darkice/trunk/darkice.cfg +++ b/darkice/trunk/darkice.cfg @@ -1,3 +1,5 @@ +# sample DarkIce configuration file, edit for your needs before using +# see the DarkIce man page for details [general] duration = 60 bufferSecs = 5 @@ -9,9 +11,7 @@ bitsPerSample = 16 channel = 2 [lame0] -encoder = notlame bitrate = 96 - server = yp.yourserver.com port = 8000 password = hackme @@ -22,20 +22,3 @@ url = http://www.yourserver.com genre = live public = no remoteDumpFile = /tmp/live96.mp3 - -[lame1] -encoder = notlame -bitrate = 24 -lowpass = 8500 - -server = yp.yourserver.com -port = 8000 -password = hackme -mountPoint = live24 -name = DarkIce trial -description = This is only a trial -url = http://www.yourserver.com -genre = live -public = no -remoteDumpFile = /tmp/live24.mp3 - diff --git a/darkice/trunk/rpm/darkice.spec b/darkice/trunk/rpm/darkice.spec index 1e7501b..c5eeec7 100644 --- a/darkice/trunk/rpm/darkice.spec +++ b/darkice/trunk/rpm/darkice.spec @@ -111,6 +111,7 @@ make clean %files %defattr (-, root, root) %doc COPYING ChangeLog README TODO +%config %{_sysconfdir}/darkice.cfg %{_bindir}/darkice %{_mandir}/man1/darkice.1* @@ -119,6 +120,7 @@ make clean %files static %defattr (-, root, root) %doc COPYING ChangeLog README TODO +%config %{_sysconfdir}/darkice.cfg %{_bindir}/darkice.static %{_mandir}/man1/darkice.1* @@ -126,6 +128,9 @@ make clean # =================================================================== change log # # $Log$ +# Revision 1.2 2001/09/02 14:44:14 darkeye +# added system level configuration file +# # Revision 1.1 2001/09/02 12:46:05 darkeye # added RPM package creation scripts #