summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2004-06-08 05:28:54 +0000
committerNick Hadaway <raker@gentoo.org>2004-06-08 05:28:54 +0000
commit00742c400c137283e8f9a2bcb2a328f731ef4460 (patch)
tree35d794427f27d2cfbbe6533b7c60e21ec0f7ce3c /net-nds
parentVersion bump closes bug #53191. Removed non-x86 ARCHS as this is a binary dist. (diff)
downloadhistorical-00742c400c137283e8f9a2bcb2a328f731ef4460.tar.gz
historical-00742c400c137283e8f9a2bcb2a328f731ef4460.tar.bz2
historical-00742c400c137283e8f9a2bcb2a328f731ef4460.zip
New init script setup for rpc.yppasswdd as suggested on bug #40048
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/ypserv/ChangeLog9
-rw-r--r--net-nds/ypserv/Manifest18
-rw-r--r--net-nds/ypserv/files/digest-ypserv-2.13-r11
-rw-r--r--net-nds/ypserv/files/rpc.yppasswdd-r123
-rw-r--r--net-nds/ypserv/files/rpc.yppasswdd.confd7
-rw-r--r--net-nds/ypserv/ypserv-1.3.12.ebuild4
-rw-r--r--net-nds/ypserv/ypserv-2.13-r1.ebuild53
-rw-r--r--net-nds/ypserv/ypserv-2.5-r1.ebuild4
-rw-r--r--net-nds/ypserv/ypserv-2.5.ebuild4
-rw-r--r--net-nds/ypserv/ypserv-2.8.ebuild4
10 files changed, 111 insertions, 16 deletions
diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog
index 512cb0ebdc53..7a09dc653802 100644
--- a/net-nds/ypserv/ChangeLog
+++ b/net-nds/ypserv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nds/ypserv
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.15 2004/04/29 08:47:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.16 2004/06/08 05:28:54 raker Exp $
+
+*ypserv-2.13-r1 (08 Jun 2004)
+
+ 08 Jun 2004; Nick Hadaway <raker@gentoo.org> ypserv-2.13.ebuild,
+ files/rpc.yppasswdd.confd, rpc.yppasswdd :
+ Changes made to the init scripts as suggested by users on bug #40048.
+ This allows for an easy reference to some common options for rpc.yppasswdd
29 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> ypserv-2.13.ebuild,
ypserv-2.8.ebuild, files/rpc.ypxfrd:
diff --git a/net-nds/ypserv/Manifest b/net-nds/ypserv/Manifest
index 89f352ded1f0..e881ac7079c1 100644
--- a/net-nds/ypserv/Manifest
+++ b/net-nds/ypserv/Manifest
@@ -1,10 +1,12 @@
-MD5 391bb9a6577a5e04fe9c0d8711f4d2b0 ypserv-2.13.ebuild 1638
-MD5 dd2446ce565fa9a58d369a1551b26664 ypserv-1.3.12.ebuild 1607
-MD5 9c224f21169c106c0bab82549404bc45 ypserv-2.8.ebuild 1590
-MD5 10466a302e27635bd259de2626e802d4 ypserv-2.5-r1.ebuild 1559
-MD5 21b8116f937633d21a12d9faee4ecf46 ypserv-2.5.ebuild 990
-MD5 5246eaaac96b968fc0b891f741798b9d ChangeLog 2587
-MD5 04aaffe3cfda31f41bae9a4318e4425c files/rpc.yppasswdd 522
+MD5 2309cd71a6f2ea1d03c13260cd09d6ff ypserv-2.13.ebuild 1637
+MD5 129d636ff31977193e32e3bc285970f9 ypserv-2.13-r1.ebuild 1721
+MD5 e280777a7d09ca172225416f89ea7b89 ypserv-1.3.12.ebuild 1605
+MD5 a8370bf2a450f8d57265620db6fde24f ypserv-2.8.ebuild 1585
+MD5 28a9bec11b39e7bce9c660814d00ace4 ypserv-2.5-r1.ebuild 1557
+MD5 65befb78594328f840d9dff58a137165 ypserv-2.5.ebuild 988
+MD5 5bb84990fe86d6ebf264a860844aba6a ChangeLog 2874
+MD5 0a94c5cbeb496be667a073986696975b files/rpc.yppasswdd 521
+MD5 45967caf49de0b5bc203268a007e97fa files/digest-ypserv-2.13-r1 64
MD5 c5454f6b863b42061a84a75f439b1d29 files/ypserv.rc 680
MD5 723eea6eeee5a020cd9ff8cc3959fb6a files/ypserv-confd 216
MD5 bc2e829e5cfce15dae06614f152d8e19 files/ypserv-initd 1089
@@ -16,4 +18,6 @@ MD5 d65fdf73994b1d6d96d9820cbcae02ef files/defs.sed 856
MD5 45967caf49de0b5bc203268a007e97fa files/digest-ypserv-2.13 64
MD5 9c20be3742d94aee43877c12df611b05 files/digest-ypserv-2.5 62
MD5 c4e764aff5598d93c05d8c74f878b5ce files/digest-ypserv-2.8 62
+MD5 5708c5d47523bc441d0264e285c459cb files/rpc.yppasswdd-r1 676
+MD5 f38a0f43a932ff1e4f39d8694cdb0846 files/rpc.yppasswdd.confd 260
MD5 5950ee3a17fa970f3c76bc615b024b6c files/1.3.12/volatile-fix-gcc-3.2.diff 385
diff --git a/net-nds/ypserv/files/digest-ypserv-2.13-r1 b/net-nds/ypserv/files/digest-ypserv-2.13-r1
new file mode 100644
index 000000000000..628d942694ee
--- /dev/null
+++ b/net-nds/ypserv/files/digest-ypserv-2.13-r1
@@ -0,0 +1 @@
+MD5 caa5e7b2af6f62d6051643cc1c00b5c8 ypserv-2.13.tar.bz2 167579
diff --git a/net-nds/ypserv/files/rpc.yppasswdd-r1 b/net-nds/ypserv/files/rpc.yppasswdd-r1
new file mode 100644
index 000000000000..596c6130a0d6
--- /dev/null
+++ b/net-nds/ypserv/files/rpc.yppasswdd-r1
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/rpc.yppasswdd-r1,v 1.1 2004/06/08 05:28:54 raker Exp $
+
+depend() {
+ need net portmap ypserv
+}
+
+start() {
+ ebegin "Starting rpc.yppasswdd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/rpc.yppasswdd
+ YOPTS=""
+ if [ -n "${YPPASSWDD_OPTS}" ]; then YOPTS="-- $YPPASSWDD_OPTS"; fi
+ start-stop-daemon --start --quiet --exec /usr/sbin/rpc.yppasswdd ${YOPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rpc.yppasswdd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.yppasswdd
+ eend $?
+}
diff --git a/net-nds/ypserv/files/rpc.yppasswdd.confd b/net-nds/ypserv/files/rpc.yppasswdd.confd
new file mode 100644
index 000000000000..0d6673630776
--- /dev/null
+++ b/net-nds/ypserv/files/rpc.yppasswdd.confd
@@ -0,0 +1,7 @@
+# -e chsh allows changing shell through ypchsh,
+# -e chfn allows changing GECOS ("finger") information through ypchfn,
+# -D <dir> allows specification of directory with yp/NIS sources
+# if other than /etc.
+#YPPASSWDD_OPTS="-e chsh -e chfn -D /var/yp/source"
+
+
diff --git a/net-nds/ypserv/ypserv-1.3.12.ebuild b/net-nds/ypserv/ypserv-1.3.12.ebuild
index c0ac755e122d..1274683d8b2d 100644
--- a/net-nds/ypserv/ypserv-1.3.12.ebuild
+++ b/net-nds/ypserv/ypserv-1.3.12.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-1.3.12.ebuild,v 1.15 2004/04/28 20:53:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-1.3.12.ebuild,v 1.16 2004/06/08 05:28:54 raker Exp $
IUSE="tcpd"
diff --git a/net-nds/ypserv/ypserv-2.13-r1.ebuild b/net-nds/ypserv/ypserv-2.13-r1.ebuild
new file mode 100644
index 000000000000..57c052326a11
--- /dev/null
+++ b/net-nds/ypserv/ypserv-2.13-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.13-r1.ebuild,v 1.1 2004/06/08 05:28:54 raker Exp $
+
+DESCRIPTION="Network Information Service server"
+HOMEPAGE="http://www.linux-nis.org/nis/"
+SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~ppc64"
+IUSE=""
+
+DEPEND=">=sys-libs/gdbm-1.8.0"
+
+src_install() {
+ make DESTDIR=${D} install
+ dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
+
+ insinto /etc
+ doins etc/ypserv.conf etc/netgroup etc/netmasks
+
+ insinto /var/yp
+ newins etc/securenets securenets.default
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/ypserv.confd ypserv
+ newins ${FILESDIR}/rpc.yppasswdd.confd rpc.yppasswdd
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ypserv.rc ypserv
+ newexe ${FILESDIR}/rpc.yppasswdd-r1 rpc.yppasswdd
+ newexe ${FILESDIR}/rpc.ypxfrd rpc.ypxfrd
+
+ # Save the old config into the new package as CONFIG_PROTECT
+ # doesn't work for this package.
+ if [ -f ${ROOT}/var/yp/Makefile ]; then
+ mv ${D}/var/yp/Makefile ${D}/var/yp/Makefile.dist
+ cp ${ROOT}/var/yp/Makefile ${D}/var/yp/Makefile
+ einfo "As you have a previous /var/yp/Makefile, I have added"
+ einfo "this file into the new package and installed the new"
+ einfo "file as /var/yp/Makefile.dist"
+ fi
+}
+
+pkg_postinst() {
+ einfo "To complete setup, you will need to edit /var/yp/securenets,"
+ einfo "/etc/conf.d/ypserv, /etc/ypserv.conf, /etc/conf.d/rpc.yppasswdd"
+ einfo "and possibly /var/yp/Makefile."
+
+ einfo "To start the services at boot, you need to enable ypserv and optionally"
+ einfo "the rpc.yppasswdd and/or rpc.ypxfrd services"
+}
diff --git a/net-nds/ypserv/ypserv-2.5-r1.ebuild b/net-nds/ypserv/ypserv-2.5-r1.ebuild
index d334c864d68e..cc793dc232f5 100644
--- a/net-nds/ypserv/ypserv-2.5-r1.ebuild
+++ b/net-nds/ypserv/ypserv-2.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.5-r1.ebuild,v 1.7 2004/04/28 20:53:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.5-r1.ebuild,v 1.8 2004/06/08 05:28:54 raker Exp $
IUSE=""
diff --git a/net-nds/ypserv/ypserv-2.5.ebuild b/net-nds/ypserv/ypserv-2.5.ebuild
index f4c5caab155a..0b70d9eed44f 100644
--- a/net-nds/ypserv/ypserv-2.5.ebuild
+++ b/net-nds/ypserv/ypserv-2.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.5.ebuild,v 1.6 2004/04/28 20:53:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.5.ebuild,v 1.7 2004/06/08 05:28:54 raker Exp $
IUSE=""
diff --git a/net-nds/ypserv/ypserv-2.8.ebuild b/net-nds/ypserv/ypserv-2.8.ebuild
index b0b68e2e21a4..5a54e3fa35b7 100644
--- a/net-nds/ypserv/ypserv-2.8.ebuild
+++ b/net-nds/ypserv/ypserv-2.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.8.ebuild,v 1.9 2004/04/29 08:47:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.8.ebuild,v 1.10 2004/06/08 05:28:54 raker Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Network Information Service server"