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