diff options
Diffstat (limited to 'net-proxy/havp')
-rw-r--r-- | net-proxy/havp/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/havp/files/havp.initd | 4 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.90-r1.ebuild | 6 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.91.ebuild | 6 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.92a.ebuild | 64 |
5 files changed, 80 insertions, 10 deletions
diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog index 13e9394e3175..46d309bb8ddc 100644 --- a/net-proxy/havp/ChangeLog +++ b/net-proxy/havp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/havp -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.33 2009/07/16 06:11:55 mrness Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.34 2013/01/08 16:45:37 jer Exp $ + +*havp-0.92a (08 Jan 2013) + + 08 Jan 2013; Jeroen Roovers <jer@gentoo.org> havp-0.90-r1.ebuild, + havp-0.91.ebuild, +havp-0.92a.ebuild, files/havp.initd: + Inherit user.eclass. Version bump (bug 330475, bug #449880). *havp-0.91 (16 Jul 2009) diff --git a/net-proxy/havp/files/havp.initd b/net-proxy/havp/files/havp.initd index 5cb3be40176c..cfdec6eda99d 100644 --- a/net-proxy/havp/files/havp.initd +++ b/net-proxy/havp/files/havp.initd @@ -1,5 +1,5 @@ #!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 depend() { @@ -14,7 +14,7 @@ get_havp_opt() { } checkconfig() { - if [ ! -d /var/run/havp ] && ! mkdir /var/run/havp; then + if [ ! -d /var/run/havp ] && ! mkdir -p /var/run/havp; then eeror "Failed to create /var/run/havp" return 1 fi diff --git a/net-proxy/havp/havp-0.90-r1.ebuild b/net-proxy/havp/havp-0.90-r1.ebuild index 29f39a1dc428..1fba5723357d 100644 --- a/net-proxy/havp/havp-0.90-r1.ebuild +++ b/net-proxy/havp/havp-0.90-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.90-r1.ebuild,v 1.1 2009/07/05 00:29:41 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.90-r1.ebuild,v 1.2 2013/01/08 16:45:37 jer Exp $ EAPI="2" -inherit eutils +inherit eutils user DESCRIPTION="HTTP AntiVirus Proxy" HOMEPAGE="http://www.server-side.de/" diff --git a/net-proxy/havp/havp-0.91.ebuild b/net-proxy/havp/havp-0.91.ebuild index d5481f1ce4af..44a401759bfd 100644 --- a/net-proxy/havp/havp-0.91.ebuild +++ b/net-proxy/havp/havp-0.91.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.91.ebuild,v 1.1 2009/07/16 06:11:55 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.91.ebuild,v 1.2 2013/01/08 16:45:38 jer Exp $ EAPI="2" -inherit eutils +inherit eutils user DESCRIPTION="HTTP AntiVirus Proxy" HOMEPAGE="http://www.server-side.de/" diff --git a/net-proxy/havp/havp-0.92a.ebuild b/net-proxy/havp/havp-0.92a.ebuild new file mode 100644 index 000000000000..11e43caa06bc --- /dev/null +++ b/net-proxy/havp/havp-0.92a.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.92a.ebuild,v 1.1 2013/01/08 16:45:38 jer Exp $ + +EAPI=4 +inherit eutils user + +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_configure() { + econf \ + $(use_enable clamav) \ + $(use_enable ssl ssl-tunnel) \ + --localstatedir=/var +} + +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 + + 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 +} |