Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44652 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 with antivirus patch
dansguardian-2.8.0.3-r1.ebuild (text/plain), 2.74 KB, created by
smouge
on 2004-11-24 11:06:16 UTC
(
hide
)
Description:
dansguardian 2.8.0.3 with antivirus patch
Filename:
MIME Type:
Creator:
smouge
Created:
2004-11-24 11:06:16 UTC
Size:
2.74 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 > >MY_P="dansguardian-${PV}" >S="${WORKDIR}/${MY_P}" >DESCRIPTION="Web content filtering via proxy" >HOMEPAGE="http://dansguardian.org" >SRC_URI="http://mirror.dansguardian.org/downloads/2/Stable/${MY_P}.source.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >IUSE="" > >DEPEND="www-proxy/squid > net-libs/libesmtp" > > > > >#einfo "This modified ebuild has been created to include the anti-virus plugin from" >#einfo "http://sourceforge.net/project/showfiles.php?group_id=99063&package_id=106174&release_id=277430" >#einfo " " >#einfo "Filename of patch is" >#einfo "http://prdownloads.sourceforge.net/dgav/dansguardian-2.8.0.3-antivirus-6.3.6.patch.gz" >#einfo " " >#einfo " " >#einfo "To install do the following:" >#einfo " " >#einfo "copy this ebuild file to /usr/portage/www-proxy/dansguardian/dansguardian-2.8.0.3-r.ebuild" >#einfo "copy patch file to /usr/portage/www-proxy/dansguardian/files/dansguardian-2.8.0.3-antivirus-6.3.6.patch.gz" >#einfo " " >#einfo "# cd /usr/portage/www-proxy/dansguardian/files" >#einfo "# ebuild dansguardian-2.7.1-r1.ebuild digest" >#einfo "# emerge dansguardian" >#einfo " " >#einfo "We will also need the virus wrapper scripts " >#einfo "# cd /usr/portage/www-proxy/dansguardian/files" >#einfo "# wget http://www.pcxperience.org/dgvirus/patches/support/DansGuardian-Virus-Scripts-1.05.tgz" >#einfo "# tar xzvf DansGuardian-Virus-Scripts-1.05.tgz" >#einfo "# mv DansGuardian-Virus-Scripts-1.05/usr/lib/DGVirus/ /usr/lib" >#einfo "# rm -r DansGuardian-Virus-Scripts-1.05" >#einfo "set "Mail Domain" in /etc/dansguardian/virrusscanner.conf" >#einfo "# mkdir -p /var/www/html/dgvirus/quarantine >#einfo " " >#einfo "Ready ? " >#einfo "# /etc/init.d/squid restart " > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/dansguardian-2.8.0.3-antivirus-6.3.6.patch.gz >} > > >src_compile() { > ./configure \ > --prefix= \ > --installprefix=${D} \ > --mandir=/usr/share/man/ \ > --cgidir=/var/www/localhost/cgi-bin/ || die "./configure failed" > > emake || 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 >} > > >
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