summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-09 23:55:48 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-09 23:55:48 +0000
commit7867edded4eff19064b5b3409724fd07f854e302 (patch)
tree2234383605052138195ddb9a1a3873c8a1ba10b4 /net-nds/ypserv/files
parent*** empty log message *** (diff)
downloadgentoo-2-7867edded4eff19064b5b3409724fd07f854e302.tar.gz
gentoo-2-7867edded4eff19064b5b3409724fd07f854e302.tar.bz2
gentoo-2-7867edded4eff19064b5b3409724fd07f854e302.zip
*** empty log message ***
Diffstat (limited to 'net-nds/ypserv/files')
-rw-r--r--net-nds/ypserv/files/defs.sed30
-rw-r--r--net-nds/ypserv/files/digest1
-rwxr-xr-xnet-nds/ypserv/files/ypserv30
3 files changed, 61 insertions, 0 deletions
diff --git a/net-nds/ypserv/files/defs.sed b/net-nds/ypserv/files/defs.sed
new file mode 100644
index 000000000000..b0d6dada3766
--- /dev/null
+++ b/net-nds/ypserv/files/defs.sed
@@ -0,0 +1,30 @@
+s|@(PERL)|/usr/bin/perl|g
+s|@(YPPUSH)|/usr/sbin/yppush|g
+s|@(MAKEDBM)|/usr/lib/yp/makedbm|g
+s|@(PASSWD)|/etc/passwd|g
+s|@(GROUP)|/etc/group|g
+s|@(HOSTS)|/etc/hosts|g
+s|@(NETWORKS)|/etc/networks|g
+s|@(PROTOCOLS)|/etc/protocols|g
+s|@(SERVICES)|/etc/services|g
+s|@(RPC)|/etc/rpc|g
+s|@(ALIASES)|/etc/aliases|g
+s|@(AUTO_MASTER)|/etc/auto.master|g
+s|@(AMD_MASTER)|/etc/amd.master|g
+s|@(ETHERS)|/etc/ethers|g
+s|@(SHADOW)|/etc/shadow|g
+s|@(GSHADOW)|/etc/gshadow|g
+s|@(NETGROUP)|/etc/netgroup|g
+s|@(PUBLICKEY)|/etc/publickey|g
+s|@(YPSERVERS)|/etc/ypservers|g
+s|@(MAN5EXT)|5|g
+s|@(MAN8EXT)|8|g
+s|@(MAN5DIR)|/usr/man/man5|g
+s|@(MAN8DIR)|/usr/man/man8|g
+s|@(MANUSER)|root|g
+s|@(MANGROUP)|root|g
+s|@(YPMAPDIR)|/var/yp|g
+s|@(YPBINDIR)|/usr/sbin|g
+s|@(YPLIBDIR)|/usr/lib/yp|g
+s|@(YPMODDIR)|/usr/lib/yp/ypmake|g
+s|@(VERSION)|ypmake 0.11 (built Thu Jul 13 05:17:23 2000)|g
diff --git a/net-nds/ypserv/files/digest b/net-nds/ypserv/files/digest
new file mode 100644
index 000000000000..a86507967e40
--- /dev/null
+++ b/net-nds/ypserv/files/digest
@@ -0,0 +1 @@
+MD5 ecdfccf57c3bf0bbba2fe36cdd1fea27 ypserv-1.3.9.tar.gz
diff --git a/net-nds/ypserv/files/ypserv b/net-nds/ypserv/files/ypserv
new file mode 100755
index 000000000000..d7c54817245a
--- /dev/null
+++ b/net-nds/ypserv/files/ypserv
@@ -0,0 +1,30 @@
+#!/bin/sh
+#RCUPDATE:2 3 4:75:This line is required for script management
+
+. /etc/rc.d/config/functions
+
+SERVICE="NIS Server"
+opts="start stop restart"
+
+EXE=/usr/sbin/ypserv
+
+start() {
+ ebegin "Starting $SERVICE..."
+ start-stop-daemon --start --quiet --exec $EXE
+ eend $? "Started $SERVICE." "Error Starting $SERVICE."
+}
+
+stop() {
+ ebegin "Stopping $SERVICE..."
+ start-stop-daemon --stop --quiet --exec $EXE
+ eend $? "Stopped $SERVICE." "Error Stopping $SERVICE."
+}
+
+restart() {
+ stop
+ start
+}
+
+doservice ${@}
+
+