+++ /dev/null
-# ChangeLog for net-proxy/dansguardian-dgav
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian-dgav/ChangeLog,v 1.10 2006/06/18 15:45:43 mrness Exp $
-
- 18 Jun 2006; Alin Nastac <mrness@gentoo.org>
- -files/dansguardian-xnaughty-2.7.6-1.diff,
- -files/dansguardian-dgav-6.4.3-gentoo.patch,
- -dansguardian-dgav-6.4.3-r1.ebuild:
- Remove obsolete version.
-
- 04 May 2006; Jon Hood <squinky86@gentoo.org>
- dansguardian-dgav-6.4.4.ebuild:
- Add ~amd64, #132176
-
-*dansguardian-dgav-6.4.4 (01 Apr 2006)
-
- 01 Apr 2006; Alin Nastac <mrness@gentoo.org>
- files/dansguardian-xnaughty-2.7.6-1.diff,
- +files/dansguardian-dgav-6.4.4-gentoo.patch,
- +files/dansguardian-dgav-6.4.4-xnaughty.patch, files/dansguardian.init,
- +dansguardian-dgav-6.4.4.ebuild:
- Version bump (#128412).
-
- 06 Mar 2006; Alin Nastac <mrness@gentoo.org>
- -dansguardian-dgav-6.4.3.ebuild, dansguardian-dgav-6.4.3-r1.ebuild:
- Remove old version.
-
-*dansguardian-dgav-6.4.3-r1 (08 Dec 2005)
-
- 08 Dec 2005; Alin Nastac <mrness@gentoo.org>
- +files/dansguardian-dgav-6.4.3-gentoo.patch, files/dansguardian.init,
- +files/dansguardian.logrotate, -dansguardian-dgav-6.4.2a.ebuild,
- +dansguardian-dgav-6.4.3-r1.ebuild:
- Fix init script dependencies (#114511). Improve logrotate file.
-
-*dansguardian-dgav-6.4.3 (04 Oct 2005)
-
- 04 Oct 2005; Alin Nastac <mrness@gentoo.org>
- dansguardian-dgav-6.4.2a.ebuild, +dansguardian-dgav-6.4.3.ebuild:
- Version bump. Remove INSTALL and LICENSE from docs.
-
- 03 Sep 2005; Alin Nastac <mrness@gentoo.org>
- -files/dgav-6.3.8-virus-response.patch, -dansguardian-dgav-6.3.8.ebuild:
- Remove old and hard masked version (#89948).
-
-*dansguardian-dgav-6.4.2a (29 Aug 2005)
-
- 29 Aug 2005; Alin Nastac <mrness@gentoo.org>
- +dansguardian-dgav-6.4.2a.ebuild:
- Fix bug #89948 by version bumping.
-
- 22 Apr 2005; Alin Nastac <mrness@gentoo.org> dansguardian-dgav-6.3.8.ebuild:
- Rename category & herd www-proxy to net-proxy. Demote ebuild to unstable (#89948).
-
- 06 Apr 2005; Alin Nastac <mrness@gentoo.org>
- dansguardian-dgav-6.3.8.ebuild:
- Stable on x86
-
- 11 Mar 2005; Alin Nastac <mrness@gentoo.org>
- dansguardian-dgav-6.3.8.ebuild:
- Fix mode of init.d script.
-
- 10 Mar 2005; Alin Nastac <mrness@gentoo.org> dansguardian-dgav-6.3.8.ebuild:
- Always link with pthread lib (needed by libesmtp).
-
-*dansguardian-dgav-6.3.8 (08 Mar 2005)
-
- 08 Mar 2005; Alin Nastac <mrness@gentoo.org> +metadata.xml,
- +files/dansguardian-xnaughty-2.7.6-1.diff, +files/dansguardian.init,
- +files/dgav-6.3.8-virus-response.patch, +dansguardian-dgav-6.3.8.ebuild:
- Initial import from bug #60093, thanks to Francisco Javier <ffelix@sshinf.com>.
-
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX dansguardian-dgav-6.4.4-gentoo.patch 1291 RMD160 7e835963399cb0c768c3e4c331a8dced2268dadd SHA1 67eec184fe8669b530bca3db06c448ec84b14f13 SHA256 9d9546e38fb856accb4a22462384584e5d9737d68254a97dfcb25775d20ba9bf
-MD5 19e38310930369928da2d1bc74554c87 files/dansguardian-dgav-6.4.4-gentoo.patch 1291
-RMD160 7e835963399cb0c768c3e4c331a8dced2268dadd files/dansguardian-dgav-6.4.4-gentoo.patch 1291
-SHA256 9d9546e38fb856accb4a22462384584e5d9737d68254a97dfcb25775d20ba9bf files/dansguardian-dgav-6.4.4-gentoo.patch 1291
-AUX dansguardian-dgav-6.4.4-xnaughty.patch 1983 RMD160 abed6158e7637760d57794a43a42157b57f81fd1 SHA1 2ad45164406db0908f0df63bc7ea38b96eba9062 SHA256 917882aca2d01e7b0eb0ca5222927a6592ff0b7aa4b8698f5695c309dc72586b
-MD5 c5a5dcce78812ee5b042f0e92d500ebf files/dansguardian-dgav-6.4.4-xnaughty.patch 1983
-RMD160 abed6158e7637760d57794a43a42157b57f81fd1 files/dansguardian-dgav-6.4.4-xnaughty.patch 1983
-SHA256 917882aca2d01e7b0eb0ca5222927a6592ff0b7aa4b8698f5695c309dc72586b files/dansguardian-dgav-6.4.4-xnaughty.patch 1983
-AUX dansguardian.init 711 RMD160 0e959d99caace52c55238d15aa9b0283141ead78 SHA1 a89f63923ca33b62b231e640899b907f2e7e9bc8 SHA256 169dbf4a372dc18e30437109d4c5ca72bd060b19833a61bcef7d6824fe4d5a8d
-MD5 a0228f818258bfb2f17855344dbd5700 files/dansguardian.init 711
-RMD160 0e959d99caace52c55238d15aa9b0283141ead78 files/dansguardian.init 711
-SHA256 169dbf4a372dc18e30437109d4c5ca72bd060b19833a61bcef7d6824fe4d5a8d files/dansguardian.init 711
-AUX dansguardian.logrotate 188 RMD160 c2c433f4209518a83725382f8952141a34d58d25 SHA1 ac914a9a4606d2de3297056ba2f06474f4ed31ba SHA256 124775c1a6dd20652e7b7511bb484c654ac63cc0c0a2baf2357d8ce7086867a2
-MD5 046d9ee8033553a881d5ee0586bf2a3d files/dansguardian.logrotate 188
-RMD160 c2c433f4209518a83725382f8952141a34d58d25 files/dansguardian.logrotate 188
-SHA256 124775c1a6dd20652e7b7511bb484c654ac63cc0c0a2baf2357d8ce7086867a2 files/dansguardian.logrotate 188
-DIST dansguardian-2.8.0.6-antivirus-6.4.4.patch.gz 169630 RMD160 dfeceee394419e9d797f8b9d483f038bb3c2c091 SHA1 b468e8fc4791577a72ee4dee684ecb65e72b9647 SHA256 215d3e6ca4c7bbf3aa5000205500894f99baf909450f6e2db94b8dd0867e1ddd
-DIST dansguardian-2.8.0.6.source.tar.gz 212737 RMD160 cf3493b26b4fcd5b366a6fe472e3c6c9e3cfe6d3 SHA1 6d82eed13536a64a2f6711fa221756fa0bfe19f0 SHA256 f4d51b805e979369896906b49a388bf102f56cf0755acc9cb1ec2e4176aac34b
-EBUILD dansguardian-dgav-6.4.4.ebuild 1641 RMD160 9c968946626f930fb913a863db9b7867a057ac51 SHA1 0dad195301e57c80ecc966d4ff3ad1d4bae7d543 SHA256 5cbabbac9b55dbf624aef5895adfb0af83285deed7e97f282899da62762d0261
-MD5 3365b476ceeff291e7cb11463a18c478 dansguardian-dgav-6.4.4.ebuild 1641
-RMD160 9c968946626f930fb913a863db9b7867a057ac51 dansguardian-dgav-6.4.4.ebuild 1641
-SHA256 5cbabbac9b55dbf624aef5895adfb0af83285deed7e97f282899da62762d0261 dansguardian-dgav-6.4.4.ebuild 1641
-MISC ChangeLog 2705 RMD160 90a3c6c05fed21cc5accd5a933adb8da0a3a1f57 SHA1 63eed5988c742a088e95a0ac3af9b32c2b7940fe SHA256 1e0321e442ce05182ee845a3313ce6b725e5073ca1a0d68e5e67f8a3f0f0c16e
-MD5 54c4bf5f2c879aceb848667fffe557a4 ChangeLog 2705
-RMD160 90a3c6c05fed21cc5accd5a933adb8da0a3a1f57 ChangeLog 2705
-SHA256 1e0321e442ce05182ee845a3313ce6b725e5073ca1a0d68e5e67f8a3f0f0c16e ChangeLog 2705
-MISC metadata.xml 233 RMD160 10a38c37775f9cc2586d2fb2042ef8107dc60fda SHA1 931af3700ef9626ed0e0def6707f0640d437670d SHA256 6eab7969686b30e93d24f919858089e499e98d43287eacfc5149b4cdf4cc64e8
-MD5 775fe3a71382d0807bfddb0235f35f30 metadata.xml 233
-RMD160 10a38c37775f9cc2586d2fb2042ef8107dc60fda metadata.xml 233
-SHA256 6eab7969686b30e93d24f919858089e499e98d43287eacfc5149b4cdf4cc64e8 metadata.xml 233
-MD5 fd71bccf5920b616850b7d6d4923ec46 files/digest-dansguardian-dgav-6.4.4 599
-RMD160 69babfe2afaf67c7a1aec17574aeb0cbed50d6e5 files/digest-dansguardian-dgav-6.4.4 599
-SHA256 bc893213ca590e592022c121b8c57cdd1b261847cd1ba8c80a64e5fe4a034476 files/digest-dansguardian-dgav-6.4.4 599
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFElXWSjG8pv1lIUX4RAr4rAJ4v159wDy5dKecfpX9unVnOjNaTkwCfWtcj
-g5sExyH1kBdJ/YE+grLvUDQ=
-=o41T
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.4.ebuild,v 1.2 2006/05/04 04:36:50 squinky86 Exp $
-
-inherit eutils
-
-DG_PN=${PN/-*/}
-AV_PN=${PN/*-/}
-DG_PV=2.8.0.6
-
-DESCRIPTION="DansGuardian with Anti-Virus plugin"
-HOMEPAGE="http://sourceforge.net/projects/dgav/"
-SRC_URI="http://mirror.dansguardian.org/downloads/2/Stable/${DG_PN}-${DG_PV}.source.tar.gz
- mirror://sourceforge/${AV_PN}/${DG_PN}-${DG_PV}-antivirus-${PV}.patch.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND="!net-proxy/dansguardian
- net-libs/libesmtp
- app-antivirus/clamav"
-
-S="${WORKDIR}/${DG_PN}-${DG_PV}"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}" || die "source dir not found"
- epatch "../${DG_PN}-${DG_PV}-antivirus-${PV}.patch"
- epatch "${FILESDIR}/${P}-xnaughty.patch"
- epatch "${FILESDIR}/${P}-gentoo.patch"
-}
-
-src_compile() {
- ./configure \
- --prefix= \
- --installprefix="${D}" \
- --mandir=/usr/share/man/ \
- --cgidir=/var/www/localhost/cgi-bin/ \
- --logrotatedir="${D}/etc/logrotate.d" \
- --with-av-engine=clamdscan,aveserver,trophie,sophie \
- --runas_usr=clamav --runas_grp=clamav || die "./configure failed"
- emake OPTIMISE="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
- make install || die "make install failed"
-
- newinitd "${FILESDIR}/dansguardian.init" dansguardian
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/dansguardian.logrotate" dansguardian
-
- doman dansguardian.8
- dodoc README*
-
- #Create log directory
- diropts -m0700 -o clamav
- keepdir /var/log/dansguardian
-}
+++ /dev/null
-diff -Nru dansguardian-2.8.0.6.orig/configure dansguardian-2.8.0.6/configure
---- dansguardian-2.8.0.6.orig/configure 2006-04-01 22:16:00.000000000 +0300
-+++ dansguardian-2.8.0.6/configure 2006-04-01 22:21:34.887006250 +0300
-@@ -37,7 +37,7 @@
- prefixdir=''
- installprefixdir=''
- sysconfdir='/etc/dansguardian/'
--sysvdir='/etc/rc.d/init.d/'
-+sysvdir='/etc/init.d/'
- cgidir='/var/www/cgi-bin/'
- runas_usr='nobody'
- runas_grp='nobody'
-@@ -3517,7 +3517,7 @@
- echo "# Set the name of a local clamd socket (file)">>dansguardian.conf
- echo "# or the hostname:port of a remote clamd server">>dansguardian.conf
- echo "# default: '/tmp/clamd'">>dansguardian.conf
--echo "clamdsocket = '/tmp/clamd'">>dansguardian.conf
-+echo "clamdsocket = '/var/run/clamav/clamd.sock'">>dansguardian.conf
- echo "" >>dansguardian.conf
- echo "" >>dansguardian.conf
-
-diff -Nru dansguardian-2.8.0.6.orig/dansguardian.8 dansguardian-2.8.0.6/dansguardian.8
---- dansguardian-2.8.0.6.orig/dansguardian.8 2005-08-14 02:47:57.000000000 +0300
-+++ dansguardian-2.8.0.6/dansguardian.8 2006-04-01 22:21:34.887006250 +0300
-@@ -3,7 +3,7 @@
- .SH NAME
- DansGuardian 2
- .SH SYNOPSIS
--/etc/rc.d/init.d/dansguardian [stop|start|status|restart]
-+/etc/init.d/dansguardian [stop|start|status|restart|reload]
- .SH DESCRIPTION
- A Introduction
-
+++ /dev/null
-diff -Nru dansguardian-2.8.0.6.orig/ConnectionHandler.cpp dansguardian-2.8.0.6/ConnectionHandler.cpp
---- dansguardian-2.8.0.6.orig/ConnectionHandler.cpp 2006-04-01 23:27:00.000000000 +0300
-+++ dansguardian-2.8.0.6/ConnectionHandler.cpp 2006-04-01 23:37:11.378162000 +0300
-@@ -1738,6 +1738,11 @@
- { // stealth
- (*checkme).isItNaughty = false; // dont block
- }
-+ else if (o.reporting_level == -2)
-+ { // just add a header
-+ (*docheader).addXNaughty("true", (*checkme).whatIsNaughty.c_str(), (*url).toCharArray());
-+ (*checkme).isItNaughty = false; // dont block
-+ }
- }
- catch (exception & e)
- {
-diff -Nru dansguardian-2.8.0.6.orig/HTTPHeader.cpp dansguardian-2.8.0.6/HTTPHeader.cpp
---- dansguardian-2.8.0.6.orig/HTTPHeader.cpp 2006-04-01 23:27:00.000000000 +0300
-+++ dansguardian-2.8.0.6/HTTPHeader.cpp 2006-04-01 23:33:23.779938000 +0300
-@@ -763,6 +763,19 @@
- }
-
- void
-+HTTPHeader::addXNaughty(std::string naughty, std::string whatIsNaughty, std::string whereIsNaughty)
-+{
-+ std::string line;
-+
-+ line = "X-Naughty: " + naughty + "\r";
-+ header.push_back(String(line.c_str()));
-+ line = "X-Naughty-Why: " + whatIsNaughty + "\r";
-+ header.push_back(String(line.c_str()));
-+ line = "X-Naughty-Where: " + whereIsNaughty + "\r";
-+ header.push_back(String(line.c_str()));
-+}
-+
-+void
- HTTPHeader::setTimeout (int t)
- {
- timeout = t;
-diff -Nru dansguardian-2.8.0.6.orig/HTTPHeader.hpp dansguardian-2.8.0.6/HTTPHeader.hpp
---- dansguardian-2.8.0.6.orig/HTTPHeader.hpp 2006-04-01 23:27:00.000000000 +0300
-+++ dansguardian-2.8.0.6/HTTPHeader.hpp 2006-04-01 23:34:12.766999500 +0300
-@@ -43,6 +43,7 @@
- std::string getXForwardedForIP ();
- void setTimeout (int t);
- void addXForwardedFor (std::string clientip);
-+ void addXNaughty (std::string naughty, std::string whatIsNaughty, std::string whereIsNaughty);
- bool isCompressed ();
- String contentEncoding ();
- void removeEncoding (int newlen);
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-opts="${opts} reload"
-
-depend() {
- need net
- use dns clamd \
- squid apache2 bfilter mman junkbuster oops polipo privoxy tinyproxy wwwoffled
- #dansguardian could be used in conjuction with any of the above web proxies
-}
-
-start() {
- ebegin "Starting DansGuardian"
- start-stop-daemon --start --quiet --pidfile /var/run/dansguardian.pid \
- --exec /usr/sbin/dansguardian
- eend $?
-}
-
-stop() {
- ebegin "Stopping DansGuardian"
- start-stop-daemon --stop --quiet --pidfile /var/run/dansguardian.pid
- eend $?
-}
-
-reload() {
- ebegin "Reloading DansGuardian"
- /usr/sbin/dansguardian -g
- eend $?
-}
+++ /dev/null
-/var/log/dansguardian/access.log {
- rotate 4
- weekly
- missingok
- notifempty
- nocreate
- nocopy
- nocopytruncate
- nocompress
-
- postrotate
- /usr/sbin/dansguardian -r
- endscript
-}
+++ /dev/null
-MD5 748a92e06d28144b65cd971dc8801917 dansguardian-2.8.0.6-antivirus-6.4.4.patch.gz 169630
-RMD160 dfeceee394419e9d797f8b9d483f038bb3c2c091 dansguardian-2.8.0.6-antivirus-6.4.4.patch.gz 169630
-SHA256 215d3e6ca4c7bbf3aa5000205500894f99baf909450f6e2db94b8dd0867e1ddd dansguardian-2.8.0.6-antivirus-6.4.4.patch.gz 169630
-MD5 aa619607198f37a528dbb65e4a503beb dansguardian-2.8.0.6.source.tar.gz 212737
-RMD160 cf3493b26b4fcd5b366a6fe472e3c6c9e3cfe6d3 dansguardian-2.8.0.6.source.tar.gz 212737
-SHA256 f4d51b805e979369896906b49a388bf102f56cf0755acc9cb1ec2e4176aac34b dansguardian-2.8.0.6.source.tar.gz 212737
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>net-proxy</herd>
-<longdescription>DansGuardian with Anti-Virus plugin</longdescription>
-</pkgmetadata>