summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-02-07 02:32:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-02-07 02:32:35 +0000
commitee5cb862723e6f388870feb5034f1c8438011f65 (patch)
tree1d2adc9eb40f90c82bdfdf5b1f449242721e8c8d /app-admin
parentRun elibtoolize, I forgot about it. (diff)
downloadgentoo-2-ee5cb862723e6f388870feb5034f1c8438011f65.tar.gz
gentoo-2-ee5cb862723e6f388870feb5034f1c8438011f65.tar.bz2
gentoo-2-ee5cb862723e6f388870feb5034f1c8438011f65.zip
version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/syslog-ng/ChangeLog8
-rw-r--r--app-admin/syslog-ng/files/digest-syslog-ng-1.6.123
-rw-r--r--app-admin/syslog-ng/syslog-ng-1.6.12.ebuild66
3 files changed, 76 insertions, 1 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index d5a398545bc3..64757418ebf0 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.148 2007/02/04 18:01:12 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.149 2007/02/07 02:32:35 mr_bones_ Exp $
+
+*syslog-ng-1.6.12 (07 Feb 2007)
+
+ 07 Feb 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +syslog-ng-1.6.12.ebuild:
+ version bump
04 Feb 2007; Steve Dibb <beandog@gentoo.org> syslog-ng-1.6.11-r1.ebuild:
amd64 stable, bug 164942
diff --git a/app-admin/syslog-ng/files/digest-syslog-ng-1.6.12 b/app-admin/syslog-ng/files/digest-syslog-ng-1.6.12
new file mode 100644
index 000000000000..3b3b64d69b2b
--- /dev/null
+++ b/app-admin/syslog-ng/files/digest-syslog-ng-1.6.12
@@ -0,0 +1,3 @@
+MD5 a3cbfdb6e1e5beea181a7349749719f3 syslog-ng-1.6.12.tar.gz 717903
+RMD160 b7a091bd2e6cfa1fd6eea50aee2ef016e8df6c40 syslog-ng-1.6.12.tar.gz 717903
+SHA256 4f46f8ba0e96b3fa7657c84fbef104027c8c713d482fbd6357fc21be3768ae6c syslog-ng-1.6.12.tar.gz 717903
diff --git a/app-admin/syslog-ng/syslog-ng-1.6.12.ebuild b/app-admin/syslog-ng/syslog-ng-1.6.12.ebuild
new file mode 100644
index 000000000000..3896c84dd576
--- /dev/null
+++ b/app-admin/syslog-ng/syslog-ng-1.6.12.ebuild
@@ -0,0 +1,66 @@
+# 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-1.6.12.ebuild,v 1.1 2007/02/07 02:32:35 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-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=${ROOT}/usr/bin \
+ $(use_enable static full-static) \
+ $(use_enable tcpd tcp-wrapper) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ 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-r1" syslog-ng
+}