summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {