Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 528310 | Differences between
and this patch

Collapse All | Expand All

(-)a/var/portage/app-admin/ulogd/ulogd-2.0.4.ebuild (-2 / +9 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2014 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/app-admin/ulogd/ulogd-2.0.4.ebuild,v 1.3 2014/11/03 11:03:38 titanofold Exp $
3
# $Header: $
4
4
5
EAPI="5"
5
EAPI="5"
6
6
Lines 10-16 inherit autotools-utils eutils linux-info readme.gentoo user Link Here
10
10
11
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
11
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
12
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
12
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
13
SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
13
SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
14
		http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
14
15
15
LICENSE="GPL-2"
16
LICENSE="GPL-2"
16
SLOT="0"
17
SLOT="0"
Lines 33-38 RDEPEND="net-firewall/iptables Link Here
33
	sqlite? ( dev-db/sqlite:3 )"
34
	sqlite? ( dev-db/sqlite:3 )"
34
35
35
DEPEND="${RDEPEND}
36
DEPEND="${RDEPEND}
37
	<sys-kernel/linux-headers-3.17
36
	doc? (
38
	doc? (
37
		app-text/linuxdoc-tools
39
		app-text/linuxdoc-tools
38
		app-text/texlive-core
40
		app-text/texlive-core
Lines 63-68 pkg_setup() { Link Here
63
	if use nfacct && kernel_is lt 3 3 0; then
65
	if use nfacct && kernel_is lt 3 3 0; then
64
		ewarn "NFACCT input plugin requires kernel newer than 3.3.0"
66
		ewarn "NFACCT input plugin requires kernel newer than 3.3.0"
65
	fi
67
	fi
68
69
	if ! use nfacct && ! use nfct && ! use nflog && kernel_is gt 3 17 0; then
70
		ewarn "ULOG target was removed since 3.17.0 kernel release"
71
		ewarn "Consider enabling NFACCT, NFCT or NFLOG support"
72
	fi
66
}
73
}
67
74
68
src_prepare() {
75
src_prepare() {

Return to bug 528310