summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/ChangeLog8
-rw-r--r--app-admin/syslog-ng/files/digest-syslog-ng-1.6.103
-rw-r--r--app-admin/syslog-ng/syslog-ng-1.6.10.ebuild69
3 files changed, 79 insertions, 1 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index ef6070003f7a..ef89d90c9085 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.126 2006/02/20 04:49:01 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.127 2006/04/23 00:24:09 mr_bones_ Exp $
+
+*syslog-ng-1.6.10 (23 Apr 2006)
+
+ 23 Apr 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +syslog-ng-1.6.10.ebuild:
+ version bump
20 Feb 2006; Joshua Kinard <kumba@gentoo.org> syslog-ng-1.6.9.ebuild:
Marked stable on mips.
diff --git a/app-admin/syslog-ng/files/digest-syslog-ng-1.6.10 b/app-admin/syslog-ng/files/digest-syslog-ng-1.6.10
new file mode 100644
index 000000000000..3a68a1eba27d
--- /dev/null
+++ b/app-admin/syslog-ng/files/digest-syslog-ng-1.6.10
@@ -0,0 +1,3 @@
+MD5 b723dc5e8454bc274fdab415ac7ea5ea syslog-ng-1.6.10.tar.gz 711822
+RMD160 64ec8f034d7f7c3cfc9a811a9f5404f71fdc0e17 syslog-ng-1.6.10.tar.gz 711822
+SHA256 4742be2d802486634784bf4391637c478f22a5b9e5ff1eacecab85ea7782787c syslog-ng-1.6.10.tar.gz 711822
diff --git a/app-admin/syslog-ng/syslog-ng-1.6.10.ebuild b/app-admin/syslog-ng/syslog-ng-1.6.10.ebuild
new file mode 100644
index 000000000000..a2e9b1c866c1
--- /dev/null
+++ b/app-admin/syslog-ng/syslog-ng-1.6.10.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-1.6.10.ebuild,v 1.1 2006/04/23 00:24:09 mr_bones_ Exp $
+
+inherit fixheadtails
+
+DESCRIPTION="syslog replacement with advanced filtering features"
+HOMEPAGE="http://www.balabit.com/products/syslog_ng/"
+SRC_URI="http://www.balabit.com/downloads/syslog-ng/${PV%.*}/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="hardened selinux static tcpd"
+
+RDEPEND=">=dev-libs/libol-0.3.16
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.51
+ sys-devel/flex"
+PROVIDE="virtual/logger"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ ht_fix_file configure
+ # fix for bugs #104538 and bug #104475
+ sed -i \
+ -e "s:utils/::" \
+ -e "s:--local-:--:" \
+ configure \
+ || die "sed failed"
+ cd "${S}/doc/sgml"
+ tar xzf syslog-ng.html.tar.gz || die "tar failed"
+}
+
+src_compile() {
+ econf \
+ --disable-dependency-tracking \
+ --with-libol=/usr/bin \
+ $(use_enable static full-static) \
+ $(use_enable tcpd tcp-wrapper) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ prepallman
+
+ dodoc AUTHORS ChangeLog INSTALL NEWS PORTS README \
+ doc/{syslog-ng.conf.sample,syslog-ng.conf.demo,stresstest.sh} \
+ doc/sgml/syslog-ng.txt contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
+ dohtml doc/sgml/syslog-ng.html/*
+
+ # Install default configuration
+ insinto /etc/syslog-ng
+ if use hardened || use selinux ; then
+ newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened" syslog-ng.conf
+ else
+ newins "${FILESDIR}/syslog-ng.conf.gentoo" syslog-ng.conf
+ fi
+
+ # Install snippet for logrotate, which may or may not be installed
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
+
+ newinitd "${FILESDIR}/syslog-ng.rc6" syslog-ng
+}