diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-12-05 00:39:28 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-12-05 00:39:28 +0000 |
commit | a7d56de0bcecaafe13903d1c01a795998684df40 (patch) | |
tree | 4047719eafa26c34f284815cde8a4a2ba6ed3533 /app-admin/ulogd | |
parent | Testing commit hooks. (diff) | |
download | gentoo-2-a7d56de0bcecaafe13903d1c01a795998684df40.tar.gz gentoo-2-a7d56de0bcecaafe13903d1c01a795998684df40.tar.bz2 gentoo-2-a7d56de0bcecaafe13903d1c01a795998684df40.zip |
(non-maintainer commit) Version bump for bug 186528. submitted by Martin von Gagern & Christian Ruppert
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc6-wl-dirty x86_64)
Diffstat (limited to 'app-admin/ulogd')
-rw-r--r-- | app-admin/ulogd/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/ulogd/metadata.xml | 1 | ||||
-rw-r--r-- | app-admin/ulogd/ulogd-2.0.0_beta2.ebuild | 79 |
3 files changed, 88 insertions, 1 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog index 7ef371698041..f4c88755de04 100644 --- a/app-admin/ulogd/ChangeLog +++ b/app-admin/ulogd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/ulogd # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.50 2008/08/27 04:27:43 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.51 2008/12/05 00:39:28 darkside Exp $ + +*ulogd-2.0.0_beta2 (05 Dec 2008) + + 05 Dec 2008; Jeremy Olexa <darkside@gentoo.org> metadata.xml, + +ulogd-2.0.0_beta2.ebuild: + (non-maintainer commit) Version bump for bug 186528. submitted by Martin von + Gagern & Christian Ruppert 27 Aug 2008; Jeremy Olexa <darkside@gentoo.org> ulogd-1.23-r2.ebuild: (non-maintainer commit) change postgres dep to -base only. Thanks to diff --git a/app-admin/ulogd/metadata.xml b/app-admin/ulogd/metadata.xml index 00a510a56a3f..bf1e8d19c0e5 100644 --- a/app-admin/ulogd/metadata.xml +++ b/app-admin/ulogd/metadata.xml @@ -9,5 +9,6 @@ <use> <flag name='ip-as-string'>Logs IP addresses as stings</flag> <flag name='pcap'>Build the PCAP plugin. Use the <pkg>net-libs/libpcap</pkg> library</flag> + <flag name='logrotate'>Install support files for logrotate</flag> </use> </pkgmetadata> diff --git a/app-admin/ulogd/ulogd-2.0.0_beta2.ebuild b/app-admin/ulogd/ulogd-2.0.0_beta2.ebuild new file mode 100644 index 000000000000..d00916608673 --- /dev/null +++ b/app-admin/ulogd/ulogd-2.0.0_beta2.ebuild @@ -0,0 +1,79 @@ +# 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-2.0.0_beta2.ebuild,v 1.1 2008/12/05 00:39:28 darkside Exp $ + +EAPI="1" + +MY_P=${P/_/} +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging" +HOMEPAGE="http://netfilter.org/projects/ulogd/index.html" +SRC_URI="http://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mysql postgres sqlite3 pcap logrotate doc" + +RDEPEND="net-firewall/iptables + >=net-libs/libnfnetlink-0.0.39 + >=net-libs/libnetfilter_conntrack-0.0.95 + >=net-libs/libnetfilter_log-0.0.15 + mysql? ( virtual/mysql ) + postgres? ( virtual/postgresql-server ) + sqlite3? ( dev-db/sqlite:3 ) + pcap? ( net-libs/libpcap ) + logrotate? ( app-admin/logrotate )" + +DEPEND="${RDEPEND} + sys-devel/autoconf:2.5 + doc? ( + app-text/linuxdoc-tools + app-text/texlive-core + )" + +src_compile() { + econf \ + $(use_with mysql) \ + $(use_with postgres pgsql) \ + $(use_with sqlite3) \ + $(use_with pcap) + + emake || die "emake failed" + + if use doc ; then + # build extra documentation files (.ps, .txt, .html, .dvi) + emake -C doc || die "emake for docs failed" + fi +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + doinitd "${FILESDIR}"/ulogd || die "doinitd failed" + + insinto /etc + doins ulogd.conf || die "ulogd.conf installation failed" + + dodoc AUTHORS README + + if use doc ; then + dohtml doc/ulogd.html + dodoc doc/ulogd.dvi + dodoc doc/ulogd.txt + dodoc doc/ulogd.ps + fi + + use mysql && dodoc doc/mysql-ulogd2.sql + use postgres && dodoc doc/pgsql-ulogd2.sql + use sqlite3 && dodoc doc/sqlite3.table + + if use logrotate ; then + # install logrotate config + insinto /etc/logrotate.d + newins ulogd.logrotate ulogd || die "logrotate config failed" + fi + + doman ulogd.8 || die +} |