diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-10-04 21:01:07 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-10-04 21:01:07 +0000 |
commit | 2d73cd658fbfb6c7d2c25a150039781340755cf9 (patch) | |
tree | 914c505ac675d62806022299d267700ccb374275 /net-proxy/dansguardian-dgav | |
parent | Keyworded ~mips. (diff) | |
download | gentoo-2-2d73cd658fbfb6c7d2c25a150039781340755cf9.tar.gz gentoo-2-2d73cd658fbfb6c7d2c25a150039781340755cf9.tar.bz2 gentoo-2-2d73cd658fbfb6c7d2c25a150039781340755cf9.zip |
Version bump. Remove INSTALL and LICENSE from docs.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-proxy/dansguardian-dgav')
5 files changed, 80 insertions, 15 deletions
diff --git a/net-proxy/dansguardian-dgav/ChangeLog b/net-proxy/dansguardian-dgav/ChangeLog index c1b9a7fde7bd..c83d94ac1b16 100644 --- a/net-proxy/dansguardian-dgav/ChangeLog +++ b/net-proxy/dansguardian-dgav/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/dansguardian-dgav # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian-dgav/ChangeLog,v 1.4 2005/09/03 15:29:10 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian-dgav/ChangeLog,v 1.5 2005/10/04 21:01:07 mrness Exp $ + +*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: diff --git a/net-proxy/dansguardian-dgav/Manifest b/net-proxy/dansguardian-dgav/Manifest index 1a4c4588601e..b6ca889bbee8 100644 --- a/net-proxy/dansguardian-dgav/Manifest +++ b/net-proxy/dansguardian-dgav/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 98e591676094e85e924e56b0c2d86160 dansguardian-dgav-6.4.2a.ebuild 1941 +MD5 ccc9e58e4330d320a7c1804440328ebd dansguardian-dgav-6.4.3.ebuild 1995 +MD5 aa82526783a6f66cd5caad253586428b dansguardian-dgav-6.4.2a.ebuild 1925 MD5 e2ab2165b8ba88cfd4b8fbe329681519 ChangeLog 1397 MD5 775fe3a71382d0807bfddb0235f35f30 metadata.xml 233 MD5 df46e58e17a1ca38be926736d9e10b70 files/digest-dansguardian-dgav-6.4.2a 177 MD5 bf8c351940c7a2c26da9395e7a494937 files/dansguardian.init 576 +MD5 3b16f94c2f006a6d45f4221ee7b8d7d4 files/digest-dansguardian-dgav-6.4.3 169 MD5 6313b934a33da7e4308812e834494074 files/dansguardian-xnaughty-2.7.6-1.diff 2325 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDGcFiNSP4Vda7IdsRAjTyAJ0Q2LXcYD/ukm1IgUE/w0yLIkTRkwCeLAjN -u5KttdJK9yCsZl6XiHL8UJo= -=BYuB ------END PGP SIGNATURE----- diff --git a/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.2a.ebuild b/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.2a.ebuild index 0d7bd1dccfb3..e5d4c855310d 100644 --- a/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.2a.ebuild +++ b/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.2a.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.2a.ebuild,v 1.1 2005/08/29 10:36:25 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.2a.ebuild,v 1.2 2005/10/04 21:01:07 mrness Exp $ inherit eutils @@ -17,7 +17,7 @@ SRC_URI="http://mirror.dansguardian.org/downloads/2/Stable/${DG_PN}-${DG_PV}.sou LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~sparc ~ppc" +KEYWORDS="~ppc ~sparc ~x86" IUSE="" DEPEND="!net-proxy/dansguardian virtual/libc @@ -59,7 +59,7 @@ src_install() { rm -rf ${D}/etc/rc.d sed -i -e 's/rc.d\///' ${D}/etc/dansguardian/logrotation #Fixing location of initscript - dodoc INSTALL README* LICENSE + dodoc README* #Create log directory diropts -m0700 -o clamav diff --git a/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.3.ebuild b/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.3.ebuild new file mode 100644 index 000000000000..f089c70e8064 --- /dev/null +++ b/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 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.3.ebuild,v 1.1 2005/10/04 21:01:07 mrness 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.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86" +IUSE="" +DEPEND="!net-proxy/dansguardian + virtual/libc + net-libs/libesmtp + app-antivirus/clamav" + +S="${WORKDIR}/${DG_PN}-${DG_PV}" + +src_unpack() { + unpack ${A} + + cd ${S} || die "source dir not found" + epatch ${FILESDIR}/dansguardian-xnaughty-2.7.6-1.diff + epatch ../${DG_PN}-${DG_PV}-antivirus-${PV}.patch + + #fix path to gentoo clamd socket + sed -i -e "s:clamdsocket *= *'/tmp/clamd':clamdsocket = '/var/run/clamav/clamd.sock':" configure +} + +src_compile() { + ./configure \ + --prefix= \ + --installprefix=${D} \ + --mandir=/usr/share/man/ \ + --cgidir=/var/www/localhost/cgi-bin/ \ + --with-av-engine=clamdscan \ + --runas_usr=clamav --runas_grp=clamav || die "./configure failed" + emake OPTIMISE="${CFLAGS}" || die "emake failed" +} + +src_install() { + if [ -d "/etc/logrotate.d" ]; then + dodir /etc/logrotate.d + fi + make install || die "make install failed" + + exeinto /etc/init.d + newexe ${FILESDIR}/dansguardian.init dansguardian + rm -rf ${D}/etc/rc.d + sed -i -e 's/rc.d\///' ${D}/etc/dansguardian/logrotation #Fixing location of initscript + + dodoc README* + + #Create log directory + diropts -m0700 -o clamav + keepdir /var/log/dansguardian +} diff --git a/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.3 b/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.3 new file mode 100644 index 000000000000..736adbd2932d --- /dev/null +++ b/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.3 @@ -0,0 +1,2 @@ +MD5 aa619607198f37a528dbb65e4a503beb dansguardian-2.8.0.6.source.tar.gz 212737 +MD5 18acbbed76c1ce76050067672847e94a dansguardian-2.8.0.6-antivirus-6.4.3.patch.bz2 47773 |