Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17016 Details for
Bug 27861
Ebuild for MIMEDefang
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mimedefang-2.36.ebuild
mimedefang-2.36.ebuild (text/plain), 3.01 KB, created by
Brett Simpson
on 2003-09-03 13:17:50 UTC
(
hide
)
Description:
mimedefang-2.36.ebuild
Filename:
MIME Type:
Creator:
Brett Simpson
Created:
2003-09-03 13:17:50 UTC
Size:
3.01 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/net-mail/mimedefang/mimedefang-2.36.ebuild, 2003/09/03 04:20:00 bls Exp $ > >DESCRIPTION="MIMEDefang is a program for inspecting and modifying e-mail messages as they pass through your mail relay." >HOMEPAGE="http://www.roaringpenguin.com/mimedefang/" >LICENSE="GPL-2" >DEPEND="sendmail > MIME-tools > IO-stringy > MIME-Base64 > MailTools > Digest-SHA1 > gd? ( TimeDate File-ReadBackwards GD GDGraph MLDBM Storable >=apache-2* )" > ># use for gd to add graphdefng support > >SRC_URI="http://www.roaringpenguin.com/mimedefang/${P}.tar.gz" > >IUSE="" >SLOT="0" >KEYWORDS="~x86" >S="${WORKDIR}/${P}" > ># Had to disable SANDBOX because the make install portion needed ># to make some adjustments to /var/spool/MIMEDefang. Otherwise ># I would have to do the process manually which would be lots of work. >SANDBOX_DISABLED="1" > > >src_compile() { > cd "${S}" > ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info > emake || die >} > >src_install() { > > cd "${S}" > einstall || die > > exeinto /etc/init.d > newexe ${S}/examples/init-script mimedefang-init || die > > if [ "`use gd`" ] > then ># einfo "" ># einfo "Adding perl modules Date::Parse and File::ReadBackwards" ># perl -MCPAN -e 'install Date::Parse' ># perl -MCPAN -e 'install File::ReadBackwards' > > dodir /home/httpd/htdocs/graphdefang > > cat ${S}/contrib/graphdefang-*/web/graphdefang.cgi | \ > sed "s/my \$GRAPHDEFANGDIR = '\/home\/jpk\/graphdefang';/my \$GRAPHDEFANGDIR = '\/etc\/graphdefang';/" >\ > graphdefang.cgi-new || die > mv graphdefang.cgi-new \ > ${S}/contrib/graphdefang-*/web/graphdefang.cgi || die > > exeinto /home/httpd/htdocs/graphdefang > doexe ${S}/contrib/graphdefang-*/web/graphdefang.cgi || die > > dodir /etc/graphdefang > exeinto /etc/graphdefang > doexe ${S}/contrib/graphdefang-*/graphdefang.pl || die > doexe ${S}/contrib/graphdefang-*/graphdefanglib.pl || die > doexe ${S}/contrib/graphdefang-*/reset-max-date.pl || die > > insinto /etc/graphdefang > doins ${S}/contrib/graphdefang-*/graphdefang-config-gshield-example || die > doins ${S}/contrib/graphdefang-*/graphdefang-config-spamd-example || die > doins ${S}/contrib/graphdefang-*/graphdefang-config-mimedefang-example || die > doins ${FILESDIR}/graphdefang-config || die > > > dodir /etc/graphdefang/event > cp -Rdp \ > ${S}/contrib/graphdefang-*/event/* \ > ${D}/etc/graphdefang/event || die > > insinto /etc/apache2/conf/modules.d > doins ${FILESDIR}/120_graphdefang.conf || die > > einfo "" > > fi > >} > >pkg_postinst() { > einfo "" > einfo "For Graphdefang support you will need to add \"gd\" to the use flags" > einfo "and restart apache2 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." > einfo "" > einfo "You may also want to add a cron script to /etc/cron.hourly to run" > einfo "graphdefang.pl automatically." > 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 27861
:
17003
|
17004
|
17009
|
17010
|
17014
|
17016
|
17020
|
17021
|
17515
|
17773
|
22252
|
22809
|
22817
|
22818
|
30361
|
45092
|
53778
|
53779
|
76272
|
92605
|
112105