summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-06-14 13:33:31 +0000
committerPeter Volkov <pva@gentoo.org>2006-06-14 13:33:31 +0000
commit1a0994d7f1ecb6ca41d8c0ea0712bb51d400c838 (patch)
treee51935e6a8d03dc0648ace702eb7cf12ebeb0c30 /net-analyzer/ipcad/ipcad-3.7.ebuild
parentStable on amd64 wrt security bug #136759. (diff)
downloadgentoo-2-1a0994d7f1ecb6ca41d8c0ea0712bb51d400c838.tar.gz
gentoo-2-1a0994d7f1ecb6ca41d8c0ea0712bb51d400c838.tar.bz2
gentoo-2-1a0994d7f1ecb6ca41d8c0ea0712bb51d400c838.zip
Fixed compilation problem with flex. Upstream suggested to create patch from cvs version, thus we have nearly ipcad-3.7.2 now. Removed DEPEND on >=sys-apps/sed-4 as it belong to BASE system profile and there no sed below 4.0.9 in portage. Some cleaning of init scripts, see bug 122786 for ideas.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'net-analyzer/ipcad/ipcad-3.7.ebuild')
-rw-r--r--net-analyzer/ipcad/ipcad-3.7.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/net-analyzer/ipcad/ipcad-3.7.ebuild b/net-analyzer/ipcad/ipcad-3.7.ebuild
index 544e1de1e54f..417ed46e0f94 100644
--- a/net-analyzer/ipcad/ipcad-3.7.ebuild
+++ b/net-analyzer/ipcad/ipcad-3.7.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipcad/ipcad-3.7.ebuild,v 1.2 2006/02/15 23:06:54 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipcad/ipcad-3.7.ebuild,v 1.3 2006/06/14 13:33:31 pva Exp $
+
+inherit eutils
DESCRIPTION="IP Cisco Accounting Daemon"
HOMEPAGE="http://ipcad.sourceforge.net/"
@@ -10,11 +12,16 @@ SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
-DEPEND=">=sys-apps/sed-4"
-
-RDEPEND="net-libs/libpcap
+DEPEND="net-libs/libpcap
net-firewall/iptables"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-20060614-cvs.patch
+}
+
src_install() {
sed -i -e "s/^chroot = \/adm\/tmp;/chroot = \/var\/ipcad;/" ipcad.conf.default
sed -i -e "s/^interface/#interface/" ipcad.conf.default