summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-11-08 11:08:12 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-11-08 11:08:12 +0000
commit6ec34c8046859313871b57f98ea6d12354f8db8a (patch)
treebfdea68d0eac3d3b10d516b1ed1e6dba93383597 /app-admin/ulogd
parentVersion bump. (diff)
downloadgentoo-2-6ec34c8046859313871b57f98ea6d12354f8db8a.tar.gz
gentoo-2-6ec34c8046859313871b57f98ea6d12354f8db8a.tar.bz2
gentoo-2-6ec34c8046859313871b57f98ea6d12354f8db8a.zip
Add dependency to <linux-headers-3.17. Print warnings >for kernel-3.17. Patch by Coacher <itumaykin@gmail.com>. Bug #528310
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
Diffstat (limited to 'app-admin/ulogd')
-rw-r--r--app-admin/ulogd/ChangeLog6
-rw-r--r--app-admin/ulogd/ulogd-2.0.4.ebuild11
2 files changed, 14 insertions, 3 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog
index 02538bc38719..c7ce31b3adc1 100644
--- a/app-admin/ulogd/ChangeLog
+++ b/app-admin/ulogd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/ulogd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.91 2014/11/03 11:03:38 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.92 2014/11/08 11:08:12 hwoarang Exp $
+
+ 08 Nov 2014; Markos Chandras <hwoarang@gentoo.org> ulogd-2.0.4.ebuild:
+ Add dependency to <linux-headers-3.17. Print warnings >for kernel-3.17. Patch
+ by Coacher <itumaykin@gmail.com>. Bug #528310
03 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org> ulogd-2.0.3.ebuild,
ulogd-2.0.4.ebuild:
diff --git a/app-admin/ulogd/ulogd-2.0.4.ebuild b/app-admin/ulogd/ulogd-2.0.4.ebuild
index 215372db4ac1..5fdbd2c92c90 100644
--- a/app-admin/ulogd/ulogd-2.0.4.ebuild
+++ b/app-admin/ulogd/ulogd-2.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.4.ebuild,v 1.3 2014/11/03 11:03:38 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.4.ebuild,v 1.4 2014/11/08 11:08:12 hwoarang Exp $
EAPI="5"
@@ -10,7 +10,8 @@ inherit autotools-utils eutils linux-info readme.gentoo user
DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
+SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2
+ http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -33,6 +34,7 @@ RDEPEND="net-firewall/iptables
sqlite? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}
+ <sys-kernel/linux-headers-3.17
doc? (
app-text/linuxdoc-tools
app-text/texlive-core
@@ -63,6 +65,11 @@ pkg_setup() {
if use nfacct && kernel_is lt 3 3 0; then
ewarn "NFACCT input plugin requires kernel newer than 3.3.0"
fi
+
+ if ! use nfacct && ! use nfct && ! use nflog && kernel_is gt 3 17 0; then
+ ewarn "ULOG target was removed since 3.17.0 kernel release"
+ ewarn "Consider enabling NFACCT, NFCT or NFLOG support"
+ fi
}
src_prepare() {