summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-11-28 07:36:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-11-28 07:36:41 +0000
commit42e42d16d97dbff4fdfd528e49eecc82db9dc377 (patch)
tree51431c0a62bd32314e63c1fbd22aa3328a2593d3 /app-admin/syslog-ng
parentversion bump (diff)
downloadhistorical-42e42d16d97dbff4fdfd528e49eecc82db9dc377.tar.gz
historical-42e42d16d97dbff4fdfd528e49eecc82db9dc377.tar.bz2
historical-42e42d16d97dbff4fdfd528e49eecc82db9dc377.zip
version bump (bug #346735)
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/ChangeLog8
-rw-r--r--app-admin/syslog-ng/Manifest4
-rw-r--r--app-admin/syslog-ng/syslog-ng-3.1.3.ebuild111
3 files changed, 121 insertions, 2 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index 789d68bf8b2e..7b687d151b18 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.259 2010/10/20 15:33:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.260 2010/11/28 07:36:41 mr_bones_ Exp $
+
+*syslog-ng-3.1.3 (28 Nov 2010)
+
+ 28 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +syslog-ng-3.1.3.ebuild:
+ version bump (bug #346735)
20 Oct 2010; Michael Sterrett <mr_bones_@gentoo.org>
syslog-ng-3.0.8.ebuild, syslog-ng-3.1.2.ebuild:
diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest
index 78c7d72e161d..d5ada7d61f88 100644
--- a/app-admin/syslog-ng/Manifest
+++ b/app-admin/syslog-ng/Manifest
@@ -19,9 +19,11 @@ DIST syslog-ng-2.0.10.tar.gz 403808 RMD160 eaa0965e1c06be217265c8710cc8375843ce9
DIST syslog-ng_2.1.4.tar.gz 423703 RMD160 2a87cb05de9a25f5b09cd488cf9d2104ba29aa33 SHA1 8080ff36f4da3a987cba505ff312650943f4c6c4 SHA256 e2189c7dbf617f2fc883ab0a8a86100dbe7cb4853c6b39732d77e73f335b0502
DIST syslog-ng_3.0.8.tar.gz 589023 RMD160 5eceefb35c8afbda82605d742cbdf4ba2a22cd3a SHA1 a9e4201f736818cb0e327fa209c47a097ac690ff SHA256 ba93e53768f53d1fa2f753327e4b7f7aae46cc48274a9475effe14c722e314b2
DIST syslog-ng_3.1.2.tar.gz 717194 RMD160 87ef4a8798e029fcd7a508ab46cd1ebbc04a08ce SHA1 ea9f5e40de27c6dcdd472cbf7301175b456b7dc1 SHA256 e2b1a6026388dc72773e8758117bbbab1f97c1a1c5bc59ac346384200945a028
+DIST syslog-ng_3.1.3.tar.gz 721793 RMD160 8fe6833b38c7e0a28f9415e8e34449203d07d312 SHA1 fc938e7145962e13afa55ddf4e6c1dde4d2e56ee SHA256 15c872b449d58c2860758104cd78fae41465d0eccf6767196b48dfe4f2f772c0
EBUILD syslog-ng-2.0.10.ebuild 2521 RMD160 b5d496c6168e16601a639f5bf32cda7d53f2487a SHA1 24095088bc18115a2aa51d6ee44079fb8bb23094 SHA256 df57241533d959791b6f66f49ad794f08942a937b3c5ccdeecceeafcf5a58fe7
EBUILD syslog-ng-2.1.4.ebuild 2580 RMD160 3d32f73d96de768e32ab177a94f46df83de1522a SHA1 9cf7ee5abcbe59ac7680c3650dc8d125ce2ef356 SHA256 2e285c7c04eb9aab9899c0acfbdf792c2c0d0a4a17ada0b10ad3b316075dd400
EBUILD syslog-ng-3.0.8.ebuild 2985 RMD160 212ebf21257042e6ab4f13a65d230cca372061d4 SHA1 4a04303b0f04697a3ecfe3d305998ef42704378f SHA256 98562203e004a484d9967cd314d341ced4c21ee5d2f8147479238f1e014372e2
EBUILD syslog-ng-3.1.2.ebuild 3139 RMD160 e42d6e8b95fdf193641436929be185b44dc7f381 SHA1 709f510f02cdd8f1051e1e7a88c2dec396101058 SHA256 bb36aefc1e579b64e07e908d3806cc0df23744886275bd4a14c8d8fed67d3752
-MISC ChangeLog 34696 RMD160 36d23bca34ad3c64a3e26b0030f63923d84736d6 SHA1 8ad2baef16d6af2d39fbb5f5472e13b780f88597 SHA256 ffa90990e5e6ae5f2997e2d8ac158988b984f5879404a6465b89a4ad11dcb5f4
+EBUILD syslog-ng-3.1.3.ebuild 3150 RMD160 fc5a740cb895229d85eeb958024464a93daf46e2 SHA1 4fca526aee9965ae99fbeaebac8d2b5da6b949a2 SHA256 b3cad082b66e8a1663e73b3fa183e88ba5903dce2c80cc3376f3a4f89b2bfba5
+MISC ChangeLog 34840 RMD160 a83426adea6496c03d4ce160d5f6f82b903d2d7f SHA1 bf2067b9bfb5113fa0a21d63c28a8f705407c9b5 SHA256 dedf6eb89a3fdfb859d44a879340947b8f1131eee1268c5092ebc82e530f8e93
MISC metadata.xml 407 RMD160 cf71f8c335372c633573600fa8a135d51406ab6e SHA1 336703907e8fbc77f751b508f7b65f7775539e65 SHA256 b31b90dd95563d796552d348fbf1158e9d0d93f4ca37ad596d57f22f133c9ac9
diff --git a/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild b/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild
new file mode 100644
index 000000000000..6e106c00f1a5
--- /dev/null
+++ b/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.1.3.ebuild,v 1.1 2010/11/28 07:36:41 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools fixheadtails eutils
+
+MY_PV=${PV/_/}
+DESCRIPTION="syslog replacement with advanced filtering features"
+HOMEPAGE="http://www.balabit.com/products/syslog_ng/"
+SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/syslog-ng_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="caps hardened ipv6 +pcre selinux spoof-source sql ssl static tcpd"
+RESTRICT="test"
+
+LIBS_DEPEND="
+ spoof-source? ( net-libs/libnet )
+ ssl? ( dev-libs/openssl )
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
+ !static? ( >=dev-libs/eventlog-0.2 )
+ >=dev-libs/glib-2.10.1:2
+ caps? ( sys-libs/libcap )
+ sql? ( >=dev-db/libdbi-0.8.3 )"
+RDEPEND="
+ !static? (
+ pcre? ( dev-libs/libpcre )
+ ${LIBS_DEPEND}
+ )"
+DEPEND="${RDEPEND}
+ ${LIBS_DEPEND}
+ static? ( >=dev-libs/eventlog-0.2[static-libs] )
+ dev-util/pkgconfig
+ sys-devel/flex"
+PROVIDE="virtual/logger"
+
+src_prepare() {
+ sed -i \
+ -e 's/mkdir /mkdir $(DESTDIR)/' \
+ scripts/Makefile.am \
+ || die 'sed failed'
+ ht_fix_file configure.in
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use static ; then
+ myconf="${myconf} --enable-static-linking"
+ if use pcre ; then
+ ewarn "USE=pcre is incompatible with static linking"
+ myconf="${myconf} --disable-pcre"
+ fi
+ else
+ myconf="${myconf} --enable-dynamic-linking"
+ fi
+ econf \
+ --disable-dependency-tracking \
+ --sysconfdir=/etc/syslog-ng \
+ --with-pidfile-dir=/var/run \
+ $(use_enable caps linux-caps) \
+ $(use_enable ipv6) \
+ $(use_enable pcre) \
+ $(use_enable spoof-source) \
+ $(use_enable sql) \
+ $(use_enable ssl) \
+ $(use_enable tcpd tcp-wrapper) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README \
+ doc/examples/{syslog-ng.conf.sample,syslog-ng.conf.solaris} \
+ contrib/syslog-ng.conf* \
+ contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
+
+ # Install default configuration
+ insinto /etc/syslog-ng
+ if use hardened || use selinux ; then
+ newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%%.*}" syslog-ng.conf
+ elif use userland_BSD ; then
+ newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%%.*}" syslog-ng.conf
+ else
+ newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%%.*}" syslog-ng.conf
+ fi
+
+ insinto /etc/logrotate.d
+ # Install snippet for logrotate, which may or may not be installed
+ if use hardened || use selinux ; then
+ newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng
+ else
+ newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
+ fi
+
+ newinitd "${FILESDIR}/syslog-ng.rc6.${PV%%.*}" syslog-ng
+ newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng
+ keepdir /etc/syslog-ng/patterndb.d
+}
+
+pkg_postinst() {
+ echo
+ elog "It is highly recommended that app-admin/logrotate be emerged to"
+ elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
+ elog "for logrotate to use."
+ echo
+}