summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-nds/yp-tools/ChangeLog9
-rw-r--r--net-nds/yp-tools/files/digest-yp-tools-2.4-r3 (renamed from net-nds/yp-tools/files/digest-yp-tools-2.4-r2)0
-rw-r--r--net-nds/yp-tools/yp-tools-2.4-r2.ebuild36
-rw-r--r--net-nds/yp-tools/yp-tools-2.4-r3.ebuild35
4 files changed, 43 insertions, 37 deletions
diff --git a/net-nds/yp-tools/ChangeLog b/net-nds/yp-tools/ChangeLog
index 5e936c98ce0a..c144ca9c1b8a 100644
--- a/net-nds/yp-tools/ChangeLog
+++ b/net-nds/yp-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nds/yp-tools
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.1 2002/02/01 21:53:36 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.2 2002/04/27 21:23:12 seemant Exp $
+
+*yp-tools-2.4-r3 (27 Apr 2002)
+
+ 27 Apr 2002; Seemant Kulleen <seemant@gentoo.org> yp-tools-2.4-r3.ebuild
+ files/digest-yp-tools-2.4-r3 :
+
+ USE dependent nls support, and ebuild modernisation.
*yp-tools-2.4-r2 (1 Feb 2002)
diff --git a/net-nds/yp-tools/files/digest-yp-tools-2.4-r2 b/net-nds/yp-tools/files/digest-yp-tools-2.4-r3
index d933b95ce215..d933b95ce215 100644
--- a/net-nds/yp-tools/files/digest-yp-tools-2.4-r2
+++ b/net-nds/yp-tools/files/digest-yp-tools-2.4-r3
diff --git a/net-nds/yp-tools/yp-tools-2.4-r2.ebuild b/net-nds/yp-tools/yp-tools-2.4-r2.ebuild
deleted file mode 100644
index dc9aabd0995d..000000000000
--- a/net-nds/yp-tools/yp-tools-2.4-r2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/yp-tools-2.4-r2.ebuild,v 1.3 2001/05/12 12:13:25 achim Exp $
-
-P=yp-tools-2.4
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="NIS Tools"
-SRC_URI="ftp://ftp.de.kernel.org/pub/linux/utils/net/NIS/${A}
- ftp://ftp.uk.kernel.org/pub/linux/utils/net/NIS/${A}
- ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${A}"
-HOMEPAGE="http://www.suse.de/~kukuk/nis/yp-tools/index.html"
-
-DEPEND="virtual/glibc"
-
-
-src_compile() {
- try ./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc/yp \
- --mandir=/usr/share/man
- try make
-}
-
-src_install() {
- try make DESTDIR=${D} install
- 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
-}
-
-
-
diff --git a/net-nds/yp-tools/yp-tools-2.4-r3.ebuild b/net-nds/yp-tools/yp-tools-2.4-r3.ebuild
new file mode 100644
index 000000000000..b518dec5bc36
--- /dev/null
+++ b/net-nds/yp-tools/yp-tools-2.4-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/yp-tools-2.4-r3.ebuild,v 1.1 2002/04/27 21:23:12 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="NIS Tools"
+SRC_URI="ftp://ftp.de.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz
+ ftp://ftp.uk.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz
+ ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz"
+HOMEPAGE="http://www.suse.de/~kukuk/nis/yp-tools/index.html"
+
+DEPEND="virtual/glibc"
+
+
+src_compile() {
+ local myconf
+
+ myconf="--sysconfdir=/etc/yp"
+ use nls || myconf="${myconf} --disable-nls"
+
+ econf ${myconf} || die
+ 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
+}