diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-17 19:40:37 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-17 19:40:37 +0000 |
commit | 451d24b77c0c1fc89a55fe33934522bf8ca369d2 (patch) | |
tree | 53a0ff9d9cf8f385d6889daa69f0a32478599622 /app-admin | |
parent | Dropped ppc-macos keyword (diff) | |
download | gentoo-2-451d24b77c0c1fc89a55fe33934522bf8ca369d2.tar.gz gentoo-2-451d24b77c0c1fc89a55fe33934522bf8ca369d2.tar.bz2 gentoo-2-451d24b77c0c1fc89a55fe33934522bf8ca369d2.zip |
version bump for ulogd, with fix for syntax wrt to mysql, bug 91416
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ulogd/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/ulogd/files/digest-ulogd-1.24 | 3 | ||||
-rw-r--r-- | app-admin/ulogd/ulogd-1.24.ebuild | 59 |
3 files changed, 69 insertions, 2 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog index e4ef8797084d..83e8ebce0c7f 100644 --- a/app-admin/ulogd/ChangeLog +++ b/app-admin/ulogd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/ulogd -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.38 2006/11/23 15:12:29 vivo Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.39 2007/01/17 19:40:37 antarus Exp $ + +*ulogd-1.24 (17 Jan 2007) + + 17 Jan 2007; Alec Warner <antarus@gentoo.org> +ulogd-1.24.ebuild: + version bump for ulogd, with fix for syntax wrt to mysql, bug 91416 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> ulogd-1.02.ebuild, ulogd-1.02-r1.ebuild, ulogd-1.23.ebuild: diff --git a/app-admin/ulogd/files/digest-ulogd-1.24 b/app-admin/ulogd/files/digest-ulogd-1.24 new file mode 100644 index 000000000000..b1a1e9652eb6 --- /dev/null +++ b/app-admin/ulogd/files/digest-ulogd-1.24 @@ -0,0 +1,3 @@ +MD5 05b4ed2926b9a22aaeaf642917bbf8ff ulogd-1.24.tar.bz2 177398 +RMD160 e46c886af5bcec96775ec3516ae5a45d77e9bdb9 ulogd-1.24.tar.bz2 177398 +SHA256 63a6069d9b537d8a6d6a4d99beeb4ccc0a853717414da3a6e0ce230a34d0e057 ulogd-1.24.tar.bz2 177398 diff --git a/app-admin/ulogd/ulogd-1.24.ebuild b/app-admin/ulogd/ulogd-1.24.ebuild new file mode 100644 index 000000000000..390ee1e7aa28 --- /dev/null +++ b/app-admin/ulogd/ulogd-1.24.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-1.24.ebuild,v 1.1 2007/01/17 19:40:37 antarus Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging" +SRC_URI="http://ftp.netfilter.org/pub/ulogd/${P}.tar.bz2" +HOMEPAGE="http://netfilter.org/projects/ulogd/index.html" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc -sparc ~x86" +IUSE="mysql postgres" + +DEPEND="net-firewall/iptables + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql )" + +src_compile() { + # enables logfiles over 2G (#74924) + append-lfs-flags + + econf \ + $(use_with mysql) \ + $(use_with postgres pgsql) \ + || die "configure failed" + + # Configure uses incorrect syntax for ld + use mysql && sed -i -e "s:-Wl,::g" Rules.make + + # 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" + + exeinto /etc/init.d/ + newexe "${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 +} |