summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-26 17:04:51 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-26 17:04:51 +0000
commita1a7edf0a3a3cbac11581836e801ce1cf7400452 (patch)
treee71c74a679bf0928d32d0694529fed19879f4ea9 /media-libs/nas/files
parentVersion bump this should correct Bug#33163 (diff)
downloadhistorical-a1a7edf0a3a3cbac11581836e801ce1cf7400452.tar.gz
historical-a1a7edf0a3a3cbac11581836e801ce1cf7400452.tar.bz2
historical-a1a7edf0a3a3cbac11581836e801ce1cf7400452.zip
Removed explicit S=. Added explicit IUSE=. Added init script provided by Vaclav Slavik <vaclav.slavik@matfyz.cz> in bug #45689.
Diffstat (limited to 'media-libs/nas/files')
-rw-r--r--media-libs/nas/files/digest-nas-1.6c-r11
-rw-r--r--media-libs/nas/files/nas.conf.d11
-rw-r--r--media-libs/nas/files/nas.init.d21
3 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/nas/files/digest-nas-1.6c-r1 b/media-libs/nas/files/digest-nas-1.6c-r1
new file mode 100644
index 000000000000..7bd4854014e2
--- /dev/null
+++ b/media-libs/nas/files/digest-nas-1.6c-r1
@@ -0,0 +1 @@
+MD5 0cae31069e6855ceb198757285faaec4 nas-1.6c.src.tar.gz 1114367
diff --git a/media-libs/nas/files/nas.conf.d b/media-libs/nas/files/nas.conf.d
new file mode 100644
index 000000000000..5c069e13203e
--- /dev/null
+++ b/media-libs/nas/files/nas.conf.d
@@ -0,0 +1,11 @@
+# Config file for /etc/init.d/nas
+
+# For information on options, see "/usr/X11R6/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/media-libs/nas/files/nas.init.d b/media-libs/nas/files/nas.init.d
new file mode 100644
index 000000000000..4ad30c4add07
--- /dev/null
+++ b/media-libs/nas/files/nas.init.d
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# 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.1 2004/03/26 17:04:51 eradicator Exp $
+
+depend() {
+ need net
+ use alsasound
+}
+
+start() {
+ ebegin "Starting nas"
+ start-stop-daemon --start --quiet --exec /usr/X11R6/bin/nasd -- -b $NAS_OPTIONS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping nas"
+ start-stop-daemon --stop --quiet --exec /usr/X11R6/bin/nasd
+ eend $?
+}