diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-08-29 10:36:25 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-08-29 10:36:25 +0000 |
commit | d5361fe0ae936dfe34b884dc34b6fc960ab19ef1 (patch) | |
tree | 5fd5fcdd85c68e1e348a9db4ab55f2d72c91866e /net-proxy | |
parent | Typo fix (diff) | |
download | gentoo-2-d5361fe0ae936dfe34b884dc34b6fc960ab19ef1.tar.gz gentoo-2-d5361fe0ae936dfe34b884dc34b6fc960ab19ef1.tar.bz2 gentoo-2-d5361fe0ae936dfe34b884dc34b6fc960ab19ef1.zip |
version bump that fixes #89948
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-proxy')
4 files changed, 78 insertions, 11 deletions
diff --git a/net-proxy/dansguardian-dgav/ChangeLog b/net-proxy/dansguardian-dgav/ChangeLog index c9dbedf5e23e..c6562710d6fd 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.2 2005/04/23 13:05:59 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian-dgav/ChangeLog,v 1.3 2005/08/29 10:36:25 mrness Exp $ + +*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). diff --git a/net-proxy/dansguardian-dgav/Manifest b/net-proxy/dansguardian-dgav/Manifest index 1a1bc27adcb2..45493ddd6b05 100644 --- a/net-proxy/dansguardian-dgav/Manifest +++ b/net-proxy/dansguardian-dgav/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 89fa8b12c3f15a17b5e60baf6c61e099 dansguardian-dgav-6.4.2a.ebuild 1940 MD5 ea6cdcfd4480cffc4718825850b9c207 dansguardian-dgav-6.3.8.ebuild 1669 MD5 87a9700c2e9b5b545ae522cadedfb9b7 ChangeLog 1067 MD5 775fe3a71382d0807bfddb0235f35f30 metadata.xml 233 +MD5 df46e58e17a1ca38be926736d9e10b70 files/digest-dansguardian-dgav-6.4.2a 177 MD5 bf8c351940c7a2c26da9395e7a494937 files/dansguardian.init 576 MD5 dd34bc7952c9d271a3b5b25605afaafc files/digest-dansguardian-dgav-6.3.8 169 MD5 6313b934a33da7e4308812e834494074 files/dansguardian-xnaughty-2.7.6-1.diff 2325 MD5 0fab1970b596ce0eb39925955884fa17 files/dgav-6.3.8-virus-response.patch 1083 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCakhJI1lqEGTUzyQRAsahAJ9AVIfw73T50EbYAvPb5v5G4FiXSwCg15Pf -KWeHSruQ7Yz0cJSeMvVkEkk= -=8/zB ------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 new file mode 100644 index 000000000000..0d7bd1dccfb3 --- /dev/null +++ b/net-proxy/dansguardian-dgav/dansguardian-dgav-6.4.2a.ebuild @@ -0,0 +1,67 @@ +# 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 $ + +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://gentoo/${DG_PN}-${DG_PV}-antivirus-${PV}-gentoo.patch.bz2" +#Replace SRC_URI with the following when upstream manage to generate a proper patch +# mirror://sourceforge/${AV_PN}/${DG_PN}-${DG_PV}-antivirus-${PV}.patch.bz2 + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc" +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}-gentoo.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 INSTALL README* LICENSE + + #Create log directory + diropts -m0700 -o clamav + keepdir /var/log/dansguardian +} diff --git a/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.2a b/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.2a new file mode 100644 index 000000000000..78b138fa55dc --- /dev/null +++ b/net-proxy/dansguardian-dgav/files/digest-dansguardian-dgav-6.4.2a @@ -0,0 +1,2 @@ +MD5 aa619607198f37a528dbb65e4a503beb dansguardian-2.8.0.6.source.tar.gz 212737 +MD5 68a4e26bfe4d8c1be29431eef20304dd dansguardian-2.8.0.6-antivirus-6.4.2a-gentoo.patch.bz2 51535 |