summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-29 08:47:42 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-29 08:47:42 +0000
commitb39cd06b5f29a7042d632bb530e60028c17f7f90 (patch)
treed87c877bf741873afad7b0517f090abb91761e0f /net-nds/ypserv
parentadded in gcc 3.4 patch from upstream, changed LICENCE to MIT (diff)
downloadhistorical-b39cd06b5f29a7042d632bb530e60028c17f7f90.tar.gz
historical-b39cd06b5f29a7042d632bb530e60028c17f7f90.tar.bz2
historical-b39cd06b5f29a7042d632bb530e60028c17f7f90.zip
Added rpc.ypxfrd init script.
Diffstat (limited to 'net-nds/ypserv')
-rw-r--r--net-nds/ypserv/ChangeLog8
-rw-r--r--net-nds/ypserv/Manifest27
-rw-r--r--net-nds/ypserv/files/rpc.ypxfrd20
-rw-r--r--net-nds/ypserv/ypserv-2.13.ebuild11
-rw-r--r--net-nds/ypserv/ypserv-2.8.ebuild3
5 files changed, 48 insertions, 21 deletions
diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog
index aa99b71b608f..512cb0ebdc53 100644
--- a/net-nds/ypserv/ChangeLog
+++ b/net-nds/ypserv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nds/ypserv
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.14 2004/04/28 20:53:03 vapier Exp $
+# 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 $
+
+ 29 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> ypserv-2.13.ebuild,
+ ypserv-2.8.ebuild, files/rpc.ypxfrd:
+ Added rpc.ypxfrd init script.
*ypserv-2.13 (28 Apr 2004)
diff --git a/net-nds/ypserv/Manifest b/net-nds/ypserv/Manifest
index d336940a3068..e2cc5f954b83 100644
--- a/net-nds/ypserv/Manifest
+++ b/net-nds/ypserv/Manifest
@@ -1,16 +1,19 @@
-MD5 5950ee3a17fa970f3c76bc615b024b6c files/1.3.12/volatile-fix-gcc-3.2.diff 385
-MD5 d65fdf73994b1d6d96d9820cbcae02ef files/defs.sed 856
-MD5 d8a2530491cec60a01a03e74b63b37c7 files/digest-ypserv-1.3.12 65
-MD5 9c20be3742d94aee43877c12df611b05 files/digest-ypserv-2.5 62
-MD5 9c20be3742d94aee43877c12df611b05 files/digest-ypserv-2.5-r1 62
-MD5 c4e764aff5598d93c05d8c74f878b5ce files/digest-ypserv-2.8 62
+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 c5454f6b863b42061a84a75f439b1d29 files/ypserv.rc 680
MD5 723eea6eeee5a020cd9ff8cc3959fb6a files/ypserv-confd 216
MD5 bc2e829e5cfce15dae06614f152d8e19 files/ypserv-initd 1089
MD5 66cb16c281ac0a8b0ccb4056d9a60491 files/ypserv.confd 117
-MD5 c5454f6b863b42061a84a75f439b1d29 files/ypserv.rc 680
-MD5 0d441319645c68cf09daf67cadd8e09d ChangeLog 2292
-MD5 35a8cb8c9e2b7e839d90b1a456973a14 ypserv-1.3.12.ebuild 1609
-MD5 bbbef10a92e837c5e3f2e66b5fac5122 ypserv-2.5-r1.ebuild 1561
-MD5 03c1ab38d5c952e9ed92393984576235 ypserv-2.5.ebuild 992
-MD5 cbc73ba5b6e98069c24c64a63ec136cf ypserv-2.8.ebuild 1547
+MD5 d8a2530491cec60a01a03e74b63b37c7 files/digest-ypserv-1.3.12 65
+MD5 9c20be3742d94aee43877c12df611b05 files/digest-ypserv-2.5-r1 62
+MD5 3cbc52f9243c1a1d47f00e623845aaf3 files/rpc.ypxfrd 517
+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 5950ee3a17fa970f3c76bc615b024b6c files/1.3.12/volatile-fix-gcc-3.2.diff 385
diff --git a/net-nds/ypserv/files/rpc.ypxfrd b/net-nds/ypserv/files/rpc.ypxfrd
new file mode 100644
index 000000000000..9fa23ed48a70
--- /dev/null
+++ b/net-nds/ypserv/files/rpc.ypxfrd
@@ -0,0 +1,20 @@
+#!/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.ypxfrd,v 1.1 2004/04/29 08:47:42 eradicator Exp $
+
+depend() {
+ need net portmap ypserv
+}
+
+start() {
+ ebegin "Starting rpc.yppasswdd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/rpc.ypxfrd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rpc.yppasswdd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.ypxfrd
+ eend $?
+}
diff --git a/net-nds/ypserv/ypserv-2.13.ebuild b/net-nds/ypserv/ypserv-2.13.ebuild
index 71aca77c5996..20d2ea17a313 100644
--- a/net-nds/ypserv/ypserv-2.13.ebuild
+++ b/net-nds/ypserv/ypserv-2.13.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.1 2004/04/28 20:53:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.13.ebuild,v 1.2 2004/04/29 08:47:41 eradicator Exp $
DESCRIPTION="Network Information Service server"
HOMEPAGE="http://www.linux-nis.org/nis/"
@@ -13,11 +13,6 @@ IUSE=""
DEPEND=">=sys-libs/gdbm-1.8.0"
-src_compile() {
- econf --enable-yppasswd || die
- emake || die
-}
-
src_install() {
make DESTDIR=${D} install
dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
@@ -34,6 +29,7 @@ src_install() {
exeinto /etc/init.d
newexe ${FILESDIR}/ypserv.rc ypserv
newexe ${FILESDIR}/rpc.yppasswdd 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.
@@ -50,4 +46,7 @@ pkg_postinst() {
einfo "To complete setup, you will need to edit /var/yp/securenets,"
einfo "/etc/conf.d/ypserv, /etc/ypserv.conf, and possibly"
einfo "/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.8.ebuild b/net-nds/ypserv/ypserv-2.8.ebuild
index e81c3de51272..b0b68e2e21a4 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.
# 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.8 2004/04/28 20:53:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.8.ebuild,v 1.9 2004/04/29 08:47:41 eradicator Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Network Information Service server"
@@ -34,6 +34,7 @@ src_install() {
exeinto /etc/init.d
newexe ${FILESDIR}/ypserv.rc ypserv
newexe ${FILESDIR}/rpc.yppasswdd 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.