summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-04-10 22:06:51 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-04-10 22:06:51 +0000
commit76112ebf54d1051265f3f05da628328289624ba8 (patch)
tree93b992ea14cfb70b46de530d735f648e94e78ee3 /net-fs/am-utils/files
parentinitial ebuild for am-utils (diff)
downloadgentoo-2-76112ebf54d1051265f3f05da628328289624ba8.tar.gz
gentoo-2-76112ebf54d1051265f3f05da628328289624ba8.tar.bz2
gentoo-2-76112ebf54d1051265f3f05da628328289624ba8.zip
initial ebuild for am-utils
Diffstat (limited to 'net-fs/am-utils/files')
-rw-r--r--net-fs/am-utils/files/amd.conf30
-rw-r--r--net-fs/am-utils/files/amd.net4
-rw-r--r--net-fs/am-utils/files/amd.rc21
-rw-r--r--net-fs/am-utils/files/digest-am-utils-6.0.91
4 files changed, 56 insertions, 0 deletions
diff --git a/net-fs/am-utils/files/amd.conf b/net-fs/am-utils/files/amd.conf
new file mode 100644
index 000000000000..85dfd15bcbb7
--- /dev/null
+++ b/net-fs/am-utils/files/amd.conf
@@ -0,0 +1,30 @@
+#
+# amd default config file
+#
+# check amd.conf(5) man page for details about options in this file
+#
+# $Id: amd.conf,v 1.1 2003/04/10 22:06:42 liquidx Exp $
+
+# GLOBAL OPTIONS SECTION
+[ global ]
+normalize_hostnames = no
+print_pid = yes
+pid_file = /var/run/amd.pid
+restart_mounts = yes
+auto_dir = /.automount
+log_file = syslog
+log_options = all
+plock = no
+selectors_on_default = yes
+print_version = no
+map_type = file
+search_path = /etc/amd
+browsable_dirs = no
+show_statfs_entries = no
+fully_qualified_hosts = no
+cache_duration = 300
+
+# DEFINE AN AMD MOUNT POINT
+[ /net ]
+map_name = amd.net
+map_type = file
diff --git a/net-fs/am-utils/files/amd.net b/net-fs/am-utils/files/amd.net
new file mode 100644
index 000000000000..d8d885f90150
--- /dev/null
+++ b/net-fs/am-utils/files/amd.net
@@ -0,0 +1,4 @@
+# $Id: amd.net,v 1.1 2003/04/10 22:06:42 liquidx Exp $
+
+/defaults fs:=${autodir}/${rhost}/root/${rfs};opts:=nodev
+* rhost:=${key};type:=host;rfs:=/
diff --git a/net-fs/am-utils/files/amd.rc b/net-fs/am-utils/files/amd.rc
new file mode 100644
index 000000000000..3bfc71962e07
--- /dev/null
+++ b/net-fs/am-utils/files/amd.rc
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/am-utils/files/amd.rc,v 1.1 2003/04/10 22:06:42 liquidx Exp $
+
+depend() {
+ need localmount
+ use ypbind nfs
+}
+
+start() {
+ ebegin "Starting amd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/amd -- -F /etc/amd/amd.conf
+ eend $? "Failed to start amd"
+}
+
+stop() {
+ ebegin "Stopping amd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/amd
+ eend $? "Failed to stop amd"
+}
diff --git a/net-fs/am-utils/files/digest-am-utils-6.0.9 b/net-fs/am-utils/files/digest-am-utils-6.0.9
new file mode 100644
index 000000000000..1c7c1b77e2ce
--- /dev/null
+++ b/net-fs/am-utils/files/digest-am-utils-6.0.9
@@ -0,0 +1 @@
+MD5 1e288b8485c09a126e2bea4029602265 am-utils-6.0.9.tar.gz 1471542