diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-08-28 00:40:57 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-08-28 00:40:57 +0000 |
commit | d2c9469648e5b58991988883f183da432dd35445 (patch) | |
tree | 822b6204f7dc4a0626955aed603046bad0ec1026 /net-nds/yp-tools | |
parent | Version bump. (diff) | |
download | gentoo-2-d2c9469648e5b58991988883f183da432dd35445.tar.gz gentoo-2-d2c9469648e5b58991988883f183da432dd35445.tar.bz2 gentoo-2-d2c9469648e5b58991988883f183da432dd35445.zip |
Version bump.
(Portage version: 2.2_rc69/cvs/Linux i686)
Diffstat (limited to 'net-nds/yp-tools')
-rw-r--r-- | net-nds/yp-tools/ChangeLog | 9 | ||||
-rw-r--r-- | net-nds/yp-tools/yp-tools-2.12.ebuild | 46 |
2 files changed, 53 insertions, 2 deletions
diff --git a/net-nds/yp-tools/ChangeLog b/net-nds/yp-tools/ChangeLog index 8cce02ddf068..7e3a89897e8c 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.44 2009/12/15 19:08:59 armin76 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.45 2010/08/28 00:40:57 jer Exp $ + +*yp-tools-2.12 (28 Aug 2010) + + 28 Aug 2010; Jeroen Roovers <jer@gentoo.org> +yp-tools-2.12.ebuild: + Version bump. 15 Dec 2009; Raúl Porcel <armin76@gentoo.org> yp-tools-2.9-r1.ebuild: alpha/ia64/sparc stable wrt #293565 diff --git a/net-nds/yp-tools/yp-tools-2.12.ebuild b/net-nds/yp-tools/yp-tools-2.12.ebuild new file mode 100644 index 000000000000..d9333fadf724 --- /dev/null +++ b/net-nds/yp-tools/yp-tools-2.12.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 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.12.ebuild,v 1.1 2010/08/28 00:40:57 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_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" +} |