diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-29 08:47:42 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-04-29 08:47:42 +0000 |
commit | bf16a87984ecdf1e961f05ff1083f9d096b1fbeb (patch) | |
tree | 98473ded98455566d2b5c4b069a3dddd10913931 /net-nds | |
parent | added in gcc 3.4 patch from upstream, changed LICENCE to MIT (Manifest recommit) (diff) | |
download | gentoo-2-bf16a87984ecdf1e961f05ff1083f9d096b1fbeb.tar.gz gentoo-2-bf16a87984ecdf1e961f05ff1083f9d096b1fbeb.tar.bz2 gentoo-2-bf16a87984ecdf1e961f05ff1083f9d096b1fbeb.zip |
Added rpc.ypxfrd init script.
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/ypserv/ChangeLog | 8 | ||||
-rw-r--r-- | net-nds/ypserv/files/rpc.ypxfrd | 20 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.13.ebuild | 11 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.8.ebuild | 3 |
4 files changed, 33 insertions, 9 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/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. |