* [gentoo-commits] gentoo-x86 commit in app-admin/ulogd: metadata.xml ulogd-1.23-r2.ebuild
@ 2008-08-09 3:39 Jeremy Olexa (darkside)
0 siblings, 0 replies; only message in thread
From: Jeremy Olexa (darkside) @ 2008-08-09 3:39 UTC (permalink / raw
To: gentoo-commits
darkside 08/08/09 03:39:34
Modified: metadata.xml
Added: ulogd-1.23-r2.ebuild
Log:
(non maintainer commit) Fix postgres use flag automagic dep, add sqlite3 support, and ip-as-string support. Thanks to Andrey Bondarenko for the patch in bug #167260
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
Revision Changes Path
1.4 app-admin/ulogd/metadata.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ulogd/metadata.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ulogd/metadata.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ulogd/metadata.xml?r1=1.3&r2=1.4
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ulogd/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml 21 Apr 2008 16:16:06 -0000 1.3
+++ metadata.xml 9 Aug 2008 03:39:34 -0000 1.4
@@ -6,4 +6,7 @@
<email>maintainer-needed@gentoo.org</email>
<name>Default assignee for orphaned packages</name>
</maintainer>
+ <use>
+ <flag name='ip-as-string'>Logs IP addresses as stings</flag>
+ </use>
</pkgmetadata>
1.1 app-admin/ulogd/ulogd-1.23-r2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ulogd/ulogd-1.23-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ulogd/ulogd-1.23-r2.ebuild?rev=1.1&content-type=text/plain
Index: ulogd-1.23-r2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.23-r2.ebuild,v 1.1 2008/08/09 03:39:34 darkside Exp $
inherit autotools eutils flag-o-matic
DESCRIPTION="iptables daemon for ULOG target for userspace iptables filter logging"
SRC_URI="http://ftp.netfilter.org/pub/ulogd/${P}.tar.bz2"
HOMEPAGE="http://www.gnumonks.org/gnumonks/projects/project_details?p_id=1"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc -sparc ~x86"
IUSE="sqlite3 mysql postgres ip-as-string"
DEPEND="net-firewall/iptables
sqlite3? ( =dev-db/sqlite-3* )
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-server )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gcc41.patch"
epatch "${FILESDIR}/${P}-configure.in.patch"
EPATCH_OPTS="-F3" \
epatch "${FILESDIR}/glsa-200701.patch"
eautoreconf
}
src_compile() {
# enables logfiles over 2G (#74924)
append-lfs-flags
myconf=""
if use ip-as-string; then
use sqlite3 && myconf="${myconf} --with-sqlite3-log-ip-as-string"
use mysql && myconf="${myconf} --with-mysql-log-ip-as-string"
use postgres && myconf="${myconf} --with-pgsql-log-ip-as-string"
fi
if [[ -z "${myconf}" ]]; then
ewarn
ewarn "No database support enabled, ip-as-string flag ignored."
epause
fi
myconf="${myconf} `use_with sqlite3`"
myconf="${myconf} `use_with mysql`"
myconf="${myconf} `use_with postgres pgsql`"
econf ${myconf}
# not parallel make safe: bug #128976
emake -j1 || die "make failed"
}
src_install() {
# the Makefile seems to be "broken" -
# it relies on the existance of /usr, /etc ..
dodir /usr/sbin
make DESTDIR="${D}" install || die "install failed"
newinitd "${FILESDIR}"/ulogd-0.98 ulogd
dodoc README AUTHORS Changes
cd doc/
dodoc ulogd.txt ulogd.a4.ps
if use mysql; then
dodoc mysql.table mysql.table.ipaddr-as-string
fi
if use postgres; then
dodoc pgsql.table
fi
dohtml ulogd.html
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-09 3:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 3:39 [gentoo-commits] gentoo-x86 commit in app-admin/ulogd: metadata.xml ulogd-1.23-r2.ebuild Jeremy Olexa (darkside)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox