1 |
bass 07/10/23 12:32:20 |
2 |
|
3 |
Added: ufdbguard-1.13.ebuild |
4 |
Log: |
5 |
Version bump |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-proxy/ufdbguard/ufdbguard-1.13.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.13.ebuild?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.13.ebuild?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ufdbguard-1.13.ebuild |
15 |
=================================================================== |
16 |
# Copyright 1999-2007 Gentoo Foundation |
17 |
# Distributed under the terms of the GNU General Public License v2 |
18 |
# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.13.ebuild,v 1.1 2007/10/23 12:32:19 bass Exp $ |
19 |
|
20 |
inherit eutils |
21 |
DESCRIPTION="ufdbGuard is a redirector for the Squid internet proxy." |
22 |
HOMEPAGE="http://ufdbguard.sf.net" |
23 |
SRC_URI="mirror://sourceforge/ufdbguard/ufdbGuard-${PV}.tar.gz" |
24 |
|
25 |
LICENSE="GPL-2" |
26 |
SLOT="0" |
27 |
KEYWORDS="~x86" |
28 |
|
29 |
DEPEND="dev-libs/openssl |
30 |
app-arch/bzip2 |
31 |
dev-util/yacc |
32 |
sys-devel/flex" |
33 |
RDEPEND="${DEPEND} |
34 |
net-misc/wget |
35 |
net-proxy/squid" |
36 |
|
37 |
S="${WORKDIR}/ufdbGuard-${PV}" |
38 |
|
39 |
src_compile() { |
40 |
#econf || die "econf failed" |
41 |
./configure \ |
42 |
--host=${CHOST} \ |
43 |
--prefix=/usr \ |
44 |
--with-ufdb-config=/etc/ufdbguard \ |
45 |
--with-ufdb-logdir=/var/log/ufdbguard \ |
46 |
--with-ufdb-dbhome=/etc/ufdbguard/blacklists \ |
47 |
--infodir=/usr/share/info \ |
48 |
--mandir=/usr/share/man || die "./configure failed" |
49 |
|
50 |
emake || die "emake failed" |
51 |
} |
52 |
|
53 |
src_install() { |
54 |
dodoc CHANGELOG INSTALL README README.multithreaded TODO |
55 |
dodoc doc/*.html doc/*.txt src/UFDB |
56 |
dohtml doc/*.html |
57 |
|
58 |
dobin src/ufdbGenTable src/ufdbGuard src/mtserver/ufdbgclient src/mtserver/ufdbguardd src/ufdbGrab |
59 |
|
60 |
dodir /etc/ufdbguard/blacklists |
61 |
insinto /etc/ufdbguard |
62 |
doins src/ufdbGuard.conf |
63 |
|
64 |
newconfd ${FILESDIR}/ufdbguard.confd ufdbguard |
65 |
newinitd ${FILESDIR}/ufdbguard.initd ufdbguard |
66 |
|
67 |
} |
68 |
|
69 |
pkg_postinst() { |
70 |
einfo "Add ufdbguard port to services:" |
71 |
einfo 'echo "ufdbguardd 3977/tcp" >> /etc/services ' |
72 |
echo "" |
73 |
ewarn "This version require a rebuild of binary list using ufdbGentable" |
74 |
ewarn "and maybe some change in the conf file. Read the doc for more info." |
75 |
} |
76 |
|
77 |
|
78 |
|
79 |
-- |
80 |
gentoo-commits@g.o mailing list |