diff options
author | Alec Warner <antarus@gentoo.org> | 2009-03-26 12:06:27 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2009-03-26 12:06:27 +0000 |
commit | 28a89f6dce83af2089b95c0e5ff4f2a1091c715c (patch) | |
tree | d60271f229e9800650a6ecde35d79ad52fe65e13 /net-nds | |
parent | fixed collisions (#250064) (diff) | |
download | gentoo-2-28a89f6dce83af2089b95c0e5ff4f2a1091c715c.tar.gz gentoo-2-28a89f6dce83af2089b95c0e5ff4f2a1091c715c.tar.bz2 gentoo-2-28a89f6dce83af2089b95c0e5ff4f2a1091c715c.zip |
Remove nis-utils. users should switch to something that was written in this decade.
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/nis-utils/ChangeLog | 50 | ||||
-rw-r--r-- | net-nds/nis-utils/Manifest | 9 | ||||
-rw-r--r-- | net-nds/nis-utils/files/keyserv.rc | 22 | ||||
-rw-r--r-- | net-nds/nis-utils/files/nis-utils-glibc-internal-fix.patch | 11 | ||||
-rw-r--r-- | net-nds/nis-utils/files/nis-utils-gmp-fixes.patch | 297 | ||||
-rw-r--r-- | net-nds/nis-utils/metadata.xml | 9 | ||||
-rw-r--r-- | net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild | 30 | ||||
-rw-r--r-- | net-nds/nis-utils/nis-utils-1.4.1-r2.ebuild | 37 | ||||
-rw-r--r-- | net-nds/nis-utils/nis-utils-1.4.1-r3.ebuild | 40 |
9 files changed, 0 insertions, 505 deletions
diff --git a/net-nds/nis-utils/ChangeLog b/net-nds/nis-utils/ChangeLog deleted file mode 100644 index faef749b2d86..000000000000 --- a/net-nds/nis-utils/ChangeLog +++ /dev/null @@ -1,50 +0,0 @@ -# ChangeLog for net-nds/nis-utils -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/ChangeLog,v 1.13 2008/07/27 20:34:00 antarus Exp $ - - 27 Jul 2008; Alec Warner <antarus@gentoo.org> nis-utils-1.4.1-r2.ebuild: - make -r2 block on glibc versions that are known to not work - - 25 Feb 2008; Alec Warner <antarus@gentoo.org> nis-utils-1.4.1-r3.ebuild: - Typo in has_version spotted by Ludovic Bellier - - 02 Dec 2006; Steve Dibb <beandog@gentoo.org> nis-utils-1.4.1-r2.ebuild: - Add ~amd64, 135102 - -*nis-utils-1.4.1-r2 (14 Nov 2006) - - 14 Nov 2006; Alec Warner <antarus@gentoo.org> - +files/nis-utils-gmp-fixes.patch, +nis-utils-1.4.1-r2.ebuild: - Add patch and bump ebuild for it such that users get the patch for bug # 130056 - - 11 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> - nis-utils-1.4.1-r1.ebuild: - Stable on sparc - - 25 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org> - nis-utils-1.4.1-r1.ebuild: - ppc stable, bug #135102 - - 13 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> - nis-utils-1.4.1-r1.ebuild: - Keyworded ~sparc wrt #135102 - - 08 Jun 2006; Alec Warner <antarus@gentoo.org> nis-utils-1.4.1-r1.ebuild: - add RESTRICT=test since tests require efence. - - 01 Jun 2006; Alec Warner <antarus@gentoo.org> nis-utils-1.4.1-r1.ebuild: - Stable on x86 with regard to bug # 135102 - -*nis-utils-1.4.1-r1 (21 Jun 2004) - - 21 Jun 2004; Mike Frysinger <vapier@gentoo.org> +files/keyserv.rc, - +nis-utils-1.4.1-r1.ebuild: - Add keyserv init.d script #53492 by Mario Liehr. - - 03 May 2004; David Holm <dholm@gentoo.org> nis-utils-1.4.1.ebuild: - Added to ~ppc. - -*nis-utils-1.4.1 (02 May 2004) - - 02 May 2004; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by scott #34056. diff --git a/net-nds/nis-utils/Manifest b/net-nds/nis-utils/Manifest deleted file mode 100644 index ccf6a3b7a634..000000000000 --- a/net-nds/nis-utils/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX keyserv.rc 472 RMD160 f34ba7fe7bb74ee979924a4fa683ba35811cdad0 SHA1 d90442bd19e63c04ff3e0d9d6a6f4ceef984f471 SHA256 97cdd5f9bb59f390e695738751ba9cf31485bfae089cdfb7768ea7ba7ddac271 -AUX nis-utils-glibc-internal-fix.patch 383 RMD160 826f60a5ca4dceb05d3aaa6ff3422033f98b528f SHA1 2044a37d73cfd8e4ed4ed8aa44b7cf808b8fcb09 SHA256 46d6307616b7fd0617edebffa8216862287e87a75ae826c2d88f15d39f1d0962 -AUX nis-utils-gmp-fixes.patch 8681 RMD160 50ec200021ca8ffa246d8984f268493c9f1e6804 SHA1 c43c96e7e4909b6b1c26be9292e8ea7916257af8 SHA256 9aeaafbeb76ff6a7be43ff29765c2b5f5ababc3353d559d21c2e591ad1447166 -DIST nis-utils-1.4.1.tar.bz2 387397 RMD160 c7cd0d289080efb7a08ae2e668163a0158ddfcb5 SHA1 a9da461566ddbf375855a258af1cba6367a53ad7 SHA256 bf559b3c48c4521fe79bf86efa9e20ab65ec9d85966a6a9268040af2f00ff6d1 -EBUILD nis-utils-1.4.1-r1.ebuild 769 RMD160 5d932dff8922badbf19c5502c86f66f926b812c1 SHA1 569998455c5e04c2f9d9bd99dda922b148823746 SHA256 6baaa02c1c0f28a2b34f1a2fd8e206690bee62e1d7d9dba876c92b95d8bf1fe1 -EBUILD nis-utils-1.4.1-r2.ebuild 884 RMD160 ba33c130a33fa020e405483d461e07847cf04385 SHA1 af90cfd949b0b2d5f0fd9207ceb7af9361071454 SHA256 ce46ceb459880b5b6ebfcf53699281a5f24e8a213450e5ac21f7006cc9678220 -EBUILD nis-utils-1.4.1-r3.ebuild 1044 RMD160 bfd5d85a1239bab6a7b087cb0d23e44759102aac SHA1 90707d631d7f65bab7deef1d784c0cbf611ee396 SHA256 66c606eff581d79f1e1cbce4f44b9d9f38629376196111a82e83b65e94f52f0a -MISC ChangeLog 1781 RMD160 228d75cb42835e283902b9e3abffd5f197600ca4 SHA1 4bfb9bd087cb21c66b0fde97f952669622c11244 SHA256 7693374e8ce92786130a46e4bef2dffc754553f3b6ef397c8eb1dd68466fb946 -MISC metadata.xml 263 RMD160 2cbab7a3523e1d56e9291278e19531540f32f38d SHA1 27e9d5af27fd2f08837ce72163721dcc992657a4 SHA256 115231ba6f03c08aa2356f0df81fb7e474e109ddd403eb90221dbd465d8f540f diff --git a/net-nds/nis-utils/files/keyserv.rc b/net-nds/nis-utils/files/keyserv.rc deleted file mode 100644 index c3800ec14f21..000000000000 --- a/net-nds/nis-utils/files/keyserv.rc +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/files/keyserv.rc,v 1.2 2004/07/15 00:17:17 agriffis Exp $ - -depend() { - use logger - need portmap - before nfs nfs-mount autofs -} - -start() { - ebegin "Starting keyserv" - /usr/sbin/keyserv - eend $? -} - -stop() { - ebegin "Stopping keyserv" - start-stop-daemon --stop --exec /usr/sbin/keyserv - eend $? -} diff --git a/net-nds/nis-utils/files/nis-utils-glibc-internal-fix.patch b/net-nds/nis-utils/files/nis-utils-glibc-internal-fix.patch deleted file mode 100644 index 2b5b5bbdb4a0..000000000000 --- a/net-nds/nis-utils/files/nis-utils-glibc-internal-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/nisping/nisping.c 1998-12-05 08:01:56.000000000 -0800 -+++ src/nisping/nisping.c 2008-01-15 17:26:43.894021748 -0800 -@@ -104,7 +104,7 @@ - if (flags & MASTER_ONLY) - server_len = 1; - -- status = __nisbind_create (&dbp, server, server_len, flags); -+ status = __nisbind_create (&dbp, server, server_len, ~0, ~0, flags); - if (status != NIS_SUCCESS) - return status; - diff --git a/net-nds/nis-utils/files/nis-utils-gmp-fixes.patch b/net-nds/nis-utils/files/nis-utils-gmp-fixes.patch deleted file mode 100644 index ed522d9e2eda..000000000000 --- a/net-nds/nis-utils/files/nis-utils-gmp-fixes.patch +++ /dev/null @@ -1,297 +0,0 @@ -diff -uNr nis-utils-1.4.1/lib/key_common/generic.c nis-utils-1.4.1-patch/lib/key_common/generic.c ---- nis-utils-1.4.1/lib/key_common/generic.c 1998-10-11 12:19:44.000000000 -0400 -+++ nis-utils-1.4.1-patch/lib/key_common/generic.c 2006-08-22 20:40:02.156181000 -0400 -@@ -27,7 +27,7 @@ - * Mountain View, California 94043 - */ - --#include <mp.h> -+#include <gmp.h> - #include <stdlib.h> - #include <rpc/key_prot.h> - -@@ -76,12 +76,20 @@ - #define BASEBITS (8*sizeof(short) - 1) - #define BASE (1 << BASEBITS) - -- MINT *pk = itom (0); -- MINT *sk = itom (0); -- MINT *tmp; -- MINT *base = itom (BASE); -- MINT *root = itom (PROOT); -- MINT *modulus = xtom (HEXMODULUS); -+ mpz_t pk; -+ mpz_t sk; -+ mpz_t tmp; -+ mpz_t base; -+ mpz_t root; -+ mpz_t modulus; -+ -+ mpz_init_set_ui( pk, 0 ); -+ mpz_init_set_ui( sk, 0 ); -+ mpz_init( tmp ); -+ mpz_init_set_ui( base, BASE ); -+ mpz_init_set_ui( root, PROOT ); -+ mpz_set_str( modulus, HEXMODULUS, 8 ); // init from null string, base 8 -+ - unsigned short r; - unsigned short seed[KEYSIZE / BASEBITS + 1]; - char *xkey; -@@ -90,22 +98,32 @@ - for (i = 0; i < KEYSIZE / BASEBITS + 1; ++i) - { - r = seed[i] % ((unsigned short) BASE); -- tmp = itom (r); -- mult (sk, base, sk); -- madd (sk, tmp, sk); -- mfree (tmp); -+ mpz_set_ui( tmp, r ); -+ mpz_mul( sk, base, sk ); -+ mpz_add( sk, tmp, sk ); -+ mpz_clear( tmp ); -+ - } -- tmp = itom (0); -- mdiv (sk, modulus, tmp, sk); -- mfree (tmp); -- pow (root, sk, modulus, pk); -- xkey = mtox (sk); -+ mpz_init_set_ui( tmp, 0 ); -+ -+ mpz_tdiv_qr( tmp, sk, sk, modulus ); -+ mpz_clear( tmp ); -+ mpz_powm( pk, root, sk, modulus ); -+ -+ gmp_asprintf( &xkey, "%Zx", sk ); -+ -+// xkey = mtox (sk); -+ - adjust (secret, xkey); -- xkey = mtox (pk); -+ -+ gmp_asprintf( &xkey, "%Zx", pk ); -+// xkey = mtox (pk); -+ - adjust (public, xkey); -- mfree (sk); -- mfree (base); -- mfree (pk); -- mfree (root); -- mfree (modulus); -+ -+ mpz_clear( sk ); -+ mpz_clear( base ); -+ mpz_clear( pk ); -+ mpz_clear( root ); -+ mpz_clear( modulus ); - } -diff -uNr nis-utils-1.4.1/lib/key_common/key_common.c nis-utils-1.4.1-patch/lib/key_common/key_common.c ---- nis-utils-1.4.1/lib/key_common/key_common.c 1998-11-27 17:02:09.000000000 -0500 -+++ nis-utils-1.4.1-patch/lib/key_common/key_common.c 2006-08-22 20:39:34.678463750 -0400 -@@ -35,7 +35,7 @@ - #include <shadow.h> - #include <netdb.h> - #include <malloc.h> --#include <mp.h> -+#include <gmp.h> - #include <rpcsvc/nis.h> - #include <rpc/key_prot.h> - #include <locale.h> -diff -uNr nis-utils-1.4.1/src/chkey/Makefile.in nis-utils-1.4.1-patch/src/chkey/Makefile.in ---- nis-utils-1.4.1/src/chkey/Makefile.in 2001-04-24 01:29:55.000000000 -0400 -+++ nis-utils-1.4.1-patch/src/chkey/Makefile.in 2006-08-22 20:40:02.156181000 -0400 -@@ -121,7 +121,7 @@ - - bin_PROGRAMS = chkey - --chkey_LDADD = $(LDADD) $(top_builddir)/lib/key_common/libkey_common.a $(top_builddir)/lib/compat/libcompat.a -lmp -+chkey_LDADD = $(LDADD) $(top_builddir)/lib/key_common/libkey_common.a $(top_builddir)/lib/compat/libcompat.a -lgmp - - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../../config.h -diff -uNr nis-utils-1.4.1/src/keyserv/Makefile.in nis-utils-1.4.1-patch/src/keyserv/Makefile.in ---- nis-utils-1.4.1/src/keyserv/Makefile.in 2001-04-24 01:29:59.000000000 -0400 -+++ nis-utils-1.4.1-patch/src/keyserv/Makefile.in 2006-08-22 20:40:02.156181000 -0400 -@@ -106,7 +106,7 @@ - INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 - - CFLAGS = @EXTRA_CFLAGS@ @CFLAGS@ --LDADD = @INTLLIBS@ -lmp @LIBDOOR@ -+LDADD = @INTLLIBS@ -lgmp @LIBDOOR@ - - localedir = $(datadir)/locale - INCLUDES = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl -I$(srcdir) -diff -uNr nis-utils-1.4.1/src/keyserv/setkey.c nis-utils-1.4.1-patch/src/keyserv/setkey.c ---- nis-utils-1.4.1/src/keyserv/setkey.c 1998-11-28 16:53:15.000000000 -0500 -+++ nis-utils-1.4.1-patch/src/keyserv/setkey.c 2006-08-22 20:44:45.717902500 -0400 -@@ -42,7 +42,7 @@ - * Cache the common keys, so the expensive computation is avoided. - */ - #include <stdio.h> --#include <mp.h> -+#include <gmp.h> - #include <rpc/rpc.h> - #include <rpc/key_prot.h> - #include <rpc/des_crypt.h> -@@ -55,7 +55,7 @@ - - extern keystatus pk_get_conv_key (uid_t, keybuf, cryptkeyres *); - --static MINT *MODULUS; -+static mpz_t *MODULUS; - static char *fetchsecretkey (uid_t); - static keystatus pk_crypt (uid_t, char *, netobj *, des_block *, int); - static int nodefaultkeys = 0; -@@ -80,7 +80,7 @@ - void - setmodulus (const char *modx) - { -- MODULUS = xtom (modx); -+ mpz_init_set_str( MODULUS, modx, 16 ); - } - - /* -@@ -138,26 +138,31 @@ - * overwriting the lower order bits by setting parity. - */ - static void --extractdeskey (MINT *ck, des_block *deskey) -+extractdeskey (mpz_t *ck, des_block *deskey) - { -- MINT *a; -+ mpz_t a; -+ - short r; - int i; - short base = (1 << 8); - char *k; - -- a = itom (0); -- move (ck, a); -+ mpz_init_set_ui( a, 0 ); -+ mpz_set( a, ck ); -+ - for (i = 0; i < ((KEYSIZE - 64) / 2) / 8; i++) -- sdiv (a, base, a, &r); -+ mpz_tdiv_qr_ui( a, &r, a, base ); -+ -+// sdiv (a, base, a, &r); - - k = deskey->c; - for (i = 0; i < 8; i++) - { -- sdiv (a, base, a, &r); -+ mpz_tdiv_qr_ui( a, &r, a, base ); -+// sdiv (a, base, a, &r); - *k++ = r; - } -- mfree (a); -+ mpz_clear(a); - des_setparity ((char *) deskey); - } - -@@ -173,9 +178,8 @@ - char xsecret_hold[1024]; - des_block deskey; - int err; -- MINT *public; -- MINT *secret; -- MINT *common; -+ -+ mpz_t public, secret, common; - char zero[8]; - - xsecret = fetchsecretkey (uid); -@@ -203,19 +207,20 @@ - - if (!readcache (xpublic, xsecret, &deskey)) - { -- public = xtom (xpublic); -- secret = xtom (xsecret); -+ mpz_init_set_str( public, xpublic, 16 ); -+ mpz_init_set_str( secret, xsecret, 16 ); -+ - /* Sanity Check on public and private keys */ - if ((public == NULL) || (secret == NULL)) - return (KEY_SYSTEMERR); - -- common = itom (0); -- pow (public, secret, MODULUS, common); -+ mpz_init_set_ui( common, 0 ); -+ mpz_powm( common, public, secret, MODULUS ); - extractdeskey (common, &deskey); - writecache (xpublic, xsecret, &deskey); -- mfree (secret); -- mfree (public); -- mfree (common); -+ mpz_clear( secret ); -+ mpz_clear( public ); -+ mpz_clear( common ); - } - err = ecb_crypt ((char *) &deskey, (char *) key, sizeof (des_block), - DES_HW | mode); -@@ -229,9 +234,9 @@ - { - char *xsecret; - char xsecret_hold[1024]; -- MINT *public; -- MINT *secret; -- MINT *common; -+ -+ mpz_t public, secret, common; -+ - char zero[8]; - - xsecret = fetchsecretkey (uid); -@@ -250,19 +255,20 @@ - - if (!readcache (xpublic, xsecret, &result->cryptkeyres_u.deskey)) - { -- public = xtom (xpublic); -- secret = xtom (xsecret); -+ mpz_init_set_str( public, xpublic, 16 ); -+ mpz_init_set_str( secret, xsecret, 16 ); -+ - /* Sanity Check on public and private keys */ - if ((public == NULL) || (secret == NULL)) - return (KEY_SYSTEMERR); - -- common = itom (0); -- pow (public, secret, MODULUS, common); -+ mpz_init_set_ui( common, 0 ); -+ mpz_powm( common, public, secret, MODULUS ); - extractdeskey (common, &result->cryptkeyres_u.deskey); - writecache (xpublic, xsecret, &result->cryptkeyres_u.deskey); -- mfree (secret); -- mfree (public); -- mfree (common); -+ mpz_clear( secret ); -+ mpz_clear( public ); -+ mpz_clear( common ); - } - - return (KEY_SUCCESS); -diff -uNr nis-utils-1.4.1/src/newkey/Makefile.in nis-utils-1.4.1-patch/src/newkey/Makefile.in ---- nis-utils-1.4.1/src/newkey/Makefile.in 2001-04-24 01:30:00.000000000 -0400 -+++ nis-utils-1.4.1-patch/src/newkey/Makefile.in 2006-08-22 20:40:02.156181000 -0400 -@@ -119,7 +119,7 @@ - - bin_PROGRAMS = newkey - --newkey_LDADD = $(LDADD) $(top_builddir)/lib/key_common/libkey_common.a -lmp -+newkey_LDADD = $(LDADD) $(top_builddir)/lib/key_common/libkey_common.a -lgmp - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../../config.h - CONFIG_CLEAN_FILES = -diff -uNr nis-utils-1.4.1/src/nisaddcred/Makefile.in nis-utils-1.4.1-patch/src/nisaddcred/Makefile.in ---- nis-utils-1.4.1/src/nisaddcred/Makefile.in 2001-04-24 01:30:03.000000000 -0400 -+++ nis-utils-1.4.1-patch/src/nisaddcred/Makefile.in 2006-08-22 20:40:02.156181000 -0400 -@@ -122,7 +122,7 @@ - - bin_PROGRAMS = nisaddcred - --nisaddcred_LDADD = $(LDADD) $(top_builddir)/lib/key_common/libkey_common.a -lmp -+nisaddcred_LDADD = $(LDADD) $(top_builddir)/lib/key_common/libkey_common.a -lgmp - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../../config.h - CONFIG_CLEAN_FILES = diff --git a/net-nds/nis-utils/metadata.xml b/net-nds/nis-utils/metadata.xml deleted file mode 100644 index 1897030c8af9..000000000000 --- a/net-nds/nis-utils/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>no-herd</herd> -<maintainer> - <email>antarus@gentoo.org</email> - <description>Maintainer</description> -</maintainer> -</pkgmetadata> diff --git a/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild b/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild deleted file mode 100644 index 4c364d12206e..000000000000 --- a/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/nis-utils-1.4.1-r1.ebuild,v 1.8 2006/08/11 19:05:10 gustavoz Exp $ - -inherit eutils - -DESCRIPTION="NIS+ utilities" -HOMEPAGE="http://www.linux-nis.org/" -SRC_URI="mirror://kernel/linux/utils/net/NIS+/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc sparc x86" -IUSE="nls" - -DEPEND="dev-libs/gmp" - -RESTRICT="test" - -src_compile() { - econf $(use_enable nls) || die "Configure failed" - emake || die "Make Failed" -} - -src_install() { - make DESTDIR="${D}" install || die "Install Failed" - mv "${D}"/usr/etc "${D}"/ - dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO - newinitd "${FILESDIR}"/keyserv.rc keyserv -} diff --git a/net-nds/nis-utils/nis-utils-1.4.1-r2.ebuild b/net-nds/nis-utils/nis-utils-1.4.1-r2.ebuild deleted file mode 100644 index fb1d2c5b1d78..000000000000 --- a/net-nds/nis-utils/nis-utils-1.4.1-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/nis-utils-1.4.1-r2.ebuild,v 1.4 2008/07/27 20:34:00 antarus Exp $ - -inherit eutils - -DESCRIPTION="NIS+ utilities" -HOMEPAGE="http://www.linux-nis.org/" -SRC_URI="mirror://kernel/linux/utils/net/NIS+/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ppc sparc x86" -IUSE="nls" - -DEPEND="dev-libs/gmp - !>sys-libs/glibc-2.5" - -RESTRICT="test" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-gmp-fixes.patch" -} - -src_compile() { - econf $(use_enable nls) || die "Configure failed" - emake || die "Make Failed" -} - -src_install() { - make DESTDIR="${D}" install || die "Install Failed" - mv "${D}"/usr/etc "${D}"/ - dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO - newinitd "${FILESDIR}"/keyserv.rc keyserv -} diff --git a/net-nds/nis-utils/nis-utils-1.4.1-r3.ebuild b/net-nds/nis-utils/nis-utils-1.4.1-r3.ebuild deleted file mode 100644 index ab45d128fd91..000000000000 --- a/net-nds/nis-utils/nis-utils-1.4.1-r3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/nis-utils-1.4.1-r3.ebuild,v 1.2 2008/02/25 01:35:44 antarus Exp $ - -inherit eutils versionator - -DESCRIPTION="NIS+ utilities" -HOMEPAGE="http://www.linux-nis.org/" -SRC_URI="mirror://kernel/linux/utils/net/NIS+/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="nls" - -DEPEND="dev-libs/gmp" - -RESTRICT="test" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-gmp-fixes.patch" - - # nisping.c calls internal glibc functions, patch it if glibc is > 2.5 - has_version '>=sys-libs/glibc-2.6' && \ - epatch "${FILESDIR}/${PN}-glibc-internal-fix.patch" -} - -src_compile() { - econf $(use_enable nls) || die "Configure failed" - emake || die "Make Failed" -} - -src_install() { - make DESTDIR="${D}" install || die "Install Failed" - mv "${D}"/usr/etc "${D}"/ - dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO - newinitd "${FILESDIR}"/keyserv.rc keyserv -} |