]> Frank Brehm's Git Trees - config/bruni/etc.git/commitdiff
committing changes in /etc after emerge run
authorfrank <frank@bruni.home.brehm-online.com>
Sun, 15 Jan 2012 22:51:44 +0000 (23:51 +0100)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Sun, 15 Jan 2012 22:51:44 +0000 (23:51 +0100)
Package changes:
+media-libs/nas-1.9.2

.etckeeper
conf.d/nas [new file with mode: 0644]
init.d/nas [new file with mode: 0755]
nas/nasd.conf [new file with mode: 0644]

index a7cadd7f6088d98e87c4e9ab787637ec2d51d185..19f3d8faf642a33e0e85335612e39d598136b407 100755 (executable)
@@ -45,6 +45,7 @@ maybe chmod 0644 './conf.d/mdadm'
 maybe chmod 0644 './conf.d/mdraid'
 maybe chmod 0644 './conf.d/modules'
 maybe chmod 0644 './conf.d/mysql'
+maybe chmod 0644 './conf.d/nas'
 maybe chmod 0644 './conf.d/net'
 maybe chmod 0644 './conf.d/network'
 maybe chmod 0644 './conf.d/ntp-client'
@@ -215,6 +216,7 @@ maybe chmod 0755 './init.d/modules'
 maybe chmod 0755 './init.d/mount-ro'
 maybe chmod 0755 './init.d/mtab'
 maybe chmod 0755 './init.d/mysql'
+maybe chmod 0755 './init.d/nas'
 maybe chmod 0755 './init.d/net.lo'
 maybe chmod 0755 './init.d/netmount'
 maybe chmod 0755 './init.d/network'
@@ -309,6 +311,8 @@ maybe chmod 0644 './modprobe.d/pnp-aliases.conf'
 maybe chmod 0644 './modprobe.d/usb-load-ehci-first.conf'
 maybe chmod 0644 './mtab'
 maybe chmod 0644 './nanorc'
+maybe chmod 0755 './nas'
+maybe chmod 0444 './nas/nasd.conf'
 maybe chmod 0644 './networks'
 maybe chmod 0644 './nscd.conf'
 maybe chmod 0644 './nsswitch.conf'
diff --git a/conf.d/nas b/conf.d/nas
new file mode 100644 (file)
index 0000000..b8c32db
--- /dev/null
@@ -0,0 +1,11 @@
+# Config file for /etc/init.d/nas
+
+# For information on options, see "/usr/bin/nasd -h".
+
+NAS_OPTIONS=""
+
+# Allow only clients on local network to connect:
+#NAS_OPTIONS="-local"
+
+# Allow any client to connect:
+#NAS_OPTIONS="-aa"
diff --git a/init.d/nas b/init.d/nas
new file mode 100755 (executable)
index 0000000..2cdd0e6
--- /dev/null
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/files/nas.init.d,v 1.5 2007/04/02 18:12:18 drac Exp $
+
+depend() {
+       need net
+       after alsasound esd
+}
+
+start() {
+       ebegin "Starting nas"
+       start-stop-daemon --start --quiet --exec /usr/bin/nasd --background \
+               --pidfile /var/run/nasd.pid --make-pidfile -- $NAS_OPTIONS
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping nas"
+       start-stop-daemon --stop --quiet --pidfile /var/run/nasd.pid
+       eend $?
+}
diff --git a/nas/nasd.conf b/nas/nasd.conf
new file mode 100644 (file)
index 0000000..7d6f8b4
--- /dev/null
@@ -0,0 +1,95 @@
+#
+#      A sample config file for the NAS Audio Server
+#
+# $Id: nasd.conf.eg 268 2007-11-10 23:41:22Z jon13 $
+# $NCDId: @(#)AUVoxConfig.eg,v 1.1 1996/04/24 17:00:06 greg Exp $
+#
+
+
+# set this to 0 for no debugging, a larger number equals more debugging
+#  info... (defaults to 0)
+Debug 0
+
+# be verbose, comment out if you don't want it
+Verbose
+
+# set this to "yes" or "no" to indicate whether nasd should release the
+#  audio device when finished playing a sound.
+# defaults to "yes"
+# Only the voxware, hpux, and sun servers understand this for now.
+ReleaseDevice "yes"
+
+# set this to "yes" or "no" to indicate whether nasd should keep the mixer
+#  device open when releasing the audio device.
+# defaults to "yes"
+# Only the voxware server understands this for now.
+KeepMixer "yes"
+
+# init the mixer on startup? Voxware only.
+# defaults to "no"
+MixerInit "no"
+
+# Initialize the mixer settings on every audio device open?
+# Settings are only initialized if MixerInit is set to "yes".
+# Voxware only.
+# defaults to "no"
+ReInitMixer "no"
+
+# This is used on hpux.  Set to "INT" to use the internal speaker,
+#  set to "EXT" to use the external device (headphone/speakers).
+# defaults to "EXT"
+OutDevType     "EXT"
+
+# These are all used by voxware, nowhere else yet.
+
+inputsection
+
+       device          "/dev/dsp1"             # The input device, usually
+       mixer           "/dev/mixer1"           # mixer device
+        gain            50                      # default input gain (0-100)
+       maxrate         44100
+       minrate         4000                    # Kind of redundant
+       maxfrags        3                       # We want really low latency
+       minfrags        2                       # the default
+       fragsize        256                     # Again, for low latency
+       wordsize        8                       # It only handles 8 bits anyway
+       numchans        2                       # Glorious living mono
+       forcerate       "no"                    # forces input rate to current
+       autoOpen        "yes"                   # whether to open the dev
+                                               # at init
+       readwrite       "no"                    # open 'device' read/write?
+end
+
+# These are used by voxware only for now.
+outputsection
+       device          "/dev/dsp"              # The output device, usually
+       mixer           "/dev/mixer"            # mixer device
+        gain            50                      # default output gain (0-100)
+       maxrate         44100                   # CD quality.
+       minrate         5000                    # Redundant again
+       maxfrags        3                       # Low latency (for doom!)
+       minfrags        2                       # redundant really.
+       fragsize        256                     # Low latency again..
+       wordsize        16                      # Yes!
+       numchans        2                       # HiFi Stereo!
+       forcerate       "no"                    # forces output rate to current
+       autoOpen        "yes"                   # whether to open the dev
+                                               # at init
+       readwrite       "no"                    # open 'device' read/write?
+end
+
+#
+#      An el cheapo full duplex setup could have the following output
+#      section with the above inputsection, assuming that all they had
+#      was an 8 bit SB and the PC speaker with the voxware server.
+#
+#       I really hope no one is saddled with this type of hardware in the
+#       21st century.  If so, I sympathize.
+#
+#
+#outputsection
+#      device  "/dev/pcaudio"
+#      maxrate         8000
+#      minrate         8000
+#      wordsize        8
+#end