/[gentoo-x86]/net-analyzer/ippl/ippl-1.4.14-r2.ebuild
Gentoo

Contents of /net-analyzer/ippl/ippl-1.4.14-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Oct 12 10:46:15 2012 UTC (2 years ago) by pinkbyte
Branch: MAIN
Changes since 1.3: +2 -2 lines
Replace yacc dependency atoms with virtual/yacc

(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ippl/ippl-1.4.14-r2.ebuild,v 1.3 2012/06/12 02:26:23 zmedico Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs user
8
9 DESCRIPTION="A daemon which logs TCP/UDP/ICMP packets"
10 HOMEPAGE="http://pltplp.net/ippl/"
11 SRC_URI="http://pltplp.net/ippl/archive/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE=""
17
18 DEPEND="virtual/yacc
19 >=sys-devel/flex-2.5.4a-r4"
20 RDEPEND=""
21
22 pkg_setup() {
23 enewuser ippl
24 }
25
26 src_prepare() {
27 epatch \
28 "${FILESDIR}"/ippl-1.4.14-noportresolve.patch \
29 "${FILESDIR}"/ippl-1.4.14-manpage.patch \
30 "${FILESDIR}"/ippl-1.4.14-privilege-drop.patch \
31 "${FILESDIR}"/ippl-1.4.14-includes.patch
32 sed -i Source/Makefile.in \
33 -e 's|^LDFLAGS=|&@LDFLAGS@|g' \
34 || die "sed Source/Makefile.in"
35 sed -i Makefile.in \
36 -e 's|make |$(MAKE) |g' \
37 || die "sed Makefile.in"
38 tc-export CC
39 }
40
41 src_compile() {
42 # parallel make failure, bug #351287
43 emake -j1 || die "emake failed"
44 }
45
46 src_install() {
47 dosbin Source/ippl
48
49 insinto "/etc"
50 doins ippl.conf
51
52 doman Docs/{ippl.8,ippl.conf.5}
53
54 dodoc BUGS CREDITS HISTORY README TODO
55
56 newinitd "${FILESDIR}"/ippl.rc ippl
57 }

  ViewVC Help
Powered by ViewVC 1.1.20