summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-10-13 23:40:45 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-10-13 23:40:45 +0000
commit3b3a938dfb83e04b326fa6df03134337e4ef30cc (patch)
tree65fd5b40698f45594ca261959079f15bf5d938fa /app-admin/syslog-ng
parentFixed dependency. (diff)
downloadgentoo-2-3b3a938dfb83e04b326fa6df03134337e4ef30cc.tar.gz
gentoo-2-3b3a938dfb83e04b326fa6df03134337e4ef30cc.tar.bz2
gentoo-2-3b3a938dfb83e04b326fa6df03134337e4ef30cc.zip
fix up magic sql support
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/ChangeLog6
-rw-r--r--app-admin/syslog-ng/metadata.xml1
-rw-r--r--app-admin/syslog-ng/syslog-ng-2.1.1.ebuild12
3 files changed, 15 insertions, 4 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index 4d66958c67de..263c4773e7d0 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.187 2008/10/13 13:35:27 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.188 2008/10/13 23:40:45 mr_bones_ Exp $
+
+ 13 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ syslog-ng-2.1.1.ebuild:
+ fix up magic sql support
*syslog-ng-2.1.1 (13 Oct 2008)
diff --git a/app-admin/syslog-ng/metadata.xml b/app-admin/syslog-ng/metadata.xml
index 285cee0fefa2..c0d5f6f85094 100644
--- a/app-admin/syslog-ng/metadata.xml
+++ b/app-admin/syslog-ng/metadata.xml
@@ -8,5 +8,6 @@
</maintainer>
<use>
<flag name='spoof-source'>Enable support for spoofed source addresses</flag>
+ <flag name='sql'>Enable support for SQL destinations</flag>
</use>
</pkgmetadata>
diff --git a/app-admin/syslog-ng/syslog-ng-2.1.1.ebuild b/app-admin/syslog-ng/syslog-ng-2.1.1.ebuild
index 0395bc8a4fab..e53bf2e90f22 100644
--- a/app-admin/syslog-ng/syslog-ng-2.1.1.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-2.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 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.1.1.ebuild,v 1.1 2008/10/13 13:35:27 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-2.1.1.ebuild,v 1.2 2008/10/13 23:40:45 mr_bones_ Exp $
inherit fixheadtails
@@ -12,12 +12,13 @@ SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/2.1/src/${P}.t
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="hardened ipv6 selinux spoof-source static tcpd"
+IUSE="hardened ipv6 selinux spoof-source sql 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"
+ sql? ( >=dev-db/libdbi-0.8.3 )
+ >=dev-libs/glib-2.4"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/flex"
@@ -27,6 +28,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
ht_fix_file configure
+ sed -i \
+ -e "s/dbi-0.8/dbi/" \
+ configure \
+ || die "sed failed"
cd "${S}/doc/reference"
tar xzf syslog-ng.html.tar.gz || die "tar failed"
}
@@ -36,6 +41,7 @@ src_compile() {
--sysconfdir=/etc/syslog-ng \
--disable-dependency-tracking \
$(use_enable ipv6) \
+ $(use_enable sql) \
$(use_enable !static dynamic-linking) \
$(use_enable static static-linking) \
$(use_enable spoof-source) \