Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 204825 Details for
Bug 249449
net-analyzer/flow-tools - flow-print netflow timestamps output broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild with ftlib.h patch
flow-tools-0.68-r7.ebuild (text/plain), 2.72 KB, created by
Oleg Gawriloff
on 2009-09-21 14:41:55 UTC
(
hide
)
Description:
new ebuild with ftlib.h patch
Filename:
MIME Type:
Creator:
Oleg Gawriloff
Created:
2009-09-21 14:41:55 UTC
Size:
2.72 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68-r6.ebuild,v 1.1 2009/05/26 01:26:21 jer Exp $ > >WANT_AUTOMAKE="1.6" >WANT_AUTOCONF="latest" >inherit eutils flag-o-matic autotools > >DESCRIPTION="Flow-tools is a package for collecting and processing NetFlow data" >HOMEPAGE="http://www.splintered.net/sw/flow-tools/" >SRC_URI="ftp://ftp.eng.oar.net/pub/flow-tools/${P}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~ia64 ~ppc ~x86" >IUSE="mysql postgres debug ssl" > >RDEPEND="sys-apps/tcp-wrappers > sys-libs/zlib > sys-devel/flex > !postgres? ( mysql? ( virtual/mysql ) ) > !mysql? ( postgres? ( virtual/postgresql-server ) ) > ssl? ( dev-libs/openssl )" > >DEPEND="${RDEPEND} > sys-devel/bison" > >pkg_setup() { > if use mysql && use postgres ; then > echo > eerror "The mysql and postgres USE flags are mutually exclusive." > eerror "Please choose either USE=mysql or USE=postgres, but not both." > die > fi > > enewgroup flows > enewuser flows -1 -1 /var/lib/flows flows >} > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}"/${P}-fix-configure.diff > epatch "${FILESDIR}"/${P}-fix-a-zillion-warnings-updated.diff > epatch "${FILESDIR}"/${P}-another-amd64-casting-fixes.patch > use debug || epatch "${FILESDIR}"/${PN}-0.67-nodebug.patch > epatch "${FILESDIR}"/${PN}-0.67-memleak.patch > epatch "${FILESDIR}"/${P}-db_tmp.patch > epatch "${FILESDIR}"/${P}-fix-ftlib.diff > > sed -i "s|^[^#]\(^.*CFLAGS=\).*$|\1-Wall|g" \ > configure.in src/Makefile.am lib/Makefile.am || die "sed CFLAGS failed" > > # bug 122842, we have /usr/bin/python and not /usr/local/bin/python > sed -i -e "s:/usr/local/bin/python:/usr/bin/python:g" \ > "${S}"/bin/flow-{rptfmt,rpt2rrd,log2rrd} > > AM_OPTS="-f -i" > eautoreconf || die "autoreconf failed" >} > >src_compile() { > use mysql && append-flags "-L/usr/lib/mysql -I/usr/include/mysql" > use postgres && append-flags "-L/usr/lib/postgres -I/usr/include/postgres" > > econf \ > --localstatedir=/etc/flow-tools \ > --enable-lfs \ > $(use_with ssl openssl) \ > $(use_with mysql) \ > $(use_with postgres pgsql) \ > || die "econf failed" > > emake CFLAGS="${CFLAGS}" || die "emake failed" >} > >src_install() { > make DESTDIR="${D}" install || die "make install failed" > dodoc ChangeLog README SECURITY TODO > > keepdir /var/lib/flows > keepdir /var/lib/flows/bin > exeinto /var/lib/flows/bin > doexe "${FILESDIR}"/linkme > keepdir /var/run/flows > > newinitd "${FILESDIR}/flowcapture.initd" flowcapture > newconfd "${FILESDIR}/flowcapture.confd" flowcapture > >} > >pkg_postinst() { > chown flows:flows /var/run/flows > chown flows:flows /var/lib/flows > chown flows:flows /var/lib/flows/bin > chmod 0755 /var/run/flows > chmod 0755 /var/lib/flows > chmod 0755 /var/lib/flows/bin >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 249449
: 204825 |
204827