From ce9b75ae1a2af63d0b8c96962f76b2a277d2ece0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Tue, 19 Dec 2006 18:26:08 +0000 Subject: [PATCH] remove net-proxy/dansguardian-dgav from the tree --- net-proxy/dansguardian-dgav/ChangeLog | 72 ------------------- net-proxy/dansguardian-dgav/Manifest | 43 ----------- .../dansguardian-dgav-6.4.4.ebuild | 62 ---------------- .../dansguardian-dgav-6.4.4-gentoo.patch | 33 --------- .../dansguardian-dgav-6.4.4-xnaughty.patch | 49 ------------- .../dansguardian-dgav/files/dansguardian.init | 31 -------- .../files/dansguardian.logrotate | 14 ---- .../files/digest-dansguardian-dgav-6.4.4 | 6 -- net-proxy/dansguardian-dgav/metadata.xml | 6 -- 9 files changed, 316 deletions(-) delete mode 100644 net-proxy/dansguardian-dgav/ChangeLog delete mode 100644 net-proxy/dansguardian-dgav/Manifest delete mode 100644 net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.4.ebuild delete mode 100644 net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-gentoo.patch delete mode 100644 net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-xnaughty.patch delete mode 100644 net-proxy/dansguardian-dgav/files/dansguardian.init delete mode 100644 net-proxy/dansguardian-dgav/files/dansguardian.logrotate delete mode 100644 net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.4 delete mode 100644 net-proxy/dansguardian-dgav/metadata.xml diff --git a/net-proxy/dansguardian-dgav/ChangeLog b/net-proxy/dansguardian-dgav/ChangeLog deleted file mode 100644 index 9cefaa5ca4b8..000000000000 --- a/net-proxy/dansguardian-dgav/ChangeLog +++ /dev/null @@ -1,72 +0,0 @@ -# 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 - -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 - dansguardian-dgav-6.4.4.ebuild: - Add ~amd64, #132176 - -*dansguardian-dgav-6.4.4 (01 Apr 2006) - - 01 Apr 2006; Alin Nastac - 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 - -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 - +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 - 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 - -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 - +dansguardian-dgav-6.4.2a.ebuild: - Fix bug #89948 by version bumping. - - 22 Apr 2005; Alin Nastac dansguardian-dgav-6.3.8.ebuild: - Rename category & herd www-proxy to net-proxy. Demote ebuild to unstable (#89948). - - 06 Apr 2005; Alin Nastac - dansguardian-dgav-6.3.8.ebuild: - Stable on x86 - - 11 Mar 2005; Alin Nastac - dansguardian-dgav-6.3.8.ebuild: - Fix mode of init.d script. - - 10 Mar 2005; Alin Nastac 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 +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 . - diff --git a/net-proxy/dansguardian-dgav/Manifest b/net-proxy/dansguardian-dgav/Manifest deleted file mode 100644 index 5163789eadc1..000000000000 --- a/net-proxy/dansguardian-dgav/Manifest +++ /dev/null @@ -1,43 +0,0 @@ ------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----- diff --git a/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.4.ebuild b/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.4.ebuild deleted file mode 100644 index 6b4cf9d72bd1..000000000000 --- a/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.4.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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 -} diff --git a/net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-gentoo.patch b/net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-gentoo.patch deleted file mode 100644 index a0c01513f3db..000000000000 --- a/net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-gentoo.patch +++ /dev/null @@ -1,33 +0,0 @@ -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 - diff --git a/net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-xnaughty.patch b/net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-xnaughty.patch deleted file mode 100644 index 9ac22f935277..000000000000 --- a/net-proxy/dansguardian-dgav/files/dansguardian-dgav-6.4.4-xnaughty.patch +++ /dev/null @@ -1,49 +0,0 @@ -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); diff --git a/net-proxy/dansguardian-dgav/files/dansguardian.init b/net-proxy/dansguardian-dgav/files/dansguardian.init deleted file mode 100644 index 5df3696a336a..000000000000 --- a/net-proxy/dansguardian-dgav/files/dansguardian.init +++ /dev/null @@ -1,31 +0,0 @@ -#!/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 $? -} diff --git a/net-proxy/dansguardian-dgav/files/dansguardian.logrotate b/net-proxy/dansguardian-dgav/files/dansguardian.logrotate deleted file mode 100644 index 2fe8ad51204b..000000000000 --- a/net-proxy/dansguardian-dgav/files/dansguardian.logrotate +++ /dev/null @@ -1,14 +0,0 @@ -/var/log/dansguardian/access.log { - rotate 4 - weekly - missingok - notifempty - nocreate - nocopy - nocopytruncate - nocompress - - postrotate - /usr/sbin/dansguardian -r - endscript -} diff --git a/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.4 b/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.4 deleted file mode 100644 index 6b2b5490a5f9..000000000000 --- a/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.4 +++ /dev/null @@ -1,6 +0,0 @@ -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 diff --git a/net-proxy/dansguardian-dgav/metadata.xml b/net-proxy/dansguardian-dgav/metadata.xml deleted file mode 100644 index 7747d8275210..000000000000 --- a/net-proxy/dansguardian-dgav/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -net-proxy -DansGuardian with Anti-Virus plugin - -- 2.26.2