Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139351 Details for
Bug 203365
net-analyzer/netams (New ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
netams-3.4.0_rc2.ebuild
netams-3.4.0_rc2.ebuild (text/plain), 2.54 KB, created by
Ilya Kashirin
on 2007-12-26 10:59:50 UTC
(
hide
)
Description:
netams-3.4.0_rc2.ebuild
Filename:
MIME Type:
Creator:
Ilya Kashirin
Created:
2007-12-26 10:59:50 UTC
Size:
2.54 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit eutils versionator >MY_PV=$(replace_version_separator 3 '') > >DESCRIPTION="NetAMS Traffic Accounting" >HOMEPAGE="http://www.netams.com" >SRC_URI="http://www.netams.com/files/${PN}-${MY_PV}.tar.gz" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86 ~amd64" > >IUSE="berkdb debug mysql postgres netflow pam" # apache1 apache2" > >DEPEND="berkdb? (sys-libs/db) > mysql? ( >=dev-db/mysql-4) > postgres? ( >=dev-db/postgresql-7.4 ) > net-firewall/iptables > >=net-libs/libpcap-0.7 > netflow? ( net-analyzer/FlowScan ) > pam? ( sys-libs/pam ) > " >S=${WORKDIR}/${PN}-${MY_PV} > >src_unpack() { > unpack ${A} ; cd ${S} > epatch ${FILESDIR}/netams-html_fix.patch > epatch ${FILESDIR}/netams-proto_fix.patch > epatch ${FILESDIR}/netams-pg.patch > epatch ${FILESDIR}/netams-comment.patch > epatch ${FILESDIR}/netams-admin-${MY_PV}.patch > if use amd64 ; then > epatch ${FILESDIR}/netams-x86_64-${MY_PV}.patch > fi > epatch ${FILESDIR}/netams-src-${MY_PV}.patch > epatch ${FILESDIR}/netams-doc-${MY_PV}.patch > epatch ${FILESDIR}/netams-Makefile-${MY_PV}.patch > epatch ${FILESDIR}/netams-iptables-version.patch > > # disable debug mode > if use !debug > then > sed -ie "s:if \[ ! \"x\$1\" = \"x-nodebug:if \[ \"x\$1\" = \"x-nodebug:g" configure.sh > fi > > # disable pam > if use !pam > then > sed -ie "s:locate_file \"security/pam_appl.h\" \&\& v1=\$var \&\& locate_file \"libpam.so\" \&\& v2=\$var:locate_file \"security/pam_appl.h\" \&\& v1=\"\" \&\& locate_file \"libpam.so\" \&\& v2=\"\":g" configure.sh > fi > > > >} >src_compile() { ># FIXME work around configuring > emake -j1 || die "emake failed" # no accept $MAKEOPTS >} > >src_install() { > dosbin src/netams src/netamsctl src/flowprobe src/ascii2netflow src/ulog2netflow > newinitd addon/netams-gentoo.sh netams > dodir /etc/netams > insinto /etc/netams > insopts -m0644 > newins addon/netams.cfg netams.cfg.sample > doman doc/*.8 > dodoc doc/README doc/TODO.txt > dodir /usr/share/${PN} > insinto /usr/share/${PN} > doins -r \ > addon/ru-networks.txt \ > addon/mysql_rotate.pl \ > addon/postgresql_schema.sql \ > cgi-bin \ > # where place it? > # for apache - /var/www/localhost > #addon/oracle >} > >pkg_postinst() >{ > ewarn "" > ewarn "CGI scripts are installed into /usr/share/${PN}/cgi-bin" > ewarn "You should copy them to appropriate place." > ewarn "Example of config file placed into /etc/${PN}/${PN}.cfg.sample" > ewarn "For autostart type" > ewarn " rc-update add netams default" > ewarn "" > ewarn "And PLEASE READ THE DOCUMENTATION FIRST!" > ewarn "${HOMEPAGE}/doc/index.html" > ewarn "" >}
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 203365
:
139333
|
139334
|
139335
|
139336
|
139337
|
139339
|
139341
|
139343
|
139344
|
139346
|
139347
|
139349
| 139351