/[gentoo-x86]/net-proxy/havp/havp-0.77.ebuild
Gentoo

Contents of /net-proxy/havp/havp-0.77.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jun 18 15:59:03 2006 UTC (14 years, 1 month ago) by mrness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove obsolete versions.
(Portage version: 2.1)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.77.ebuild,v 1.1 2006/03/06 19:05:20 mrness Exp $
4
5 inherit eutils
6
7 DESCRIPTION="HTTP AntiVirus Proxy"
8 HOMEPAGE="http://www.server-side.de/"
9 SRC_URI="http://www.server-side.de/download/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86"
14 IUSE=""
15
16 DEPEND="app-antivirus/clamav"
17
18 src_unpack() {
19 unpack ${A}
20
21 epatch "${FILESDIR}/${P}-gentoo.patch"
22 }
23
24 src_compile() {
25 econf --with-scanner=libclamav || die "configure failed"
26 emake || die "make failed"
27 }
28
29 src_install() {
30 exeinto /usr/sbin
31 doexe havp/havp
32
33 newinitd "${FILESDIR}/havp.initd" havp
34 insinto /etc
35 doins -r etc/havp
36
37 diropts -m 0700 -o nobody -g nobody
38 keepdir /var/log/havp
39
40 diropts -m 0750
41 dodir /var/run/havp /var/tmp/havp
42
43 dodoc ChangeLog todo
44 }
45
46 pkg_postinst() {
47 ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!"
48 ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab."
49 }

  ViewVC Help
Powered by ViewVC 1.1.20