Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51764 Details for
Bug 60093
New DansGuardian with DGAntiVirus
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dansguardian-2.8.0.3-r1.ebuild
dansguardian-2.8.0.3-r1.ebuild (text/plain), 2.26 KB, created by
INODE64 Sistemas
on 2005-02-21 01:23:59 UTC
(
hide
)
Description:
dansguardian-2.8.0.3-r1.ebuild
Filename:
MIME Type:
Creator:
INODE64 Sistemas
Created:
2005-02-21 01:23:59 UTC
Size:
2.26 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/www-proxy/dansguardian/dansguardian-2.8.0.3-r.ebuild,v 1.2 2004/08/15 23:38:42 cyfred Exp $ > ># patched version from 2.8.0 to include the Antivirus patch ># this is an unofficial ebuild > >inherit eutils > >DESCRIPTION="Web content filtering via proxy" >HOMEPAGE="http://dansguardian.org" >SRC_URI="http://mirror.dansguardian.org/downloads/2/Stable/${P}.source.tar.gz > clamav? ( mirror://sourceforge/dgav/${P}-antivirus-6.3.8.patch.bz2 )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >IUSE="clamav" > >DEPEND="www-proxy/squid > net-libs/libesmtp > clamav? ( app-antivirus/clamav )" > > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/dansguardian-xnaughty-2.7.6-1.diff > if use clamav > then > epatch ${DISTDIR}/${P}-antivirus-6.3.8.patch.bz2 > epatch ${FILESDIR}/VirusScanner.cpp.patch.gz > epatch clamdscan.patch > epatch ${FILESDIR}/pthread.linux.patch > fi >} > > >src_compile() { > ./configure \ > --prefix= \ > --installprefix=${D} \ > --mandir=/usr/share/man/ \ > --cgidir=/var/www/localhost/cgi-bin/ || die "./configure failed" > > emake OPTIMISE="${CFLAGS}" || die "emake failed" >} > >src_install() { > if [ -d "/etc/logrotate.d" ]; then mkdir -p ${D}/etc/logrotate.d; fi > make install || die "make install failed" > > dodir /etc/init.d > cp ${FILESDIR}/dansguardian.init ${D}/etc/init.d/dansguardian > > rm -rf ${D}/etc/rc.d > > einfo "Fixing location of initscript" > sed 's/rc.d\///' ${D}/etc/dansguardian/logrotation > ${D}/etc/dansguardian/logrotation.fixed > mv -f ${D}/etc/dansguardian/logrotation.fixed ${D}/etc/dansguardian/logrotation > > dodoc INSTALL README LICENSE > if use clamav > then > dodoc README.AV > fi >} > >pkg_postinst() { > if use clamav > then > einfo "Patched version from 2.8.0 to include the Antivirus patch," > einfo "this is an unofficial ebuild." > einfo "See original patch at: " > einfo " " > einfo "http://sourceforge.net/projects/dgav/" > einfo " " > einfo "Filename of patch is" > einfo "dansguardian-2.8.0.3-antivirus-6.3.6.patch.gz" > einfo " " > einfo " " > einfo "An extra patch VirusScanner.cpp.patch has been included to do the" > einfo "redirection in case a virus was found and reportlevel=3 " > fi >}
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 60093
:
37250
|
44652
|
45217
|
51218
|
51219
| 51764