/[gentoo-x86]/net-misc/iputils/iputils-20100418.ebuild
Gentoo

Diff of /net-misc/iputils/iputils-20100418.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/Attic/iputils-20100418.ebuild,v 1.6 2010/08/30 11:57:13 jer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/Attic/iputils-20100418.ebuild,v 1.7 2010/08/31 17:10:30 vapier Exp $
4 4
5inherit flag-o-matic eutils toolchain-funcs 5inherit flag-o-matic eutils toolchain-funcs
6 6
7DESCRIPTION="Network monitoring tools including ping and ping6" 7DESCRIPTION="Network monitoring tools including ping and ping6"
8HOMEPAGE="http://www.linux-foundation.org/en/Net:Iputils" 8HOMEPAGE="http://www.linux-foundation.org/en/Net:Iputils"
10 mirror://gentoo/iputils-s${PV}-manpages.tar.bz2" 10 mirror://gentoo/iputils-s${PV}-manpages.tar.bz2"
11 11
12LICENSE="BSD" 12LICENSE="BSD"
13SLOT="0" 13SLOT="0"
14KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-linux ~x86-linux" 14KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-linux ~x86-linux"
15IUSE="doc idn ipv6 SECURITY_HAZARD static" 15IUSE="doc idn ipv6 SECURITY_HAZARD ssl static"
16 16
17# sysfsutils is needed for libsysfs which is used by arping only 17# sysfsutils is needed for libsysfs which is used by arping only
18RDEPEND="!net-misc/rarpd 18RDEPEND="!net-misc/rarpd
19 ssl? ( dev-libs/openssl )
19 idn? ( net-dns/libidn ) 20 idn? ( net-dns/libidn )
20 sys-fs/sysfsutils" 21 sys-fs/sysfsutils"
21DEPEND="${RDEPEND} 22DEPEND="${RDEPEND}
22 virtual/os-headers" 23 virtual/os-headers"
23 24
25 26
26src_unpack() { 27src_unpack() {
27 unpack ${A} 28 unpack ${A}
28 cd "${S}" 29 cd "${S}"
29 epatch "${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch 30 epatch "${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch
31 epatch "${FILESDIR}"/${PN}-20100418-openssl.patch #335436
32 epatch "${FILESDIR}"/${PN}-20100418-so_mark.patch #335347
30 epatch "${FILESDIR}"/${PN}-20100418-makefile.patch 33 epatch "${FILESDIR}"/${PN}-20100418-makefile.patch
31 epatch "${FILESDIR}"/${PN}-20100418-proper-libs.patch 34 epatch "${FILESDIR}"/${PN}-20100418-proper-libs.patch #332703
32 epatch "${FILESDIR}"/${PN}-20100418-printf-size.patch 35 epatch "${FILESDIR}"/${PN}-20100418-printf-size.patch
33 epatch "${FILESDIR}"/${PN}-20100418-aliasing.patch 36 epatch "${FILESDIR}"/${PN}-20100418-aliasing.patch
34 epatch "${FILESDIR}"/${PN}-20071127-kernel-ifaddr.patch 37 epatch "${FILESDIR}"/${PN}-20071127-kernel-ifaddr.patch
35 epatch "${FILESDIR}"/${PN}-20070202-idn.patch #218638 38 epatch "${FILESDIR}"/${PN}-20070202-idn.patch #218638
36 epatch "${FILESDIR}"/${PN}-20100418-ping-CVE-2010-2529.patch #332527 39 epatch "${FILESDIR}"/${PN}-20100418-ping-CVE-2010-2529.patch #332527
37 use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch 40 use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch
38 use static && append-ldflags -static 41 use static && append-ldflags -static
42 use ssl && append-cppflags -DHAVE_OPENSSL
39 use ipv6 || sed -i -e 's:IPV6_TARGETS=:#IPV6_TARGETS=:' Makefile 43 use ipv6 || sed -i -e 's:IPV6_TARGETS=:#IPV6_TARGETS=:' Makefile
40 export IDN=$(use idn && echo yes) 44 export IDN=$(use idn && echo yes)
41} 45}
42 46
43src_compile() { 47src_compile() {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20