summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-03-27 07:38:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-03-27 07:38:41 +0000
commitd4a1ca3372df08db1e18fbb8c26bd0add4852017 (patch)
treeca4fa2b6d7047c441e90619f1508221875a2d652 /app-admin
parent+app-admin/syslog-ng:spoof-source - Enable support for spoofed source addresses (diff)
downloadgentoo-2-d4a1ca3372df08db1e18fbb8c26bd0add4852017.tar.gz
gentoo-2-d4a1ca3372df08db1e18fbb8c26bd0add4852017.tar.bz2
gentoo-2-d4a1ca3372df08db1e18fbb8c26bd0add4852017.zip
masked version bump; clean out older masked version; add fbsd support for bug
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/syslog-ng/ChangeLog10
-rw-r--r--app-admin/syslog-ng/files/digest-syslog-ng-2.0.23
-rw-r--r--app-admin/syslog-ng/files/digest-syslog-ng-2.0.33
-rw-r--r--app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd20
-rw-r--r--app-admin/syslog-ng/syslog-ng-2.0.3.ebuild (renamed from app-admin/syslog-ng/syslog-ng-2.0.2.ebuild)12
5 files changed, 41 insertions, 7 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index 65df9fc452c1..5cf2b72b26de 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.151 2007/03/14 09:56:00 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.152 2007/03/27 07:38:41 mr_bones_ Exp $
+
+*syslog-ng-2.0.3 (27 Mar 2007)
+
+ 27 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/syslog-ng.conf.gentoo.fbsd, -syslog-ng-2.0.2.ebuild,
+ +syslog-ng-2.0.3.ebuild:
+ masked version bump; clean out older masked version; add fbsd support for bug
+ #156519; add spoof-source support for bug #172320
*syslog-ng-1.6.12-r1 (14 Mar 2007)
diff --git a/app-admin/syslog-ng/files/digest-syslog-ng-2.0.2 b/app-admin/syslog-ng/files/digest-syslog-ng-2.0.2
deleted file mode 100644
index 1b054bc306dd..000000000000
--- a/app-admin/syslog-ng/files/digest-syslog-ng-2.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7ef12e1e43a99c5b6b8d1984dde72151 syslog-ng-2.0.2.tar.gz 352502
-RMD160 6791d28b6692c9a8420d0e2572e5a1fda8640488 syslog-ng-2.0.2.tar.gz 352502
-SHA256 6b77a6b2b159afb2a089d70a8b5e6ef0c4e20f1401ba8e392fb99b1293a09d82 syslog-ng-2.0.2.tar.gz 352502
diff --git a/app-admin/syslog-ng/files/digest-syslog-ng-2.0.3 b/app-admin/syslog-ng/files/digest-syslog-ng-2.0.3
new file mode 100644
index 000000000000..210c91785f7b
--- /dev/null
+++ b/app-admin/syslog-ng/files/digest-syslog-ng-2.0.3
@@ -0,0 +1,3 @@
+MD5 01cafcfebf1c05f9253c3f3c9a987434 syslog-ng-2.0.3.tar.gz 361194
+RMD160 e45d5a4ef226fca20878886e8cbe83eb268ab19b syslog-ng-2.0.3.tar.gz 361194
+SHA256 1369177362151d09f486924ae6b395c53059b7e65d71de4fdd46ab6b8b9bd0a8 syslog-ng-2.0.3.tar.gz 361194
diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd
new file mode 100644
index 000000000000..13f7dc47df53
--- /dev/null
+++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd
@@ -0,0 +1,20 @@
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd,v 1.1 2007/03/27 07:38:41 mr_bones_ Exp $
+#
+# Syslog-ng default configuration file for Gentoo FreeBSD
+# contributed by Tiziano Mülle
+options {
+ chain_hostnames(off);
+ sync(0);
+
+ # The default action of syslog-ng 1.6.0 is to log a STATS line
+ # to the file every 10 minutes. That's pretty ugly after a while.
+ # Change it to every 12 hours so you get a nice daily update of
+ # how many messages syslog-ng missed (0).
+ stats(43200);
+};
+
+source src { unix-dgram("/var/run/log"); file("/dev/klog"); internal(); };
+
+destination messages { file("/var/log/messages"); };
+
+log { source(src); destination(messages); };
diff --git a/app-admin/syslog-ng/syslog-ng-2.0.2.ebuild b/app-admin/syslog-ng/syslog-ng-2.0.3.ebuild
index f09d5ecd1913..444b292ccac9 100644
--- a/app-admin/syslog-ng/syslog-ng-2.0.2.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-2.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-2.0.2.ebuild,v 1.1 2007/01/30 04:17:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-2.0.3.ebuild,v 1.1 2007/03/27 07:38:41 mr_bones_ Exp $
inherit fixheadtails
@@ -12,9 +12,11 @@ SRC_URI="http://www.balabit.com/downloads/syslog-ng/2.0/src/${PN}-${MY_PV}.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="hardened selinux static ipv6"
+IUSE="hardened ipv6 selinux spoof-source static tcpd"
RDEPEND=">=dev-libs/eventlog-0.2
+ spoof-source? ( net-libs/libnet )
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
>=dev-libs/glib-2.2"
DEPEND="${RDEPEND}
sys-devel/flex"
@@ -37,6 +39,8 @@ src_compile() {
$(use_enable ipv6) \
$(use_enable !static dynamic-linking) \
$(use_enable static static-linking) \
+ $(use_enable spoof-source) \
+ $(use_enable tcpd tcp-wrapper) \
|| die
emake || die "emake failed"
}
@@ -55,6 +59,8 @@ src_install() {
insinto /etc/syslog-ng
if use hardened || use selinux ; then
newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened" syslog-ng.conf
+ elif use userland_BSD ; then
+ newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
else
newins "${FILESDIR}/syslog-ng.conf.gentoo" syslog-ng.conf
fi