blob: 843b1ba7bfd3a9e9549e5c179e1d6b38a818675c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/junkbuster/junkbuster-2.0.2-r3.ebuild,v 1.1 2005/04/22 19:15:11 mrness Exp $
inherit eutils
DESCRIPTION="Filtering HTTP proxy"
HOMEPAGE="http://internet.junkbuster.com"
SRC_URI="http://www.waldherr.org/redhat/rpm/srpm/junkbuster-2.0.2-8.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc ppc"
IUSE=""
DEPEND="virtual/libc"
S=${WORKDIR}/ijb20
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-fixups.patch
sed -i -e 's:^CFLAGS *=:CFLAGS +=:' ${S}/Makefile
}
src_install () {
dosbin junkbuster
dodir /etc/init.d
exeinto /etc/init.d
newexe ${FILESDIR}/junkbuster.rc6 junkbuster
dodir /etc/junkbuster
insinto /etc/junkbuster
doins blocklist config cookiefile forward imagelist
dohtml gpl.html ijbman.html ijbfaq.html
dodoc README README.TOO README.WIN squid.txt
doman junkbuster.1
dodir /var/log/junkbuster
}
|