diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-24 06:26:28 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-24 06:26:28 +0000 |
commit | 6dd65441e4fcf675eca875b649b0b6b197c7861c (patch) | |
tree | fe76672fd4541bd4b5e1e890e9d48cac6191fe46 /net-nds/ypserv | |
parent | add --enable-http for http fetching, removed gcc3.3 patch, retained gcc3.4 pa... (diff) | |
download | historical-6dd65441e4fcf675eca875b649b0b6b197c7861c.tar.gz historical-6dd65441e4fcf675eca875b649b0b6b197c7861c.tar.bz2 historical-6dd65441e4fcf675eca875b649b0b6b197c7861c.zip |
Add conf.d options to set command line options (bug #38219). init script depends on domainname rather than having it set in two places. Marking latest ebuild stable on amd64 and x86. Removing old ebuilds.
Diffstat (limited to 'net-nds/ypserv')
-rw-r--r-- | net-nds/ypserv/ChangeLog | 9 | ||||
-rw-r--r-- | net-nds/ypserv/Manifest | 23 | ||||
-rw-r--r-- | net-nds/ypserv/files/digest-ypserv-2.5 | 1 | ||||
-rw-r--r-- | net-nds/ypserv/files/digest-ypserv-2.5-r1 | 1 | ||||
-rw-r--r-- | net-nds/ypserv/files/rpc.yppasswdd-r1 | 4 | ||||
-rw-r--r-- | net-nds/ypserv/files/rpc.ypxfrd | 6 | ||||
-rw-r--r-- | net-nds/ypserv/files/rpc.ypxfrd.confd | 3 | ||||
-rwxr-xr-x | net-nds/ypserv/files/ypserv | 22 | ||||
-rw-r--r-- | net-nds/ypserv/files/ypserv.confd | 4 | ||||
-rw-r--r-- | net-nds/ypserv/files/ypserv.rc | 28 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-1.3.12.ebuild | 4 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.13-r1.ebuild | 7 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.13.ebuild | 4 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.5-r1.ebuild | 50 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.5.ebuild | 38 | ||||
-rw-r--r-- | net-nds/ypserv/ypserv-2.8.ebuild | 4 |
16 files changed, 61 insertions, 147 deletions
diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog index 438e0e574c38..441bb5f570c5 100644 --- a/net-nds/ypserv/ChangeLog +++ b/net-nds/ypserv/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-nds/ypserv # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.18 2004/06/25 00:24:03 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.19 2004/07/24 06:26:27 eradicator Exp $ + + 23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + files/rpc.yppasswdd-r1, files/rpc.ypxfrd, +files/rpc.ypxfrd.confd, + +files/ypserv, files/ypserv.confd, -files/ypserv.rc, -ypserv-2.5.ebuild: + Add conf.d options to set command line options (bug #38219). init script + depends on domainname rather than having it set in two places. Marking latest + ebuild stable on amd64 and x86. Removing old ebuilds. 11 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> files/rpc.yppasswdd-r1, ypserv-2.13-r1.ebuild: diff --git a/net-nds/ypserv/Manifest b/net-nds/ypserv/Manifest index c7205d1e7215..069b5c90d5f4 100644 --- a/net-nds/ypserv/Manifest +++ b/net-nds/ypserv/Manifest @@ -1,24 +1,21 @@ -MD5 56afb3d9857553e6de324dc921904dcf ChangeLog 3028 -MD5 a22909989b53a0cd98f74fed61da57de ypserv-1.3.12.ebuild 1582 -MD5 e7d884c7363c9db5288defddad5c39ea ypserv-2.13-r1.ebuild 1723 -MD5 8e1122ee8571fb6f030673f51b0e557a ypserv-2.13.ebuild 1627 -MD5 ff44510017cd4458e2762067c4047990 ypserv-2.5-r1.ebuild 1535 -MD5 6a11c6c665a6f5eb5226025327330c06 ypserv-2.5.ebuild 965 -MD5 ff0e8730a4508046663a89c9250db3b1 ypserv-2.8.ebuild 1562 +MD5 14547ad6857a872e8944f66fb08453be ChangeLog 3443 +MD5 0d1c8bb236447cb884e1603b60e96f64 ypserv-1.3.12.ebuild 1578 +MD5 d6c42aec8e95c84877c4a198e08150d2 ypserv-2.13-r1.ebuild 1768 +MD5 7599e5f4491b22951048a8938611bde0 ypserv-2.13.ebuild 1626 +MD5 f3b87da5d8958478387366aa97e3a199 ypserv-2.8.ebuild 1561 MD5 ab59365f7f92becce9ea574af606ca09 metadata.xml 270 MD5 d65fdf73994b1d6d96d9820cbcae02ef files/defs.sed 856 MD5 d8a2530491cec60a01a03e74b63b37c7 files/digest-ypserv-1.3.12 65 MD5 45967caf49de0b5bc203268a007e97fa files/digest-ypserv-2.13 64 MD5 45967caf49de0b5bc203268a007e97fa files/digest-ypserv-2.13-r1 64 -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 9b59a75c00e0f1ba50cc9aca9fc4ba33 files/rpc.yppasswdd 515 -MD5 c8362a7ac244cdb11e32cfd6b7566226 files/rpc.yppasswdd-r1 605 +MD5 694f6f542233227781bd04bba4b915da files/rpc.yppasswdd-r1 609 MD5 f38a0f43a932ff1e4f39d8694cdb0846 files/rpc.yppasswdd.confd 260 -MD5 5622f73ee3b056c2bf610fd71101448b files/rpc.ypxfrd 500 +MD5 b2693c779a268938115d9eee775c9dc8 files/rpc.ypxfrd 586 MD5 723eea6eeee5a020cd9ff8cc3959fb6a files/ypserv-confd 216 MD5 384ce85ca37bc1bfe5778644b081cc3d files/ypserv-initd 1080 -MD5 66cb16c281ac0a8b0ccb4056d9a60491 files/ypserv.confd 117 -MD5 3783e89db28812619b58cd17d041c496 files/ypserv.rc 673 +MD5 e5bb4de1f10631c93c5920f87059229a files/ypserv.confd 95 +MD5 3f3f1488115fa4837c7963811e876db7 files/ypserv 577 +MD5 7dc8e37a39eb21d796894f89ffd53262 files/rpc.ypxfrd.confd 122 MD5 5950ee3a17fa970f3c76bc615b024b6c files/1.3.12/volatile-fix-gcc-3.2.diff 385 diff --git a/net-nds/ypserv/files/digest-ypserv-2.5 b/net-nds/ypserv/files/digest-ypserv-2.5 deleted file mode 100644 index c4fe9efbd871..000000000000 --- a/net-nds/ypserv/files/digest-ypserv-2.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 40832a68d66b154f25b774b59b715eba ypserv-2.5.tar.gz 209416 diff --git a/net-nds/ypserv/files/digest-ypserv-2.5-r1 b/net-nds/ypserv/files/digest-ypserv-2.5-r1 deleted file mode 100644 index c4fe9efbd871..000000000000 --- a/net-nds/ypserv/files/digest-ypserv-2.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 40832a68d66b154f25b774b59b715eba ypserv-2.5.tar.gz 209416 diff --git a/net-nds/ypserv/files/rpc.yppasswdd-r1 b/net-nds/ypserv/files/rpc.yppasswdd-r1 index badd48292444..a14762516518 100644 --- a/net-nds/ypserv/files/rpc.yppasswdd-r1 +++ b/net-nds/ypserv/files/rpc.yppasswdd-r1 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # 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.3 2004/07/15 00:19:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/rpc.yppasswdd-r1,v 1.4 2004/07/24 06:26:28 eradicator Exp $ depend() { need net portmap ypserv @@ -10,7 +10,7 @@ depend() { start() { ebegin "Starting rpc.yppasswdd" YOPTS="" - if [ -n "${YPPASSWDD_OPTS}" ]; then YOPTS="-- $YPPASSWDD_OPTS"; fi + if [ -n "${YPPASSWDD_OPTS}" ]; then YOPTS="-- ${YPPASSWDD_OPTS}"; fi start-stop-daemon --start --quiet --exec /usr/sbin/rpc.yppasswdd ${YOPTS} eend $? } diff --git a/net-nds/ypserv/files/rpc.ypxfrd b/net-nds/ypserv/files/rpc.ypxfrd index cadf1fbfa8b5..359a3aa44b75 100644 --- a/net-nds/ypserv/files/rpc.ypxfrd +++ b/net-nds/ypserv/files/rpc.ypxfrd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/rpc.ypxfrd,v 1.3 2004/07/15 00:19:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/rpc.ypxfrd,v 1.4 2004/07/24 06:26:28 eradicator Exp $ depend() { need net portmap ypserv @@ -9,7 +9,9 @@ depend() { start() { ebegin "Starting rpc.ypxfrd" - start-stop-daemon --start --quiet --exec /usr/sbin/rpc.ypxfrd + YOPTS="" + if [ -n "${YPXFRD_OPTS}" ]; then YOPTS="-- ${YPXFRD_OPTS}"; fi + start-stop-daemon --start --quiet --exec /usr/sbin/rpc.ypxfrd ${YOPTS} eend $? } diff --git a/net-nds/ypserv/files/rpc.ypxfrd.confd b/net-nds/ypserv/files/rpc.ypxfrd.confd new file mode 100644 index 000000000000..73cfc47e7154 --- /dev/null +++ b/net-nds/ypserv/files/rpc.ypxfrd.confd @@ -0,0 +1,3 @@ +# Command line options to pass to rpc.ypxfrd +# eg: you can pass --port <number> to use a non-standard port +YPXFRD_OPTS="" diff --git a/net-nds/ypserv/files/ypserv b/net-nds/ypserv/files/ypserv new file mode 100755 index 000000000000..9f616059f1f4 --- /dev/null +++ b/net-nds/ypserv/files/ypserv @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/ypserv,v 1.3 2004/07/24 06:26:28 eradicator Exp $ + +depend() { + need net portmap domainname +} + +start() { + ebegin "Starting NIS Server" + YOPTS="" + if [ -n "${YPSERV_OPTS}" ]; then YOPTS="-- ${YPSERV_OPTS}"; fi + start-stop-daemon --start --quiet --exec /usr/sbin/ypserv ${YOPTS} + eend $? +} + +stop() { + ebegin "Stopping NIS Server" + start-stop-daemon --stop --quiet --exec /usr/sbin/ypserv + eend $? +} diff --git a/net-nds/ypserv/files/ypserv.confd b/net-nds/ypserv/files/ypserv.confd index 7f2e74440a24..0ae9756dc81b 100644 --- a/net-nds/ypserv/files/ypserv.confd +++ b/net-nds/ypserv/files/ypserv.confd @@ -1,4 +1,4 @@ # Config file for /etc/init.d/ypserv -# NIS domain (not necessarily the same as DNS domain) -#YP_DOMAIN=my.nis.domain +# Command line options to pass to ypserv: +YPSERV_OPTS="" diff --git a/net-nds/ypserv/files/ypserv.rc b/net-nds/ypserv/files/ypserv.rc deleted file mode 100644 index a838d7adc149..000000000000 --- a/net-nds/ypserv/files/ypserv.rc +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/files/ypserv.rc,v 1.3 2004/07/15 00:19:17 agriffis Exp $ - -depend() { - need net portmap -} - -checkconfig() { - [ -n "$YP_DOMAIN" ] && return 0 - eerror "You need to setup YP_DOMAIN in /etc/conf.d/ypserv" - return 1 -} - -start() { - checkconfig || return 1 - ebegin "Starting NIS Server" - ypdomainname "$YP_DOMAIN" - start-stop-daemon --start --quiet --exec /usr/sbin/ypserv - eend $? -} - -stop() { - ebegin "Stopping NIS Server" - start-stop-daemon --stop --quiet --exec /usr/sbin/ypserv - eend $? -} diff --git a/net-nds/ypserv/ypserv-1.3.12.ebuild b/net-nds/ypserv/ypserv-1.3.12.ebuild index 01d508174d91..3554f67f1897 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-2004 Gentoo Foundation # 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.18 2004/06/25 00:24:03 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-1.3.12.ebuild,v 1.19 2004/07/24 06:26:27 eradicator Exp $ IUSE="tcpd" @@ -71,5 +71,5 @@ src_install() { insinto /etc ; doins etc/ypserv.conf exeinto /etc/init.d - newexe ${FILESDIR}/ypserv-initd ypserv + newexe ${FILESDIR}/ypserv ypserv } diff --git a/net-nds/ypserv/ypserv-2.13-r1.ebuild b/net-nds/ypserv/ypserv-2.13-r1.ebuild index c1926d2a3ad6..e867688241e7 100644 --- a/net-nds/ypserv/ypserv-2.13-r1.ebuild +++ b/net-nds/ypserv/ypserv-2.13-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # 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.3 2004/06/25 00:24:03 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.13-r1.ebuild,v 1.4 2004/07/24 06:26:28 eradicator Exp $ DESCRIPTION="Network Information Service server" HOMEPAGE="http://www.linux-nis.org/nis/" @@ -8,7 +8,7 @@ SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~ppc64 ~amd64" +KEYWORDS="x86 ~ppc ~sparc ~ppc64 amd64" IUSE="" DEPEND=">=sys-libs/gdbm-1.8.0" @@ -26,9 +26,10 @@ src_install() { insinto /etc/conf.d newins ${FILESDIR}/ypserv.confd ypserv newins ${FILESDIR}/rpc.yppasswdd.confd rpc.yppasswdd + newins ${FILESDIR}/rpc.ypxfrd.confd rpc.ypxfrd exeinto /etc/init.d - newexe ${FILESDIR}/ypserv.rc ypserv + newexe ${FILESDIR}/ypserv ypserv newexe ${FILESDIR}/rpc.yppasswdd-r1 rpc.yppasswdd newexe ${FILESDIR}/rpc.ypxfrd rpc.ypxfrd diff --git a/net-nds/ypserv/ypserv-2.13.ebuild b/net-nds/ypserv/ypserv-2.13.ebuild index 852fecbb0b63..d55839ff037a 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 Foundation # 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.3 2004/06/25 00:24:03 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.13.ebuild,v 1.4 2004/07/24 06:26:28 eradicator Exp $ DESCRIPTION="Network Information Service server" HOMEPAGE="http://www.linux-nis.org/nis/" @@ -27,7 +27,7 @@ src_install() { newins ${FILESDIR}/ypserv.confd ypserv exeinto /etc/init.d - newexe ${FILESDIR}/ypserv.rc ypserv + newexe ${FILESDIR}/ypserv ypserv newexe ${FILESDIR}/rpc.yppasswdd rpc.yppasswdd newexe ${FILESDIR}/rpc.ypxfrd rpc.ypxfrd diff --git a/net-nds/ypserv/ypserv-2.5-r1.ebuild b/net-nds/ypserv/ypserv-2.5-r1.ebuild deleted file mode 100644 index e89ec11abc70..000000000000 --- a/net-nds/ypserv/ypserv-2.5-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# 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.10 2004/06/25 00:24:03 agriffis Exp $ - -IUSE="" - -DESCRIPTION="NIS SERVER" -SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.gz" -HOMEPAGE="http://www.linux-nis.org/nis/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc" - -DEPEND=">=sys-libs/gdbm-1.8.0" - -src_compile() { - econf --enable-yppasswd || die - emake || die -} - -src_install() { - make DESTDIR=${D} install - - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO - - insinto /etc ; doins etc/ypserv.conf etc/locale etc/netgroup etc/netmasks etc/timezone - - insinto /var/yp ; doins etc/securenets - - exeinto /etc/init.d ; newexe ${FILESDIR}/ypserv-initd ypserv - insinto /etc/conf.d ; newins ${FILESDIR}/ypserv-confd ypserv - - ### This will -NOT- work when installing a binary .tbz2 - ### and should be fixed properly. - # 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 "ypserv does not longer have support for tcp_wrappers. You need to" - einfo "use /var/yp/securenets to allow/deny queries from other hosts." -} diff --git a/net-nds/ypserv/ypserv-2.5.ebuild b/net-nds/ypserv/ypserv-2.5.ebuild deleted file mode 100644 index 3a9cd5fb376c..000000000000 --- a/net-nds/ypserv/ypserv-2.5.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# 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.9 2004/06/25 00:24:03 agriffis Exp $ - -IUSE="" - -DESCRIPTION="NIS SERVER" -SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.gz" -HOMEPAGE="http://www.linux-nis.org/nis/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc" - -DEPEND=">=sys-libs/gdbm-1.8.0" - -src_compile() { - econf --enable-yppasswd || die - emake || die -} - -src_install() { - make DESTDIR=${D} install - - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO - - insinto /etc ; doins etc/ypserv.conf etc/locale etc/netgroup etc/netmasks etc/timezone - - insinto /var/yp ; doins etc/securenets - - exeinto /etc/init.d - newexe ${FILESDIR}/ypserv-initd ypserv -} - -pkg_postinst() { - einfo "ypserv does not longer have support for tcp_wrappers. You need to" - einfo "use /var/yp/securenets to allow/deny queries from other hosts." -} diff --git a/net-nds/ypserv/ypserv-2.8.ebuild b/net-nds/ypserv/ypserv-2.8.ebuild index e4749a9b22a2..7d3745bf09d4 100644 --- a/net-nds/ypserv/ypserv-2.8.ebuild +++ b/net-nds/ypserv/ypserv-2.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # 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.12 2004/06/25 00:24:03 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-2.8.ebuild,v 1.13 2004/07/24 06:26:28 eradicator Exp $ DESCRIPTION="Network Information Service server" SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.gz" @@ -31,7 +31,7 @@ src_install() { newins ${FILESDIR}/ypserv.confd ypserv exeinto /etc/init.d - newexe ${FILESDIR}/ypserv.rc ypserv + newexe ${FILESDIR}/ypserv ypserv newexe ${FILESDIR}/rpc.yppasswdd rpc.yppasswdd newexe ${FILESDIR}/rpc.ypxfrd rpc.ypxfrd |