diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-07-07 01:05:10 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-07-07 01:05:10 +0000 |
commit | 6b93ab5ec87727b4e2c2348ac54db7399261db31 (patch) | |
tree | 99dc3674f803a9c5fb6c988ca4cdb5c63b0d44c8 /net-nds/yp-tools | |
parent | amd64 stable - 276589 (diff) | |
download | historical-6b93ab5ec87727b4e2c2348ac54db7399261db31.tar.gz historical-6b93ab5ec87727b4e2c2348ac54db7399261db31.tar.bz2 historical-6b93ab5ec87727b4e2c2348ac54db7399261db31.zip |
Do not strip. Use emake instead of make. Use rm -f instead of rm -d (one command execution instead of three). Remove stupid DEPEND.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'net-nds/yp-tools')
-rw-r--r-- | net-nds/yp-tools/ChangeLog | 11 | ||||
-rw-r--r-- | net-nds/yp-tools/Manifest | 4 | ||||
-rw-r--r-- | net-nds/yp-tools/files/yp-tools-2.9-strip.patch | 11 | ||||
-rw-r--r-- | net-nds/yp-tools/yp-tools-2.9-r1.ebuild | 51 |
4 files changed, 74 insertions, 3 deletions
diff --git a/net-nds/yp-tools/ChangeLog b/net-nds/yp-tools/ChangeLog index 8517ac804335..f3f09ff91966 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.34 2008/11/02 12:59:39 jmbsvicetto Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/ChangeLog,v 1.35 2009/07/07 01:05:09 jer Exp $ + +*yp-tools-2.9-r1 (07 Jul 2009) + + 07 Jul 2009; Jeroen Roovers <jer@gentoo.org> +yp-tools-2.9-r1.ebuild, + +files/yp-tools-2.9-strip.patch: + Do not strip. Use emake instead of make. Use rm -f instead of rm -d (one + command execution instead of three). Remove stupid DEPEND. 02 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> metadata.xml: diff --git a/net-nds/yp-tools/Manifest b/net-nds/yp-tools/Manifest index c608fe172d83..37f361020b8e 100644 --- a/net-nds/yp-tools/Manifest +++ b/net-nds/yp-tools/Manifest @@ -1,8 +1,10 @@ AUX yp-tools-2.8-bsd.patch 2245 RMD160 5e42eb9d405d69ba320919b2a423570c059d55c5 SHA1 24321b7167615072719842230db3222173e4611c SHA256 568f5f9f338429645cea740ef1fe487fac262a0d10cf4b1a2ff101fa0fad16eb +AUX yp-tools-2.9-strip.patch 416 RMD160 fbbba63f5cb670b71a2b382215a0ad9df1d005bd SHA1 cf538177e20a21f135ca1e935bf8d1a2c9d491b1 SHA256 d615c90efe83739c222d31f3e148b3cb26171cd9423b4ee7b14517be148bce53 DIST yp-tools-2.8.tar.bz2 159738 RMD160 6c90e009c3e9a7195a164285f969c24eb9136e61 SHA1 41bb98c7ae728db131ede05292ac5f84c1e67b0b SHA256 37f2d40406d4a54a9c2639e0a43ff6ddff8cb8cacc5d77f6d1440cbfd5ba0716 DIST yp-tools-2.9.tar.bz2 159315 RMD160 2ca198143595d8224ac6cceac091558e9665479b SHA1 a4af070fb2d6441a32097d5f60bbc57878b9fe2c SHA256 65c27f5c9ef3af56b17108ecb2e89276e0fe8722152d4353bb86672c1060a718 EBUILD yp-tools-2.8-r1.ebuild 1248 RMD160 1a4f9f89929a3f76e1ba12ec0bedc9323daf7bd7 SHA1 842a60301fb887f28d212f605b74d65b740cf7dd SHA256 accdf4e3a5ba5c753a99de1bb02ec00def8c120b22b9f64f8127fb21c9359e22 EBUILD yp-tools-2.8.ebuild 1144 RMD160 19b7ba66feee706e3b2721d58d0bdfefb031f105 SHA1 cae2350a384c21fb67d4c2d6c77269323f5ee18e SHA256 128970b096cf3f86d9611c4d7551183b9f15345d388bd5df9fbee4c11d8ecec8 +EBUILD yp-tools-2.9-r1.ebuild 1248 RMD160 c0ad8b54912a3982ac147772e3db13eae4e9d16b SHA1 188defd00c6f9aa03c1817e1ea73d0630edce00a SHA256 93dcf80ef2ab7b717ef5dc4c6d2cc4e5b378654b1288bad40d3afa917096725b EBUILD yp-tools-2.9.ebuild 1251 RMD160 4f2d6ec76de939f9ebeda5220dda85bb391406a5 SHA1 d0df8b3475823217c2fc545ed61785a688168564 SHA256 6425f59cce509c57ab92cff4712861fc63bc4bd7216beb7e94514d3304b8aee8 -MISC ChangeLog 4600 RMD160 abe516a74227fa8850b0ed49b036ccec09269eba SHA1 f05153175fb8e3e13227352fd3fb408ada807ddf SHA256 f56811d664f74daf278ed3b32ad3c8e7f7863cd0f2c6e542f67ca01a8194d5b1 +MISC ChangeLog 4868 RMD160 1528cc53bb7caff6fe8346f218a6e378513a88ea SHA1 b1480bc3e1efd88c606b456c134c14f35308db96 SHA256 c4f4a8e22b4d51bf75b3792b72eecf076a91f3a34144c15daf71b538e08cfdc5 MISC metadata.xml 256 RMD160 e8d62a7d88950f8eeef20ce024fd829200005e72 SHA1 2697099f89560c0abd861268318de048ff86fcd1 SHA256 1a866a5c0d3fa6dbd67d88a79a1cf87a5f275ad2ea41a83d5fd61d83e3675ceb diff --git a/net-nds/yp-tools/files/yp-tools-2.9-strip.patch b/net-nds/yp-tools/files/yp-tools-2.9-strip.patch new file mode 100644 index 000000000000..f9eb6fc5d26c --- /dev/null +++ b/net-nds/yp-tools/files/yp-tools-2.9-strip.patch @@ -0,0 +1,11 @@ +--- yp-tools-2.9/src/Makefile.in.orig 2004-06-21 14:17:42.000000000 +0200 ++++ yp-tools-2.9/src/Makefile.in 2009-07-07 02:51:30.000000000 +0200 +@@ -144,7 +144,7 @@ + GMSGFMT = @GMSGFMT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + INTLLIBS = @INTLLIBS@ diff --git a/net-nds/yp-tools/yp-tools-2.9-r1.ebuild b/net-nds/yp-tools/yp-tools-2.9-r1.ebuild new file mode 100644 index 000000000000..2a8e64f21afa --- /dev/null +++ b/net-nds/yp-tools/yp-tools-2.9-r1.ebuild @@ -0,0 +1,51 @@ +# 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.9-r1.ebuild,v 1.1 2009/07/07 01:05:09 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" + epatch "${FILESDIR}/${PN}-2.9-strip.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" +} |