diff options
author | Thilo Bangert <bangert@gentoo.org> | 2011-01-21 00:03:04 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2011-01-21 00:03:04 +0000 |
commit | b0b4cfed6850b3f4256df11b9833c9be2f747a21 (patch) | |
tree | 0714fbe748329a9735482eb2bd7e01ac9bbb27cc /net-misc | |
parent | Revision bump. Fix LDFLAGS usage (--as-needed). Use Gentoo init script instea... (diff) | |
download | gentoo-2-b0b4cfed6850b3f4256df11b9833c9be2f747a21.tar.gz gentoo-2-b0b4cfed6850b3f4256df11b9833c9be2f747a21.tar.bz2 gentoo-2-b0b4cfed6850b3f4256df11b9833c9be2f747a21.zip |
fix parallel make issue (#337092)
(Portage version: 2.2.0_alpha14/cvs/Linux i686)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ipsvd/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff | 42 | ||||
-rw-r--r-- | net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild | 51 |
3 files changed, 101 insertions, 2 deletions
diff --git a/net-misc/ipsvd/ChangeLog b/net-misc/ipsvd/ChangeLog index 12e8cda94674..19be3840151e 100644 --- a/net-misc/ipsvd/ChangeLog +++ b/net-misc/ipsvd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/ipsvd -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsvd/ChangeLog,v 1.7 2009/11/20 09:09:25 bangert Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsvd/ChangeLog,v 1.8 2011/01/21 00:03:04 bangert Exp $ + +*ipsvd-1.0.0-r1 (21 Jan 2011) + + 21 Jan 2011; Thilo Bangert <bangert@gentoo.org> +ipsvd-1.0.0-r1.ebuild, + +files/ipsvd-1.0.0-fix-parallel-make.diff: + fix parallel make issue (#337092) 20 Nov 2009; Thilo Bangert <bangert@gentoo.org> -ipsvd-0.13.0.ebuild: remove old version diff --git a/net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff b/net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff new file mode 100644 index 000000000000..0b29a8e8cbb1 --- /dev/null +++ b/net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff @@ -0,0 +1,42 @@ +--- Makefile.orig 2011-01-21 00:43:02.000000000 +0100 ++++ Makefile 2011-01-21 00:47:27.000000000 +0100 +@@ -61,7 +61,7 @@ + check-ipsvd-cdb: load check-ipsvd-cdb.o uint32_unpack.o unix.a byte.a + ./load check-ipsvd-cdb uint32_unpack.o unix.a byte.a + +-tcpsvd.o: compile sysdeps tcpsvd.c ipsvd_log.h ++tcpsvd.o: compile sysdeps tcpsvd.c ipsvd_log.h iopause.h + ./compile tcpsvd.c + + sslsvd.o: compile sysdeps tcpsvd.c ssl_io.c ipsvd_log.h matrixssl +@@ -70,7 +70,7 @@ + ssl_io.o: compile sysdeps ssl_io.c matrixssl + ./compile -I./matrixssl ssl_io.c + +-udpsvd.o: compile sysdeps udpsvd.c ipsvd_log.h ++udpsvd.o: compile sysdeps udpsvd.c ipsvd_log.h iopause.h + ./compile udpsvd.c + + ipsvd-cdb.o: compile sysdeps ipsvd-cdb.c +@@ -94,10 +94,10 @@ + ipsvd_fmt.o: compile ipsvd_fmt.c + ./compile ipsvd_fmt.c + +-ipsvd_check.o: compile ipsvd_check.c uint64.h ++ipsvd_check.o: compile ipsvd_check.c uint64.h iopause.h + ./compile ipsvd_check.c + +-ipsvd_hostname.o: compile ipsvd_hostname.c uint64.h ++ipsvd_hostname.o: compile ipsvd_hostname.c uint64.h iopause.h + ./compile ipsvd_hostname.c + + ipsvd_phcc.o: compile ipsvd_phcc.c +@@ -274,7 +274,7 @@ + ./compile dns_rcrw.c + + dns_resolve.o: compile dns_resolve.c iopause.h taia.h tai.h uint64.h taia.h \ +- byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h ++ byte.h dns.h stralloc.h gen_alloc.h taia.h + ./compile dns_resolve.c + + dns_sortip.o: compile dns_sortip.c byte.h dns.h stralloc.h gen_alloc.h \ diff --git a/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild b/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild new file mode 100644 index 000000000000..87f7cccf805a --- /dev/null +++ b/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild,v 1.1 2011/01/21 00:03:04 bangert Exp $ + +EAPI=3 + +inherit toolchain-funcs flag-o-matic eutils + +DESCRIPTION="ipsvd is a set of internet protocol service daemons for Unix." +HOMEPAGE="http://smarden.org/ipsvd/" +SRC_URI="http://smarden.org/ipsvd/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static" + +DEPEND="" +RDEPEND="" +PROVIDE="virtual/inetd" + +S="${WORKDIR}/net/${P}" + +src_prepare() { + cd "${S}"/src + epatch "${FILESDIR}"/${P}-fix-parallel-make.diff +} + +src_configure() { + cd "${S}"/src + if use static ; then + append-ldflags -static + fi + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_compile() { + cd "${S}"/src + emake || die "make failed" +} + +src_install() { + dobin src/{tcpsvd,udpsvd,ipsvd-cdb} || die "dobin" + dodoc package/{CHANGES,README} + + dohtml doc/*.html + doman man/ipsvd-instruct.5 man/ipsvd.7 man/udpsvd.8 \ + man/tcpsvd.8 man/ipsvd-cdb.8 +} |