diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-07-17 01:09:23 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-07-17 01:09:23 +0000 |
commit | 42fb6a200968d5d118506f52250b31e130203e48 (patch) | |
tree | f55938c3c4b331807e3279e6203f67c584106d66 /net-analyzer/siphon/siphon-666-r1.ebuild | |
parent | Automated update. (diff) | |
download | historical-42fb6a200968d5d118506f52250b31e130203e48.tar.gz historical-42fb6a200968d5d118506f52250b31e130203e48.tar.bz2 historical-42fb6a200968d5d118506f52250b31e130203e48.zip |
EAPI bump. Fix compiler warning. Convert sed scripts to patches. Remove short <longdescription>.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/siphon/siphon-666-r1.ebuild')
-rw-r--r-- | net-analyzer/siphon/siphon-666-r1.ebuild | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/net-analyzer/siphon/siphon-666-r1.ebuild b/net-analyzer/siphon/siphon-666-r1.ebuild index 62028cb36f6f..c9714eb29b04 100644 --- a/net-analyzer/siphon/siphon-666-r1.ebuild +++ b/net-analyzer/siphon/siphon-666-r1.ebuild @@ -1,43 +1,35 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/siphon/siphon-666-r1.ebuild,v 1.5 2012/12/05 16:28:50 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/siphon/siphon-666-r1.ebuild,v 1.6 2014/07/17 01:09:22 jer Exp $ -EAPI="2" - -inherit toolchain-funcs +EAPI=5 +inherit eutils toolchain-funcs MY_P=${PN}-v.${PV} DESCRIPTION="A portable passive network mapping suite" -SRC_URI="http://siphon.datanerds.net/${MY_P}.tar.gz" HOMEPAGE="http://siphon.datanerds.net/" - -SLOT="0" +SRC_URI="${HOMEPAGE}${MY_P}.tar.gz" LICENSE="BSD" +SLOT="0" KEYWORDS="~amd64 ~ppc x86" DEPEND="net-libs/libpcap" RDEPEND="${DEPEND}" -IUSE="" S=${WORKDIR}/${MY_P} src_prepare() { - sed -i log.c \ - -e 's:osprints\.conf:/etc/osprints.conf:' \ - || die "sed log.c" - sed -i Makefile \ - -e '/^CFLAGS/s:=.*:+= -pthread -Wall -I.:g' \ - -e 's: -o : $(LDFLAGS)&:g' \ - || die "sed Makefile" + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-log.patch } src_compile() { - emake CC=$(tc-getCC) || die + emake CC="$(tc-getCC)" } src_install() { - dobin ${PN} || die "dobin ${PN}" + dobin ${PN} insinto /etc doins osprints.conf dodoc README |