diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-11-18 03:06:12 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-11-18 03:06:12 +0000 |
commit | b315179651ec9dd3fa3c165b93eb609ab88cbe6f (patch) | |
tree | 81487333707a956d7478bbc992867f779ef362a3 /net-nds/yp-tools | |
parent | Stable for HPPA (bug #291612). (diff) | |
download | gentoo-2-b315179651ec9dd3fa3c165b93eb609ab88cbe6f.tar.gz gentoo-2-b315179651ec9dd3fa3c165b93eb609ab88cbe6f.tar.bz2 gentoo-2-b315179651ec9dd3fa3c165b93eb609ab88cbe6f.zip |
Version bump.
(Portage version: 2.2_rc50/cvs/Linux i686)
Diffstat (limited to 'net-nds/yp-tools')
-rw-r--r-- | net-nds/yp-tools/ChangeLog | 7 | ||||
-rw-r--r-- | net-nds/yp-tools/yp-tools-2.10.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/net-nds/yp-tools/ChangeLog b/net-nds/yp-tools/ChangeLog index 11f02de42c29..90371b33f1fd 100644 --- a/net-nds/yp-tools/ChangeLog +++ b/net-nds/yp-tools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-nds/yp-tools # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.38 2009/09/23 19:40:57 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.39 2009/11/18 03:06:12 jer Exp $ + +*yp-tools-2.10 (18 Nov 2009) + + 18 Nov 2009; Jeroen Roovers <jer@gentoo.org> +yp-tools-2.10.ebuild: + Version bump. 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> yp-tools-2.9.ebuild: Remove virtual/libc diff --git a/net-nds/yp-tools/yp-tools-2.10.ebuild b/net-nds/yp-tools/yp-tools-2.10.ebuild new file mode 100644 index 000000000000..913255b7ac7f --- /dev/null +++ b/net-nds/yp-tools/yp-tools-2.10.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/yp-tools-2.10.ebuild,v 1.1 2009/11/18 03:06:12 jer Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Network Information Service tools" +HOMEPAGE="http://www.linux-nis.org/nis/" +SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.8-bsd.patch" +} + +src_configure() { + local myconf="--sysconfdir=/etc/yp" + if ! use nls + then + myconf="${myconf} --disable-nls" + mkdir intl + touch intl/libintl.h + export CPPFLAGS="${CPPFLAGS} -I${S}" + + for i in lib/nicknames.c src/*.c + do + cp ${i} ${i}.orig + sed 's:<libintl.h>:<intl/libintl.h>:' \ + ${i}.orig > ${i} + done + fi + econf ${myconf} || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + insinto /etc/yp ; doins etc/nicknames + # This messes up boot so we remove it + rm -f \ + "${D}/bin/ypdomainname" \ + "${D}/bin/nisdomainname" \ + "${D}/bin/domainname" +} |