diff options
author | Donny Davies <woodchip@gentoo.org> | 2003-07-11 02:57:19 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2003-07-11 02:57:19 +0000 |
commit | a8e73504cd65195f8dd57d35b294a786f0edf9f1 (patch) | |
tree | 7fb7ca48f42ab8959590a1595dafe3e6ab3c3a1c /net-nds/yp-tools | |
parent | bump. (diff) | |
download | gentoo-2-a8e73504cd65195f8dd57d35b294a786f0edf9f1.tar.gz gentoo-2-a8e73504cd65195f8dd57d35b294a786f0edf9f1.tar.bz2 gentoo-2-a8e73504cd65195f8dd57d35b294a786f0edf9f1.zip |
bump.
Diffstat (limited to 'net-nds/yp-tools')
-rw-r--r-- | net-nds/yp-tools/ChangeLog | 7 | ||||
-rw-r--r-- | net-nds/yp-tools/Manifest | 2 | ||||
-rw-r--r-- | net-nds/yp-tools/files/digest-yp-tools-2.8 | 1 | ||||
-rw-r--r-- | net-nds/yp-tools/yp-tools-2.8.ebuild | 44 |
4 files changed, 52 insertions, 2 deletions
diff --git a/net-nds/yp-tools/ChangeLog b/net-nds/yp-tools/ChangeLog index 7e4c7709912e..4791605c975c 100644 --- a/net-nds/yp-tools/ChangeLog +++ b/net-nds/yp-tools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-nds/yp-tools # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.11 2003/05/25 15:04:02 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.12 2003/07/11 02:57:12 woodchip Exp $ + +*yp-tools-2.8 (10 Jul 2003) + + 10 Jul 2003; Donny Davies <woodchip@gentoo.org> yp-tools-2.8.ebuild: + Updates from N. Owen Gunden" <ogunden@phauna.org>. 25 May 2003; Martin Holzer <mholzer@gentoo.org> yp-tools-2.7-r1.ebuild, yp-tools-2.7.ebuild: diff --git a/net-nds/yp-tools/Manifest b/net-nds/yp-tools/Manifest index fae63a4d56ca..404f48fe4da3 100644 --- a/net-nds/yp-tools/Manifest +++ b/net-nds/yp-tools/Manifest @@ -1,4 +1,4 @@ -MD5 408f28c0cfa39329e3b538a3e87261b9 ChangeLog 1987 +MD5 38aff74262dbd28f5d1ba5cf23ccdaf5 ChangeLog 1988 MD5 949388af68fa76905fde1e5c7c83170a yp-tools-2.7-r1.ebuild 1091 MD5 3721b19bbfd597cd528abeb52e1b6c50 yp-tools-2.7.ebuild 865 MD5 171cf64484d30a290ff82a843241fc3f yp-tools-2.8.ebuild 1022 diff --git a/net-nds/yp-tools/files/digest-yp-tools-2.8 b/net-nds/yp-tools/files/digest-yp-tools-2.8 new file mode 100644 index 000000000000..02ac929a83ce --- /dev/null +++ b/net-nds/yp-tools/files/digest-yp-tools-2.8 @@ -0,0 +1 @@ +MD5 4a6792c367a3e01e4af7b07f449039e9 yp-tools-2.8.tar.bz2 159738 diff --git a/net-nds/yp-tools/yp-tools-2.8.ebuild b/net-nds/yp-tools/yp-tools-2.8.ebuild new file mode 100644 index 000000000000..8146fb392f6d --- /dev/null +++ b/net-nds/yp-tools/yp-tools-2.8.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +IUSE="nls" + +S=${WORKDIR}/${P} +DESCRIPTION="Network Information Service tools" +SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2" +HOMEPAGE="http://www.linux-nis.org/nis" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~alpha ~ppc" +DEPEND="virtual/glibc" + +src_compile() { + local myconf="--sysconfdir=/etc/yp" + if [ -z "`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} + make || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog COPYING NEWS README THANKS TODO + insinto /etc/yp ; doins etc/nicknames + # This messes up boot so we remove it + rm -d ${D}/bin/ypdomainname + rm -d ${D}/bin/nisdomainname + rm -d ${D}/bin/domainname +} |