diff options
author | Raphaël Marichez <falco@gentoo.org> | 2008-08-14 14:59:16 +0000 |
---|---|---|
committer | Raphaël Marichez <falco@gentoo.org> | 2008-08-14 14:59:16 +0000 |
commit | 0c0d604dbfc09ef9d17df6442608abbc6999ac3f (patch) | |
tree | d300649f02708379411147508c3f62fe89c06dd1 /net-proxy/havp | |
parent | sparc/x86 stable (diff) | |
download | gentoo-2-0c0d604dbfc09ef9d17df6442608abbc6999ac3f.tar.gz gentoo-2-0c0d604dbfc09ef9d17df6442608abbc6999ac3f.tar.bz2 gentoo-2-0c0d604dbfc09ef9d17df6442608abbc6999ac3f.zip |
Version bump, security bug 234715
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-proxy/havp')
-rw-r--r-- | net-proxy/havp/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.89.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog index 71d05d20d53c..528001233107 100644 --- a/net-proxy/havp/ChangeLog +++ b/net-proxy/havp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/havp # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.27 2008/07/13 14:12:41 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.28 2008/08/14 14:59:16 falco Exp $ + +*havp-0.89 (14 Aug 2008) + + 14 Aug 2008; Raphael Marichez <falco@gentoo.org> +havp-0.89.ebuild: + Version bump, security bug 234715 13 Jul 2008; Alin Năstac <mrness@gentoo.org> -havp-0.86.ebuild, -havp-0.87.ebuild: diff --git a/net-proxy/havp/havp-0.89.ebuild b/net-proxy/havp/havp-0.89.ebuild new file mode 100644 index 000000000000..b1c06c771853 --- /dev/null +++ b/net-proxy/havp/havp-0.89.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.89.ebuild,v 1.1 2008/08/14 14:59:16 falco Exp $ + +inherit eutils + +DESCRIPTION="HTTP AntiVirus Proxy" +HOMEPAGE="http://www.server-side.de/" +SRC_URI="http://www.server-side.de/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="clamav ssl" + +DEPEND="clamav? ( app-antivirus/clamav )" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup havp + enewuser havp -1 -1 /etc/havp havp +} + +src_compile() { + econf --localstatedir=/var \ + $(use_enable clamav) \ + $(use_enable ssl ssl-tunnel) || die "configure failed" + emake || die "make failed" +} + +src_install() { + exeinto /usr/sbin + doexe havp/havp + + newinitd "${FILESDIR}/havp.initd" havp + insinto /etc + doins -r etc/havp + + diropts -m 0700 -o havp -g havp + keepdir /var/log/havp + + diropts -m 0750 + dodir /var/run/havp /var/tmp/havp + + dodoc ChangeLog +} + +pkg_postinst() { + ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!" + ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab." + + if use ssl; then + echo + ewarn "Note: ssl USE flag only enable SSL pass-through, which means that" + ewarn " HTTPS pages will not be scanned for viruses!" + ewarn " It is impossible to decrypt data sent through SSL connections without knowing" + ewarn " the private key of the used certificate." + fi + + if use clamav; then + echo + ewarn "If you plan to use clamav daemon, you should make sure clamav user can read" + ewarn "/var/tmp/havp content. This can be accomplished by enabling AllowSupplementaryGroups" + ewarn "in /etc/clamd.conf and adding clamav user to the havp group." + fi +} |