diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2010-02-23 12:11:28 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2010-02-23 12:11:28 +0000 |
commit | b6180138b2adedc31655a6ab51468af988e00146 (patch) | |
tree | 3d83bd7e3945907196c331c6e2c81432eaad8648 /net-nds | |
parent | stable x86, bug 305185 (diff) | |
download | gentoo-2-b6180138b2adedc31655a6ab51468af988e00146.tar.gz gentoo-2-b6180138b2adedc31655a6ab51468af988e00146.tar.bz2 gentoo-2-b6180138b2adedc31655a6ab51468af988e00146.zip |
Version bump.
(Portage version: 2.1.7.16/cvs/Linux i686)
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/ypbind/ChangeLog | 10 | ||||
-rw-r--r-- | net-nds/ypbind/files/ypbind-1.31-man-port.patch | 46 | ||||
-rw-r--r-- | net-nds/ypbind/ypbind-1.31.ebuild | 52 |
3 files changed, 106 insertions, 2 deletions
diff --git a/net-nds/ypbind/ChangeLog b/net-nds/ypbind/ChangeLog index b8f918a512dc..91f17361856c 100644 --- a/net-nds/ypbind/ChangeLog +++ b/net-nds/ypbind/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-nds/ypbind -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.51 2009/11/03 15:56:59 ulm Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ChangeLog,v 1.52 2010/02/23 12:11:27 phajdan.jr Exp $ + +*ypbind-1.31 (23 Feb 2010) + + 23 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> +ypbind-1.31.ebuild, + +files/ypbind-1.31-man-port.patch: + Version bump. 03 Nov 2009; Ulrich Mueller <ulm@gentoo.org> ypbind-1.19.1-r2.ebuild, +files/ypbind-1.19.1-man-port.patch: diff --git a/net-nds/ypbind/files/ypbind-1.31-man-port.patch b/net-nds/ypbind/files/ypbind-1.31-man-port.patch new file mode 100644 index 000000000000..d95743d962a3 --- /dev/null +++ b/net-nds/ypbind/files/ypbind-1.31-man-port.patch @@ -0,0 +1,46 @@ +--- man/ypbind.8.xml.orig 2010-02-23 12:46:58.000000000 +0100 ++++ man/ypbind.8.xml 2010-02-23 12:49:14.000000000 +0100 +@@ -49,6 +49,7 @@ + <arg choice='opt'>-no-ping </arg> + <arg choice='opt'>-f <replaceable>configfile</replaceable></arg> + <arg choice='opt'>-local-only </arg> ++ <arg choice='opt'>-p <replaceable>port<replaceable></arg> + <arg choice='opt'>-ping-interval <replaceable>ping-interval</replaceable></arg> + <arg choice='opt'>-no-dbus </arg> + </cmdsynopsis> +@@ -256,6 +257,12 @@ + </listitem> + </varlistentry> + <varlistentry> ++ <term><option>-p</option> port</term> ++ <listitem> ++<para>Bind to the specified port instead of dynamically allocating one.</para> ++ </listitem> ++ </varlistentry> ++ <varlistentry> + <term><option>-ping-interval</option> ping-interval</term> + <listitem> + <para>The default value for +--- man/ypbind.8.orig 2010-02-23 12:57:04.000000000 +0100 ++++ man/ypbind.8 2010-02-23 12:59:25.000000000 +0100 +@@ -171,7 +171,7 @@ + .SH "Synopsis" + .fam C + .HP \w'\fBypbind\fR\ 'u +-\fBypbind\fR [\-c] [\-d | \-debug] [\-verbose] [\-broadcast] [\-broken\-server] [\-ypset] [\-ypsetme] [\-no\-ping] [\-f\ \fIconfigfile\fR] [\-local\-only] [\-ping\-interval\ \fIping\-interval\fR] [\-no\-dbus] ++\fBypbind\fR [\-c] [\-d | \-debug] [\-verbose] [\-broadcast] [\-broken\-server] [\-ypset] [\-ypsetme] [\-no\-ping] [\-f\ \fIconfigfile\fR] [\-local\-only] [\-p \fIport\fR] [\-ping\-interval\ \fIping\-interval\fR] [\-no\-dbus] + .fam + .fam C + .HP \w'\fBypbind\fR\ 'u +@@ -331,6 +331,11 @@ + will only bind to the loopback device and is not reachable from a remote network\&. + .RE + .PP ++\fB\-p\fR port ++.RS 4 ++Bind to the specified port instead of dynamically allocating one. ++.RE ++.PP + \fB\-ping\-interval\fR ping\-interval + .RS 4 + The default value for diff --git a/net-nds/ypbind/ypbind-1.31.ebuild b/net-nds/ypbind/ypbind-1.31.ebuild new file mode 100644 index 000000000000..fa0c209e7953 --- /dev/null +++ b/net-nds/ypbind/ypbind-1.31.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ypbind-1.31.ebuild,v 1.1 2010/02/23 12:11:27 phajdan.jr Exp $ + +EAPI="2" + +inherit eutils + +MY_P=${PN}-mt-${PV} +S="${WORKDIR}/${MY_P}" + +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="~amd64 ~x86" +IUSE="nls slp" + +RDEPEND="slp? ( net-libs/openslp ) + net-nds/yp-tools + || ( net-nds/portmap net-nds/rpcbind )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}/${P}-man-port.patch" # bug #77810 +} + +src_configure() { + econf $(use_enable nls) $(use_enable slp) +} + +src_install() { + emake install DESTDIR="${D}" || die + + dodoc AUTHORS ChangeLog README THANKS TODO + + insinto /etc + newins etc/yp.conf yp.conf.example + + newconfd "${FILESDIR}/ypbind.confd-r1" ypbind + newinitd "${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." +} |