Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30363 Details for
Bug 49445
GraphDefang lacks an ebuild. MimeDefang should have an optional dependency on this.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for graphdefang-0.9
graphdefang-0.9.ebuild (text/plain), 2.89 KB, created by
Raymond Page
on 2004-04-29 16:14:15 UTC
(
hide
)
Description:
Ebuild for graphdefang-0.9
Filename:
MIME Type:
Creator:
Raymond Page
Created:
2004-04-29 16:14:15 UTC
Size:
2.89 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /nerdc/src/CVS/local/portage/app-admin/graphdefang/graphdefang-0.9.ebuild,v 1.3 2004/04/29 23:01:09 pagerc Exp $ > >#inherit eutils > >DESCRIPTION="A set of tools to create graphs of your mimedefang or spamd log files." >HOMEPAGE="http://www.bl.org/~jpk/graphdefang/" >SRC_URI="http://www.bl.org/~jpk/graphdefang/download/${P}.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" > >DEPEND=">=apache-1.3*" > dev-perl/File-ReadBackwards > dev-perl/GD > dev-perl/GDGraph > dev-perl/TimeDate > dev-perl/MLDBM > dev-perl/Storable" > >pkg_setup() { > if ! id defang; then > useradd -g defang defang || die "problem adding user defang" > fi > > if ! groupmod defang ; then > groupadd defang || die "problem adding group defang" > fi >} > >src_install() { ># Install everything into /usr/graphdefang ># insinto /usr/graphdefang ># doins * > > dodir /var/www/localhost/htdocs/graphdefang > > mkdir -p ${D}/var/log/mimedefang > chown -R defang.defang ${D}/var/log/mimedefang > > cat ${S}/web/graphdefang.cgi | \ > sed "s/my \$GRAPHDEFANGDIR = '\/home\/jpk\/graphdefang';/my \$GRAPHDEFANGDIR = '\/etc\/graphdefang';/" >\ > graphdefang.cgi-new || die > mv graphdefang.cgi-new \ > ${S}/web/graphdefang.cgi || die > > exeinto /var/www/localhost/htdocs/graphdefang > doexe ${S}/web/graphdefang.cgi || die > > dodir /etc/graphdefang > exeinto /etc/graphdefang > doexe ${S}/graphdefang.pl || die > doexe ${S}/graphdefanglib.pl || die > doexe ${S}/reset-max-date.pl || die > > exeinto /etc/graphdefang > doexe ${FILESDIR}/graphdefang.cron || die > > insinto /etc/graphdefang > doins ${S}/graphdefang-config-gshield-example || die > doins ${S}/graphdefang-config-spamd-example || die > doins ${S}/graphdefang-config-mimedefang-example || die > > cat ${S}/graphdefang-config-mimedefang-example | \ > sed "s/\$DATAFILE = '\/var\/log\/maillog';/\$DATAFILE = '\/var\/log\/mail.log';/" |\ > sed "s/\$OUTPUT_DIR = '\/home\/jpk\/public_html\/spam';/\$OUTPUT_DIR = '\/etc\/graphdefang';/" >\ > graphdefang-config || die > > doins graphdefang-config || die > > dodir /etc/graphdefang/event > cp -Rdp \ > ${S}/event/* \ > ${D}/etc/graphdefang/event || die > > insinto /etc/apache2/conf/modules.d > doins ${FILESDIR}/120_graphdefang.conf || die >} > >pkg_postinst() { > einfo > einfo "Restart apache to access http://$HOSTNAME/graphdefang/graphdefang.cgi." > einfo > einfo "To generate a report" > einfo "cd /etc/graphdefang" > einfo "./graphdefang.pl" > einfo > einfo "This will generate a report from /var/log/mail/current. If your using syslog-ng" > einfo "then you will want to change /etc/graphdefang/graphdefang-config" > einfo > einfo > einfo "You may also want to add a cron script to /etc/cron.hourly to run" > einfo "graphdefang.pl automatically. One is available in /etc/graphdefang/graphdefang.cron" > einfo "You can also run adhoc graphdefang queries against" > einfo "the DB by hitting graphdefang.cgi with a web browser." > einfo >}
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 49445
: 30363