]>
Commit | Line | Data |
---|---|---|
a915bab2 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
a915bab2 CS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = c_icap_modules |
4c2750b5 | 7 | version = 0.4.2 |
30ef5b72 | 8 | release = 2 |
a915bab2 | 9 | |
802ea3af MT |
10 | groups = Networking/Daemons |
11 | url = http://c-icap.sourceforge.net | |
12 | license = GPLv2 | |
13 | summary = c-icap service modules for clamav and content filrer. | |
a915bab2 | 14 | |
802ea3af | 15 | description |
a915bab2 CS |
16 | c-icap is an implementation of an ICAP server. It can be used with \ |
17 | HTTP proxies that support the ICAP protocol to implement content \ | |
18 | adaptation and filtering services. | |
802ea3af MT |
19 | end |
20 | ||
4c2750b5 | 21 | source_dl = http://downloads.sourceforge.net/project/c-icap/c-icap-modules/0.4.x/ |
e8b2558d | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | autoconf | |
26 | automake | |
30ef5b72 | 27 | c_icap-devel >= 0.4.0 |
802ea3af | 28 | clamav-devel |
fc4bcf51 | 29 | libdb-devel |
802ea3af MT |
30 | libtool-devel |
31 | end | |
32 | ||
33 | configure_options += \ | |
dac79561 | 34 | --sysconfdir=/etc/c-icap \ |
802ea3af MT |
35 | --localstatedir=/var |
36 | ||
37 | prepare_cmds | |
38 | autoreconf -vfi | |
39 | end | |
40 | ||
41 | install | |
dac79561 | 42 | mkdir -pv %{BUILDROOT}/etc/c-icap |
802ea3af MT |
43 | make install DESTDIR=%{BUILDROOT} |
44 | end | |
45 | end | |
46 | ||
47 | packages | |
48 | package %{name} | |
dac79561 CS |
49 | configfiles |
50 | /etc/c-icap/srv_clamav.conf | |
51 | /etc/c-icap/srv_clamav.conf.default | |
52 | /etc/c-icap/srv_url_check.conf | |
53 | /etc/c-icap/srv_url_check.conf.default | |
54 | end | |
802ea3af | 55 | end |
1f9bc2f0 MT |
56 | |
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
802ea3af | 60 | end |