diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-24 06:37:23 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-24 06:37:23 +0000 |
commit | 388fc7ce730f46f5b577df742933eae6f10a3a4c (patch) | |
tree | b31e93b306110cb75d0189fec9cab1d29ad38cab /net-nds | |
parent | implemented a nsfw (offensive) USE flag to allow users to explicitly enable q... (diff) | |
download | gentoo-2-388fc7ce730f46f5b577df742933eae6f10a3a4c.tar.gz gentoo-2-388fc7ce730f46f5b577df742933eae6f10a3a4c.tar.bz2 gentoo-2-388fc7ce730f46f5b577df742933eae6f10a3a4c.zip |
Revision bump to fix init scripts. Now depending on domainname to set ypdomainname. Stable x86, sparc, amd64.
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/ypbind/ChangeLog | 9 | ||||
-rw-r--r-- | net-nds/ypbind/Manifest | 8 | ||||
-rw-r--r-- | net-nds/ypbind/files/digest-ypbind-1.17.2-r1 | 1 | ||||
-rw-r--r-- | net-nds/ypbind/files/ypbind.confd-r1 | 4 | ||||
-rw-r--r-- | net-nds/ypbind/files/ypbind.initd | 37 | ||||
-rw-r--r-- | net-nds/ypbind/ypbind-1.17.2-r1.ebuild | 39 | ||||
-rw-r--r-- | net-nds/ypbind/ypbind-1.17.2.ebuild | 4 |
7 files changed, 97 insertions, 5 deletions
diff --git a/net-nds/ypbind/ChangeLog b/net-nds/ypbind/ChangeLog index 5c2e43b38a58..26c3bbc34009 100644 --- a/net-nds/ypbind/ChangeLog +++ b/net-nds/ypbind/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-nds/ypbind # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.18 2004/07/20 10:51:26 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.19 2004/07/24 06:37:23 eradicator Exp $ + +*ypbind-1.17.2-r1 (23 Jul 2004) + + 23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + +files/ypbind.confd-r1, +files/ypbind.initd, +ypbind-1.17.2-r1.ebuild: + Revision bump to fix init scripts. Now depending on domainname to set + ypdomainname. Stable x86, sparc, amd64. 16 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> ypbind-1.17.2.ebuild: use emake; use use_enable; don't install COPYING; tidy diff --git a/net-nds/ypbind/Manifest b/net-nds/ypbind/Manifest index 71375db7f9ba..1d8dd6554492 100644 --- a/net-nds/ypbind/Manifest +++ b/net-nds/ypbind/Manifest @@ -1,11 +1,15 @@ -MD5 3cc4509ecc01a9357d7846e2ad707e2e ChangeLog 2770 +MD5 6640473cd1b0d46b96b620823ec14482 ChangeLog 3048 MD5 1654dc14f02d28228cc27d2e2c174493 ypbind-1.11-r1.ebuild 936 MD5 021545ef7c8ac32d47bf775c3b456dcf ypbind-1.12.ebuild 1046 -MD5 cfc9524ec21adeaeaf7f6ea8fc9c4884 ypbind-1.17.2.ebuild 1176 +MD5 40e43da5fa6d6daa75c99ee5094919e4 ypbind-1.17.2.ebuild 1173 MD5 ab59365f7f92becce9ea574af606ca09 metadata.xml 270 +MD5 0efa0b4ef7603d7df332680f91e31720 ypbind-1.17.2-r1.ebuild 1195 +MD5 2593934b0da7c37b311f820dfb88ed91 files/ypbind.initd 874 MD5 07fdb01e99c0cb8ab5b3e770d83d7449 files/digest-ypbind-1.11-r1 67 MD5 254697d0a1a3eda6978996e737ba3f42 files/digest-ypbind-1.12 67 MD5 abf5b898fdb40aee7909eb21402b8b16 files/digest-ypbind-1.17.2 69 MD5 f7d2018bc2060d296bc12767a9f5c58f files/ypbind.confd 117 MD5 7d2ecfb4fe17b37926695395e98a2444 files/ypbind.rc5 1039 MD5 ae54c44d17c3d62194a106e5600313fd files/ypbind.rc6 963 +MD5 c5aee6bd628cd668314e4879a2cad696 files/ypbind.confd-r1 112 +MD5 abf5b898fdb40aee7909eb21402b8b16 files/digest-ypbind-1.17.2-r1 69 diff --git a/net-nds/ypbind/files/digest-ypbind-1.17.2-r1 b/net-nds/ypbind/files/digest-ypbind-1.17.2-r1 new file mode 100644 index 000000000000..875769fa1d46 --- /dev/null +++ b/net-nds/ypbind/files/digest-ypbind-1.17.2-r1 @@ -0,0 +1 @@ +MD5 0cffc59ead490f0e03c3cb453e1c92e1 ypbind-mt-1.17.2.tar.bz2 157503 diff --git a/net-nds/ypbind/files/ypbind.confd-r1 b/net-nds/ypbind/files/ypbind.confd-r1 new file mode 100644 index 000000000000..91cdc60c1030 --- /dev/null +++ b/net-nds/ypbind/files/ypbind.confd-r1 @@ -0,0 +1,4 @@ +# Config file for /etc/init.d/ypbind + +# Set any command line options you want to pass to ypbind. +YPBIND_OPTS="" diff --git a/net-nds/ypbind/files/ypbind.initd b/net-nds/ypbind/files/ypbind.initd new file mode 100644 index 000000000000..4e5c245c07db --- /dev/null +++ b/net-nds/ypbind/files/ypbind.initd @@ -0,0 +1,37 @@ +#!/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/ypbind/files/ypbind.initd,v 1.1 2004/07/24 06:37:23 eradicator Exp $ + +depend() { + need net portmap domainname + use ypserv +} + +start() { + ebegin "Starting ypbind" + if [ -n "${YPBIND_OPTS}" ]; then YOPTS="-- ${YPBIND_OPTS}"; fi + start-stop-daemon --start --quiet --exec /usr/sbin/ypbind ${YOPTS} + if [ -n "$?" ] ; then + notfound=1 + for i in 0 1 2 3 4 5 6 7 8 9 + do + ypwhich &>/dev/null && { notfound=0; break; } + sleep 1 + done + if [ $notfound -eq 1 ] ; then + eend 1 "No NIS server found" + else + eend 0 + fi + else + eend $? + fi +} + +stop() { + ebegin "Stopping ypbind" + start-stop-daemon --stop --quiet --exec /usr/sbin/ypbind + # Remove binding files, if ypbind "forgets" it + rm -f /var/yp/binding/* +} diff --git a/net-nds/ypbind/ypbind-1.17.2-r1.ebuild b/net-nds/ypbind/ypbind-1.17.2-r1.ebuild new file mode 100644 index 000000000000..c2ddf2e8d3c2 --- /dev/null +++ b/net-nds/ypbind/ypbind-1.17.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ypbind-1.17.2-r1.ebuild,v 1.1 2004/07/24 06:37:23 eradicator Exp $ + +MY_P=${PN}-mt-${PV} +DESCRIPTION="Multithreaded NIS bind service (ypbind-mt)" +HOMEPAGE="http://www.linux-nis.org/nis/ypbind-mt/index.html" +SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~alpha ~ppc ~amd64 ~ia64 ~ppc64" +IUSE="nls" + +DEPEND="net-nds/yp-tools + net-nds/portmap" +RDEPEND="nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf $(use_enable nls) || die + emake || die "emake failed" +} + +src_install() { + einstall || die + dodoc AUTHORS ChangeLog README THANKS TODO + insinto /etc ; doins etc/yp.conf + insinto /etc/conf.d ; newins ${FILESDIR}/ypbind.confd-r1 ypbind + exeinto /etc/init.d ; newexe ${FILESDIR}/ypbind.initd ypbind +} + +pkg_postinst() { + einfo "To complete setup, you will need to edit /etc/conf.d/ypbind." + einfo "If you are using dhcpcd, be sure to add the -Y option to" + einfo "dhcpcd_eth0 (or eth1, etc.) to keep dhcpcd from clobbering" + einfo "/etc/yp.conf." +} diff --git a/net-nds/ypbind/ypbind-1.17.2.ebuild b/net-nds/ypbind/ypbind-1.17.2.ebuild index 6bfa084860b4..acd7bec81dd8 100644 --- a/net-nds/ypbind/ypbind-1.17.2.ebuild +++ b/net-nds/ypbind/ypbind-1.17.2.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/ypbind/ypbind-1.17.2.ebuild,v 1.5 2004/07/20 10:51:26 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ypbind-1.17.2.ebuild,v 1.6 2004/07/24 06:37:23 eradicator Exp $ MY_P=${PN}-mt-${PV} DESCRIPTION="Multithreaded NIS bind service (ypbind-mt)" @@ -9,7 +9,7 @@ SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~sparc alpha ~ppc ~amd64" +KEYWORDS="x86 sparc alpha ~ppc amd64" IUSE="nls" DEPEND="net-nds/yp-tools |